@turnkey/react-native-passkey-stamper 1.0.11 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @turnkey/react-native-passkey-stamper
2
2
 
3
+ ## 1.0.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [25ca339]
8
+ - @turnkey/http@3.3.0
9
+
10
+ ## 1.0.12
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [3f6e415]
15
+ - @turnkey/http@3.2.0
16
+
3
17
  ## 1.0.11
4
18
 
5
19
  ### Patch Changes
package/README.md CHANGED
@@ -17,6 +17,7 @@ This package contains a React Native passkey stamper. It uses [`react-native-pas
17
17
 
18
18
  ```ts
19
19
  import { createPasskey } from "@turnkey/react-native-passkey-stamper";
20
+ import { v4 as uuidv4 } from "uuid";
20
21
 
21
22
  // Returns authenticator params that can be used with sub-org creation, user creation, etc.
22
23
  const authenticatorParams = await createPasskey({
@@ -28,7 +29,8 @@ const authenticatorParams = await createPasskey({
28
29
  },
29
30
  user: {
30
31
  // This ID isn't visible to users
31
- id: String(Date.now()),
32
+ // NOTE: For Android, this must be a valid base64-encoded string
33
+ id: uuidv4(),
32
34
  // ...but name and display names are. This is what's shown in the passkey prompt
33
35
  name: "Some Name",
34
36
  // displayName should be the same as "name"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turnkey/react-native-passkey-stamper",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "exports": {
@@ -50,7 +50,7 @@
50
50
  "react-native-passkey": "^3.0.0",
51
51
  "sha256-uint8array": "^0.10.7",
52
52
  "@turnkey/encoding": "0.4.0",
53
- "@turnkey/http": "3.1.0"
53
+ "@turnkey/http": "3.3.0"
54
54
  },
55
55
  "scripts": {
56
56
  "build": "rollup -c",