Current collected state Current
Observed since 21 Oct, 09:01 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
@0xkey-io/react-native-passkey-stamper
Passkey stamper for React Native
This package contains a React Native passkey stamper. It uses react-native-passkey to do the heavy lifting. This stamper is meant to be used with @0xkey-io/http
react-native-passkey and @0xkey-io/react-native-passkey-stamper (this package) in your React Native project.apple-app-site-association file from your domain to reference your application. See more details herewebcredentials:your.site.com)import { createPasskey } from "@0xkey-io/react-native-passkey-stamper";
import { v4 as uuidv4 } from "uuid";
// Returns authenticator params that can be used with sub-org creation, user creation, etc.
const authenticatorParams = await createPasskey({
// Won't be visible to users, this is the name of the ZeroXKey resource
authenticatorName: "End-User Passkey",
rp: {
id: "your.site.com",
name: "Your App",
},
user: {
// This ID isn't visible to users
// NOTE: For Android, this must be a valid base64-encoded string
id: uuidv4(),
// ...but name and display names are. This is what's shown in the passkey prompt
name: "Some Name",
// displayName should be the same as "name"
displayName: "Some Name",
},
});
import { PasskeyStamper } from "@0xkey-io/react-native-passkey-stamper";
import { ZeroXKeyClient } from "@0xkey-io/http";
const stamper = new PasskeyStamper({
rpId: "your.site.com",
});
// New HTTP client able to sign with passkeys!
const httpClient = new ZeroXKeyClient(
{ baseUrl: "https://api.0xkey.com" },
stamper
);
// Now, send authenticated requests
httpClient.signTransaction(...)
Head over to this repository for a fully functional React Native app built with Expo.
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
bufferEnvironment{
"local_name": "buffer",
"alias": false,
"peer_metadata": null
} | ^6.0.3 | runtime |
@0xkey-io/httpEnvironment{
"local_name": "@0xkey-io/http",
"alias": false,
"peer_metadata": null
} | 0.1.1 | runtime |
sha256-uint8arrayEnvironment{
"local_name": "sha256-uint8array",
"alias": false,
"peer_metadata": null
} | ^0.10.7 | runtime |
@0xkey-io/encodingEnvironment{
"local_name": "@0xkey-io/encoding",
"alias": false,
"peer_metadata": null
} | 0.1.1 | runtime |
react-native-passkeyEnvironment{
"local_name": "react-native-passkey",
"alias": false,
"peer_metadata": null
} | ^3.0.0 | runtime |
@babel/coreEnvironment{
"local_name": "@babel/core",
"alias": false,
"peer_metadata": null
} | 7.26.9 | development |
@rollup/plugin-babelEnvironment{
"local_name": "@rollup/plugin-babel",
"alias": false,
"peer_metadata": null
} | 5.3.0 | development |
Source distribution
{
"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
}Observed since 21 Oct, 09:01 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:f9e616b425cdabc54b4927ab9d81fcbcbcfec6314dce3c332a7c8ca946e47247