better-auth 1.4.0-beta.2 → 1.4.0-beta.3
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.cjs +1 -1
- 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/kysely-adapter/index.mjs +1 -1
- package/dist/adapters/memory-adapter/index.cjs +1 -1
- 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/memory-adapter/index.mjs +1 -1
- 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 +2 -2
- package/dist/adapters/test.d.mts +2 -2
- package/dist/adapters/test.d.ts +2 -2
- package/dist/api/index.cjs +5 -5
- package/dist/api/index.d.cts +2 -2
- package/dist/api/index.d.mts +2 -2
- package/dist/api/index.d.ts +2 -2
- package/dist/api/index.mjs +7 -7
- package/dist/client/index.cjs +3 -3
- package/dist/client/index.d.cts +4 -4
- package/dist/client/index.d.mts +4 -4
- package/dist/client/index.d.ts +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/client/plugins/index.d.cts +4 -4
- package/dist/client/plugins/index.d.mts +4 -4
- package/dist/client/plugins/index.d.ts +4 -4
- package/dist/client/react/index.cjs +2 -2
- package/dist/client/react/index.d.cts +13 -13
- package/dist/client/react/index.d.mts +13 -13
- package/dist/client/react/index.d.ts +13 -13
- package/dist/client/react/index.mjs +2 -2
- package/dist/client/solid/index.cjs +2 -2
- package/dist/client/solid/index.d.cts +7 -7
- package/dist/client/solid/index.d.mts +7 -7
- package/dist/client/solid/index.d.ts +7 -7
- package/dist/client/solid/index.mjs +2 -2
- package/dist/client/svelte/index.cjs +2 -2
- package/dist/client/svelte/index.d.cts +7 -7
- package/dist/client/svelte/index.d.mts +7 -7
- package/dist/client/svelte/index.d.ts +7 -7
- package/dist/client/svelte/index.mjs +2 -2
- package/dist/client/vue/index.cjs +2 -2
- package/dist/client/vue/index.d.cts +7 -7
- package/dist/client/vue/index.d.mts +7 -7
- package/dist/client/vue/index.d.ts +7 -7
- 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.cjs +4 -4
- package/dist/db/index.d.cts +11 -3
- package/dist/db/index.d.mts +11 -3
- package/dist/db/index.d.ts +11 -3
- package/dist/db/index.mjs +4 -4
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +10 -10
- package/dist/index.d.mts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.mjs +8 -8
- package/dist/integrations/next-js.cjs +5 -5
- 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 -5
- 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 -5
- 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 -5
- package/dist/integrations/svelte-kit.cjs +4 -4
- 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 +4 -4
- package/dist/oauth2/index.cjs +4 -4
- 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 +4 -4
- package/dist/plugins/admin/index.cjs +5 -5
- package/dist/plugins/admin/index.d.cts +19 -4
- package/dist/plugins/admin/index.d.mts +19 -4
- package/dist/plugins/admin/index.d.ts +19 -4
- package/dist/plugins/admin/index.mjs +5 -5
- package/dist/plugins/anonymous/index.cjs +4 -4
- 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 +4 -4
- package/dist/plugins/bearer/index.cjs +4 -4
- 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 +4 -4
- 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 +8 -10
- package/dist/plugins/custom-session/index.d.cts +2 -2
- package/dist/plugins/custom-session/index.d.mts +2 -2
- package/dist/plugins/custom-session/index.d.ts +2 -2
- package/dist/plugins/custom-session/index.mjs +8 -10
- package/dist/plugins/device-authorization/index.cjs +19 -51
- package/dist/plugins/device-authorization/index.d.cts +2 -2
- package/dist/plugins/device-authorization/index.d.mts +2 -2
- package/dist/plugins/device-authorization/index.d.ts +2 -2
- package/dist/plugins/device-authorization/index.mjs +19 -51
- package/dist/plugins/email-otp/index.cjs +21 -61
- 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 +21 -61
- package/dist/plugins/generic-oauth/index.cjs +25 -43
- package/dist/plugins/generic-oauth/index.d.cts +2 -2
- package/dist/plugins/generic-oauth/index.d.mts +2 -2
- package/dist/plugins/generic-oauth/index.d.ts +2 -2
- package/dist/plugins/generic-oauth/index.mjs +25 -43
- package/dist/plugins/haveibeenpwned/index.cjs +4 -4
- 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 +4 -4
- package/dist/plugins/index.cjs +10 -10
- package/dist/plugins/index.d.cts +6 -6
- package/dist/plugins/index.d.mts +6 -6
- package/dist/plugins/index.d.ts +6 -6
- package/dist/plugins/index.mjs +12 -12
- package/dist/plugins/jwt/index.cjs +4 -4
- 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 +4 -4
- package/dist/plugins/magic-link/index.cjs +21 -31
- package/dist/plugins/magic-link/index.mjs +21 -31
- package/dist/plugins/multi-session/index.cjs +6 -10
- 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 +6 -10
- package/dist/plugins/oauth-proxy/index.cjs +9 -11
- package/dist/plugins/oauth-proxy/index.d.cts +3 -2
- package/dist/plugins/oauth-proxy/index.d.mts +3 -2
- package/dist/plugins/oauth-proxy/index.d.ts +3 -2
- package/dist/plugins/oauth-proxy/index.mjs +9 -11
- package/dist/plugins/oidc-provider/index.cjs +5 -5
- package/dist/plugins/oidc-provider/index.d.cts +6 -6
- package/dist/plugins/oidc-provider/index.d.mts +6 -6
- package/dist/plugins/oidc-provider/index.d.ts +6 -6
- package/dist/plugins/oidc-provider/index.mjs +5 -5
- package/dist/plugins/one-tap/index.cjs +7 -7
- package/dist/plugins/one-tap/index.mjs +7 -7
- package/dist/plugins/one-time-token/index.cjs +7 -7
- 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 +7 -7
- package/dist/plugins/open-api/index.cjs +4 -4
- 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 +4 -4
- package/dist/plugins/organization/index.cjs +7 -7
- package/dist/plugins/organization/index.d.cts +78 -14
- package/dist/plugins/organization/index.d.mts +78 -14
- package/dist/plugins/organization/index.d.ts +78 -14
- package/dist/plugins/organization/index.mjs +7 -7
- package/dist/plugins/passkey/index.cjs +12 -16
- 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 +12 -16
- package/dist/plugins/phone-number/index.cjs +24 -40
- 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 +24 -40
- package/dist/plugins/siwe/index.cjs +4 -4
- 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 +4 -4
- package/dist/plugins/sso/index.cjs +62 -88
- package/dist/plugins/sso/index.d.cts +2 -2
- package/dist/plugins/sso/index.d.mts +2 -2
- package/dist/plugins/sso/index.d.ts +2 -2
- package/dist/plugins/sso/index.mjs +62 -88
- package/dist/plugins/two-factor/index.cjs +19 -49
- 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 +19 -49
- package/dist/plugins/username/index.cjs +9 -15
- package/dist/plugins/username/index.d.cts +6 -6
- package/dist/plugins/username/index.d.mts +6 -6
- package/dist/plugins/username/index.d.ts +6 -6
- package/dist/plugins/username/index.mjs +9 -15
- package/dist/shared/{better-auth.C6qXK08w.d.ts → better-auth.4SXCyo06.d.ts} +2 -2
- package/dist/shared/{better-auth.CreeZQ__.d.mts → better-auth.8am3GyvS.d.cts} +1 -1
- package/dist/shared/{better-auth.C1AWk7z7.mjs → better-auth.AYS43XM1.mjs} +1 -1
- package/dist/shared/{better-auth.BDdoXh_7.cjs → better-auth.A_lT_4ey.cjs} +75 -155
- package/dist/shared/{better-auth.BkcRiga0.cjs → better-auth.B-RhOtHf.cjs} +1 -1
- package/dist/shared/{better-auth.gfiicitY.d.cts → better-auth.B1Za4fb4.d.cts} +5 -5
- package/dist/shared/{better-auth.Bhva6lEh.cjs → better-auth.BBk8MRta.cjs} +1 -1
- package/dist/shared/{better-auth.CxLMKBFr.d.cts → better-auth.BC_XVl81.d.mts} +1 -1
- package/dist/shared/{better-auth.B7A2AeSg.cjs → better-auth.BSU7i7gN.cjs} +6 -6
- package/dist/shared/{better-auth.CV6SLN2A.mjs → better-auth.BTmQo2-r.mjs} +69 -118
- package/dist/shared/{better-auth.Bbkp5JKM.d.mts → better-auth.BUmFH1YH.d.mts} +5 -5
- package/dist/shared/{better-auth.XB1l7SdM.d.ts → better-auth.BUqsHDoX.d.ts} +1 -1
- package/dist/shared/{better-auth.Dx5-aWCB.mjs → better-auth.BftmE2f4.mjs} +3 -3
- package/dist/shared/{better-auth.fV_ra52g.mjs → better-auth.C3bLnul-.mjs} +1 -1
- package/dist/shared/{better-auth.Dlh8OCID.mjs → better-auth.CJ2rnsDV.mjs} +3 -0
- package/dist/shared/{better-auth.b3V1DCfW.cjs → better-auth.CNhgW39t.cjs} +139 -245
- package/dist/shared/{better-auth.1YBeofpK.cjs → better-auth.COdnr6eY.cjs} +49 -85
- package/dist/shared/{better-auth.owJK4RTO.cjs → better-auth.CYRK2rir.cjs} +69 -118
- package/dist/shared/{better-auth.DIAGL28F.cjs → better-auth.Cdkx1UlR.cjs} +29 -55
- package/dist/shared/{better-auth.BLORa3vY.d.ts → better-auth.Cn3gHKIq.d.ts} +5 -5
- package/dist/shared/{better-auth.CBY7cUGy.mjs → better-auth.Co88PbP3.mjs} +6 -10
- package/dist/shared/{better-auth.CveVqL58.cjs → better-auth.CuyhlHls.cjs} +3 -3
- package/dist/shared/{better-auth.DsRTWTq9.mjs → better-auth.D1jaLDAW.mjs} +75 -155
- package/dist/shared/{better-auth.DXGtScCP.cjs → better-auth.D2444EHu.cjs} +2 -2
- package/dist/shared/{better-auth.DBmu12iE.d.ts → better-auth.D3u5pPGf.d.ts} +1 -1
- package/dist/shared/{better-auth.CLmuULOM.d.cts → better-auth.DHiuXI9L.d.cts} +64 -20
- package/dist/shared/{better-auth.CXM9s0dx.cjs → better-auth.DIfV2UBl.cjs} +1 -1
- package/dist/shared/{better-auth.CnD_hzZ_.mjs → better-auth.DL28hkwE.mjs} +6 -6
- package/dist/shared/{better-auth.B_xbPKKL.d.mts → better-auth.DQBMcFsm.d.mts} +64 -20
- package/dist/shared/{better-auth.DhsGZ30Q.cjs → better-auth.DUNU0obG.cjs} +1 -1
- package/dist/shared/{better-auth.Ddv1-cj-.mjs → better-auth.DUTxy-hg.mjs} +2 -2
- package/dist/shared/{better-auth.-8Mk4DBL.mjs → better-auth.DXd8qaHd.mjs} +29 -55
- package/dist/shared/{better-auth.CX8orviF.cjs → better-auth.DcYLM7Us.cjs} +3 -0
- package/dist/shared/{better-auth.DL8idXrv.mjs → better-auth.DhQzyejE.mjs} +1 -1
- package/dist/shared/{better-auth.DIPz2ymP.cjs → better-auth.DrO1u8u7.cjs} +110 -24
- package/dist/shared/{better-auth.BQv0wGSb.d.ts → better-auth.DyZUF2_t.d.ts} +64 -20
- package/dist/shared/{better-auth.DabBNJnG.d.mts → better-auth.LBYUF6qL.d.mts} +1 -1
- package/dist/shared/{better-auth.3naUdTMW.mjs → better-auth.T3Ux10v9.mjs} +1 -1
- package/dist/shared/{better-auth.aytbwQG-.mjs → better-auth.TQtfFmwt.mjs} +139 -245
- package/dist/shared/{better-auth.BHPr8J54.d.mts → better-auth.XefKa8DI.d.mts} +2 -2
- package/dist/shared/{better-auth.DqKvGWll.d.cts → better-auth.ZC_QEMLv.d.cts} +1 -1
- package/dist/shared/{better-auth.DWm9SJv0.mjs → better-auth.cXemjp2M.mjs} +49 -85
- package/dist/shared/{better-auth.C1TnI_Rz.mjs → better-auth.g25nv4YL.mjs} +110 -24
- package/dist/shared/{better-auth.CvVm_hFg.cjs → better-auth.iE8wqp5_.cjs} +1 -1
- package/dist/shared/{better-auth.ffWeg50w.mjs → better-auth.msGOU0m9.mjs} +1 -1
- package/dist/shared/{better-auth.7zTmTxT4.d.cts → better-auth.v_lf-jeY.d.cts} +2 -2
- package/dist/shared/{better-auth.CAcHGnwq.cjs → better-auth.wBgaxGEw.cjs} +6 -10
- package/dist/social-providers/index.cjs +4 -4
- 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 +4 -4
- package/dist/test-utils/index.cjs +12 -12
- package/dist/test-utils/index.d.cts +20 -20
- package/dist/test-utils/index.d.mts +20 -20
- package/dist/test-utils/index.d.ts +20 -20
- package/dist/test-utils/index.mjs +12 -12
- 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 -6
|
@@ -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, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.ZC_QEMLv.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.DHiuXI9L.cjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
14
14
|
import 'zod';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'better-sqlite3';
|
|
@@ -67,15 +67,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
67
67
|
data: 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 : never;
|
|
80
80
|
isPending: boolean;
|
|
81
81
|
error: BetterFetchError | null;
|
|
@@ -87,15 +87,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
87
87
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
88
88
|
getSession: () => Promise<infer Res>;
|
|
89
89
|
} ? Res extends {
|
|
90
|
+
data: infer S;
|
|
91
|
+
error: null;
|
|
92
|
+
} | {
|
|
90
93
|
data: null;
|
|
91
94
|
error: {
|
|
92
95
|
message?: string | undefined;
|
|
93
96
|
status: number;
|
|
94
97
|
statusText: string;
|
|
95
98
|
};
|
|
96
|
-
} | {
|
|
97
|
-
data: infer S;
|
|
98
|
-
error: null;
|
|
99
99
|
} ? S : Res : never>;
|
|
100
100
|
};
|
|
101
101
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -115,19 +115,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
115
115
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
116
116
|
};
|
|
117
117
|
})[];
|
|
118
|
-
|
|
119
|
-
credentials?: RequestCredentials;
|
|
118
|
+
method: string;
|
|
120
119
|
headers?: (HeadersInit & (HeadersInit | {
|
|
121
120
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
122
121
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
123
122
|
authorization: "Bearer" | "Basic";
|
|
124
123
|
})) | undefined;
|
|
124
|
+
redirect?: RequestRedirect | undefined;
|
|
125
|
+
cache?: RequestCache | undefined;
|
|
126
|
+
credentials?: RequestCredentials;
|
|
125
127
|
integrity?: string | undefined;
|
|
126
128
|
keepalive?: boolean | undefined;
|
|
127
|
-
method: string;
|
|
128
129
|
mode?: RequestMode | undefined;
|
|
129
130
|
priority?: RequestPriority | undefined;
|
|
130
|
-
redirect?: RequestRedirect | undefined;
|
|
131
131
|
referrer?: string | undefined;
|
|
132
132
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
133
133
|
signal?: (AbortSignal | null) | 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, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.LBYUF6qL.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.DQBMcFsm.mjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
14
14
|
import 'zod';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'better-sqlite3';
|
|
@@ -67,15 +67,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
67
67
|
data: 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 : never;
|
|
80
80
|
isPending: boolean;
|
|
81
81
|
error: BetterFetchError | null;
|
|
@@ -87,15 +87,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
87
87
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
88
88
|
getSession: () => Promise<infer Res>;
|
|
89
89
|
} ? Res extends {
|
|
90
|
+
data: infer S;
|
|
91
|
+
error: null;
|
|
92
|
+
} | {
|
|
90
93
|
data: null;
|
|
91
94
|
error: {
|
|
92
95
|
message?: string | undefined;
|
|
93
96
|
status: number;
|
|
94
97
|
statusText: string;
|
|
95
98
|
};
|
|
96
|
-
} | {
|
|
97
|
-
data: infer S;
|
|
98
|
-
error: null;
|
|
99
99
|
} ? S : Res : never>;
|
|
100
100
|
};
|
|
101
101
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -115,19 +115,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
115
115
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
116
116
|
};
|
|
117
117
|
})[];
|
|
118
|
-
|
|
119
|
-
credentials?: RequestCredentials;
|
|
118
|
+
method: string;
|
|
120
119
|
headers?: (HeadersInit & (HeadersInit | {
|
|
121
120
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
122
121
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
123
122
|
authorization: "Bearer" | "Basic";
|
|
124
123
|
})) | undefined;
|
|
124
|
+
redirect?: RequestRedirect | undefined;
|
|
125
|
+
cache?: RequestCache | undefined;
|
|
126
|
+
credentials?: RequestCredentials;
|
|
125
127
|
integrity?: string | undefined;
|
|
126
128
|
keepalive?: boolean | undefined;
|
|
127
|
-
method: string;
|
|
128
129
|
mode?: RequestMode | undefined;
|
|
129
130
|
priority?: RequestPriority | undefined;
|
|
130
|
-
redirect?: RequestRedirect | undefined;
|
|
131
131
|
referrer?: string | undefined;
|
|
132
132
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
133
133
|
signal?: (AbortSignal | null) | 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, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.D3u5pPGf.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.DyZUF2_t.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.4SXCyo06.js';
|
|
14
14
|
import 'zod';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'better-sqlite3';
|
|
@@ -67,15 +67,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
67
67
|
data: 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 : never;
|
|
80
80
|
isPending: boolean;
|
|
81
81
|
error: BetterFetchError | null;
|
|
@@ -87,15 +87,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
87
87
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
88
88
|
getSession: () => Promise<infer Res>;
|
|
89
89
|
} ? Res extends {
|
|
90
|
+
data: infer S;
|
|
91
|
+
error: null;
|
|
92
|
+
} | {
|
|
90
93
|
data: null;
|
|
91
94
|
error: {
|
|
92
95
|
message?: string | undefined;
|
|
93
96
|
status: number;
|
|
94
97
|
statusText: string;
|
|
95
98
|
};
|
|
96
|
-
} | {
|
|
97
|
-
data: infer S;
|
|
98
|
-
error: null;
|
|
99
99
|
} ? S : Res : never>;
|
|
100
100
|
};
|
|
101
101
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -115,19 +115,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
115
115
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
116
116
|
};
|
|
117
117
|
})[];
|
|
118
|
-
|
|
119
|
-
credentials?: RequestCredentials;
|
|
118
|
+
method: string;
|
|
120
119
|
headers?: (HeadersInit & (HeadersInit | {
|
|
121
120
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
122
121
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
123
122
|
authorization: "Bearer" | "Basic";
|
|
124
123
|
})) | undefined;
|
|
124
|
+
redirect?: RequestRedirect | undefined;
|
|
125
|
+
cache?: RequestCache | undefined;
|
|
126
|
+
credentials?: RequestCredentials;
|
|
125
127
|
integrity?: string | undefined;
|
|
126
128
|
keepalive?: boolean | undefined;
|
|
127
|
-
method: string;
|
|
128
129
|
mode?: RequestMode | undefined;
|
|
129
130
|
priority?: RequestPriority | undefined;
|
|
130
|
-
redirect?: RequestRedirect | undefined;
|
|
131
131
|
referrer?: string | undefined;
|
|
132
132
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
133
133
|
signal?: (AbortSignal | null) | 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.T3Ux10v9.mjs';
|
|
2
2
|
import { listenKeys } from 'nanostores';
|
|
3
3
|
import { useRef, useCallback, useSyncExternalStore } from 'react';
|
|
4
4
|
import '@better-fetch/fetch';
|
|
@@ -6,7 +6,7 @@ import '../../shared/better-auth.DxV4YGX3.mjs';
|
|
|
6
6
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
7
7
|
import '../../shared/better-auth.DdzSJf-n.mjs';
|
|
8
8
|
import '../../shared/better-auth.BYWGbmZ5.mjs';
|
|
9
|
-
import '../../shared/better-auth.
|
|
9
|
+
import '../../shared/better-auth.msGOU0m9.mjs';
|
|
10
10
|
|
|
11
11
|
function useStore(store, options = {}) {
|
|
12
12
|
let snapshotRef = useRef(store.get());
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const proxy = require('../../shared/better-auth.
|
|
3
|
+
const proxy = require('../../shared/better-auth.B-RhOtHf.cjs');
|
|
4
4
|
const misc = require('../../shared/better-auth.BLDOwz3i.cjs');
|
|
5
5
|
const store = require('solid-js/store');
|
|
6
6
|
const solidJs = require('solid-js');
|
|
@@ -10,7 +10,7 @@ require('../../shared/better-auth.B6fIklBU.cjs');
|
|
|
10
10
|
require('../../shared/better-auth.ANpbi45u.cjs');
|
|
11
11
|
require('nanostores');
|
|
12
12
|
require('../../shared/better-auth.D9AYOecd.cjs');
|
|
13
|
-
require('../../shared/better-auth.
|
|
13
|
+
require('../../shared/better-auth.DUNU0obG.cjs');
|
|
14
14
|
|
|
15
15
|
function useStore(store$1) {
|
|
16
16
|
const unbindActivation = store$1.listen(() => {
|
|
@@ -1,14 +1,14 @@
|
|
|
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.ZC_QEMLv.cjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
7
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.DHiuXI9L.cjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
12
12
|
import 'zod';
|
|
13
13
|
import 'zod/v4/core';
|
|
14
14
|
import 'better-sqlite3';
|
|
@@ -69,19 +69,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
69
69
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
70
70
|
};
|
|
71
71
|
})[];
|
|
72
|
-
|
|
73
|
-
credentials?: RequestCredentials;
|
|
72
|
+
method: string;
|
|
74
73
|
headers?: (HeadersInit & (HeadersInit | {
|
|
75
74
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
76
75
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
77
76
|
authorization: "Bearer" | "Basic";
|
|
78
77
|
})) | undefined;
|
|
78
|
+
redirect?: RequestRedirect | undefined;
|
|
79
|
+
cache?: RequestCache | undefined;
|
|
80
|
+
credentials?: RequestCredentials;
|
|
79
81
|
integrity?: string | undefined;
|
|
80
82
|
keepalive?: boolean | undefined;
|
|
81
|
-
method: string;
|
|
82
83
|
mode?: RequestMode | undefined;
|
|
83
84
|
priority?: RequestPriority | undefined;
|
|
84
|
-
redirect?: RequestRedirect | undefined;
|
|
85
85
|
referrer?: string | undefined;
|
|
86
86
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
87
87
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
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.LBYUF6qL.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 { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.DQBMcFsm.mjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
12
12
|
import 'zod';
|
|
13
13
|
import 'zod/v4/core';
|
|
14
14
|
import 'better-sqlite3';
|
|
@@ -69,19 +69,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
69
69
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
70
70
|
};
|
|
71
71
|
})[];
|
|
72
|
-
|
|
73
|
-
credentials?: RequestCredentials;
|
|
72
|
+
method: string;
|
|
74
73
|
headers?: (HeadersInit & (HeadersInit | {
|
|
75
74
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
76
75
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
77
76
|
authorization: "Bearer" | "Basic";
|
|
78
77
|
})) | undefined;
|
|
78
|
+
redirect?: RequestRedirect | undefined;
|
|
79
|
+
cache?: RequestCache | undefined;
|
|
80
|
+
credentials?: RequestCredentials;
|
|
79
81
|
integrity?: string | undefined;
|
|
80
82
|
keepalive?: boolean | undefined;
|
|
81
|
-
method: string;
|
|
82
83
|
mode?: RequestMode | undefined;
|
|
83
84
|
priority?: RequestPriority | undefined;
|
|
84
|
-
redirect?: RequestRedirect | undefined;
|
|
85
85
|
referrer?: string | undefined;
|
|
86
86
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
87
87
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
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.D3u5pPGf.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 { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.DyZUF2_t.js';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.4SXCyo06.js';
|
|
12
12
|
import 'zod';
|
|
13
13
|
import 'zod/v4/core';
|
|
14
14
|
import 'better-sqlite3';
|
|
@@ -69,19 +69,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
69
69
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
70
70
|
};
|
|
71
71
|
})[];
|
|
72
|
-
|
|
73
|
-
credentials?: RequestCredentials;
|
|
72
|
+
method: string;
|
|
74
73
|
headers?: (HeadersInit & (HeadersInit | {
|
|
75
74
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
76
75
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
77
76
|
authorization: "Bearer" | "Basic";
|
|
78
77
|
})) | undefined;
|
|
78
|
+
redirect?: RequestRedirect | undefined;
|
|
79
|
+
cache?: RequestCache | undefined;
|
|
80
|
+
credentials?: RequestCredentials;
|
|
79
81
|
integrity?: string | undefined;
|
|
80
82
|
keepalive?: boolean | undefined;
|
|
81
|
-
method: string;
|
|
82
83
|
mode?: RequestMode | undefined;
|
|
83
84
|
priority?: RequestPriority | undefined;
|
|
84
|
-
redirect?: RequestRedirect | undefined;
|
|
85
85
|
referrer?: string | undefined;
|
|
86
86
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
87
87
|
signal?: (AbortSignal | null) | 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.T3Ux10v9.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';
|
|
@@ -8,7 +8,7 @@ import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
|
8
8
|
import '../../shared/better-auth.DdzSJf-n.mjs';
|
|
9
9
|
import 'nanostores';
|
|
10
10
|
import '../../shared/better-auth.BYWGbmZ5.mjs';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.msGOU0m9.mjs';
|
|
12
12
|
|
|
13
13
|
function useStore(store) {
|
|
14
14
|
const unbindActivation = store.listen(() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const proxy = require('../../shared/better-auth.
|
|
3
|
+
const proxy = require('../../shared/better-auth.B-RhOtHf.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');
|
|
@@ -8,7 +8,7 @@ require('../../shared/better-auth.B6fIklBU.cjs');
|
|
|
8
8
|
require('../../shared/better-auth.ANpbi45u.cjs');
|
|
9
9
|
require('nanostores');
|
|
10
10
|
require('../../shared/better-auth.D9AYOecd.cjs');
|
|
11
|
-
require('../../shared/better-auth.
|
|
11
|
+
require('../../shared/better-auth.DUNU0obG.cjs');
|
|
12
12
|
|
|
13
13
|
function createAuthClient(options) {
|
|
14
14
|
const {
|
|
@@ -4,12 +4,12 @@ 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.ZC_QEMLv.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
9
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.DHiuXI9L.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -55,19 +55,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
55
55
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
56
56
|
};
|
|
57
57
|
})[];
|
|
58
|
-
|
|
59
|
-
credentials?: RequestCredentials;
|
|
58
|
+
method: string;
|
|
60
59
|
headers?: (HeadersInit & (HeadersInit | {
|
|
61
60
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
62
61
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
63
62
|
authorization: "Bearer" | "Basic";
|
|
64
63
|
})) | undefined;
|
|
64
|
+
redirect?: RequestRedirect | undefined;
|
|
65
|
+
cache?: RequestCache | undefined;
|
|
66
|
+
credentials?: RequestCredentials;
|
|
65
67
|
integrity?: string | undefined;
|
|
66
68
|
keepalive?: boolean | undefined;
|
|
67
|
-
method: string;
|
|
68
69
|
mode?: RequestMode | undefined;
|
|
69
70
|
priority?: RequestPriority | undefined;
|
|
70
|
-
redirect?: RequestRedirect | undefined;
|
|
71
71
|
referrer?: string | undefined;
|
|
72
72
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
73
73
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -4,12 +4,12 @@ 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.LBYUF6qL.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
9
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.DQBMcFsm.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -55,19 +55,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
55
55
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
56
56
|
};
|
|
57
57
|
})[];
|
|
58
|
-
|
|
59
|
-
credentials?: RequestCredentials;
|
|
58
|
+
method: string;
|
|
60
59
|
headers?: (HeadersInit & (HeadersInit | {
|
|
61
60
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
62
61
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
63
62
|
authorization: "Bearer" | "Basic";
|
|
64
63
|
})) | undefined;
|
|
64
|
+
redirect?: RequestRedirect | undefined;
|
|
65
|
+
cache?: RequestCache | undefined;
|
|
66
|
+
credentials?: RequestCredentials;
|
|
65
67
|
integrity?: string | undefined;
|
|
66
68
|
keepalive?: boolean | undefined;
|
|
67
|
-
method: string;
|
|
68
69
|
mode?: RequestMode | undefined;
|
|
69
70
|
priority?: RequestPriority | undefined;
|
|
70
|
-
redirect?: RequestRedirect | undefined;
|
|
71
71
|
referrer?: string | undefined;
|
|
72
72
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
73
73
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -4,12 +4,12 @@ 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.D3u5pPGf.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
9
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.DyZUF2_t.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.4SXCyo06.js';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -55,19 +55,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
55
55
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
56
56
|
};
|
|
57
57
|
})[];
|
|
58
|
-
|
|
59
|
-
credentials?: RequestCredentials;
|
|
58
|
+
method: string;
|
|
60
59
|
headers?: (HeadersInit & (HeadersInit | {
|
|
61
60
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
62
61
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
63
62
|
authorization: "Bearer" | "Basic";
|
|
64
63
|
})) | undefined;
|
|
64
|
+
redirect?: RequestRedirect | undefined;
|
|
65
|
+
cache?: RequestCache | undefined;
|
|
66
|
+
credentials?: RequestCredentials;
|
|
65
67
|
integrity?: string | undefined;
|
|
66
68
|
keepalive?: boolean | undefined;
|
|
67
|
-
method: string;
|
|
68
69
|
mode?: RequestMode | undefined;
|
|
69
70
|
priority?: RequestPriority | undefined;
|
|
70
|
-
redirect?: RequestRedirect | undefined;
|
|
71
71
|
referrer?: string | undefined;
|
|
72
72
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
73
73
|
signal?: (AbortSignal | null) | 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.T3Ux10v9.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.DxV4YGX3.mjs';
|
|
@@ -6,7 +6,7 @@ import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
|
6
6
|
import '../../shared/better-auth.DdzSJf-n.mjs';
|
|
7
7
|
import 'nanostores';
|
|
8
8
|
import '../../shared/better-auth.BYWGbmZ5.mjs';
|
|
9
|
-
import '../../shared/better-auth.
|
|
9
|
+
import '../../shared/better-auth.msGOU0m9.mjs';
|
|
10
10
|
|
|
11
11
|
function createAuthClient(options) {
|
|
12
12
|
const {
|
|
@@ -1,7 +1,7 @@
|
|
|
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.B-RhOtHf.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');
|
|
@@ -9,7 +9,7 @@ require('../../shared/better-auth.B6fIklBU.cjs');
|
|
|
9
9
|
require('../../shared/better-auth.ANpbi45u.cjs');
|
|
10
10
|
require('nanostores');
|
|
11
11
|
require('../../shared/better-auth.D9AYOecd.cjs');
|
|
12
|
-
require('../../shared/better-auth.
|
|
12
|
+
require('../../shared/better-auth.DUNU0obG.cjs');
|
|
13
13
|
|
|
14
14
|
function registerStore(store) {
|
|
15
15
|
let instance = vue.getCurrentInstance();
|
|
@@ -4,12 +4,12 @@ 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.ZC_QEMLv.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
9
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.DHiuXI9L.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -93,19 +93,19 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
93
93
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
94
94
|
};
|
|
95
95
|
})[];
|
|
96
|
-
|
|
97
|
-
credentials?: RequestCredentials;
|
|
96
|
+
method: string;
|
|
98
97
|
headers?: (HeadersInit & (HeadersInit | {
|
|
99
98
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
100
99
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
101
100
|
authorization: "Bearer" | "Basic";
|
|
102
101
|
})) | undefined;
|
|
102
|
+
redirect?: RequestRedirect | undefined;
|
|
103
|
+
cache?: RequestCache | undefined;
|
|
104
|
+
credentials?: RequestCredentials;
|
|
103
105
|
integrity?: string | undefined;
|
|
104
106
|
keepalive?: boolean | undefined;
|
|
105
|
-
method: string;
|
|
106
107
|
mode?: RequestMode | undefined;
|
|
107
108
|
priority?: RequestPriority | undefined;
|
|
108
|
-
redirect?: RequestRedirect | undefined;
|
|
109
109
|
referrer?: string | undefined;
|
|
110
110
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
111
111
|
signal?: (AbortSignal | null) | undefined;
|