better-auth 1.2.9-beta.7 → 1.2.9-beta.9
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.cjs +2 -2
- 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/drizzle-adapter/index.mjs +2 -2
- package/dist/adapters/index.cjs +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/index.mjs +2 -2
- package/dist/adapters/kysely-adapter/index.cjs +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/kysely-adapter/index.mjs +3 -3
- package/dist/adapters/memory-adapter/index.cjs +3 -3
- 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 +3 -3
- package/dist/adapters/mongodb-adapter/index.cjs +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/mongodb-adapter/index.mjs +1 -1
- package/dist/adapters/prisma-adapter/index.cjs +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/prisma-adapter/index.mjs +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 +0 -10
- 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 +2 -12
- package/dist/client/index.d.cts +2 -2
- package/dist/client/index.d.mts +2 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/plugins/index.d.cts +3 -3
- package/dist/client/plugins/index.d.mts +3 -3
- package/dist/client/plugins/index.d.ts +3 -3
- package/dist/client/react/index.d.cts +8 -8
- package/dist/client/react/index.d.mts +8 -8
- package/dist/client/react/index.d.ts +8 -8
- package/dist/client/solid/index.d.cts +2 -2
- package/dist/client/solid/index.d.mts +2 -2
- package/dist/client/solid/index.d.ts +2 -2
- package/dist/client/svelte/index.d.cts +2 -2
- package/dist/client/svelte/index.d.mts +2 -2
- package/dist/client/svelte/index.d.ts +2 -2
- package/dist/client/vue/index.d.cts +11 -11
- package/dist/client/vue/index.d.mts +11 -11
- package/dist/client/vue/index.d.ts +11 -11
- 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/db/index.cjs +5 -5
- 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/db/index.mjs +5 -5
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +7 -7
- 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 +2 -2
- 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.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 +2 -2
- 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/oauth2/index.d.cts +4 -4
- package/dist/oauth2/index.d.mts +4 -4
- package/dist/oauth2/index.d.ts +4 -4
- package/dist/plugins/admin/index.d.cts +14 -14
- package/dist/plugins/admin/index.d.mts +14 -14
- package/dist/plugins/admin/index.d.ts +14 -14
- package/dist/plugins/admin/index.mjs +2 -2
- 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 +1 -1
- 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 +1 -1
- 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.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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/plugins/index.d.cts +4 -4
- package/dist/plugins/index.d.mts +4 -4
- package/dist/plugins/index.d.ts +4 -4
- package/dist/plugins/index.mjs +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 +1 -1
- package/dist/plugins/magic-link/index.mjs +1 -1
- 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 +1 -1
- package/dist/plugins/oauth-proxy/index.cjs +1 -1
- 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 +2 -2
- package/dist/plugins/oidc-provider/index.d.cts +7 -7
- package/dist/plugins/oidc-provider/index.d.mts +7 -7
- package/dist/plugins/oidc-provider/index.d.ts +7 -7
- package/dist/plugins/oidc-provider/index.mjs +2 -2
- package/dist/plugins/one-tap/index.mjs +1 -1
- 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 +2 -2
- 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 +1 -1
- package/dist/plugins/organization/index.d.cts +2 -2
- package/dist/plugins/organization/index.d.mts +2 -2
- package/dist/plugins/organization/index.d.ts +2 -2
- package/dist/plugins/organization/index.mjs +2 -2
- package/dist/plugins/passkey/index.cjs +7 -1
- package/dist/plugins/passkey/index.d.cts +11 -2
- package/dist/plugins/passkey/index.d.mts +11 -2
- package/dist/plugins/passkey/index.d.ts +11 -2
- package/dist/plugins/passkey/index.mjs +8 -2
- 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 +1 -1
- package/dist/plugins/sso/index.d.cts +5 -5
- package/dist/plugins/sso/index.d.mts +5 -5
- package/dist/plugins/sso/index.d.ts +5 -5
- package/dist/plugins/sso/index.mjs +1 -1
- 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 +1 -1
- package/dist/plugins/username/index.d.cts +3 -3
- package/dist/plugins/username/index.d.mts +3 -3
- package/dist/plugins/username/index.d.ts +3 -3
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/shared/{better-auth.DGCyfEhG.d.ts → better-auth.2c011wSD.d.ts} +2 -8
- package/dist/shared/{better-auth.BxnsZrT2.mjs → better-auth.BCPr2_jK.mjs} +1 -1
- package/dist/shared/{better-auth.kagr8goH.d.mts → better-auth.BKWYbMZB.d.cts} +1 -1
- package/dist/shared/{better-auth.Ckq_Q8UM.mjs → better-auth.BcY75CuQ.mjs} +1 -1
- package/dist/shared/{better-auth.BTuiucL9.d.ts → better-auth.BtW19y2I.d.ts} +1 -1
- package/dist/shared/{better-auth.C1U2eQvC.mjs → better-auth.C6sME_6S.mjs} +1 -1
- package/dist/shared/{better-auth.DlrGYDwK.d.cts → better-auth.C8pzmRtu.d.cts} +1 -1
- package/dist/shared/{better-auth.CFB3tRhe.d.ts → better-auth.CCZppfG8.d.ts} +1 -1
- package/dist/shared/{better-auth.DwXCmEc7.d.cts → better-auth.CG4mEa-_.d.cts} +2 -8
- package/dist/shared/{better-auth.CPnVs39B.cjs → better-auth.CJVe4By6.cjs} +1 -1
- package/dist/shared/{better-auth.Bdaq9Lqn.mjs → better-auth.CTsDOF_S.mjs} +1 -1
- package/dist/shared/{better-auth.xK-w0Rah.cjs → better-auth.CfjgucJr.cjs} +1 -1
- package/dist/shared/{better-auth.Dqj-g-Up.d.mts → better-auth.CsQ1och7.d.mts} +2 -8
- package/dist/shared/{better-auth.B-orlLFy.mjs → better-auth.Cue6reJU.mjs} +1 -1
- package/dist/shared/{better-auth.BnnLmpgJ.cjs → better-auth.D-YyFqDB.cjs} +2 -2
- package/dist/shared/{better-auth.Dz9w_OUB.d.cts → better-auth.D2BKU1Zm.d.cts} +1 -1
- package/dist/shared/{better-auth.D6-2nUlx.mjs → better-auth.D92Ftz7J.mjs} +1 -1
- package/dist/shared/{better-auth.DNEJbRnE.d.mts → better-auth.DBWo439a.d.mts} +1 -1
- package/dist/shared/{better-auth.C3XZ-VgJ.d.cts → better-auth.DDrcxe7M.d.mts} +1 -1
- package/dist/shared/{better-auth.0TC26uRi.mjs → better-auth.DGdvqtd1.mjs} +1 -1
- package/dist/shared/{better-auth.CnWEHFr7.d.ts → better-auth.DOUgm5-2.d.ts} +1 -1
- package/dist/shared/{better-auth.Be27qhjB.cjs → better-auth.DiXGV1jJ.cjs} +1 -1
- package/dist/shared/{better-auth.Dpv9J4ny.mjs → better-auth.WByh1Fkk.mjs} +1 -1
- package/dist/shared/{better-auth.DrtmN2NE.d.mts → better-auth.coxs12Dg.d.mts} +1 -1
- package/dist/shared/{better-auth.DCB35LVD.mjs → better-auth.gs0ZuLWb.mjs} +2 -2
- package/dist/shared/{better-auth.CUdxApHl.cjs → better-auth.h_UKC9xe.cjs} +1 -1
- 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/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
|
@@ -11,7 +11,7 @@ export { twoFactorClient } from '../../plugins/two-factor/index.js';
|
|
|
11
11
|
import { magicLink } from '../../plugins/magic-link/index.js';
|
|
12
12
|
import { phoneNumber } from '../../plugins/phone-number/index.js';
|
|
13
13
|
import { anonymous } from '../../plugins/anonymous/index.js';
|
|
14
|
-
import { a1 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
14
|
+
import { a1 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.2c011wSD.js';
|
|
15
15
|
import { admin } from '../../plugins/admin/index.js';
|
|
16
16
|
import { genericOAuth } from '../../plugins/generic-oauth/index.js';
|
|
17
17
|
import { jwt } from '../../plugins/jwt/index.js';
|
|
@@ -20,14 +20,14 @@ import { emailOTP } from '../../plugins/email-otp/index.js';
|
|
|
20
20
|
import { Store } from '../../types/index.js';
|
|
21
21
|
import { sso } from '../../plugins/sso/index.js';
|
|
22
22
|
import { oidcProvider } from '../../plugins/oidc-provider/index.js';
|
|
23
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
23
|
+
import { a as apiKey } from '../../shared/better-auth.DOUgm5-2.js';
|
|
24
24
|
import { oneTimeToken } from '../../plugins/one-time-token/index.js';
|
|
25
25
|
export * from '@simplewebauthn/server';
|
|
26
26
|
export { global } from '@simplewebauthn/server';
|
|
27
27
|
import 'zod';
|
|
28
28
|
import 'better-call';
|
|
29
29
|
import '../../plugins/organization/access/index.js';
|
|
30
|
-
import '../../shared/better-auth.
|
|
30
|
+
import '../../shared/better-auth.BtW19y2I.js';
|
|
31
31
|
import 'jose';
|
|
32
32
|
import 'kysely';
|
|
33
33
|
import 'better-sqlite3';
|
|
@@ -7,10 +7,10 @@ export * from '@better-fetch/fetch';
|
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CG4mEa-_.cjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.D2BKU1Zm.cjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'kysely';
|
|
16
16
|
import 'better-sqlite3';
|
|
@@ -66,15 +66,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
66
66
|
data: InferClientAPI<Option> extends {
|
|
67
67
|
getSession: () => Promise<infer Res>;
|
|
68
68
|
} ? Res extends {
|
|
69
|
-
data: infer S;
|
|
70
|
-
error: null;
|
|
71
|
-
} | {
|
|
72
69
|
data: null;
|
|
73
70
|
error: {
|
|
74
71
|
message?: string | undefined;
|
|
75
72
|
status: number;
|
|
76
73
|
statusText: string;
|
|
77
74
|
};
|
|
75
|
+
} | {
|
|
76
|
+
data: infer S;
|
|
77
|
+
error: null;
|
|
78
78
|
} ? S : Res : never;
|
|
79
79
|
isPending: boolean;
|
|
80
80
|
error: BetterFetchError | null;
|
|
@@ -84,15 +84,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
84
84
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
85
85
|
getSession: () => Promise<infer Res>;
|
|
86
86
|
} ? Res extends {
|
|
87
|
-
data: infer S;
|
|
88
|
-
error: null;
|
|
89
|
-
} | {
|
|
90
87
|
data: null;
|
|
91
88
|
error: {
|
|
92
89
|
message?: string | undefined;
|
|
93
90
|
status: number;
|
|
94
91
|
statusText: string;
|
|
95
92
|
};
|
|
93
|
+
} | {
|
|
94
|
+
data: infer S;
|
|
95
|
+
error: null;
|
|
96
96
|
} ? S : Res : never>;
|
|
97
97
|
};
|
|
98
98
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -7,10 +7,10 @@ export * from '@better-fetch/fetch';
|
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CsQ1och7.mjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.DBWo439a.mjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'kysely';
|
|
16
16
|
import 'better-sqlite3';
|
|
@@ -66,15 +66,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
66
66
|
data: InferClientAPI<Option> extends {
|
|
67
67
|
getSession: () => Promise<infer Res>;
|
|
68
68
|
} ? Res extends {
|
|
69
|
-
data: infer S;
|
|
70
|
-
error: null;
|
|
71
|
-
} | {
|
|
72
69
|
data: null;
|
|
73
70
|
error: {
|
|
74
71
|
message?: string | undefined;
|
|
75
72
|
status: number;
|
|
76
73
|
statusText: string;
|
|
77
74
|
};
|
|
75
|
+
} | {
|
|
76
|
+
data: infer S;
|
|
77
|
+
error: null;
|
|
78
78
|
} ? S : Res : never;
|
|
79
79
|
isPending: boolean;
|
|
80
80
|
error: BetterFetchError | null;
|
|
@@ -84,15 +84,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
84
84
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
85
85
|
getSession: () => Promise<infer Res>;
|
|
86
86
|
} ? Res extends {
|
|
87
|
-
data: infer S;
|
|
88
|
-
error: null;
|
|
89
|
-
} | {
|
|
90
87
|
data: null;
|
|
91
88
|
error: {
|
|
92
89
|
message?: string | undefined;
|
|
93
90
|
status: number;
|
|
94
91
|
statusText: string;
|
|
95
92
|
};
|
|
93
|
+
} | {
|
|
94
|
+
data: infer S;
|
|
95
|
+
error: null;
|
|
96
96
|
} ? S : Res : never>;
|
|
97
97
|
};
|
|
98
98
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -7,10 +7,10 @@ export * from '@better-fetch/fetch';
|
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.js';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.2c011wSD.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.BtW19y2I.js';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'kysely';
|
|
16
16
|
import 'better-sqlite3';
|
|
@@ -66,15 +66,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
66
66
|
data: InferClientAPI<Option> extends {
|
|
67
67
|
getSession: () => Promise<infer Res>;
|
|
68
68
|
} ? Res extends {
|
|
69
|
-
data: infer S;
|
|
70
|
-
error: null;
|
|
71
|
-
} | {
|
|
72
69
|
data: null;
|
|
73
70
|
error: {
|
|
74
71
|
message?: string | undefined;
|
|
75
72
|
status: number;
|
|
76
73
|
statusText: string;
|
|
77
74
|
};
|
|
75
|
+
} | {
|
|
76
|
+
data: infer S;
|
|
77
|
+
error: null;
|
|
78
78
|
} ? S : Res : never;
|
|
79
79
|
isPending: boolean;
|
|
80
80
|
error: BetterFetchError | null;
|
|
@@ -84,15 +84,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
84
84
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
85
85
|
getSession: () => Promise<infer Res>;
|
|
86
86
|
} ? Res extends {
|
|
87
|
-
data: infer S;
|
|
88
|
-
error: null;
|
|
89
|
-
} | {
|
|
90
87
|
data: null;
|
|
91
88
|
error: {
|
|
92
89
|
message?: string | undefined;
|
|
93
90
|
status: number;
|
|
94
91
|
statusText: string;
|
|
95
92
|
};
|
|
93
|
+
} | {
|
|
94
|
+
data: infer S;
|
|
95
|
+
error: null;
|
|
96
96
|
} ? S : Res : never>;
|
|
97
97
|
};
|
|
98
98
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -4,11 +4,11 @@ export * from '@better-fetch/fetch';
|
|
|
4
4
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.cjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CG4mEa-_.cjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.D2BKU1Zm.cjs';
|
|
12
12
|
import 'jose';
|
|
13
13
|
import 'kysely';
|
|
14
14
|
import 'better-sqlite3';
|
|
@@ -4,11 +4,11 @@ export * from '@better-fetch/fetch';
|
|
|
4
4
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.mjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CsQ1och7.mjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.DBWo439a.mjs';
|
|
12
12
|
import 'jose';
|
|
13
13
|
import 'kysely';
|
|
14
14
|
import 'better-sqlite3';
|
|
@@ -4,11 +4,11 @@ export * from '@better-fetch/fetch';
|
|
|
4
4
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.js';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.js';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.2c011wSD.js';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.BtW19y2I.js';
|
|
12
12
|
import 'jose';
|
|
13
13
|
import 'kysely';
|
|
14
14
|
import 'better-sqlite3';
|
|
@@ -6,10 +6,10 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CG4mEa-_.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.D2BKU1Zm.cjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'kysely';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -6,10 +6,10 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CsQ1och7.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.DBWo439a.mjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'kysely';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -6,10 +6,10 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.js';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.2c011wSD.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.BtW19y2I.js';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'kysely';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -6,10 +6,10 @@ export * from '@better-fetch/fetch';
|
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CG4mEa-_.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.D2BKU1Zm.cjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'kysely';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -24,15 +24,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
24
24
|
data: InferClientAPI<Option> extends {
|
|
25
25
|
getSession: () => Promise<infer Res>;
|
|
26
26
|
} ? Res extends {
|
|
27
|
+
data: infer S;
|
|
28
|
+
error: null;
|
|
29
|
+
} | {
|
|
27
30
|
data: null;
|
|
28
31
|
error: {
|
|
29
32
|
message?: string | undefined;
|
|
30
33
|
status: number;
|
|
31
34
|
statusText: string;
|
|
32
35
|
};
|
|
33
|
-
} | {
|
|
34
|
-
data: infer S;
|
|
35
|
-
error: null;
|
|
36
36
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
37
37
|
isPending: boolean;
|
|
38
38
|
isRefetching: boolean;
|
|
@@ -42,15 +42,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
42
42
|
data: Ref<InferClientAPI<Option> extends {
|
|
43
43
|
getSession: () => Promise<infer Res>;
|
|
44
44
|
} ? Res extends {
|
|
45
|
+
data: infer S;
|
|
46
|
+
error: null;
|
|
47
|
+
} | {
|
|
45
48
|
data: null;
|
|
46
49
|
error: {
|
|
47
50
|
message?: string | undefined;
|
|
48
51
|
status: number;
|
|
49
52
|
statusText: string;
|
|
50
53
|
};
|
|
51
|
-
} | {
|
|
52
|
-
data: infer S;
|
|
53
|
-
error: null;
|
|
54
54
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
55
55
|
isPending: false;
|
|
56
56
|
error: Ref<{
|
|
@@ -64,15 +64,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
64
64
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
65
65
|
getSession: () => Promise<infer Res>;
|
|
66
66
|
} ? Res extends {
|
|
67
|
+
data: infer S;
|
|
68
|
+
error: null;
|
|
69
|
+
} | {
|
|
67
70
|
data: null;
|
|
68
71
|
error: {
|
|
69
72
|
message?: string | undefined;
|
|
70
73
|
status: number;
|
|
71
74
|
statusText: string;
|
|
72
75
|
};
|
|
73
|
-
} | {
|
|
74
|
-
data: infer S;
|
|
75
|
-
error: null;
|
|
76
76
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
77
77
|
};
|
|
78
78
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -6,10 +6,10 @@ export * from '@better-fetch/fetch';
|
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CsQ1och7.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.DBWo439a.mjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'kysely';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -24,15 +24,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
24
24
|
data: InferClientAPI<Option> extends {
|
|
25
25
|
getSession: () => Promise<infer Res>;
|
|
26
26
|
} ? Res extends {
|
|
27
|
+
data: infer S;
|
|
28
|
+
error: null;
|
|
29
|
+
} | {
|
|
27
30
|
data: null;
|
|
28
31
|
error: {
|
|
29
32
|
message?: string | undefined;
|
|
30
33
|
status: number;
|
|
31
34
|
statusText: string;
|
|
32
35
|
};
|
|
33
|
-
} | {
|
|
34
|
-
data: infer S;
|
|
35
|
-
error: null;
|
|
36
36
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
37
37
|
isPending: boolean;
|
|
38
38
|
isRefetching: boolean;
|
|
@@ -42,15 +42,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
42
42
|
data: Ref<InferClientAPI<Option> extends {
|
|
43
43
|
getSession: () => Promise<infer Res>;
|
|
44
44
|
} ? Res extends {
|
|
45
|
+
data: infer S;
|
|
46
|
+
error: null;
|
|
47
|
+
} | {
|
|
45
48
|
data: null;
|
|
46
49
|
error: {
|
|
47
50
|
message?: string | undefined;
|
|
48
51
|
status: number;
|
|
49
52
|
statusText: string;
|
|
50
53
|
};
|
|
51
|
-
} | {
|
|
52
|
-
data: infer S;
|
|
53
|
-
error: null;
|
|
54
54
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
55
55
|
isPending: false;
|
|
56
56
|
error: Ref<{
|
|
@@ -64,15 +64,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
64
64
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
65
65
|
getSession: () => Promise<infer Res>;
|
|
66
66
|
} ? Res extends {
|
|
67
|
+
data: infer S;
|
|
68
|
+
error: null;
|
|
69
|
+
} | {
|
|
67
70
|
data: null;
|
|
68
71
|
error: {
|
|
69
72
|
message?: string | undefined;
|
|
70
73
|
status: number;
|
|
71
74
|
statusText: string;
|
|
72
75
|
};
|
|
73
|
-
} | {
|
|
74
|
-
data: infer S;
|
|
75
|
-
error: null;
|
|
76
76
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
77
77
|
};
|
|
78
78
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -6,10 +6,10 @@ export * from '@better-fetch/fetch';
|
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.js';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.2c011wSD.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.BtW19y2I.js';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'kysely';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -24,15 +24,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
24
24
|
data: InferClientAPI<Option> extends {
|
|
25
25
|
getSession: () => Promise<infer Res>;
|
|
26
26
|
} ? Res extends {
|
|
27
|
+
data: infer S;
|
|
28
|
+
error: null;
|
|
29
|
+
} | {
|
|
27
30
|
data: null;
|
|
28
31
|
error: {
|
|
29
32
|
message?: string | undefined;
|
|
30
33
|
status: number;
|
|
31
34
|
statusText: string;
|
|
32
35
|
};
|
|
33
|
-
} | {
|
|
34
|
-
data: infer S;
|
|
35
|
-
error: null;
|
|
36
36
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
37
37
|
isPending: boolean;
|
|
38
38
|
isRefetching: boolean;
|
|
@@ -42,15 +42,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
42
42
|
data: Ref<InferClientAPI<Option> extends {
|
|
43
43
|
getSession: () => Promise<infer Res>;
|
|
44
44
|
} ? Res extends {
|
|
45
|
+
data: infer S;
|
|
46
|
+
error: null;
|
|
47
|
+
} | {
|
|
45
48
|
data: null;
|
|
46
49
|
error: {
|
|
47
50
|
message?: string | undefined;
|
|
48
51
|
status: number;
|
|
49
52
|
statusText: string;
|
|
50
53
|
};
|
|
51
|
-
} | {
|
|
52
|
-
data: infer S;
|
|
53
|
-
error: null;
|
|
54
54
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
55
55
|
isPending: false;
|
|
56
56
|
error: Ref<{
|
|
@@ -64,15 +64,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
64
64
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
65
65
|
getSession: () => Promise<infer Res>;
|
|
66
66
|
} ? Res extends {
|
|
67
|
+
data: infer S;
|
|
68
|
+
error: null;
|
|
69
|
+
} | {
|
|
67
70
|
data: null;
|
|
68
71
|
error: {
|
|
69
72
|
message?: string | undefined;
|
|
70
73
|
status: number;
|
|
71
74
|
statusText: string;
|
|
72
75
|
};
|
|
73
|
-
} | {
|
|
74
|
-
data: infer S;
|
|
75
|
-
error: null;
|
|
76
76
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
77
77
|
};
|
|
78
78
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
package/dist/cookies/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { ax as BetterAuthCookies, aC as EligibleCookies, av as createCookieGetter, aA as deleteSessionCookie, aE as getCookieCache, aw as getCookies, aD as getSessionCookie, aB as parseCookies, aF as parseSetCookieHeader, ay as setCookieCache, aG as setCookieToHeader, az as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { ax as BetterAuthCookies, aC as EligibleCookies, av as createCookieGetter, aA as deleteSessionCookie, aE as getCookieCache, aw as getCookies, aD as getSessionCookie, aB as parseCookies, aF as parseSetCookieHeader, ay as setCookieCache, aG as setCookieToHeader, az as setSessionCookie } from '../shared/better-auth.CG4mEa-_.cjs';
|
|
3
3
|
import '../shared/better-auth.Bi8FQwDD.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.D2BKU1Zm.cjs';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-sqlite3';
|
package/dist/cookies/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { ax as BetterAuthCookies, aC as EligibleCookies, av as createCookieGetter, aA as deleteSessionCookie, aE as getCookieCache, aw as getCookies, aD as getSessionCookie, aB as parseCookies, aF as parseSetCookieHeader, ay as setCookieCache, aG as setCookieToHeader, az as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { ax as BetterAuthCookies, aC as EligibleCookies, av as createCookieGetter, aA as deleteSessionCookie, aE as getCookieCache, aw as getCookies, aD as getSessionCookie, aB as parseCookies, aF as parseSetCookieHeader, ay as setCookieCache, aG as setCookieToHeader, az as setSessionCookie } from '../shared/better-auth.CsQ1och7.mjs';
|
|
3
3
|
import '../shared/better-auth.Bi8FQwDD.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.DBWo439a.mjs';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-sqlite3';
|
package/dist/cookies/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { ax as BetterAuthCookies, aC as EligibleCookies, av as createCookieGetter, aA as deleteSessionCookie, aE as getCookieCache, aw as getCookies, aD as getSessionCookie, aB as parseCookies, aF as parseSetCookieHeader, ay as setCookieCache, aG as setCookieToHeader, az as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { ax as BetterAuthCookies, aC as EligibleCookies, av as createCookieGetter, aA as deleteSessionCookie, aE as getCookieCache, aw as getCookies, aD as getSessionCookie, aB as parseCookies, aF as parseSetCookieHeader, ay as setCookieCache, aG as setCookieToHeader, az as setSessionCookie } from '../shared/better-auth.2c011wSD.js';
|
|
3
3
|
import '../shared/better-auth.Bi8FQwDD.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.BtW19y2I.js';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-sqlite3';
|
package/dist/db/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const getMigration = require('../shared/better-auth.
|
|
3
|
+
const getMigration = require('../shared/better-auth.D-YyFqDB.cjs');
|
|
4
4
|
const getTables = require('../shared/better-auth.BEphVDyL.cjs');
|
|
5
5
|
const zod = require('zod');
|
|
6
6
|
const schema = require('../shared/better-auth.DcWKCjjf.cjs');
|
|
@@ -24,11 +24,11 @@ require('@noble/hashes/utils');
|
|
|
24
24
|
require('../shared/better-auth.CYeOI8C-.cjs');
|
|
25
25
|
require('../shared/better-auth.GpOOav9x.cjs');
|
|
26
26
|
require('../shared/better-auth.ANpbi45u.cjs');
|
|
27
|
-
require('../shared/better-auth.
|
|
27
|
+
require('../shared/better-auth.CfjgucJr.cjs');
|
|
28
28
|
require('kysely');
|
|
29
|
-
require('../shared/better-auth.
|
|
30
|
-
require('../shared/better-auth.
|
|
31
|
-
require('../shared/better-auth.
|
|
29
|
+
require('../shared/better-auth.DiXGV1jJ.cjs');
|
|
30
|
+
require('../shared/better-auth.h_UKC9xe.cjs');
|
|
31
|
+
require('../shared/better-auth.CJVe4By6.cjs');
|
|
32
32
|
|
|
33
33
|
const createFieldAttribute = (type, config) => {
|
|
34
34
|
return {
|
package/dist/db/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, W as Where, a1 as FieldAttribute, a2 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { ae as BetterAuthDbSchema, a5 as FieldAttributeConfig, ad as InferFieldsFromOptions, ac as InferFieldsFromPlugins, a9 as InferFieldsInput, aa as InferFieldsInputClient, a8 as InferFieldsOutput, a7 as InferValueType, a4 as InternalAdapter, ab as PluginFieldAttribute, ag as accountSchema, a6 as createFieldAttribute, a3 as createInternalAdapter, al as getAllFields, af as getAuthTables, au as mergeSchema, as as parseAccountInput, an as parseAccountOutput, ar as parseAdditionalUserInput, ap as parseInputData, ak as parseOutputData, at as parseSessionInput, ao as parseSessionOutput, aq as parseUserInput, am as parseUserOutput, ai as sessionSchema, ah as userSchema, aj as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, W as Where, a1 as FieldAttribute, a2 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.CG4mEa-_.cjs';
|
|
2
|
+
export { ae as BetterAuthDbSchema, a5 as FieldAttributeConfig, ad as InferFieldsFromOptions, ac as InferFieldsFromPlugins, a9 as InferFieldsInput, aa as InferFieldsInputClient, a8 as InferFieldsOutput, a7 as InferValueType, a4 as InternalAdapter, ab as PluginFieldAttribute, ag as accountSchema, a6 as createFieldAttribute, a3 as createInternalAdapter, al as getAllFields, af as getAuthTables, au as mergeSchema, as as parseAccountInput, an as parseAccountOutput, ar as parseAdditionalUserInput, ap as parseInputData, ak as parseOutputData, at as parseSessionInput, ao as parseSessionOutput, aq as parseUserInput, am as parseUserOutput, ai as sessionSchema, ah as userSchema, aj as verificationSchema } from '../shared/better-auth.CG4mEa-_.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '../shared/better-auth.Bi8FQwDD.cjs';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.D2BKU1Zm.cjs';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-call';
|
package/dist/db/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, W as Where, a1 as FieldAttribute, a2 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { ae as BetterAuthDbSchema, a5 as FieldAttributeConfig, ad as InferFieldsFromOptions, ac as InferFieldsFromPlugins, a9 as InferFieldsInput, aa as InferFieldsInputClient, a8 as InferFieldsOutput, a7 as InferValueType, a4 as InternalAdapter, ab as PluginFieldAttribute, ag as accountSchema, a6 as createFieldAttribute, a3 as createInternalAdapter, al as getAllFields, af as getAuthTables, au as mergeSchema, as as parseAccountInput, an as parseAccountOutput, ar as parseAdditionalUserInput, ap as parseInputData, ak as parseOutputData, at as parseSessionInput, ao as parseSessionOutput, aq as parseUserInput, am as parseUserOutput, ai as sessionSchema, ah as userSchema, aj as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, W as Where, a1 as FieldAttribute, a2 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.CsQ1och7.mjs';
|
|
2
|
+
export { ae as BetterAuthDbSchema, a5 as FieldAttributeConfig, ad as InferFieldsFromOptions, ac as InferFieldsFromPlugins, a9 as InferFieldsInput, aa as InferFieldsInputClient, a8 as InferFieldsOutput, a7 as InferValueType, a4 as InternalAdapter, ab as PluginFieldAttribute, ag as accountSchema, a6 as createFieldAttribute, a3 as createInternalAdapter, al as getAllFields, af as getAuthTables, au as mergeSchema, as as parseAccountInput, an as parseAccountOutput, ar as parseAdditionalUserInput, ap as parseInputData, ak as parseOutputData, at as parseSessionInput, ao as parseSessionOutput, aq as parseUserInput, am as parseUserOutput, ai as sessionSchema, ah as userSchema, aj as verificationSchema } from '../shared/better-auth.CsQ1och7.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '../shared/better-auth.Bi8FQwDD.mjs';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.DBWo439a.mjs';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-call';
|
package/dist/db/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, W as Where, a1 as FieldAttribute, a2 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { ae as BetterAuthDbSchema, a5 as FieldAttributeConfig, ad as InferFieldsFromOptions, ac as InferFieldsFromPlugins, a9 as InferFieldsInput, aa as InferFieldsInputClient, a8 as InferFieldsOutput, a7 as InferValueType, a4 as InternalAdapter, ab as PluginFieldAttribute, ag as accountSchema, a6 as createFieldAttribute, a3 as createInternalAdapter, al as getAllFields, af as getAuthTables, au as mergeSchema, as as parseAccountInput, an as parseAccountOutput, ar as parseAdditionalUserInput, ap as parseInputData, ak as parseOutputData, at as parseSessionInput, ao as parseSessionOutput, aq as parseUserInput, am as parseUserOutput, ai as sessionSchema, ah as userSchema, aj as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, W as Where, a1 as FieldAttribute, a2 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.2c011wSD.js';
|
|
2
|
+
export { ae as BetterAuthDbSchema, a5 as FieldAttributeConfig, ad as InferFieldsFromOptions, ac as InferFieldsFromPlugins, a9 as InferFieldsInput, aa as InferFieldsInputClient, a8 as InferFieldsOutput, a7 as InferValueType, a4 as InternalAdapter, ab as PluginFieldAttribute, ag as accountSchema, a6 as createFieldAttribute, a3 as createInternalAdapter, al as getAllFields, af as getAuthTables, au as mergeSchema, as as parseAccountInput, an as parseAccountOutput, ar as parseAdditionalUserInput, ap as parseInputData, ak as parseOutputData, at as parseSessionInput, ao as parseSessionOutput, aq as parseUserInput, am as parseUserOutput, ai as sessionSchema, ah as userSchema, aj as verificationSchema } from '../shared/better-auth.2c011wSD.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '../shared/better-auth.Bi8FQwDD.js';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.BtW19y2I.js';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-call';
|
package/dist/db/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { d as convertFromDB, b as convertToDB, c as createInternalAdapter, a as getAdapter, e as getMigrations, f as getSchema, g as getWithHooks, m as matchType } from '../shared/better-auth.
|
|
1
|
+
export { d as convertFromDB, b as convertToDB, c as createInternalAdapter, a as getAdapter, e as getMigrations, f as getSchema, g as getWithHooks, m as matchType } from '../shared/better-auth.gs0ZuLWb.mjs';
|
|
2
2
|
export { g as getAuthTables } from '../shared/better-auth.DORkW_Ge.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
export { a as accountSchema, g as getAllFields, m as mergeSchema, i as parseAccountInput, c as parseAccountOutput, h as parseAdditionalUserInput, e as parseInputData, p as parseOutputData, j as parseSessionInput, d as parseSessionOutput, f as parseUserInput, b as parseUserOutput, s as sessionSchema, u as userSchema, v as verificationSchema } from '../shared/better-auth.Cc72UxUH.mjs';
|
|
@@ -22,11 +22,11 @@ import '@noble/hashes/utils';
|
|
|
22
22
|
import '../shared/better-auth.B4Qoxdgc.mjs';
|
|
23
23
|
import '../shared/better-auth.Cqykj82J.mjs';
|
|
24
24
|
import '../shared/better-auth.DdzSJf-n.mjs';
|
|
25
|
-
import '../shared/better-auth.
|
|
25
|
+
import '../shared/better-auth.Cue6reJU.mjs';
|
|
26
26
|
import 'kysely';
|
|
27
|
-
import '../shared/better-auth.
|
|
28
|
-
import '../shared/better-auth.
|
|
29
|
-
import '../shared/better-auth.
|
|
27
|
+
import '../shared/better-auth.WByh1Fkk.mjs';
|
|
28
|
+
import '../shared/better-auth.DGdvqtd1.mjs';
|
|
29
|
+
import '../shared/better-auth.CTsDOF_S.mjs';
|
|
30
30
|
|
|
31
31
|
const createFieldAttribute = (type, config) => {
|
|
32
32
|
return {
|
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const api_index = require('./api/index.cjs');
|
|
4
4
|
const defu = require('defu');
|
|
5
5
|
const password = require('./shared/better-auth.YUF6P-PB.cjs');
|
|
6
|
-
const getMigration = require('./shared/better-auth.
|
|
6
|
+
const getMigration = require('./shared/better-auth.D-YyFqDB.cjs');
|
|
7
7
|
const getTables = require('./shared/better-auth.BEphVDyL.cjs');
|
|
8
8
|
require('zod');
|
|
9
9
|
require('./shared/better-auth.DcWKCjjf.cjs');
|
|
@@ -34,11 +34,11 @@ require('@noble/hashes/utils');
|
|
|
34
34
|
require('./shared/better-auth.C1hdVENX.cjs');
|
|
35
35
|
require('./shared/better-auth.D3mtHEZg.cjs');
|
|
36
36
|
require('@better-auth/utils/random');
|
|
37
|
-
require('./shared/better-auth.
|
|
37
|
+
require('./shared/better-auth.CfjgucJr.cjs');
|
|
38
38
|
require('kysely');
|
|
39
|
-
require('./shared/better-auth.
|
|
40
|
-
require('./shared/better-auth.
|
|
41
|
-
require('./shared/better-auth.
|
|
39
|
+
require('./shared/better-auth.DiXGV1jJ.cjs');
|
|
40
|
+
require('./shared/better-auth.h_UKC9xe.cjs');
|
|
41
|
+
require('./shared/better-auth.CJVe4By6.cjs');
|
|
42
42
|
require('@better-auth/utils/hmac');
|
|
43
43
|
require('@better-fetch/fetch');
|
|
44
44
|
require('./shared/better-auth.6XyKj7DG.cjs');
|