@better-auth/passkey 1.4.6 → 1.4.7-beta.2
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/dist/client.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +7 -6
package/dist/client.mjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -287,7 +287,7 @@ const verifyPasskeyRegistration = (options) => createAuthEndpoint("/passkey/veri
|
|
|
287
287
|
requireUserVerification: false
|
|
288
288
|
});
|
|
289
289
|
if (!verified || !registrationInfo) return ctx.json(null, { status: 400 });
|
|
290
|
-
const { aaguid, credentialDeviceType, credentialBackedUp, credential
|
|
290
|
+
const { aaguid, credentialDeviceType, credentialBackedUp, credential } = registrationInfo;
|
|
291
291
|
const pubKey = base64.encode(credential.publicKey);
|
|
292
292
|
const newPasskey = {
|
|
293
293
|
name: ctx.body.name,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-auth/passkey",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.7-beta.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Passkey plugin for Better Auth",
|
|
6
6
|
"main": "dist/index.mjs",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"tsdown": "^0.17.
|
|
36
|
-
"better-auth": "1.4.
|
|
37
|
-
"
|
|
35
|
+
"tsdown": "^0.17.2",
|
|
36
|
+
"@better-auth/core": "1.4.7-beta.2",
|
|
37
|
+
"better-auth": "1.4.7-beta.2"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@simplewebauthn/browser": "^13.1.2",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"@better-fetch/fetch": "1.1.18",
|
|
47
47
|
"better-call": "1.1.5",
|
|
48
48
|
"nanostores": "^1.0.1",
|
|
49
|
-
"@better-auth/core": "1.4.
|
|
50
|
-
"better-auth": "1.4.
|
|
49
|
+
"@better-auth/core": "1.4.7-beta.2",
|
|
50
|
+
"better-auth": "1.4.7-beta.2"
|
|
51
51
|
},
|
|
52
52
|
"files": [
|
|
53
53
|
"dist"
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
"test": "vitest",
|
|
70
70
|
"coverage": "vitest run --coverage",
|
|
71
71
|
"lint:package": "publint run --strict",
|
|
72
|
+
"lint:types": "attw --profile esm-only --pack .",
|
|
72
73
|
"build": "tsdown",
|
|
73
74
|
"dev": "tsdown --watch",
|
|
74
75
|
"typecheck": "tsc --project tsconfig.json"
|