better-auth 1.3.8-beta.6 → 1.3.8-beta.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/adapters/drizzle-adapter/index.d.cts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.mts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.ts +2 -2
- package/dist/adapters/index.d.cts +3 -3
- package/dist/adapters/index.d.mts +3 -3
- package/dist/adapters/index.d.ts +3 -3
- package/dist/adapters/kysely-adapter/index.d.cts +2 -2
- package/dist/adapters/kysely-adapter/index.d.mts +2 -2
- package/dist/adapters/kysely-adapter/index.d.ts +2 -2
- package/dist/adapters/memory-adapter/index.d.cts +2 -2
- package/dist/adapters/memory-adapter/index.d.mts +2 -2
- package/dist/adapters/memory-adapter/index.d.ts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.cts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.mts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.ts +2 -2
- package/dist/adapters/prisma-adapter/index.d.cts +2 -2
- package/dist/adapters/prisma-adapter/index.d.mts +2 -2
- package/dist/adapters/prisma-adapter/index.d.ts +2 -2
- package/dist/adapters/test.d.cts +27 -27
- package/dist/adapters/test.d.mts +27 -27
- package/dist/adapters/test.d.ts +27 -27
- package/dist/api/index.cjs +3 -3
- package/dist/api/index.d.cts +3 -3
- package/dist/api/index.d.mts +3 -3
- package/dist/api/index.d.ts +3 -3
- package/dist/api/index.mjs +5 -5
- package/dist/client/index.cjs +3 -3
- package/dist/client/index.d.cts +8 -6
- package/dist/client/index.d.mts +8 -6
- package/dist/client/index.d.ts +8 -6
- package/dist/client/index.mjs +3 -3
- package/dist/client/plugins/index.cjs +1 -1
- package/dist/client/plugins/index.d.cts +19 -11
- package/dist/client/plugins/index.d.mts +19 -11
- package/dist/client/plugins/index.d.ts +19 -11
- package/dist/client/plugins/index.mjs +1 -1
- package/dist/client/react/index.cjs +2 -2
- package/dist/client/react/index.d.cts +7 -5
- package/dist/client/react/index.d.mts +7 -5
- package/dist/client/react/index.d.ts +7 -5
- package/dist/client/react/index.mjs +2 -2
- package/dist/client/solid/index.cjs +2 -2
- package/dist/client/solid/index.d.cts +10 -10
- package/dist/client/solid/index.d.mts +10 -10
- package/dist/client/solid/index.d.ts +10 -10
- package/dist/client/solid/index.mjs +2 -2
- package/dist/client/svelte/index.cjs +2 -2
- package/dist/client/svelte/index.d.cts +4 -4
- package/dist/client/svelte/index.d.mts +4 -4
- package/dist/client/svelte/index.d.ts +4 -4
- package/dist/client/svelte/index.mjs +2 -2
- package/dist/client/vue/index.cjs +2 -2
- package/dist/client/vue/index.d.cts +13 -13
- package/dist/client/vue/index.d.mts +13 -13
- package/dist/client/vue/index.d.ts +13 -13
- package/dist/client/vue/index.mjs +2 -2
- package/dist/cookies/index.cjs +1 -1
- package/dist/cookies/index.d.cts +2 -2
- package/dist/cookies/index.d.mts +2 -2
- package/dist/cookies/index.d.ts +2 -2
- package/dist/cookies/index.mjs +1 -1
- package/dist/db/index.d.cts +3 -3
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.d.ts +3 -3
- package/dist/index.cjs +11 -10
- package/dist/index.d.cts +7 -6
- package/dist/index.d.mts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.mjs +10 -10
- package/dist/integrations/next-js.cjs +5 -4
- package/dist/integrations/next-js.d.cts +2 -2
- package/dist/integrations/next-js.d.mts +2 -2
- package/dist/integrations/next-js.d.ts +2 -2
- package/dist/integrations/next-js.mjs +5 -4
- package/dist/integrations/node.d.cts +2 -2
- package/dist/integrations/node.d.mts +2 -2
- package/dist/integrations/node.d.ts +2 -2
- package/dist/integrations/react-start.cjs +5 -4
- package/dist/integrations/react-start.d.cts +2 -2
- package/dist/integrations/react-start.d.mts +2 -2
- package/dist/integrations/react-start.d.ts +2 -2
- package/dist/integrations/react-start.mjs +5 -4
- package/dist/integrations/svelte-kit.cjs +3 -3
- package/dist/integrations/svelte-kit.d.cts +2 -2
- package/dist/integrations/svelte-kit.d.mts +2 -2
- package/dist/integrations/svelte-kit.d.ts +2 -2
- package/dist/integrations/svelte-kit.mjs +3 -3
- package/dist/oauth2/index.cjs +3 -3
- package/dist/oauth2/index.d.cts +4 -4
- package/dist/oauth2/index.d.mts +4 -4
- package/dist/oauth2/index.d.ts +4 -4
- package/dist/oauth2/index.mjs +3 -3
- package/dist/plugins/admin/index.cjs +4 -4
- package/dist/plugins/admin/index.d.cts +4 -4
- package/dist/plugins/admin/index.d.mts +4 -4
- package/dist/plugins/admin/index.d.ts +4 -4
- package/dist/plugins/admin/index.mjs +4 -4
- package/dist/plugins/anonymous/index.cjs +3 -3
- package/dist/plugins/anonymous/index.d.cts +2 -2
- package/dist/plugins/anonymous/index.d.mts +2 -2
- package/dist/plugins/anonymous/index.d.ts +2 -2
- package/dist/plugins/anonymous/index.mjs +3 -3
- package/dist/plugins/bearer/index.cjs +3 -3
- package/dist/plugins/bearer/index.d.cts +2 -2
- package/dist/plugins/bearer/index.d.mts +2 -2
- package/dist/plugins/bearer/index.d.ts +2 -2
- package/dist/plugins/bearer/index.mjs +3 -3
- package/dist/plugins/captcha/index.d.cts +2 -2
- package/dist/plugins/captcha/index.d.mts +2 -2
- package/dist/plugins/captcha/index.d.ts +2 -2
- package/dist/plugins/custom-session/index.cjs +20 -4
- package/dist/plugins/custom-session/index.d.cts +17 -3
- package/dist/plugins/custom-session/index.d.mts +17 -3
- package/dist/plugins/custom-session/index.d.ts +17 -3
- package/dist/plugins/custom-session/index.mjs +20 -4
- package/dist/plugins/device-authorization/index.cjs +9 -108
- package/dist/plugins/device-authorization/index.d.cts +5 -3
- package/dist/plugins/device-authorization/index.d.mts +5 -3
- package/dist/plugins/device-authorization/index.d.ts +5 -3
- package/dist/plugins/device-authorization/index.mjs +5 -104
- package/dist/plugins/email-otp/index.cjs +3 -3
- package/dist/plugins/email-otp/index.d.cts +2 -2
- package/dist/plugins/email-otp/index.d.mts +2 -2
- package/dist/plugins/email-otp/index.d.ts +2 -2
- package/dist/plugins/email-otp/index.mjs +3 -3
- package/dist/plugins/generic-oauth/index.cjs +3 -3
- package/dist/plugins/generic-oauth/index.d.cts +3 -3
- package/dist/plugins/generic-oauth/index.d.mts +3 -3
- package/dist/plugins/generic-oauth/index.d.ts +3 -3
- package/dist/plugins/generic-oauth/index.mjs +3 -3
- package/dist/plugins/haveibeenpwned/index.cjs +3 -3
- package/dist/plugins/haveibeenpwned/index.d.cts +2 -2
- package/dist/plugins/haveibeenpwned/index.d.mts +2 -2
- package/dist/plugins/haveibeenpwned/index.d.ts +2 -2
- package/dist/plugins/haveibeenpwned/index.mjs +3 -3
- package/dist/plugins/index.cjs +9 -9
- package/dist/plugins/index.d.cts +30 -5
- package/dist/plugins/index.d.mts +30 -5
- package/dist/plugins/index.d.ts +30 -5
- package/dist/plugins/index.mjs +11 -11
- package/dist/plugins/jwt/index.cjs +6 -6
- package/dist/plugins/jwt/index.d.cts +2 -2
- package/dist/plugins/jwt/index.d.mts +2 -2
- package/dist/plugins/jwt/index.d.ts +2 -2
- package/dist/plugins/jwt/index.mjs +7 -7
- package/dist/plugins/magic-link/index.cjs +3 -3
- package/dist/plugins/magic-link/index.mjs +3 -3
- package/dist/plugins/multi-session/index.cjs +3 -3
- package/dist/plugins/multi-session/index.d.cts +2 -2
- package/dist/plugins/multi-session/index.d.mts +2 -2
- package/dist/plugins/multi-session/index.d.ts +2 -2
- package/dist/plugins/multi-session/index.mjs +3 -3
- package/dist/plugins/oauth-proxy/index.cjs +3 -3
- package/dist/plugins/oauth-proxy/index.d.cts +2 -2
- package/dist/plugins/oauth-proxy/index.d.mts +2 -2
- package/dist/plugins/oauth-proxy/index.d.ts +2 -2
- package/dist/plugins/oauth-proxy/index.mjs +3 -3
- package/dist/plugins/oidc-provider/index.cjs +5 -5
- package/dist/plugins/oidc-provider/index.d.cts +56 -6
- package/dist/plugins/oidc-provider/index.d.mts +56 -6
- package/dist/plugins/oidc-provider/index.d.ts +56 -6
- package/dist/plugins/oidc-provider/index.mjs +5 -5
- package/dist/plugins/one-tap/index.cjs +3 -3
- package/dist/plugins/one-tap/index.mjs +3 -3
- package/dist/plugins/one-time-token/index.cjs +6 -5
- package/dist/plugins/one-time-token/index.d.cts +2 -2
- package/dist/plugins/one-time-token/index.d.mts +2 -2
- package/dist/plugins/one-time-token/index.d.ts +2 -2
- package/dist/plugins/one-time-token/index.mjs +6 -5
- package/dist/plugins/open-api/index.cjs +3 -3
- package/dist/plugins/open-api/index.d.cts +2 -2
- package/dist/plugins/open-api/index.d.mts +2 -2
- package/dist/plugins/open-api/index.d.ts +2 -2
- package/dist/plugins/open-api/index.mjs +3 -3
- package/dist/plugins/organization/index.cjs +5 -5
- package/dist/plugins/organization/index.d.cts +419 -40
- package/dist/plugins/organization/index.d.mts +419 -40
- package/dist/plugins/organization/index.d.ts +419 -40
- package/dist/plugins/organization/index.mjs +5 -5
- package/dist/plugins/passkey/index.cjs +3 -3
- package/dist/plugins/passkey/index.d.cts +2 -2
- package/dist/plugins/passkey/index.d.mts +2 -2
- package/dist/plugins/passkey/index.d.ts +2 -2
- package/dist/plugins/passkey/index.mjs +3 -3
- package/dist/plugins/phone-number/index.cjs +3 -3
- package/dist/plugins/phone-number/index.d.cts +2 -2
- package/dist/plugins/phone-number/index.d.mts +2 -2
- package/dist/plugins/phone-number/index.d.ts +2 -2
- package/dist/plugins/phone-number/index.mjs +3 -3
- package/dist/plugins/siwe/index.cjs +3 -3
- package/dist/plugins/siwe/index.d.cts +2 -2
- package/dist/plugins/siwe/index.d.mts +2 -2
- package/dist/plugins/siwe/index.d.ts +2 -2
- package/dist/plugins/siwe/index.mjs +3 -3
- package/dist/plugins/sso/index.cjs +3 -3
- package/dist/plugins/sso/index.d.cts +4 -4
- package/dist/plugins/sso/index.d.mts +4 -4
- package/dist/plugins/sso/index.d.ts +4 -4
- package/dist/plugins/sso/index.mjs +3 -3
- package/dist/plugins/two-factor/index.cjs +3 -3
- package/dist/plugins/two-factor/index.d.cts +2 -2
- package/dist/plugins/two-factor/index.d.mts +2 -2
- package/dist/plugins/two-factor/index.d.ts +2 -2
- package/dist/plugins/two-factor/index.mjs +3 -3
- package/dist/plugins/username/index.cjs +3 -3
- package/dist/plugins/username/index.d.cts +2 -2
- package/dist/plugins/username/index.d.mts +2 -2
- package/dist/plugins/username/index.d.ts +2 -2
- package/dist/plugins/username/index.mjs +3 -3
- package/dist/shared/{better-auth.BVPwsVUn.d.cts → better-auth.B4AfIoAe.d.cts} +1 -1
- package/dist/shared/{better-auth.CtToz4qL.cjs → better-auth.BEsywhdZ.cjs} +2 -8
- package/dist/shared/{better-auth.BttC_x9D.mjs → better-auth.BF0OhhL0.mjs} +57 -1
- package/dist/shared/{better-auth.CGGao4aY.mjs → better-auth.BI4JniQN.mjs} +2 -8
- package/dist/shared/{better-auth.DQINKBiT.d.cts → better-auth.BVRe9oUF.d.cts} +479 -6
- package/dist/shared/{better-auth.CV-4ifSd.cjs → better-auth.BYiXvdJQ.cjs} +2 -2
- package/dist/shared/{better-auth.CbBksUvo.cjs → better-auth.BZ1rl9jb.cjs} +3 -3
- package/dist/shared/{better-auth.z3V3mA_O.cjs → better-auth.BhdSraHG.cjs} +3 -3
- package/dist/shared/{better-auth.AeIHgLBF.cjs → better-auth.BvYLXwvp.cjs} +58 -2
- package/dist/shared/{better-auth.BwsH8S4P.d.mts → better-auth.BxhI-ev4.d.mts} +6 -2
- package/dist/shared/{better-auth.DDozCDMS.mjs → better-auth.CBOi2vmh.mjs} +472 -65
- package/dist/shared/{better-auth.Ba_pqY0l.mjs → better-auth.CG9DHk60.mjs} +2 -2
- package/dist/shared/{better-auth.Bco357J8.cjs → better-auth.CLv80Pwz.cjs} +1 -1
- package/dist/shared/{better-auth.B6V3vOfp.d.cts → better-auth.COmDGkw-.d.cts} +6 -2
- package/dist/shared/{better-auth.BsHw2sS5.d.ts → better-auth.CS5xXOXV.d.ts} +6 -2
- package/dist/shared/{better-auth.C7BLzxG2.d.mts → better-auth.CYdzDlsq.d.mts} +1 -1
- package/dist/shared/{better-auth.CmdI9lHT.cjs → better-auth.CZpfmhXT.cjs} +1 -1
- package/dist/shared/{better-auth.D_zuKEZs.d.ts → better-auth.CdcdinCF.d.ts} +59 -59
- package/dist/shared/{better-auth.Ck3n8bMC.cjs → better-auth.CgIMrxKr.cjs} +7 -3
- package/dist/shared/{better-auth.BKqT_ZVS.cjs → better-auth.Cm_V_J8I.cjs} +10 -28
- package/dist/shared/{better-auth.DI5tnNZs.d.ts → better-auth.CnJoIxG_.d.ts} +479 -6
- package/dist/shared/{better-auth.Bp6xdiY8.d.ts → better-auth.CnXw9Yrh.d.mts} +2 -2
- package/dist/shared/{better-auth.DxG__zXA.d.ts → better-auth.CnsUttgT.d.ts} +1 -1
- package/dist/shared/{better-auth.yHdubbkw.cjs → better-auth.CxKBteqV.cjs} +34 -9
- package/dist/shared/{better-auth.CGejYPX3.d.mts → better-auth.CzZpBsE1.d.cts} +2 -2
- package/dist/shared/{better-auth.l2-e84v_.cjs → better-auth.D5q0JUiv.cjs} +93 -164
- package/dist/shared/{better-auth.B1puuIwv.d.mts → better-auth.D75jtXt8.d.mts} +59 -59
- package/dist/shared/{better-auth.BCc3zPBF.mjs → better-auth.DV5EHeYG.mjs} +1 -1
- package/dist/shared/{better-auth.w5Mg3-u0.mjs → better-auth.DX9TcqCt.mjs} +3 -3
- package/dist/shared/{better-auth.DGJgCfAm.mjs → better-auth.DqbGTNEt.mjs} +34 -9
- package/dist/shared/{better-auth.DgX9nQ3e.mjs → better-auth.K0z8EJFS.mjs} +3 -3
- package/dist/shared/{better-auth.CWKgK_p2.d.cts → better-auth.Otfjue7Z.d.cts} +59 -59
- package/dist/shared/{better-auth.DF-MUmVw.mjs → better-auth.UfVWArIB.mjs} +93 -164
- package/dist/shared/{better-auth.BVF2_YJN.mjs → better-auth._2xnM2S3.mjs} +351 -24
- package/dist/shared/{better-auth.L_XZAIeN.cjs → better-auth._gj_Mjo_.cjs} +472 -65
- package/dist/shared/{better-auth.QB8jx8j0.d.mts → better-auth.efEqxJ3k.d.mts} +479 -6
- package/dist/shared/{better-auth.CiuRzSQH.cjs → better-auth.g2ow3cc2.cjs} +354 -23
- package/dist/shared/{better-auth.DVsI0DHa.mjs → better-auth.ifuaFFT6.mjs} +1 -1
- package/dist/shared/{better-auth.Buni1mmI.mjs → better-auth.kTs0zHGZ.mjs} +7 -3
- package/dist/shared/{better-auth.DAX7uGE1.mjs → better-auth.vI-5STVo.mjs} +10 -28
- package/dist/shared/{better-auth.BflsQmOZ.d.cts → better-auth.xipPt5at.d.ts} +2 -2
- package/dist/social-providers/index.cjs +7 -3
- package/dist/social-providers/index.d.cts +1 -1
- package/dist/social-providers/index.d.mts +1 -1
- package/dist/social-providers/index.d.ts +1 -1
- package/dist/social-providers/index.mjs +3 -3
- package/dist/test-utils/index.cjs +9 -8
- package/dist/test-utils/index.d.cts +94 -94
- package/dist/test-utils/index.d.mts +94 -94
- package/dist/test-utils/index.d.ts +94 -94
- package/dist/test-utils/index.mjs +9 -8
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/package.json +2 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
2
2
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
3
3
|
export * from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.BxhI-ev4.mjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.D75jtXt8.mjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'zod/v4';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.efEqxJ3k.mjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'zod';
|
|
@@ -25,15 +25,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
25
25
|
data: InferClientAPI<Option> extends {
|
|
26
26
|
getSession: () => Promise<infer Res>;
|
|
27
27
|
} ? Res extends {
|
|
28
|
-
data: infer S;
|
|
29
|
-
error: null;
|
|
30
|
-
} | {
|
|
31
28
|
data: null;
|
|
32
29
|
error: {
|
|
33
30
|
message?: string | undefined;
|
|
34
31
|
status: number;
|
|
35
32
|
statusText: string;
|
|
36
33
|
};
|
|
34
|
+
} | {
|
|
35
|
+
data: infer S;
|
|
36
|
+
error: null;
|
|
37
37
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
38
38
|
isPending: boolean;
|
|
39
39
|
isRefetching: boolean;
|
|
@@ -43,15 +43,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
43
43
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
44
44
|
getSession: () => Promise<infer Res>;
|
|
45
45
|
} ? Res extends {
|
|
46
|
-
data: infer S;
|
|
47
|
-
error: null;
|
|
48
|
-
} | {
|
|
49
46
|
data: null;
|
|
50
47
|
error: {
|
|
51
48
|
message?: string | undefined;
|
|
52
49
|
status: number;
|
|
53
50
|
statusText: string;
|
|
54
51
|
};
|
|
52
|
+
} | {
|
|
53
|
+
data: infer S;
|
|
54
|
+
error: null;
|
|
55
55
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
56
56
|
};
|
|
57
57
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -71,13 +71,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
71
71
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
72
72
|
};
|
|
73
73
|
})[];
|
|
74
|
-
redirect?: RequestRedirect | undefined;
|
|
75
74
|
method: string;
|
|
76
75
|
headers?: (HeadersInit & (HeadersInit | {
|
|
77
76
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
78
77
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
79
78
|
authorization: "Bearer" | "Basic";
|
|
80
79
|
})) | undefined;
|
|
80
|
+
redirect?: RequestRedirect | undefined;
|
|
81
81
|
cache?: RequestCache | undefined;
|
|
82
82
|
credentials?: RequestCredentials;
|
|
83
83
|
integrity?: string | undefined;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
2
2
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
3
3
|
export * from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.CS5xXOXV.js';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CdcdinCF.js';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'zod/v4';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.CnJoIxG_.js';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'zod';
|
|
@@ -25,15 +25,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
25
25
|
data: InferClientAPI<Option> extends {
|
|
26
26
|
getSession: () => Promise<infer Res>;
|
|
27
27
|
} ? Res extends {
|
|
28
|
-
data: infer S;
|
|
29
|
-
error: null;
|
|
30
|
-
} | {
|
|
31
28
|
data: null;
|
|
32
29
|
error: {
|
|
33
30
|
message?: string | undefined;
|
|
34
31
|
status: number;
|
|
35
32
|
statusText: string;
|
|
36
33
|
};
|
|
34
|
+
} | {
|
|
35
|
+
data: infer S;
|
|
36
|
+
error: null;
|
|
37
37
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
38
38
|
isPending: boolean;
|
|
39
39
|
isRefetching: boolean;
|
|
@@ -43,15 +43,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
43
43
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
44
44
|
getSession: () => Promise<infer Res>;
|
|
45
45
|
} ? Res extends {
|
|
46
|
-
data: infer S;
|
|
47
|
-
error: null;
|
|
48
|
-
} | {
|
|
49
46
|
data: null;
|
|
50
47
|
error: {
|
|
51
48
|
message?: string | undefined;
|
|
52
49
|
status: number;
|
|
53
50
|
statusText: string;
|
|
54
51
|
};
|
|
52
|
+
} | {
|
|
53
|
+
data: infer S;
|
|
54
|
+
error: null;
|
|
55
55
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
56
56
|
};
|
|
57
57
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -71,13 +71,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
71
71
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
72
72
|
};
|
|
73
73
|
})[];
|
|
74
|
-
redirect?: RequestRedirect | undefined;
|
|
75
74
|
method: string;
|
|
76
75
|
headers?: (HeadersInit & (HeadersInit | {
|
|
77
76
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
78
77
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
79
78
|
authorization: "Bearer" | "Basic";
|
|
80
79
|
})) | undefined;
|
|
80
|
+
redirect?: RequestRedirect | undefined;
|
|
81
81
|
cache?: RequestCache | undefined;
|
|
82
82
|
credentials?: RequestCredentials;
|
|
83
83
|
integrity?: string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
1
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.BI4JniQN.mjs';
|
|
2
2
|
import { c as capitalizeFirstLetter } from '../../shared/better-auth.D-2CmEwz.mjs';
|
|
3
3
|
import { createStore, reconcile } from 'solid-js/store';
|
|
4
4
|
import { onCleanup } from 'solid-js';
|
|
@@ -7,7 +7,7 @@ import '../../shared/better-auth.CuS_eDdK.mjs';
|
|
|
7
7
|
import '../../shared/better-auth.CMQ3rA-I.mjs';
|
|
8
8
|
import '../../shared/better-auth.DdzSJf-n.mjs';
|
|
9
9
|
import 'nanostores';
|
|
10
|
-
import '../../shared/better-auth.
|
|
10
|
+
import '../../shared/better-auth.kTs0zHGZ.mjs';
|
|
11
11
|
import '../../shared/better-auth.ffWeg50w.mjs';
|
|
12
12
|
|
|
13
13
|
function useStore(store) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const proxy = require('../../shared/better-auth.
|
|
3
|
+
const proxy = require('../../shared/better-auth.BEsywhdZ.cjs');
|
|
4
4
|
const misc = require('../../shared/better-auth.BLDOwz3i.cjs');
|
|
5
5
|
require('@better-fetch/fetch');
|
|
6
6
|
require('../../shared/better-auth.DRmln2Nr.cjs');
|
|
7
7
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
8
8
|
require('../../shared/better-auth.ANpbi45u.cjs');
|
|
9
9
|
require('nanostores');
|
|
10
|
-
require('../../shared/better-auth.
|
|
10
|
+
require('../../shared/better-auth.CgIMrxKr.cjs');
|
|
11
11
|
require('../../shared/better-auth.DhsGZ30Q.cjs');
|
|
12
12
|
|
|
13
13
|
function createAuthClient(options) {
|
|
@@ -4,13 +4,13 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.COmDGkw-.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.Otfjue7Z.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.BVRe9oUF.cjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -57,13 +57,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
57
57
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
58
58
|
};
|
|
59
59
|
})[];
|
|
60
|
-
redirect?: RequestRedirect | undefined;
|
|
61
60
|
method: string;
|
|
62
61
|
headers?: (HeadersInit & (HeadersInit | {
|
|
63
62
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
64
63
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
65
64
|
authorization: "Bearer" | "Basic";
|
|
66
65
|
})) | undefined;
|
|
66
|
+
redirect?: RequestRedirect | undefined;
|
|
67
67
|
cache?: RequestCache | undefined;
|
|
68
68
|
credentials?: RequestCredentials;
|
|
69
69
|
integrity?: string | undefined;
|
|
@@ -4,13 +4,13 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.BxhI-ev4.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.D75jtXt8.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.efEqxJ3k.mjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -57,13 +57,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
57
57
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
58
58
|
};
|
|
59
59
|
})[];
|
|
60
|
-
redirect?: RequestRedirect | undefined;
|
|
61
60
|
method: string;
|
|
62
61
|
headers?: (HeadersInit & (HeadersInit | {
|
|
63
62
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
64
63
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
65
64
|
authorization: "Bearer" | "Basic";
|
|
66
65
|
})) | undefined;
|
|
66
|
+
redirect?: RequestRedirect | undefined;
|
|
67
67
|
cache?: RequestCache | undefined;
|
|
68
68
|
credentials?: RequestCredentials;
|
|
69
69
|
integrity?: string | undefined;
|
|
@@ -4,13 +4,13 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.CS5xXOXV.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CdcdinCF.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.CnJoIxG_.js';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -57,13 +57,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
57
57
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
58
58
|
};
|
|
59
59
|
})[];
|
|
60
|
-
redirect?: RequestRedirect | undefined;
|
|
61
60
|
method: string;
|
|
62
61
|
headers?: (HeadersInit & (HeadersInit | {
|
|
63
62
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
64
63
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
65
64
|
authorization: "Bearer" | "Basic";
|
|
66
65
|
})) | undefined;
|
|
66
|
+
redirect?: RequestRedirect | undefined;
|
|
67
67
|
cache?: RequestCache | undefined;
|
|
68
68
|
credentials?: RequestCredentials;
|
|
69
69
|
integrity?: string | undefined;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
1
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.BI4JniQN.mjs';
|
|
2
2
|
import { c as capitalizeFirstLetter } from '../../shared/better-auth.D-2CmEwz.mjs';
|
|
3
3
|
import '@better-fetch/fetch';
|
|
4
4
|
import '../../shared/better-auth.CuS_eDdK.mjs';
|
|
5
5
|
import '../../shared/better-auth.CMQ3rA-I.mjs';
|
|
6
6
|
import '../../shared/better-auth.DdzSJf-n.mjs';
|
|
7
7
|
import 'nanostores';
|
|
8
|
-
import '../../shared/better-auth.
|
|
8
|
+
import '../../shared/better-auth.kTs0zHGZ.mjs';
|
|
9
9
|
import '../../shared/better-auth.ffWeg50w.mjs';
|
|
10
10
|
|
|
11
11
|
function createAuthClient(options) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const vue = require('vue');
|
|
4
|
-
const proxy = require('../../shared/better-auth.
|
|
4
|
+
const proxy = require('../../shared/better-auth.BEsywhdZ.cjs');
|
|
5
5
|
const misc = require('../../shared/better-auth.BLDOwz3i.cjs');
|
|
6
6
|
require('@better-fetch/fetch');
|
|
7
7
|
require('../../shared/better-auth.DRmln2Nr.cjs');
|
|
8
8
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
9
9
|
require('../../shared/better-auth.ANpbi45u.cjs');
|
|
10
10
|
require('nanostores');
|
|
11
|
-
require('../../shared/better-auth.
|
|
11
|
+
require('../../shared/better-auth.CgIMrxKr.cjs');
|
|
12
12
|
require('../../shared/better-auth.DhsGZ30Q.cjs');
|
|
13
13
|
|
|
14
14
|
function registerStore(store) {
|
|
@@ -4,13 +4,13 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
4
4
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
5
5
|
export * from '@better-fetch/fetch';
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.COmDGkw-.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.Otfjue7Z.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.BVRe9oUF.cjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -27,15 +27,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
27
27
|
data: InferClientAPI<Option> extends {
|
|
28
28
|
getSession: () => Promise<infer Res>;
|
|
29
29
|
} ? Res extends {
|
|
30
|
+
data: infer S;
|
|
31
|
+
error: null;
|
|
32
|
+
} | {
|
|
30
33
|
data: null;
|
|
31
34
|
error: {
|
|
32
35
|
message?: string | undefined;
|
|
33
36
|
status: number;
|
|
34
37
|
statusText: string;
|
|
35
38
|
};
|
|
36
|
-
} | {
|
|
37
|
-
data: infer S;
|
|
38
|
-
error: null;
|
|
39
39
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
40
40
|
isPending: boolean;
|
|
41
41
|
isRefetching: boolean;
|
|
@@ -45,15 +45,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
45
45
|
data: Ref<InferClientAPI<Option> extends {
|
|
46
46
|
getSession: () => Promise<infer Res>;
|
|
47
47
|
} ? Res extends {
|
|
48
|
+
data: infer S;
|
|
49
|
+
error: null;
|
|
50
|
+
} | {
|
|
48
51
|
data: null;
|
|
49
52
|
error: {
|
|
50
53
|
message?: string | undefined;
|
|
51
54
|
status: number;
|
|
52
55
|
statusText: string;
|
|
53
56
|
};
|
|
54
|
-
} | {
|
|
55
|
-
data: infer S;
|
|
56
|
-
error: null;
|
|
57
57
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
58
58
|
isPending: false;
|
|
59
59
|
error: Ref<{
|
|
@@ -67,15 +67,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
67
67
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
68
68
|
getSession: () => Promise<infer Res>;
|
|
69
69
|
} ? Res extends {
|
|
70
|
+
data: infer S;
|
|
71
|
+
error: null;
|
|
72
|
+
} | {
|
|
70
73
|
data: null;
|
|
71
74
|
error: {
|
|
72
75
|
message?: string | undefined;
|
|
73
76
|
status: number;
|
|
74
77
|
statusText: string;
|
|
75
78
|
};
|
|
76
|
-
} | {
|
|
77
|
-
data: infer S;
|
|
78
|
-
error: null;
|
|
79
79
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
80
80
|
};
|
|
81
81
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -95,13 +95,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
95
95
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
96
96
|
};
|
|
97
97
|
})[];
|
|
98
|
-
redirect?: RequestRedirect | undefined;
|
|
99
98
|
method: string;
|
|
100
99
|
headers?: (HeadersInit & (HeadersInit | {
|
|
101
100
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
102
101
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
103
102
|
authorization: "Bearer" | "Basic";
|
|
104
103
|
})) | undefined;
|
|
104
|
+
redirect?: RequestRedirect | undefined;
|
|
105
105
|
cache?: RequestCache | undefined;
|
|
106
106
|
credentials?: RequestCredentials;
|
|
107
107
|
integrity?: string | undefined;
|
|
@@ -4,13 +4,13 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
4
4
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
5
5
|
export * from '@better-fetch/fetch';
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.BxhI-ev4.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.D75jtXt8.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.efEqxJ3k.mjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -27,15 +27,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
27
27
|
data: InferClientAPI<Option> extends {
|
|
28
28
|
getSession: () => Promise<infer Res>;
|
|
29
29
|
} ? Res extends {
|
|
30
|
+
data: infer S;
|
|
31
|
+
error: null;
|
|
32
|
+
} | {
|
|
30
33
|
data: null;
|
|
31
34
|
error: {
|
|
32
35
|
message?: string | undefined;
|
|
33
36
|
status: number;
|
|
34
37
|
statusText: string;
|
|
35
38
|
};
|
|
36
|
-
} | {
|
|
37
|
-
data: infer S;
|
|
38
|
-
error: null;
|
|
39
39
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
40
40
|
isPending: boolean;
|
|
41
41
|
isRefetching: boolean;
|
|
@@ -45,15 +45,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
45
45
|
data: Ref<InferClientAPI<Option> extends {
|
|
46
46
|
getSession: () => Promise<infer Res>;
|
|
47
47
|
} ? Res extends {
|
|
48
|
+
data: infer S;
|
|
49
|
+
error: null;
|
|
50
|
+
} | {
|
|
48
51
|
data: null;
|
|
49
52
|
error: {
|
|
50
53
|
message?: string | undefined;
|
|
51
54
|
status: number;
|
|
52
55
|
statusText: string;
|
|
53
56
|
};
|
|
54
|
-
} | {
|
|
55
|
-
data: infer S;
|
|
56
|
-
error: null;
|
|
57
57
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
58
58
|
isPending: false;
|
|
59
59
|
error: Ref<{
|
|
@@ -67,15 +67,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
67
67
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
68
68
|
getSession: () => Promise<infer Res>;
|
|
69
69
|
} ? Res extends {
|
|
70
|
+
data: infer S;
|
|
71
|
+
error: null;
|
|
72
|
+
} | {
|
|
70
73
|
data: null;
|
|
71
74
|
error: {
|
|
72
75
|
message?: string | undefined;
|
|
73
76
|
status: number;
|
|
74
77
|
statusText: string;
|
|
75
78
|
};
|
|
76
|
-
} | {
|
|
77
|
-
data: infer S;
|
|
78
|
-
error: null;
|
|
79
79
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
80
80
|
};
|
|
81
81
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -95,13 +95,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
95
95
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
96
96
|
};
|
|
97
97
|
})[];
|
|
98
|
-
redirect?: RequestRedirect | undefined;
|
|
99
98
|
method: string;
|
|
100
99
|
headers?: (HeadersInit & (HeadersInit | {
|
|
101
100
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
102
101
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
103
102
|
authorization: "Bearer" | "Basic";
|
|
104
103
|
})) | undefined;
|
|
104
|
+
redirect?: RequestRedirect | undefined;
|
|
105
105
|
cache?: RequestCache | undefined;
|
|
106
106
|
credentials?: RequestCredentials;
|
|
107
107
|
integrity?: string | undefined;
|
|
@@ -4,13 +4,13 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
4
4
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
5
5
|
export * from '@better-fetch/fetch';
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.CS5xXOXV.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CdcdinCF.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.CnJoIxG_.js';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -27,15 +27,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
27
27
|
data: InferClientAPI<Option> extends {
|
|
28
28
|
getSession: () => Promise<infer Res>;
|
|
29
29
|
} ? Res extends {
|
|
30
|
+
data: infer S;
|
|
31
|
+
error: null;
|
|
32
|
+
} | {
|
|
30
33
|
data: null;
|
|
31
34
|
error: {
|
|
32
35
|
message?: string | undefined;
|
|
33
36
|
status: number;
|
|
34
37
|
statusText: string;
|
|
35
38
|
};
|
|
36
|
-
} | {
|
|
37
|
-
data: infer S;
|
|
38
|
-
error: null;
|
|
39
39
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
40
40
|
isPending: boolean;
|
|
41
41
|
isRefetching: boolean;
|
|
@@ -45,15 +45,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
45
45
|
data: Ref<InferClientAPI<Option> extends {
|
|
46
46
|
getSession: () => Promise<infer Res>;
|
|
47
47
|
} ? Res extends {
|
|
48
|
+
data: infer S;
|
|
49
|
+
error: null;
|
|
50
|
+
} | {
|
|
48
51
|
data: null;
|
|
49
52
|
error: {
|
|
50
53
|
message?: string | undefined;
|
|
51
54
|
status: number;
|
|
52
55
|
statusText: string;
|
|
53
56
|
};
|
|
54
|
-
} | {
|
|
55
|
-
data: infer S;
|
|
56
|
-
error: null;
|
|
57
57
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
58
58
|
isPending: false;
|
|
59
59
|
error: Ref<{
|
|
@@ -67,15 +67,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
67
67
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
68
68
|
getSession: () => Promise<infer Res>;
|
|
69
69
|
} ? Res extends {
|
|
70
|
+
data: infer S;
|
|
71
|
+
error: null;
|
|
72
|
+
} | {
|
|
70
73
|
data: null;
|
|
71
74
|
error: {
|
|
72
75
|
message?: string | undefined;
|
|
73
76
|
status: number;
|
|
74
77
|
statusText: string;
|
|
75
78
|
};
|
|
76
|
-
} | {
|
|
77
|
-
data: infer S;
|
|
78
|
-
error: null;
|
|
79
79
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
80
80
|
};
|
|
81
81
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -95,13 +95,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
95
95
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
96
96
|
};
|
|
97
97
|
})[];
|
|
98
|
-
redirect?: RequestRedirect | undefined;
|
|
99
98
|
method: string;
|
|
100
99
|
headers?: (HeadersInit & (HeadersInit | {
|
|
101
100
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
102
101
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
103
102
|
authorization: "Bearer" | "Basic";
|
|
104
103
|
})) | undefined;
|
|
104
|
+
redirect?: RequestRedirect | undefined;
|
|
105
105
|
cache?: RequestCache | undefined;
|
|
106
106
|
credentials?: RequestCredentials;
|
|
107
107
|
integrity?: string | undefined;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { shallowRef, getCurrentScope, onScopeDispose, readonly, getCurrentInstance } from 'vue';
|
|
2
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
2
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.BI4JniQN.mjs';
|
|
3
3
|
import { c as capitalizeFirstLetter } from '../../shared/better-auth.D-2CmEwz.mjs';
|
|
4
4
|
import '@better-fetch/fetch';
|
|
5
5
|
import '../../shared/better-auth.CuS_eDdK.mjs';
|
|
6
6
|
import '../../shared/better-auth.CMQ3rA-I.mjs';
|
|
7
7
|
import '../../shared/better-auth.DdzSJf-n.mjs';
|
|
8
8
|
import 'nanostores';
|
|
9
|
-
import '../../shared/better-auth.
|
|
9
|
+
import '../../shared/better-auth.kTs0zHGZ.mjs';
|
|
10
10
|
import '../../shared/better-auth.ffWeg50w.mjs';
|
|
11
11
|
|
|
12
12
|
function registerStore(store) {
|
package/dist/cookies/index.cjs
CHANGED
|
@@ -4,7 +4,7 @@ require('../shared/better-auth.ANpbi45u.cjs');
|
|
|
4
4
|
require('../shared/better-auth.C1hdVENX.cjs');
|
|
5
5
|
require('../shared/better-auth.B6fIklBU.cjs');
|
|
6
6
|
require('@better-auth/utils/base64');
|
|
7
|
-
const cookies_index = require('../shared/better-auth.
|
|
7
|
+
const cookies_index = require('../shared/better-auth.D5q0JUiv.cjs');
|
|
8
8
|
require('@better-auth/utils/hmac');
|
|
9
9
|
require('../shared/better-auth.vPQBmXQL.cjs');
|
|
10
10
|
require('../shared/better-auth.DRmln2Nr.cjs');
|
package/dist/cookies/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.Otfjue7Z.cjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.BVRe9oUF.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
package/dist/cookies/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.D75jtXt8.mjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.efEqxJ3k.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
package/dist/cookies/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.CdcdinCF.js';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.CnJoIxG_.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|