Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(sdk): React native passkeys tutorial #663

Open
wants to merge 20 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
const fs = require('fs')

type Repo = {
organization: string
repo: string
destination: string
branch: string
files: string[]
}

const repos = [
{
organization: '5afe',
Expand Down Expand Up @@ -35,6 +43,18 @@ const repos = [
'/layouts/default.vue',
'/nuxt.config.ts'
]
},
{
organization: '5afe',
repo: 'react-native-passkeys-tutorial',
destination: './examples/react-native-passkeys',
branch: 'main',
files: [
'/lib/passkeys.ts',
'/lib/safe.ts',
'/lib/storage.ts',
'/App.tsx'
]
}
// {
// organization: '5afe',
Expand All @@ -59,7 +79,7 @@ const generateCodeExamples = async ({
branch,
destination,
files
}) => {
}: Repo) => {
const fetch = await import('node-fetch')
files.forEach(async filePath => {
const url = `https://raw.githubusercontent.com/${organization}/${repo}/${branch}${filePath}?token=$(date +%s)`
Expand Down
7 changes: 6 additions & 1 deletion .github/styles/config/vocabularies/default/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@
[Tt]estnet
[Tt]rezor
[Vv]alidator
[Ww]hitepaper
[Ww]hitepaper
[Xx]code
A1
AA
ABI
Expand Down Expand Up @@ -150,6 +151,7 @@ Katla
Klaytn
Kovan
Kroma
keystore
LUKSO
Lightlink
Lisk
Expand All @@ -167,6 +169,7 @@ Moonbeam
Moonriver
Mordor
Nova
ngrok
Nuxt
OAuth
OP
Expand All @@ -178,6 +181,7 @@ PKCE
Polis
Protocol Kit
Starter Kit
Prebuild
Protofire
PublicMint
README
Expand Down Expand Up @@ -282,6 +286,7 @@ trace_filter
trace_transaction
undefined
undeployed
unencrypted
v1
viem
zkLink
Expand Down
Binary file added assets/react-native-passkeys-app-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/react-native-passkeys-app-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/react-native-passkeys-app-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/react-native-passkeys-app.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/react-native-passkeys-play-store.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading