{"_id":"@0xkey-io/react-native-passkey-stamper","_rev":"4-201ea39b1c637d83830e63344918d46b","name":"@0xkey-io/react-native-passkey-stamper","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@0xkey-io/react-native-passkey-stamper","version":"0.1.0","keywords":["0xkey","react","native","iOS","Android","stamper"],"author":{"url":"https://0xkey.com/","name":"0xkey"},"license":"Apache-2.0","_id":"@0xkey-io/react-native-passkey-stamper@0.1.0","maintainers":[{"name":"0xkey-developer","email":"developer@0xkey.io"}],"homepage":"https://github.com/0xkey-io/sdk-js/tree/main/packages/react-native-passkey-stamper","bugs":{"url":"https://github.com/0xkey-io/sdk-js/issues"},"dist":{"shasum":"1936048fc9ca4b45e6db1082cce9215ecc3362c2","tarball":"https://registry.npmjs.org/@0xkey-io/react-native-passkey-stamper/-/react-native-passkey-stamper-0.1.0.tgz","fileCount":16,"integrity":"sha512-Skatstg3aKR07z+wD2wOeAE/UTcJyukU5bz6URoZOiQg876sYw59rxquMO3lNXuFT/SAGzCinc9OvFxEwonrhQ==","signatures":[{"sig":"MEUCIF4Fz7qe03lRaScYEcbt/Q6E7ZVqNf3C6VH3/rxWg3pbAiEAyPUjU5mswGLCawt0lke/KcgyZv42uzBHCYcfvxrzqC8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44397},"main":"./dist/index.js","_from":"file:0xkey-io-react-native-passkey-stamper-0.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"jest","build":"rollup -c","clean":"rimraf ./dist ./.cache","typecheck":"tsc -p tsconfig.typecheck.json"},"_npmUser":{"name":"0xkey-developer","email":"developer@0xkey.io"},"_resolved":"/private/var/folders/lf/b69416ms3zvccf0ght6bq02r0000gn/T/67585fde4dead245a6461eb31201c634/0xkey-io-react-native-passkey-stamper-0.1.0.tgz","_integrity":"sha512-Skatstg3aKR07z+wD2wOeAE/UTcJyukU5bz6URoZOiQg876sYw59rxquMO3lNXuFT/SAGzCinc9OvFxEwonrhQ==","repository":{"url":"git+https://github.com/0xkey-io/sdk-js.git","type":"git","directory":"packages/react-native-passkey-stamper"},"_npmVersion":"11.4.2","description":"Passkey stamper for React Native","directories":{},"_nodeVersion":"24.3.0","dependencies":{"buffer":"^6.0.3","@0xkey-io/http":"0.1.0","sha256-uint8array":"^0.10.7","@0xkey-io/encoding":"0.1.0","react-native-passkey":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@babel/core":"7.26.9","@rollup/plugin-babel":"5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-passkey-stamper_0.1.0_1779443538292_0.49043664525934894","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@0xkey-io/react-native-passkey-stamper","version":"0.1.1","keywords":["0xkey","react","native","iOS","Android","stamper"],"author":{"url":"https://0xkey.com/","name":"0xkey"},"license":"Apache-2.0","_id":"@0xkey-io/react-native-passkey-stamper@0.1.1","maintainers":[{"name":"0xkey-developer","email":"developer@0xkey.io"}],"homepage":"https://github.com/0xkey-io/sdk-js/tree/main/packages/react-native-passkey-stamper","bugs":{"url":"https://github.com/0xkey-io/sdk-js/issues"},"dist":{"shasum":"e0752e7dead9747160b47b0f2ce72a2ab9678fe1","tarball":"https://registry.npmjs.org/@0xkey-io/react-native-passkey-stamper/-/react-native-passkey-stamper-0.1.1.tgz","fileCount":16,"integrity":"sha512-a4A5FGsRSpQLbVRA5Hew0btvejPy/0MeZdzgFh4UIqsru/ulqDsIPlcCpu8FujgP0ekCYAFmbW5q21EgR4Y4PQ==","signatures":[{"sig":"MEUCIHwln08XMIhH1DUkdGMHustiX2fiFWQZ6+Ckz8sdWZfIAiEAqv1vcdz9Vv/IlJ1qOecpA5UKN+ySPaU2+esi+bSuCws=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44508},"main":"./dist/index.js","_from":"file:0xkey-io-react-native-passkey-stamper-0.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"jest","build":"rollup -c","clean":"rimraf ./dist ./.cache","typecheck":"tsc -p tsconfig.typecheck.json"},"_npmUser":{"name":"0xkey-developer","email":"developer@0xkey.io"},"_resolved":"/private/var/folders/lf/b69416ms3zvccf0ght6bq02r0000gn/T/51c8bcf162a9cfc4ed959d0f941d298b/0xkey-io-react-native-passkey-stamper-0.1.1.tgz","_integrity":"sha512-a4A5FGsRSpQLbVRA5Hew0btvejPy/0MeZdzgFh4UIqsru/ulqDsIPlcCpu8FujgP0ekCYAFmbW5q21EgR4Y4PQ==","repository":{"url":"git+https://github.com/0xkey-io/sdk-js.git","type":"git","directory":"packages/react-native-passkey-stamper"},"_npmVersion":"11.4.2","description":"Passkey stamper for React Native","directories":{},"_nodeVersion":"24.3.0","dependencies":{"buffer":"^6.0.3","@0xkey-io/http":"0.1.1","sha256-uint8array":"^0.10.7","@0xkey-io/encoding":"0.1.1","react-native-passkey":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@babel/core":"7.26.9","@rollup/plugin-babel":"5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-passkey-stamper_0.1.1_1779452000377_0.16298278979387915","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@0xkey-io/react-native-passkey-stamper","version":"0.1.2","keywords":["0xkey","react","native","iOS","Android","stamper"],"author":{"url":"https://0xkey.com/","name":"0xkey"},"license":"Apache-2.0","_id":"@0xkey-io/react-native-passkey-stamper@0.1.2","maintainers":[{"name":"0xkey-developer","email":"developer@0xkey.io"}],"homepage":"https://github.com/0xkey-io/sdk-js/tree/main/packages/react-native-passkey-stamper","bugs":{"url":"https://github.com/0xkey-io/sdk-js/issues"},"dist":{"shasum":"f7d7e442157fb97d1d0000ff75e0e61d0bc52fd4","tarball":"https://registry.npmjs.org/@0xkey-io/react-native-passkey-stamper/-/react-native-passkey-stamper-0.1.2.tgz","fileCount":16,"integrity":"sha512-nRW11BiXo5hacb2D13rT3xPkNK2gyGPQosV0EgrczRWzcjcWnhixmuHKcOvK4lkbqv63P7b0vJGk0l5cHn/efA==","signatures":[{"sig":"MEUCIGLv3pSKM5Vev/hxCcgqQ4S2rO/3cCsgTNs3aT+yXkstAiEAsc+/MEMJj6MCMkmhYKAKlJNVXRT+5VEAVuQnwnFk53k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44590},"main":"./dist/index.js","_from":"file:0xkey-io-react-native-passkey-stamper-0.1.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"jest","build":"rollup -c","clean":"rimraf ./dist ./.cache","typecheck":"tsc -p tsconfig.typecheck.json"},"_npmUser":{"name":"0xkey-developer","email":"developer@0xkey.io"},"_resolved":"/tmp/f013d191b35064e92a957cc510cde863/0xkey-io-react-native-passkey-stamper-0.1.2.tgz","_integrity":"sha512-nRW11BiXo5hacb2D13rT3xPkNK2gyGPQosV0EgrczRWzcjcWnhixmuHKcOvK4lkbqv63P7b0vJGk0l5cHn/efA==","repository":{"url":"git+https://github.com/0xkey-io/sdk-js.git","type":"git","directory":"packages/react-native-passkey-stamper"},"_npmVersion":"11.5.1","description":"Passkey stamper for React Native","directories":{},"_nodeVersion":"20.17.0","dependencies":{"buffer":"^6.0.3","@0xkey-io/http":"0.1.2","sha256-uint8array":"^0.10.7","@0xkey-io/encoding":"0.1.1","react-native-passkey":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@babel/core":"7.26.9","@rollup/plugin-babel":"5.3.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-passkey-stamper_0.1.2_1782244120234_0.6610489441116671","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@0xkey-io/react-native-passkey-stamper","version":"0.1.3","main":"./dist/index.js","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.mjs"}},"types":"./dist/index.d.ts","license":"Apache-2.0","description":"Passkey stamper for React Native","keywords":["0xkey","react","native","iOS","Android","stamper"],"author":{"name":"0xkey","url":"https://0xkey.com/"},"homepage":"https://github.com/0xkey-io/sdk-js/tree/main/packages/react-native-passkey-stamper","bugs":{"url":"https://github.com/0xkey-io/sdk-js/issues"},"repository":{"type":"git","url":"git+https://github.com/0xkey-io/sdk-js.git","directory":"packages/react-native-passkey-stamper"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0"},"dependencies":{"buffer":"^6.0.3","react-native-passkey":"^3.0.0","sha256-uint8array":"^0.10.7","@0xkey-io/encoding":"0.1.1","@0xkey-io/http":"0.1.3"},"devDependencies":{"@babel/core":"7.26.9","@rollup/plugin-babel":"5.3.0"},"scripts":{"build":"rollup -c","clean":"rimraf ./dist ./.cache","test":"jest","typecheck":"tsc -p tsconfig.typecheck.json"},"_id":"@0xkey-io/react-native-passkey-stamper@0.1.3","_integrity":"sha512-vA+8xeyuZ2VDJ5yVuK/iYBzmL+tnWXJxHGOWRhP+TcsYFLSQJRe/LmPmbiGdLRPkmQLWt4+e1fuSDs4sm+2zDA==","_resolved":"/tmp/268144637982a397d1eef666d758521b/0xkey-io-react-native-passkey-stamper-0.1.3.tgz","_from":"file:0xkey-io-react-native-passkey-stamper-0.1.3.tgz","_nodeVersion":"20.17.0","_npmVersion":"11.5.1","dist":{"integrity":"sha512-vA+8xeyuZ2VDJ5yVuK/iYBzmL+tnWXJxHGOWRhP+TcsYFLSQJRe/LmPmbiGdLRPkmQLWt4+e1fuSDs4sm+2zDA==","shasum":"d085538b300e01002089e4322a7e4b926e7f14a1","tarball":"https://registry.npmjs.org/@0xkey-io/react-native-passkey-stamper/-/react-native-passkey-stamper-0.1.3.tgz","fileCount":14,"unpackedSize":40088,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD5LSnY0OzYvtIUfDetf+aAUp/AbtfTwne9g3QRxhYUDgIgPjVFbMZHLdutCKsqqteyoIfM2YReLE4QlRV7MWLiBss="}]},"_npmUser":{"name":"0xkey-developer","email":"developer@0xkey.io"},"directories":{},"maintainers":[{"name":"0xkey-developer","email":"developer@0xkey.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-native-passkey-stamper_0.1.3_1783079750873_0.030213029517169865"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-22T09:52:18.125Z","modified":"2026-07-03T11:55:51.155Z","0.1.0":"2026-05-22T09:52:18.437Z","0.1.1":"2026-05-22T12:13:20.574Z","0.1.2":"2026-06-23T19:48:40.385Z","0.1.3":"2026-07-03T11:55:51.039Z"},"bugs":{"url":"https://github.com/0xkey-io/sdk-js/issues"},"author":{"name":"0xkey","url":"https://0xkey.com/"},"license":"Apache-2.0","homepage":"https://github.com/0xkey-io/sdk-js/tree/main/packages/react-native-passkey-stamper","keywords":["0xkey","react","native","iOS","Android","stamper"],"repository":{"type":"git","url":"git+https://github.com/0xkey-io/sdk-js.git","directory":"packages/react-native-passkey-stamper"},"description":"Passkey stamper for React Native","maintainers":[{"name":"0xkey-developer","email":"developer@0xkey.io"}],"readme":"# @0xkey-io/react-native-passkey-stamper\n\n[![npm](https://img.shields.io/npm/v/@0xkey-io/react-native-passkey-stamper?color=%234C48FF)](https://www.npmjs.com/package/@0xkey-io/react-native-passkey-stamper)\n\nThis package contains a React Native passkey stamper. It uses [`react-native-passkey`](https://github.com/f-23/react-native-passkey) to do the heavy lifting. This stamper is meant to be used with [`@0xkey-io/http`](https://www.npmjs.com/package/@0xkey-io/http)\n\n## Installation\n\n- Install both [`react-native-passkey`](https://www.npmjs.com/package/react-native-passkey) and `@0xkey-io/react-native-passkey-stamper` (this package) in your React Native project.\n- Set up provisioning correctly to make sure your app is signed (needed for passkey functionality)\n- Serve an `apple-app-site-association` file from your domain to reference your application. See [more details here](https://github.com/f-23/react-native-passkey?tab=readme-ov-file#configuration)\n- Add a new \"Associated Domains\" capability for web credentials (`webcredentials:your.site.com`)\n\n## Usage\n\n### Create a new passkey\n\n```ts\nimport { createPasskey } from \"@0xkey-io/react-native-passkey-stamper\";\nimport { v4 as uuidv4 } from \"uuid\";\n\n// Returns authenticator params that can be used with sub-org creation, user creation, etc.\nconst authenticatorParams = await createPasskey({\n  // Won't be visible to users, this is the name of the ZeroXKey resource\n  authenticatorName: \"End-User Passkey\",\n  rp: {\n    id: \"your.site.com\",\n    name: \"Your App\",\n  },\n  user: {\n    // This ID isn't visible to users\n    // NOTE: For Android, this must be a valid base64-encoded string\n    id: uuidv4(),\n    // ...but name and display names are. This is what's shown in the passkey prompt\n    name: \"Some Name\",\n    // displayName should be the same as \"name\"\n    displayName: \"Some Name\",\n  },\n});\n```\n\n### Use an existing passkey\n\n```ts\nimport { PasskeyStamper } from \"@0xkey-io/react-native-passkey-stamper\";\nimport { ZeroXKeyClient } from \"@0xkey-io/http\";\n\nconst stamper = new PasskeyStamper({\n  rpId: \"your.site.com\",\n});\n\n// New HTTP client able to sign with passkeys!\nconst httpClient = new ZeroXKeyClient(\n  { baseUrl: \"https://api.0xkey.com\" },\n  stamper\n);\n\n// Now, send authenticated requests\nhttpClient.signTransaction(...)\n```\n\n## Demo app\n\nHead over to [this repository](https://github.com/r-n-o/passkeyapp/tree/main) for a fully functional React Native app built with Expo.\n","readmeFilename":"README.md"}