@better-auth/passkey 1.4.8-beta.7 → 1.4.8
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,10 +1,9 @@
|
|
|
1
|
-
import { i as WebAuthnChallengeValue, n as Passkey, r as PasskeyOptions, t as passkey } from "./index-
|
|
1
|
+
import { i as WebAuthnChallengeValue, n as Passkey, r as PasskeyOptions, t as passkey } from "./index-DneB0hsm.mjs";
|
|
2
|
+
import * as better_auth_client0 from "better-auth/client";
|
|
2
3
|
import * as nanostores0 from "nanostores";
|
|
3
4
|
import { atom } from "nanostores";
|
|
4
|
-
import * as _better_fetch_fetch0 from "@better-fetch/fetch";
|
|
5
|
-
import { BetterFetch } from "@better-fetch/fetch";
|
|
6
|
-
import * as better_auth4 from "better-auth";
|
|
7
5
|
import { ClientFetchOption, ClientStore } from "@better-auth/core";
|
|
6
|
+
import { BetterFetch } from "@better-fetch/fetch";
|
|
8
7
|
import { Session, User } from "better-auth/types";
|
|
9
8
|
export * from "@simplewebauthn/server";
|
|
10
9
|
|
|
@@ -179,15 +178,7 @@ declare const passkeyClient: () => {
|
|
|
179
178
|
};
|
|
180
179
|
};
|
|
181
180
|
getAtoms($fetch: BetterFetch): {
|
|
182
|
-
listPasskeys:
|
|
183
|
-
data: Passkey[] | null;
|
|
184
|
-
error: null | _better_fetch_fetch0.BetterFetchError;
|
|
185
|
-
isPending: boolean;
|
|
186
|
-
isRefetching: boolean;
|
|
187
|
-
refetch: (queryParams?: {
|
|
188
|
-
query?: better_auth4.SessionQueryParams;
|
|
189
|
-
} | undefined) => Promise<void>;
|
|
190
|
-
}> & object;
|
|
181
|
+
listPasskeys: better_auth_client0.AuthQueryAtom<Passkey[]>;
|
|
191
182
|
$listPasskeys: nanostores0.PreinitializedWritableAtom<any> & object;
|
|
192
183
|
};
|
|
193
184
|
pathMethods: {
|
|
@@ -2,8 +2,8 @@ import * as _simplewebauthn_server0 from "@simplewebauthn/server";
|
|
|
2
2
|
import { CredentialDeviceType } from "@simplewebauthn/server";
|
|
3
3
|
import * as better_call0 from "better-call";
|
|
4
4
|
import * as zod0 from "zod";
|
|
5
|
-
import * as better_auth0 from "better-auth";
|
|
6
5
|
import { InferOptionSchema } from "better-auth/types";
|
|
6
|
+
import * as better_auth0 from "better-auth";
|
|
7
7
|
|
|
8
8
|
//#region src/schema.d.ts
|
|
9
9
|
declare const schema: {
|
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-DneB0hsm.mjs";
|
|
2
2
|
export { Passkey, PasskeyOptions, passkey };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-auth/passkey",
|
|
3
|
-
"version": "1.4.8
|
|
3
|
+
"version": "1.4.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Passkey plugin for Better Auth",
|
|
6
6
|
"main": "dist/index.mjs",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"tsdown": "^0.17.2",
|
|
36
|
-
"@better-auth/core": "1.4.8
|
|
37
|
-
"better-auth": "1.4.8
|
|
36
|
+
"@better-auth/core": "1.4.8",
|
|
37
|
+
"better-auth": "1.4.8"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@simplewebauthn/browser": "^13.1.2",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"@better-fetch/fetch": "1.1.21",
|
|
47
47
|
"better-call": "1.1.7",
|
|
48
48
|
"nanostores": "^1.0.1",
|
|
49
|
-
"@better-auth/core": "1.4.8
|
|
50
|
-
"better-auth": "1.4.8
|
|
49
|
+
"@better-auth/core": "1.4.8",
|
|
50
|
+
"better-auth": "1.4.8"
|
|
51
51
|
},
|
|
52
52
|
"files": [
|
|
53
53
|
"dist"
|