@better-auth/passkey 1.4.0-beta.18 → 1.4.0-beta.19
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.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _simplewebauthn_server0 from "@simplewebauthn/server";
|
|
2
2
|
import { AuthenticationResponseJSON, CredentialDeviceType, PublicKeyCredentialCreationOptionsJSON } from "@simplewebauthn/server";
|
|
3
3
|
import * as better_call0 from "better-call";
|
|
4
|
-
import
|
|
4
|
+
import { z } from "zod";
|
|
5
5
|
import { InferOptionSchema } from "better-auth/types";
|
|
6
6
|
|
|
7
7
|
//#region src/schema.d.ts
|
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Passkey, r as PasskeyOptions, t as passkey } from "./index-
|
|
1
|
+
import { n as Passkey, r as PasskeyOptions, t as passkey } from "./index-DJhxJqu3.mjs";
|
|
2
2
|
export { Passkey, PasskeyOptions, passkey };
|
package/dist/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { setSessionCookie } from "better-auth/cookies";
|
|
|
7
7
|
import { generateRandomString } from "better-auth/crypto";
|
|
8
8
|
import { mergeSchema } from "better-auth/db";
|
|
9
9
|
import { APIError } from "better-call";
|
|
10
|
-
import
|
|
10
|
+
import { z } from "zod";
|
|
11
11
|
import { defineErrorCodes } from "@better-auth/core/utils";
|
|
12
12
|
|
|
13
13
|
//#region src/error-codes.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-auth/passkey",
|
|
3
|
-
"version": "1.4.0-beta.
|
|
3
|
+
"version": "1.4.0-beta.19",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Passkey plugin for Better Auth",
|
|
6
6
|
"main": "dist/index.mjs",
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
},
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
|
-
"
|
|
13
|
+
"dev-source": "./src/index.ts",
|
|
14
14
|
"types": "./dist/index.d.mts",
|
|
15
15
|
"default": "./dist/index.mjs"
|
|
16
16
|
},
|
|
17
17
|
"./client": {
|
|
18
|
-
"
|
|
18
|
+
"dev-source": "./src/client.ts",
|
|
19
19
|
"types": "./dist/client.d.mts",
|
|
20
20
|
"default": "./dist/client.mjs"
|
|
21
21
|
}
|
|
@@ -32,21 +32,21 @@
|
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"tsdown": "^0.16.0",
|
|
35
|
-
"@better-auth/core": "1.4.0-beta.
|
|
36
|
-
"better-auth": "1.4.0-beta.
|
|
35
|
+
"@better-auth/core": "1.4.0-beta.19",
|
|
36
|
+
"better-auth": "1.4.0-beta.19"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@simplewebauthn/browser": "^13.1.2",
|
|
40
40
|
"@simplewebauthn/server": "^13.1.2",
|
|
41
|
-
"zod": "^4.1.
|
|
41
|
+
"zod": "^4.1.12"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"nanostores": "^1.0.1",
|
|
45
44
|
"@better-auth/utils": "0.3.0",
|
|
46
|
-
"better-call": "1.0.26",
|
|
47
45
|
"@better-fetch/fetch": "1.1.18",
|
|
48
|
-
"
|
|
49
|
-
"
|
|
46
|
+
"better-call": "1.0.26",
|
|
47
|
+
"nanostores": "^1.0.1",
|
|
48
|
+
"@better-auth/core": "1.4.0-beta.19",
|
|
49
|
+
"better-auth": "1.4.0-beta.19"
|
|
50
50
|
},
|
|
51
51
|
"files": [
|
|
52
52
|
"dist"
|