@dfns/sdk-react-native 0.5.6-alpha-1 → 0.5.7-beta.1

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -93,7 +93,7 @@ class iOSPasskeys {
93
93
  clientData: b64StandardToUrlSafe(credential.response.clientDataJSON),
94
94
  authenticatorData: b64StandardToUrlSafe(credential.response.authenticatorData),
95
95
  signature: b64StandardToUrlSafe(credential.response.signature),
96
- userHandle: b64StandardToUrlSafe(credential.response.userHandle),
96
+ userHandle: (0, utils_1.toBase64Url)(credential.response.userHandle),
97
97
  },
98
98
  };
99
99
  }
@@ -104,7 +104,7 @@ class iOSPasskeys {
104
104
  rp: challenge.rp,
105
105
  user: {
106
106
  displayName: challenge.user.displayName,
107
- id: (0, utils_1.toBase64Url)(challenge.user.id),
107
+ id: challenge.user.id,
108
108
  name: challenge.user.name,
109
109
  },
110
110
  attestation: challenge.attestation,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dfns/sdk-react-native",
3
- "version": "0.5.6-alpha-1",
3
+ "version": "0.5.7-beta.1",
4
4
  "dependencies": {
5
5
  "buffer": "6.0.3",
6
6
  "cross-fetch": "3.1.6",
@@ -9,7 +9,7 @@
9
9
  "uuid": "9.0.0"
10
10
  },
11
11
  "peerDependencies": {
12
- "@dfns/sdk": "0.5.6-alpha-1"
12
+ "@dfns/sdk": "0.5.6"
13
13
  },
14
14
  "main": "./index.js",
15
15
  "type": "commonjs"