better-auth 1.3.6-beta.2 → 1.3.7-beta.1
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 +1 -1
- package/dist/adapters/drizzle-adapter/index.d.mts +1 -1
- package/dist/adapters/drizzle-adapter/index.d.ts +1 -1
- package/dist/adapters/index.d.cts +2 -2
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/index.d.ts +2 -2
- package/dist/adapters/kysely-adapter/index.d.cts +1 -1
- package/dist/adapters/kysely-adapter/index.d.mts +1 -1
- package/dist/adapters/kysely-adapter/index.d.ts +1 -1
- package/dist/adapters/memory-adapter/index.d.cts +1 -1
- package/dist/adapters/memory-adapter/index.d.mts +1 -1
- package/dist/adapters/memory-adapter/index.d.ts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.cts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.mts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.ts +1 -1
- package/dist/adapters/prisma-adapter/index.d.cts +1 -1
- package/dist/adapters/prisma-adapter/index.d.mts +1 -1
- package/dist/adapters/prisma-adapter/index.d.ts +1 -1
- package/dist/adapters/test.d.cts +1 -1
- package/dist/adapters/test.d.mts +1 -1
- package/dist/adapters/test.d.ts +1 -1
- package/dist/api/index.cjs +1 -1
- package/dist/api/index.d.cts +1 -1
- package/dist/api/index.d.mts +1 -1
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.mjs +2 -2
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.mts +3 -3
- package/dist/client/index.d.ts +3 -3
- 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 +3 -3
- package/dist/client/react/index.d.mts +3 -3
- package/dist/client/react/index.d.ts +3 -3
- package/dist/client/solid/index.d.cts +9 -9
- package/dist/client/solid/index.d.mts +9 -9
- package/dist/client/solid/index.d.ts +9 -9
- package/dist/client/svelte/index.d.cts +3 -3
- package/dist/client/svelte/index.d.mts +3 -3
- package/dist/client/svelte/index.d.ts +3 -3
- package/dist/client/vue/index.d.cts +12 -12
- package/dist/client/vue/index.d.mts +12 -12
- package/dist/client/vue/index.d.ts +12 -12
- package/dist/cookies/index.d.cts +1 -1
- package/dist/cookies/index.d.mts +1 -1
- package/dist/cookies/index.d.ts +1 -1
- package/dist/db/index.d.cts +2 -2
- package/dist/db/index.d.mts +2 -2
- package/dist/db/index.d.ts +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +2 -2
- package/dist/integrations/next-js.cjs +2 -2
- package/dist/integrations/next-js.d.cts +1 -1
- package/dist/integrations/next-js.d.mts +1 -1
- package/dist/integrations/next-js.d.ts +1 -1
- package/dist/integrations/next-js.mjs +2 -2
- package/dist/integrations/node.d.cts +1 -1
- package/dist/integrations/node.d.mts +1 -1
- package/dist/integrations/node.d.ts +1 -1
- package/dist/integrations/react-start.cjs +2 -2
- package/dist/integrations/react-start.d.cts +1 -1
- package/dist/integrations/react-start.d.mts +1 -1
- package/dist/integrations/react-start.d.ts +1 -1
- package/dist/integrations/react-start.mjs +2 -2
- package/dist/integrations/svelte-kit.cjs +1 -1
- package/dist/integrations/svelte-kit.d.cts +1 -1
- package/dist/integrations/svelte-kit.d.mts +1 -1
- package/dist/integrations/svelte-kit.d.ts +1 -1
- package/dist/integrations/svelte-kit.mjs +1 -1
- package/dist/oauth2/index.cjs +1 -1
- package/dist/oauth2/index.d.cts +2 -2
- package/dist/oauth2/index.d.mts +2 -2
- package/dist/oauth2/index.d.ts +2 -2
- package/dist/oauth2/index.mjs +1 -1
- package/dist/plugins/admin/index.cjs +2 -2
- package/dist/plugins/admin/index.d.cts +2 -2
- package/dist/plugins/admin/index.d.mts +2 -2
- package/dist/plugins/admin/index.d.ts +2 -2
- package/dist/plugins/admin/index.mjs +2 -2
- package/dist/plugins/anonymous/index.cjs +1 -1
- package/dist/plugins/anonymous/index.d.cts +1 -1
- package/dist/plugins/anonymous/index.d.mts +1 -1
- package/dist/plugins/anonymous/index.d.ts +1 -1
- package/dist/plugins/anonymous/index.mjs +1 -1
- package/dist/plugins/bearer/index.cjs +1 -1
- package/dist/plugins/bearer/index.d.cts +1 -1
- package/dist/plugins/bearer/index.d.mts +1 -1
- package/dist/plugins/bearer/index.d.ts +1 -1
- package/dist/plugins/bearer/index.mjs +1 -1
- package/dist/plugins/captcha/index.d.cts +1 -1
- package/dist/plugins/captcha/index.d.mts +1 -1
- package/dist/plugins/captcha/index.d.ts +1 -1
- package/dist/plugins/custom-session/index.cjs +1 -1
- package/dist/plugins/custom-session/index.d.cts +1 -1
- package/dist/plugins/custom-session/index.d.mts +1 -1
- package/dist/plugins/custom-session/index.d.ts +1 -1
- package/dist/plugins/custom-session/index.mjs +1 -1
- package/dist/plugins/email-otp/index.cjs +124 -8
- package/dist/plugins/email-otp/index.d.cts +88 -1
- package/dist/plugins/email-otp/index.d.mts +88 -1
- package/dist/plugins/email-otp/index.d.ts +88 -1
- package/dist/plugins/email-otp/index.mjs +124 -8
- package/dist/plugins/generic-oauth/index.cjs +1 -1
- package/dist/plugins/generic-oauth/index.d.cts +1 -1
- package/dist/plugins/generic-oauth/index.d.mts +1 -1
- package/dist/plugins/generic-oauth/index.d.ts +1 -1
- package/dist/plugins/generic-oauth/index.mjs +1 -1
- package/dist/plugins/haveibeenpwned/index.cjs +1 -1
- package/dist/plugins/haveibeenpwned/index.d.cts +1 -1
- package/dist/plugins/haveibeenpwned/index.d.mts +1 -1
- package/dist/plugins/haveibeenpwned/index.d.ts +1 -1
- package/dist/plugins/haveibeenpwned/index.mjs +1 -1
- package/dist/plugins/index.cjs +6 -6
- package/dist/plugins/index.d.cts +3 -3
- package/dist/plugins/index.d.mts +3 -3
- package/dist/plugins/index.d.ts +3 -3
- package/dist/plugins/index.mjs +8 -8
- package/dist/plugins/jwt/index.cjs +1 -1
- package/dist/plugins/jwt/index.d.cts +1 -1
- package/dist/plugins/jwt/index.d.mts +1 -1
- package/dist/plugins/jwt/index.d.ts +1 -1
- package/dist/plugins/jwt/index.mjs +1 -1
- package/dist/plugins/magic-link/index.cjs +1 -1
- package/dist/plugins/magic-link/index.mjs +1 -1
- package/dist/plugins/multi-session/index.cjs +1 -1
- package/dist/plugins/multi-session/index.d.cts +1 -1
- package/dist/plugins/multi-session/index.d.mts +1 -1
- package/dist/plugins/multi-session/index.d.ts +1 -1
- 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 +1 -1
- package/dist/plugins/oauth-proxy/index.d.mts +1 -1
- package/dist/plugins/oauth-proxy/index.d.ts +1 -1
- package/dist/plugins/oauth-proxy/index.mjs +1 -1
- package/dist/plugins/oidc-provider/index.cjs +2 -2
- package/dist/plugins/oidc-provider/index.d.cts +5 -5
- package/dist/plugins/oidc-provider/index.d.mts +5 -5
- package/dist/plugins/oidc-provider/index.d.ts +5 -5
- package/dist/plugins/oidc-provider/index.mjs +2 -2
- package/dist/plugins/one-tap/index.cjs +1 -1
- package/dist/plugins/one-tap/index.mjs +1 -1
- package/dist/plugins/one-time-token/index.cjs +3 -3
- package/dist/plugins/one-time-token/index.d.cts +1 -1
- package/dist/plugins/one-time-token/index.d.mts +1 -1
- package/dist/plugins/one-time-token/index.d.ts +1 -1
- package/dist/plugins/one-time-token/index.mjs +3 -3
- package/dist/plugins/open-api/index.cjs +1 -1
- package/dist/plugins/open-api/index.d.cts +1 -1
- package/dist/plugins/open-api/index.d.mts +1 -1
- package/dist/plugins/open-api/index.d.ts +1 -1
- package/dist/plugins/open-api/index.mjs +1 -1
- package/dist/plugins/organization/index.cjs +3 -3
- package/dist/plugins/organization/index.d.cts +1 -1
- package/dist/plugins/organization/index.d.mts +1 -1
- package/dist/plugins/organization/index.d.ts +1 -1
- package/dist/plugins/organization/index.mjs +3 -3
- package/dist/plugins/passkey/index.cjs +1 -1
- package/dist/plugins/passkey/index.d.cts +1 -1
- package/dist/plugins/passkey/index.d.mts +1 -1
- package/dist/plugins/passkey/index.d.ts +1 -1
- package/dist/plugins/passkey/index.mjs +1 -1
- package/dist/plugins/phone-number/index.cjs +1 -1
- package/dist/plugins/phone-number/index.d.cts +1 -1
- package/dist/plugins/phone-number/index.d.mts +1 -1
- package/dist/plugins/phone-number/index.d.ts +1 -1
- package/dist/plugins/phone-number/index.mjs +1 -1
- package/dist/plugins/siwe/index.cjs +1 -1
- package/dist/plugins/siwe/index.mjs +1 -1
- package/dist/plugins/sso/index.cjs +1 -1
- package/dist/plugins/sso/index.d.cts +3 -3
- package/dist/plugins/sso/index.d.mts +3 -3
- package/dist/plugins/sso/index.d.ts +3 -3
- package/dist/plugins/sso/index.mjs +1 -1
- package/dist/plugins/two-factor/index.cjs +1 -1
- package/dist/plugins/two-factor/index.d.cts +1 -1
- package/dist/plugins/two-factor/index.d.mts +1 -1
- package/dist/plugins/two-factor/index.d.ts +1 -1
- package/dist/plugins/two-factor/index.mjs +1 -1
- package/dist/plugins/username/index.cjs +9 -9
- package/dist/plugins/username/index.d.cts +1 -1
- package/dist/plugins/username/index.d.mts +1 -1
- package/dist/plugins/username/index.d.ts +1 -1
- package/dist/plugins/username/index.mjs +9 -9
- package/dist/shared/{better-auth.Bo7h6YI5.d.ts → better-auth.20-VDNhc.d.cts} +2 -2
- package/dist/shared/{better-auth.CAz9Cd5z.d.cts → better-auth.BA5VIuwi.d.cts} +4 -4
- package/dist/shared/{better-auth.De59HW-u.d.cts → better-auth.BZCIev3z.d.ts} +2 -2
- package/dist/shared/{better-auth.BtekRHFA.cjs → better-auth.BfrrzKqK.cjs} +26 -10
- package/dist/shared/{better-auth.CKa-q341.cjs → better-auth.BjdU6KcM.cjs} +1 -1
- package/dist/shared/{better-auth.D7DBFMfx.mjs → better-auth.Blf9suYs.mjs} +1 -1
- package/dist/shared/{better-auth.Bl-It_5c.cjs → better-auth.BmvbW_9e.cjs} +2 -1
- package/dist/shared/{better-auth.BlWIxee_.cjs → better-auth.CJMpoiLX.cjs} +2 -2
- package/dist/shared/{better-auth.BMerxQY0.mjs → better-auth.CaG_EZI6.mjs} +2 -2
- package/dist/shared/{better-auth.DKBKIpqZ.mjs → better-auth.Cnw8a5Vf.mjs} +2 -2
- package/dist/shared/{better-auth.3oHgUdBc.cjs → better-auth.CpIqcmvR.cjs} +2 -2
- package/dist/shared/{better-auth.fHc4138q.d.mts → better-auth.CqQYJ6k0.d.mts} +1 -1
- package/dist/shared/{better-auth.D317Sdx8.cjs → better-auth.D3o8uSQJ.cjs} +1 -1
- package/dist/shared/{better-auth.Ba48cL0L.d.mts → better-auth.DFiKdfK6.d.cts} +1 -1
- package/dist/shared/{better-auth.CcY3k9r5.d.cts → better-auth.DLJasRtl.d.mts} +1 -1
- package/dist/shared/{better-auth.CdFBGG9K.cjs → better-auth.DLq75-D6.cjs} +2 -2
- package/dist/shared/{better-auth.Da95z4LY.mjs → better-auth.DQVsWzlJ.mjs} +1 -1
- package/dist/shared/{better-auth.fDN2zET_.mjs → better-auth.DXxLjRIn.mjs} +2 -1
- package/dist/shared/{better-auth.DCaLQCEk.d.cts → better-auth.Flh6HfYx.d.cts} +1 -1
- package/dist/shared/{better-auth.BY1-gjw3.mjs → better-auth.I6rKDlAU.mjs} +26 -10
- package/dist/shared/{better-auth.JJG-4rPJ.d.mts → better-auth.QwiX43wb.d.mts} +4 -4
- package/dist/shared/{better-auth.Cm-DsNnM.d.ts → better-auth.V3OT3rVi.d.ts} +1 -1
- package/dist/shared/{better-auth.DkJw4zNh.mjs → better-auth.djzHi0X3.mjs} +2 -2
- package/dist/shared/{better-auth.CRHB8IT6.d.ts → better-auth.fgQSO8Wg.d.ts} +1 -1
- package/dist/shared/{better-auth.BUnyEQuc.d.ts → better-auth.nHRig-F9.d.ts} +4 -4
- package/dist/shared/{better-auth.Df4VL-14.d.mts → better-auth.xbhp_NfZ.d.mts} +1 -1
- package/dist/social-providers/index.cjs +1 -1
- package/dist/social-providers/index.mjs +1 -1
- package/dist/test-utils/index.cjs +3 -3
- package/dist/test-utils/index.d.cts +2 -2
- package/dist/test-utils/index.d.mts +2 -2
- package/dist/test-utils/index.d.ts +2 -2
- package/dist/test-utils/index.mjs +3 -3
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
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.V3OT3rVi.js';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.js';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.nHRig-F9.js';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
@@ -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
|
-
} | {
|
|
30
27
|
data: null;
|
|
31
28
|
error: {
|
|
32
29
|
message?: string | undefined;
|
|
33
30
|
status: number;
|
|
34
31
|
statusText: string;
|
|
35
32
|
};
|
|
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
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
43
43
|
getSession: () => Promise<infer Res>;
|
|
44
44
|
} ? Res extends {
|
|
45
|
-
data: infer S;
|
|
46
|
-
error: null;
|
|
47
|
-
} | {
|
|
48
45
|
data: null;
|
|
49
46
|
error: {
|
|
50
47
|
message?: string | undefined;
|
|
51
48
|
status: number;
|
|
52
49
|
statusText: string;
|
|
53
50
|
};
|
|
51
|
+
} | {
|
|
52
|
+
data: infer S;
|
|
53
|
+
error: null;
|
|
54
54
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
55
55
|
};
|
|
56
56
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -70,13 +70,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
70
70
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
71
71
|
};
|
|
72
72
|
})[];
|
|
73
|
-
redirect?: RequestRedirect | undefined;
|
|
74
73
|
method: string;
|
|
75
74
|
headers?: (HeadersInit & (HeadersInit | {
|
|
76
75
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
77
76
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
78
77
|
authorization: "Bearer" | "Basic";
|
|
79
78
|
})) | undefined;
|
|
79
|
+
redirect?: RequestRedirect | undefined;
|
|
80
80
|
cache?: RequestCache | undefined;
|
|
81
81
|
credentials?: RequestCredentials;
|
|
82
82
|
integrity?: string | undefined;
|
|
@@ -4,9 +4,9 @@ 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.Flh6HfYx.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BA5VIuwi.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
@@ -56,13 +56,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
56
56
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
57
57
|
};
|
|
58
58
|
})[];
|
|
59
|
-
redirect?: RequestRedirect | undefined;
|
|
60
59
|
method: string;
|
|
61
60
|
headers?: (HeadersInit & (HeadersInit | {
|
|
62
61
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
63
62
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
64
63
|
authorization: "Bearer" | "Basic";
|
|
65
64
|
})) | undefined;
|
|
65
|
+
redirect?: RequestRedirect | undefined;
|
|
66
66
|
cache?: RequestCache | undefined;
|
|
67
67
|
credentials?: RequestCredentials;
|
|
68
68
|
integrity?: string | undefined;
|
|
@@ -4,9 +4,9 @@ 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.xbhp_NfZ.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.mjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.QwiX43wb.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
@@ -56,13 +56,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
56
56
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
57
57
|
};
|
|
58
58
|
})[];
|
|
59
|
-
redirect?: RequestRedirect | undefined;
|
|
60
59
|
method: string;
|
|
61
60
|
headers?: (HeadersInit & (HeadersInit | {
|
|
62
61
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
63
62
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
64
63
|
authorization: "Bearer" | "Basic";
|
|
65
64
|
})) | undefined;
|
|
65
|
+
redirect?: RequestRedirect | undefined;
|
|
66
66
|
cache?: RequestCache | undefined;
|
|
67
67
|
credentials?: RequestCredentials;
|
|
68
68
|
integrity?: string | undefined;
|
|
@@ -4,9 +4,9 @@ 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.V3OT3rVi.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.js';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.nHRig-F9.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
@@ -56,13 +56,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
56
56
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
57
57
|
};
|
|
58
58
|
})[];
|
|
59
|
-
redirect?: RequestRedirect | undefined;
|
|
60
59
|
method: string;
|
|
61
60
|
headers?: (HeadersInit & (HeadersInit | {
|
|
62
61
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
63
62
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
64
63
|
authorization: "Bearer" | "Basic";
|
|
65
64
|
})) | undefined;
|
|
65
|
+
redirect?: RequestRedirect | undefined;
|
|
66
66
|
cache?: RequestCache | undefined;
|
|
67
67
|
credentials?: RequestCredentials;
|
|
68
68
|
integrity?: string | undefined;
|
|
@@ -4,9 +4,9 @@ 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.Flh6HfYx.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BA5VIuwi.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
@@ -26,15 +26,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
26
26
|
data: InferClientAPI<Option> extends {
|
|
27
27
|
getSession: () => Promise<infer Res>;
|
|
28
28
|
} ? Res extends {
|
|
29
|
+
data: infer S;
|
|
30
|
+
error: null;
|
|
31
|
+
} | {
|
|
29
32
|
data: null;
|
|
30
33
|
error: {
|
|
31
34
|
message?: string | undefined;
|
|
32
35
|
status: number;
|
|
33
36
|
statusText: string;
|
|
34
37
|
};
|
|
35
|
-
} | {
|
|
36
|
-
data: infer S;
|
|
37
|
-
error: null;
|
|
38
38
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
39
39
|
isPending: boolean;
|
|
40
40
|
isRefetching: boolean;
|
|
@@ -44,15 +44,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
44
44
|
data: Ref<InferClientAPI<Option> extends {
|
|
45
45
|
getSession: () => Promise<infer Res>;
|
|
46
46
|
} ? Res extends {
|
|
47
|
+
data: infer S;
|
|
48
|
+
error: null;
|
|
49
|
+
} | {
|
|
47
50
|
data: null;
|
|
48
51
|
error: {
|
|
49
52
|
message?: string | undefined;
|
|
50
53
|
status: number;
|
|
51
54
|
statusText: string;
|
|
52
55
|
};
|
|
53
|
-
} | {
|
|
54
|
-
data: infer S;
|
|
55
|
-
error: null;
|
|
56
56
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
57
57
|
isPending: false;
|
|
58
58
|
error: Ref<{
|
|
@@ -66,15 +66,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
66
66
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
67
67
|
getSession: () => Promise<infer Res>;
|
|
68
68
|
} ? Res extends {
|
|
69
|
+
data: infer S;
|
|
70
|
+
error: null;
|
|
71
|
+
} | {
|
|
69
72
|
data: null;
|
|
70
73
|
error: {
|
|
71
74
|
message?: string | undefined;
|
|
72
75
|
status: number;
|
|
73
76
|
statusText: string;
|
|
74
77
|
};
|
|
75
|
-
} | {
|
|
76
|
-
data: infer S;
|
|
77
|
-
error: null;
|
|
78
78
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
79
79
|
};
|
|
80
80
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -94,13 +94,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
94
94
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
95
95
|
};
|
|
96
96
|
})[];
|
|
97
|
-
redirect?: RequestRedirect | undefined;
|
|
98
97
|
method: string;
|
|
99
98
|
headers?: (HeadersInit & (HeadersInit | {
|
|
100
99
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
101
100
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
102
101
|
authorization: "Bearer" | "Basic";
|
|
103
102
|
})) | undefined;
|
|
103
|
+
redirect?: RequestRedirect | undefined;
|
|
104
104
|
cache?: RequestCache | undefined;
|
|
105
105
|
credentials?: RequestCredentials;
|
|
106
106
|
integrity?: string | undefined;
|
|
@@ -4,9 +4,9 @@ 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.xbhp_NfZ.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.mjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.QwiX43wb.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
@@ -26,15 +26,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
26
26
|
data: InferClientAPI<Option> extends {
|
|
27
27
|
getSession: () => Promise<infer Res>;
|
|
28
28
|
} ? Res extends {
|
|
29
|
+
data: infer S;
|
|
30
|
+
error: null;
|
|
31
|
+
} | {
|
|
29
32
|
data: null;
|
|
30
33
|
error: {
|
|
31
34
|
message?: string | undefined;
|
|
32
35
|
status: number;
|
|
33
36
|
statusText: string;
|
|
34
37
|
};
|
|
35
|
-
} | {
|
|
36
|
-
data: infer S;
|
|
37
|
-
error: null;
|
|
38
38
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
39
39
|
isPending: boolean;
|
|
40
40
|
isRefetching: boolean;
|
|
@@ -44,15 +44,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
44
44
|
data: Ref<InferClientAPI<Option> extends {
|
|
45
45
|
getSession: () => Promise<infer Res>;
|
|
46
46
|
} ? Res extends {
|
|
47
|
+
data: infer S;
|
|
48
|
+
error: null;
|
|
49
|
+
} | {
|
|
47
50
|
data: null;
|
|
48
51
|
error: {
|
|
49
52
|
message?: string | undefined;
|
|
50
53
|
status: number;
|
|
51
54
|
statusText: string;
|
|
52
55
|
};
|
|
53
|
-
} | {
|
|
54
|
-
data: infer S;
|
|
55
|
-
error: null;
|
|
56
56
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
57
57
|
isPending: false;
|
|
58
58
|
error: Ref<{
|
|
@@ -66,15 +66,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
66
66
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
67
67
|
getSession: () => Promise<infer Res>;
|
|
68
68
|
} ? Res extends {
|
|
69
|
+
data: infer S;
|
|
70
|
+
error: null;
|
|
71
|
+
} | {
|
|
69
72
|
data: null;
|
|
70
73
|
error: {
|
|
71
74
|
message?: string | undefined;
|
|
72
75
|
status: number;
|
|
73
76
|
statusText: string;
|
|
74
77
|
};
|
|
75
|
-
} | {
|
|
76
|
-
data: infer S;
|
|
77
|
-
error: null;
|
|
78
78
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
79
79
|
};
|
|
80
80
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -94,13 +94,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
94
94
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
95
95
|
};
|
|
96
96
|
})[];
|
|
97
|
-
redirect?: RequestRedirect | undefined;
|
|
98
97
|
method: string;
|
|
99
98
|
headers?: (HeadersInit & (HeadersInit | {
|
|
100
99
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
101
100
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
102
101
|
authorization: "Bearer" | "Basic";
|
|
103
102
|
})) | undefined;
|
|
103
|
+
redirect?: RequestRedirect | undefined;
|
|
104
104
|
cache?: RequestCache | undefined;
|
|
105
105
|
credentials?: RequestCredentials;
|
|
106
106
|
integrity?: string | undefined;
|
|
@@ -4,9 +4,9 @@ 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.V3OT3rVi.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.js';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.nHRig-F9.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
@@ -26,15 +26,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
26
26
|
data: InferClientAPI<Option> extends {
|
|
27
27
|
getSession: () => Promise<infer Res>;
|
|
28
28
|
} ? Res extends {
|
|
29
|
+
data: infer S;
|
|
30
|
+
error: null;
|
|
31
|
+
} | {
|
|
29
32
|
data: null;
|
|
30
33
|
error: {
|
|
31
34
|
message?: string | undefined;
|
|
32
35
|
status: number;
|
|
33
36
|
statusText: string;
|
|
34
37
|
};
|
|
35
|
-
} | {
|
|
36
|
-
data: infer S;
|
|
37
|
-
error: null;
|
|
38
38
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
39
39
|
isPending: boolean;
|
|
40
40
|
isRefetching: boolean;
|
|
@@ -44,15 +44,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
44
44
|
data: Ref<InferClientAPI<Option> extends {
|
|
45
45
|
getSession: () => Promise<infer Res>;
|
|
46
46
|
} ? Res extends {
|
|
47
|
+
data: infer S;
|
|
48
|
+
error: null;
|
|
49
|
+
} | {
|
|
47
50
|
data: null;
|
|
48
51
|
error: {
|
|
49
52
|
message?: string | undefined;
|
|
50
53
|
status: number;
|
|
51
54
|
statusText: string;
|
|
52
55
|
};
|
|
53
|
-
} | {
|
|
54
|
-
data: infer S;
|
|
55
|
-
error: null;
|
|
56
56
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
57
57
|
isPending: false;
|
|
58
58
|
error: Ref<{
|
|
@@ -66,15 +66,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
66
66
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
67
67
|
getSession: () => Promise<infer Res>;
|
|
68
68
|
} ? Res extends {
|
|
69
|
+
data: infer S;
|
|
70
|
+
error: null;
|
|
71
|
+
} | {
|
|
69
72
|
data: null;
|
|
70
73
|
error: {
|
|
71
74
|
message?: string | undefined;
|
|
72
75
|
status: number;
|
|
73
76
|
statusText: string;
|
|
74
77
|
};
|
|
75
|
-
} | {
|
|
76
|
-
data: infer S;
|
|
77
|
-
error: null;
|
|
78
78
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
79
79
|
};
|
|
80
80
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -94,13 +94,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
94
94
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
95
95
|
};
|
|
96
96
|
})[];
|
|
97
|
-
redirect?: RequestRedirect | undefined;
|
|
98
97
|
method: string;
|
|
99
98
|
headers?: (HeadersInit & (HeadersInit | {
|
|
100
99
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
101
100
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
102
101
|
authorization: "Bearer" | "Basic";
|
|
103
102
|
})) | undefined;
|
|
103
|
+
redirect?: RequestRedirect | undefined;
|
|
104
104
|
cache?: RequestCache | undefined;
|
|
105
105
|
credentials?: RequestCredentials;
|
|
106
106
|
integrity?: string | undefined;
|
package/dist/cookies/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.BA5VIuwi.cjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.BDR52Rf2.cjs';
|
package/dist/cookies/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.QwiX43wb.mjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.BDR52Rf2.mjs';
|
package/dist/cookies/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.nHRig-F9.js';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.BDR52Rf2.js';
|
package/dist/db/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Q as Where, J as FieldAttribute, a8 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { ak as BetterAuthDbSchema, ab as FieldAttributeConfig, ah as FieldAttributeToObject, ai as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, af as InferFieldsInput, ag as InferFieldsInputClient, ae as InferFieldsOutput, ad as InferValueType, aa as InternalAdapter, aj as PluginFieldAttribute, am as accountSchema, ac as createFieldAttribute, a9 as createInternalAdapter, ar as getAllFields, al as getAuthTables, aA as mergeSchema, ay as parseAccountInput, at as parseAccountOutput, ax as parseAdditionalUserInput, av as parseInputData, aq as parseOutputData, az as parseSessionInput, au as parseSessionOutput, aw as parseUserInput, as as parseUserOutput, ao as sessionSchema, an as userSchema, ap as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Q as Where, J as FieldAttribute, a8 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.BA5VIuwi.cjs';
|
|
2
|
+
export { ak as BetterAuthDbSchema, ab as FieldAttributeConfig, ah as FieldAttributeToObject, ai as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, af as InferFieldsInput, ag as InferFieldsInputClient, ae as InferFieldsOutput, ad as InferValueType, aa as InternalAdapter, aj as PluginFieldAttribute, am as accountSchema, ac as createFieldAttribute, a9 as createInternalAdapter, ar as getAllFields, al as getAuthTables, aA as mergeSchema, ay as parseAccountInput, at as parseAccountOutput, ax as parseAdditionalUserInput, av as parseInputData, aq as parseOutputData, az as parseSessionInput, au as parseSessionOutput, aw as parseUserInput, as as parseUserOutput, ao as sessionSchema, an as userSchema, ap as verificationSchema } from '../shared/better-auth.BA5VIuwi.cjs';
|
|
3
3
|
import * as z from 'zod/v4';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
package/dist/db/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Q as Where, J as FieldAttribute, a8 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { ak as BetterAuthDbSchema, ab as FieldAttributeConfig, ah as FieldAttributeToObject, ai as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, af as InferFieldsInput, ag as InferFieldsInputClient, ae as InferFieldsOutput, ad as InferValueType, aa as InternalAdapter, aj as PluginFieldAttribute, am as accountSchema, ac as createFieldAttribute, a9 as createInternalAdapter, ar as getAllFields, al as getAuthTables, aA as mergeSchema, ay as parseAccountInput, at as parseAccountOutput, ax as parseAdditionalUserInput, av as parseInputData, aq as parseOutputData, az as parseSessionInput, au as parseSessionOutput, aw as parseUserInput, as as parseUserOutput, ao as sessionSchema, an as userSchema, ap as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Q as Where, J as FieldAttribute, a8 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.QwiX43wb.mjs';
|
|
2
|
+
export { ak as BetterAuthDbSchema, ab as FieldAttributeConfig, ah as FieldAttributeToObject, ai as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, af as InferFieldsInput, ag as InferFieldsInputClient, ae as InferFieldsOutput, ad as InferValueType, aa as InternalAdapter, aj as PluginFieldAttribute, am as accountSchema, ac as createFieldAttribute, a9 as createInternalAdapter, ar as getAllFields, al as getAuthTables, aA as mergeSchema, ay as parseAccountInput, at as parseAccountOutput, ax as parseAdditionalUserInput, av as parseInputData, aq as parseOutputData, az as parseSessionInput, au as parseSessionOutput, aw as parseUserInput, as as parseUserOutput, ao as sessionSchema, an as userSchema, ap as verificationSchema } from '../shared/better-auth.QwiX43wb.mjs';
|
|
3
3
|
import * as z from 'zod/v4';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
package/dist/db/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Q as Where, J as FieldAttribute, a8 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { ak as BetterAuthDbSchema, ab as FieldAttributeConfig, ah as FieldAttributeToObject, ai as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, af as InferFieldsInput, ag as InferFieldsInputClient, ae as InferFieldsOutput, ad as InferValueType, aa as InternalAdapter, aj as PluginFieldAttribute, am as accountSchema, ac as createFieldAttribute, a9 as createInternalAdapter, ar as getAllFields, al as getAuthTables, aA as mergeSchema, ay as parseAccountInput, at as parseAccountOutput, ax as parseAdditionalUserInput, av as parseInputData, aq as parseOutputData, az as parseSessionInput, au as parseSessionOutput, aw as parseUserInput, as as parseUserOutput, ao as sessionSchema, an as userSchema, ap as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Q as Where, J as FieldAttribute, a8 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.nHRig-F9.js';
|
|
2
|
+
export { ak as BetterAuthDbSchema, ab as FieldAttributeConfig, ah as FieldAttributeToObject, ai as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, af as InferFieldsInput, ag as InferFieldsInputClient, ae as InferFieldsOutput, ad as InferValueType, aa as InternalAdapter, aj as PluginFieldAttribute, am as accountSchema, ac as createFieldAttribute, a9 as createInternalAdapter, ar as getAllFields, al as getAuthTables, aA as mergeSchema, ay as parseAccountInput, at as parseAccountOutput, ax as parseAdditionalUserInput, av as parseInputData, aq as parseOutputData, az as parseSessionInput, au as parseSessionOutput, aw as parseUserInput, as as parseUserOutput, ao as sessionSchema, an as userSchema, ap as verificationSchema } from '../shared/better-auth.nHRig-F9.js';
|
|
3
3
|
import * as z from 'zod/v4';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const auth = require('./shared/better-auth.
|
|
3
|
+
const auth = require('./shared/better-auth.BfrrzKqK.cjs');
|
|
4
4
|
const index = require('./shared/better-auth.ANpbi45u.cjs');
|
|
5
5
|
const misc = require('./shared/better-auth.BLDOwz3i.cjs');
|
|
6
|
-
const socialProviders_index = require('./shared/better-auth.
|
|
6
|
+
const socialProviders_index = require('./shared/better-auth.BmvbW_9e.cjs');
|
|
7
7
|
const logger = require('./shared/better-auth.CXhVNgXP.cjs');
|
|
8
8
|
require('./api/index.cjs');
|
|
9
9
|
require('better-call');
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, T as TelemetryContext, E as TelemetryEvent, J as FieldAttribute, M as Models } from './shared/better-auth.
|
|
2
|
-
export { O as Account, a as Adapter, Y as AdapterInstance, X as AdapterSchemaCreation, N as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, h as BetterAuthPlugin, F as FilterActions, _ as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, $ as InferSessionAPI, q as InferUser, a5 as InternalLogger, a4 as LogHandlerParams, a0 as LogLevel, a3 as Logger, R as RateLimit, Z as SecondaryStorage, S as Session, U as User, V as Verification, Q as Where, W as WithJsDoc, L as betterAuth, a6 as createLogger, P as init, a1 as levels, a7 as logger, a2 as shouldPublishLog } from './shared/better-auth.
|
|
3
|
-
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, T as TelemetryContext, E as TelemetryEvent, J as FieldAttribute, M as Models } from './shared/better-auth.BA5VIuwi.cjs';
|
|
2
|
+
export { O as Account, a as Adapter, Y as AdapterInstance, X as AdapterSchemaCreation, N as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, h as BetterAuthPlugin, F as FilterActions, _ as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, $ as InferSessionAPI, q as InferUser, a5 as InternalLogger, a4 as LogHandlerParams, a0 as LogLevel, a3 as Logger, R as RateLimit, Z as SecondaryStorage, S as Session, U as User, V as Verification, Q as Where, W as WithJsDoc, L as betterAuth, a6 as createLogger, P as init, a1 as levels, a7 as logger, a2 as shouldPublishLog } from './shared/better-auth.BA5VIuwi.cjs';
|
|
3
|
+
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.Flh6HfYx.cjs';
|
|
4
4
|
export { H as HIDE_METADATA } from './shared/better-auth.DEHJp1rk.cjs';
|
|
5
|
-
export { g as generateState, p as parseState } from './shared/better-auth.
|
|
5
|
+
export { g as generateState, p as parseState } from './shared/better-auth.DFiKdfK6.cjs';
|
|
6
6
|
export * from 'better-call';
|
|
7
7
|
export * from 'zod/v4';
|
|
8
8
|
export * from 'zod/v4/core';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, T as TelemetryContext, E as TelemetryEvent, J as FieldAttribute, M as Models } from './shared/better-auth.
|
|
2
|
-
export { O as Account, a as Adapter, Y as AdapterInstance, X as AdapterSchemaCreation, N as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, h as BetterAuthPlugin, F as FilterActions, _ as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, $ as InferSessionAPI, q as InferUser, a5 as InternalLogger, a4 as LogHandlerParams, a0 as LogLevel, a3 as Logger, R as RateLimit, Z as SecondaryStorage, S as Session, U as User, V as Verification, Q as Where, W as WithJsDoc, L as betterAuth, a6 as createLogger, P as init, a1 as levels, a7 as logger, a2 as shouldPublishLog } from './shared/better-auth.
|
|
3
|
-
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, T as TelemetryContext, E as TelemetryEvent, J as FieldAttribute, M as Models } from './shared/better-auth.QwiX43wb.mjs';
|
|
2
|
+
export { O as Account, a as Adapter, Y as AdapterInstance, X as AdapterSchemaCreation, N as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, h as BetterAuthPlugin, F as FilterActions, _ as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, $ as InferSessionAPI, q as InferUser, a5 as InternalLogger, a4 as LogHandlerParams, a0 as LogLevel, a3 as Logger, R as RateLimit, Z as SecondaryStorage, S as Session, U as User, V as Verification, Q as Where, W as WithJsDoc, L as betterAuth, a6 as createLogger, P as init, a1 as levels, a7 as logger, a2 as shouldPublishLog } from './shared/better-auth.QwiX43wb.mjs';
|
|
3
|
+
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.xbhp_NfZ.mjs';
|
|
4
4
|
export { H as HIDE_METADATA } from './shared/better-auth.DEHJp1rk.mjs';
|
|
5
|
-
export { g as generateState, p as parseState } from './shared/better-auth.
|
|
5
|
+
export { g as generateState, p as parseState } from './shared/better-auth.DLJasRtl.mjs';
|
|
6
6
|
export * from 'better-call';
|
|
7
7
|
export * from 'zod/v4';
|
|
8
8
|
export * from 'zod/v4/core';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, T as TelemetryContext, E as TelemetryEvent, J as FieldAttribute, M as Models } from './shared/better-auth.
|
|
2
|
-
export { O as Account, a as Adapter, Y as AdapterInstance, X as AdapterSchemaCreation, N as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, h as BetterAuthPlugin, F as FilterActions, _ as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, $ as InferSessionAPI, q as InferUser, a5 as InternalLogger, a4 as LogHandlerParams, a0 as LogLevel, a3 as Logger, R as RateLimit, Z as SecondaryStorage, S as Session, U as User, V as Verification, Q as Where, W as WithJsDoc, L as betterAuth, a6 as createLogger, P as init, a1 as levels, a7 as logger, a2 as shouldPublishLog } from './shared/better-auth.
|
|
3
|
-
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, T as TelemetryContext, E as TelemetryEvent, J as FieldAttribute, M as Models } from './shared/better-auth.nHRig-F9.js';
|
|
2
|
+
export { O as Account, a as Adapter, Y as AdapterInstance, X as AdapterSchemaCreation, N as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, h as BetterAuthPlugin, F as FilterActions, _ as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, $ as InferSessionAPI, q as InferUser, a5 as InternalLogger, a4 as LogHandlerParams, a0 as LogLevel, a3 as Logger, R as RateLimit, Z as SecondaryStorage, S as Session, U as User, V as Verification, Q as Where, W as WithJsDoc, L as betterAuth, a6 as createLogger, P as init, a1 as levels, a7 as logger, a2 as shouldPublishLog } from './shared/better-auth.nHRig-F9.js';
|
|
3
|
+
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.V3OT3rVi.js';
|
|
4
4
|
export { H as HIDE_METADATA } from './shared/better-auth.DEHJp1rk.js';
|
|
5
|
-
export { g as generateState, p as parseState } from './shared/better-auth.
|
|
5
|
+
export { g as generateState, p as parseState } from './shared/better-auth.fgQSO8Wg.js';
|
|
6
6
|
export * from 'better-call';
|
|
7
7
|
export * from 'zod/v4';
|
|
8
8
|
export * from 'zod/v4/core';
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { b as betterAuth, c as createTelemetry, g as getTelemetryAuthConfig } from './shared/better-auth.
|
|
1
|
+
export { b as betterAuth, c as createTelemetry, g as getTelemetryAuthConfig } from './shared/better-auth.I6rKDlAU.mjs';
|
|
2
2
|
export { B as BetterAuthError, M as MissingDependencyError } from './shared/better-auth.DdzSJf-n.mjs';
|
|
3
3
|
export { c as capitalizeFirstLetter } from './shared/better-auth.D-2CmEwz.mjs';
|
|
4
|
-
export { H as HIDE_METADATA, g as generateState, p as parseState } from './shared/better-auth.
|
|
4
|
+
export { H as HIDE_METADATA, g as generateState, p as parseState } from './shared/better-auth.DXxLjRIn.mjs';
|
|
5
5
|
export { c as createLogger, g as generateId, l as levels, a as logger, s as shouldPublishLog } from './shared/better-auth.DBGfIDnh.mjs';
|
|
6
6
|
import './api/index.mjs';
|
|
7
7
|
import 'better-call';
|
|
@@ -7,9 +7,9 @@ require('@better-auth/utils/binary');
|
|
|
7
7
|
const cookies_index = require('../cookies/index.cjs');
|
|
8
8
|
require('better-call');
|
|
9
9
|
require('zod/v4');
|
|
10
|
-
const socialProviders_index = require('../shared/better-auth.
|
|
10
|
+
const socialProviders_index = require('../shared/better-auth.BmvbW_9e.cjs');
|
|
11
11
|
require('../shared/better-auth.BIMq4RPW.cjs');
|
|
12
|
-
require('../shared/better-auth.
|
|
12
|
+
require('../shared/better-auth.D3o8uSQJ.cjs');
|
|
13
13
|
require('../plugins/organization/access/index.cjs');
|
|
14
14
|
require('@better-auth/utils/random');
|
|
15
15
|
require('@better-auth/utils/hash');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../shared/better-auth.BA5VIuwi.cjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.BDR52Rf2.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../shared/better-auth.QwiX43wb.mjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.BDR52Rf2.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../shared/better-auth.nHRig-F9.js';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.BDR52Rf2.js';
|
|
@@ -5,9 +5,9 @@ import '@better-auth/utils/binary';
|
|
|
5
5
|
import { parseSetCookieHeader } from '../cookies/index.mjs';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'zod/v4';
|
|
8
|
-
import { i as createAuthMiddleware } from '../shared/better-auth.
|
|
8
|
+
import { i as createAuthMiddleware } from '../shared/better-auth.DXxLjRIn.mjs';
|
|
9
9
|
import '../shared/better-auth.n2KFGwjY.mjs';
|
|
10
|
-
import '../shared/better-auth.
|
|
10
|
+
import '../shared/better-auth.Blf9suYs.mjs';
|
|
11
11
|
import '../plugins/organization/access/index.mjs';
|
|
12
12
|
import '@better-auth/utils/random';
|
|
13
13
|
import '@better-auth/utils/hash';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as http from 'http';
|
|
2
2
|
import { IncomingHttpHeaders } from 'http';
|
|
3
|
-
import { n as Auth } from '../shared/better-auth.
|
|
3
|
+
import { n as Auth } from '../shared/better-auth.BA5VIuwi.cjs';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import 'zod/v4';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as http from 'http';
|
|
2
2
|
import { IncomingHttpHeaders } from 'http';
|
|
3
|
-
import { n as Auth } from '../shared/better-auth.
|
|
3
|
+
import { n as Auth } from '../shared/better-auth.QwiX43wb.mjs';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import 'zod/v4';
|