better-auth 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/drizzle-adapter/index.d.cts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.mts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.ts +2 -2
- package/dist/adapters/index.d.cts +3 -3
- package/dist/adapters/index.d.mts +3 -3
- package/dist/adapters/index.d.ts +3 -3
- package/dist/adapters/kysely-adapter/index.d.cts +2 -2
- package/dist/adapters/kysely-adapter/index.d.mts +2 -2
- package/dist/adapters/kysely-adapter/index.d.ts +2 -2
- package/dist/adapters/memory-adapter/index.d.cts +2 -2
- package/dist/adapters/memory-adapter/index.d.mts +2 -2
- package/dist/adapters/memory-adapter/index.d.ts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.cts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.mts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.ts +2 -2
- package/dist/adapters/prisma-adapter/index.d.cts +2 -2
- package/dist/adapters/prisma-adapter/index.d.mts +2 -2
- package/dist/adapters/prisma-adapter/index.d.ts +2 -2
- package/dist/adapters/test.d.cts +2 -2
- package/dist/adapters/test.d.mts +2 -2
- package/dist/adapters/test.d.ts +2 -2
- package/dist/api/index.cjs +1 -1
- 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 -2
- package/dist/client/index.d.cts +4 -4
- package/dist/client/index.d.mts +4 -4
- package/dist/client/index.d.ts +4 -4
- package/dist/client/plugins/index.d.cts +4 -4
- package/dist/client/plugins/index.d.mts +4 -4
- package/dist/client/plugins/index.d.ts +4 -4
- package/dist/client/react/index.d.cts +4 -4
- package/dist/client/react/index.d.mts +4 -4
- package/dist/client/react/index.d.ts +4 -4
- package/dist/client/solid/index.d.cts +4 -4
- package/dist/client/solid/index.d.mts +4 -4
- package/dist/client/solid/index.d.ts +4 -4
- package/dist/client/svelte/index.d.cts +4 -4
- package/dist/client/svelte/index.d.mts +4 -4
- package/dist/client/svelte/index.d.ts +4 -4
- package/dist/client/vue/index.d.cts +4 -4
- package/dist/client/vue/index.d.mts +4 -4
- package/dist/client/vue/index.d.ts +4 -4
- 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.d.cts +12 -12
- package/dist/db/index.d.mts +12 -12
- package/dist/db/index.d.ts +12 -12
- 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 +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.cjs +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.cjs +1 -1
- package/dist/integrations/svelte-kit.d.cts +2 -2
- package/dist/integrations/svelte-kit.d.mts +2 -2
- package/dist/integrations/svelte-kit.d.ts +2 -2
- package/dist/integrations/svelte-kit.mjs +1 -1
- package/dist/oauth2/index.cjs +1 -1
- package/dist/oauth2/index.d.cts +4 -4
- package/dist/oauth2/index.d.mts +4 -4
- package/dist/oauth2/index.d.ts +4 -4
- package/dist/oauth2/index.mjs +1 -1
- package/dist/plugins/admin/index.cjs +2 -2
- package/dist/plugins/admin/index.d.cts +67 -67
- package/dist/plugins/admin/index.d.mts +67 -67
- package/dist/plugins/admin/index.d.ts +67 -67
- package/dist/plugins/admin/index.mjs +2 -2
- package/dist/plugins/anonymous/index.cjs +1 -1
- 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.cjs +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.cjs +1 -1
- package/dist/plugins/custom-session/index.d.cts +7 -7
- package/dist/plugins/custom-session/index.d.mts +7 -7
- package/dist/plugins/custom-session/index.d.ts +7 -7
- package/dist/plugins/custom-session/index.mjs +1 -1
- package/dist/plugins/email-otp/index.cjs +1 -1
- package/dist/plugins/email-otp/index.d.cts +31 -31
- package/dist/plugins/email-otp/index.d.mts +31 -31
- package/dist/plugins/email-otp/index.d.ts +31 -31
- package/dist/plugins/email-otp/index.mjs +1 -1
- package/dist/plugins/generic-oauth/index.cjs +1 -1
- package/dist/plugins/generic-oauth/index.d.cts +24 -24
- package/dist/plugins/generic-oauth/index.d.mts +24 -24
- package/dist/plugins/generic-oauth/index.d.ts +24 -24
- package/dist/plugins/generic-oauth/index.mjs +1 -1
- package/dist/plugins/haveibeenpwned/index.cjs +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.cjs +7 -7
- package/dist/plugins/index.d.cts +26 -26
- package/dist/plugins/index.d.mts +26 -26
- package/dist/plugins/index.d.ts +26 -26
- package/dist/plugins/index.mjs +9 -9
- package/dist/plugins/jwt/index.cjs +2 -2
- 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 +2 -2
- package/dist/plugins/magic-link/index.cjs +1 -1
- package/dist/plugins/magic-link/index.d.cts +14 -14
- package/dist/plugins/magic-link/index.d.mts +14 -14
- package/dist/plugins/magic-link/index.d.ts +14 -14
- 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 +9 -9
- package/dist/plugins/multi-session/index.d.mts +9 -9
- package/dist/plugins/multi-session/index.d.ts +9 -9
- 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 +7 -7
- package/dist/plugins/oauth-proxy/index.d.mts +7 -7
- package/dist/plugins/oauth-proxy/index.d.ts +7 -7
- package/dist/plugins/oauth-proxy/index.mjs +1 -1
- package/dist/plugins/oidc-provider/index.cjs +3 -3
- package/dist/plugins/oidc-provider/index.d.cts +27 -27
- package/dist/plugins/oidc-provider/index.d.mts +27 -27
- package/dist/plugins/oidc-provider/index.d.ts +27 -27
- package/dist/plugins/oidc-provider/index.mjs +3 -3
- package/dist/plugins/one-tap/index.cjs +1 -1
- package/dist/plugins/one-tap/index.d.cts +4 -4
- package/dist/plugins/one-tap/index.d.mts +4 -4
- package/dist/plugins/one-tap/index.d.ts +4 -4
- 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 +6 -6
- package/dist/plugins/one-time-token/index.d.mts +6 -6
- package/dist/plugins/one-time-token/index.d.ts +6 -6
- 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 +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.cjs +3 -3
- package/dist/plugins/organization/index.d.cts +390 -390
- package/dist/plugins/organization/index.d.mts +390 -390
- package/dist/plugins/organization/index.d.ts +390 -390
- package/dist/plugins/organization/index.mjs +3 -3
- package/dist/plugins/passkey/index.cjs +1 -1
- package/dist/plugins/passkey/index.d.cts +23 -23
- package/dist/plugins/passkey/index.d.mts +23 -23
- package/dist/plugins/passkey/index.d.ts +23 -23
- 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 +28 -28
- package/dist/plugins/phone-number/index.d.mts +28 -28
- package/dist/plugins/phone-number/index.d.ts +28 -28
- package/dist/plugins/phone-number/index.mjs +1 -1
- package/dist/plugins/siwe/index.cjs +297 -0
- package/dist/plugins/siwe/index.d.cts +195 -0
- package/dist/plugins/siwe/index.d.mts +195 -0
- package/dist/plugins/siwe/index.d.ts +195 -0
- package/dist/plugins/siwe/index.mjs +295 -0
- package/dist/plugins/sso/index.cjs +1 -1
- package/dist/plugins/sso/index.d.cts +45 -45
- package/dist/plugins/sso/index.d.mts +45 -45
- package/dist/plugins/sso/index.d.ts +45 -45
- 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 +38 -38
- package/dist/plugins/two-factor/index.d.mts +38 -38
- package/dist/plugins/two-factor/index.d.ts +38 -38
- package/dist/plugins/two-factor/index.mjs +1 -1
- package/dist/plugins/username/index.cjs +1 -1
- package/dist/plugins/username/index.d.cts +12 -12
- package/dist/plugins/username/index.d.mts +12 -12
- package/dist/plugins/username/index.d.ts +12 -12
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/shared/{better-auth.C-oNfZPH.d.cts → better-auth.B0e3ZzlM.d.cts} +36 -36
- package/dist/shared/{better-auth.CE16lr3i.d.mts → better-auth.B1VHvePI.d.mts} +36 -36
- package/dist/shared/{better-auth.DoKaQIwy.d.mts → better-auth.BF0l18Af.d.mts} +1 -1
- package/dist/shared/{better-auth.CNTpFj_S.cjs → better-auth.BXW4aAiQ.cjs} +2 -2
- package/dist/shared/{better-auth.DdKZcMVt.d.ts → better-auth.B_G094Aj.d.ts} +1 -1
- package/dist/shared/{better-auth.DQfCK4Nb.mjs → better-auth.Bqt8-7ls.mjs} +2 -2
- package/dist/shared/{better-auth.DevRAmVV.d.ts → better-auth.Bwe61noi.d.ts} +1 -1
- package/dist/shared/{better-auth.B3K6UWYy.d.cts → better-auth.CF-FWRQL.d.cts} +1 -1
- package/dist/shared/{better-auth.D2QnAIyP.d.ts → better-auth.CHvHihjD.d.ts} +36 -36
- package/dist/shared/{better-auth.pnE8EkZO.cjs → better-auth.COsDmM8f.cjs} +1 -1
- package/dist/shared/{better-auth.B8mbk3HM.cjs → better-auth.CSftMZoM.cjs} +1 -1
- package/dist/shared/{better-auth.DG2FJeYI.cjs → better-auth.CU2ZnFFo.cjs} +4 -3
- package/dist/shared/{better-auth.KpzJUkxw.d.mts → better-auth.CePXeKag.d.mts} +515 -515
- package/dist/shared/{better-auth.CnqHgquB.cjs → better-auth.CeY8lCIq.cjs} +33 -11
- package/dist/shared/{better-auth.Cgjn2thr.d.cts → better-auth.CiGummYu.d.cts} +515 -515
- package/dist/shared/{better-auth.BP6KhZxK.mjs → better-auth.D1SaVuxk.mjs} +1 -1
- package/dist/shared/{better-auth.BOumacvv.mjs → better-auth.D4HhkCZJ.mjs} +4 -3
- package/dist/shared/{better-auth.PchrD52N.d.cts → better-auth.DEgvs2nh.d.cts} +1 -1
- package/dist/shared/{better-auth._di0pH6c.mjs → better-auth.DGaVMVAI.mjs} +1 -1
- package/dist/shared/{better-auth.PS9uuCnX.d.ts → better-auth.DPa2nz5L.d.ts} +3 -3
- package/dist/shared/{better-auth.VKKx-2JU.mjs → better-auth.DR6QsC6j.mjs} +33 -11
- package/dist/shared/{better-auth.ByEh_r9h.d.mts → better-auth.DbqVX6sp.d.mts} +1 -1
- package/dist/shared/{better-auth.2lcgvW_O.d.ts → better-auth.Dj2HyOmw.d.ts} +515 -515
- package/dist/shared/{better-auth.Bs90Z5lG.mjs → better-auth.DygEm6OX.mjs} +1 -1
- package/dist/shared/{better-auth.jZedDYFo.mjs → better-auth.HDgvLN7B.mjs} +2 -2
- package/dist/shared/{better-auth.KXK1cTP6.d.mts → better-auth.IegS6fw_.d.mts} +3 -3
- package/dist/shared/{better-auth.B448Gbxg.cjs → better-auth.PIkdXr0U.cjs} +2 -2
- package/dist/shared/{better-auth.DCdVWPIH.cjs → better-auth.TnpcdNJo.cjs} +1 -1
- package/dist/shared/{better-auth.hWM7ExMT.mjs → better-auth.VOBpdwFt.mjs} +1 -1
- package/dist/shared/{better-auth.CtknPsTc.cjs → better-auth.johXc5IC.cjs} +1 -1
- package/dist/shared/{better-auth.DVIqLF8t.d.cts → better-auth.npEvGVS_.d.cts} +3 -3
- package/dist/social-providers/index.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/social-providers/index.mjs +1 -1
- package/dist/test-utils/index.cjs +3 -3
- package/dist/test-utils/index.d.cts +732 -731
- package/dist/test-utils/index.d.mts +732 -731
- package/dist/test-utils/index.d.ts +732 -731
- package/dist/test-utils/index.mjs +3 -3
- 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 +14 -1
|
@@ -4,14 +4,14 @@ 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.B_G094Aj.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.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.Dj2HyOmw.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod/v4';
|
|
13
13
|
import 'kysely';
|
|
14
|
-
import '../../shared/better-auth.
|
|
14
|
+
import '../../shared/better-auth.DPa2nz5L.js';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'better-sqlite3';
|
|
@@ -113,13 +113,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
113
113
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
114
114
|
};
|
|
115
115
|
})[];
|
|
116
|
+
redirect?: RequestRedirect | undefined;
|
|
116
117
|
method: string;
|
|
117
118
|
headers?: (HeadersInit & (HeadersInit | {
|
|
118
119
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
119
120
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
120
121
|
authorization: "Bearer" | "Basic";
|
|
121
122
|
})) | undefined;
|
|
122
|
-
redirect?: RequestRedirect | undefined;
|
|
123
123
|
cache?: RequestCache | undefined;
|
|
124
124
|
credentials?: RequestCredentials;
|
|
125
125
|
integrity?: string | undefined;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
2
2
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
3
3
|
export * from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.CF-FWRQL.cjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.cjs';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CiGummYu.cjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod/v4';
|
|
11
11
|
import 'kysely';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.npEvGVS_.cjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -69,13 +69,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
69
69
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
70
70
|
};
|
|
71
71
|
})[];
|
|
72
|
+
redirect?: RequestRedirect | undefined;
|
|
72
73
|
method: string;
|
|
73
74
|
headers?: (HeadersInit & (HeadersInit | {
|
|
74
75
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
75
76
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
76
77
|
authorization: "Bearer" | "Basic";
|
|
77
78
|
})) | undefined;
|
|
78
|
-
redirect?: RequestRedirect | undefined;
|
|
79
79
|
cache?: RequestCache | undefined;
|
|
80
80
|
credentials?: RequestCredentials;
|
|
81
81
|
integrity?: string | undefined;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
2
2
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
3
3
|
export * from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DbqVX6sp.mjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.mjs';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CePXeKag.mjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod/v4';
|
|
11
11
|
import 'kysely';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.IegS6fw_.mjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -69,13 +69,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
69
69
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
70
70
|
};
|
|
71
71
|
})[];
|
|
72
|
+
redirect?: RequestRedirect | undefined;
|
|
72
73
|
method: string;
|
|
73
74
|
headers?: (HeadersInit & (HeadersInit | {
|
|
74
75
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
75
76
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
76
77
|
authorization: "Bearer" | "Basic";
|
|
77
78
|
})) | undefined;
|
|
78
|
-
redirect?: RequestRedirect | undefined;
|
|
79
79
|
cache?: RequestCache | undefined;
|
|
80
80
|
credentials?: RequestCredentials;
|
|
81
81
|
integrity?: string | undefined;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
2
2
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
3
3
|
export * from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.B_G094Aj.js';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.js';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.Dj2HyOmw.js';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod/v4';
|
|
11
11
|
import 'kysely';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.DPa2nz5L.js';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -69,13 +69,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
69
69
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
70
70
|
};
|
|
71
71
|
})[];
|
|
72
|
+
redirect?: RequestRedirect | undefined;
|
|
72
73
|
method: string;
|
|
73
74
|
headers?: (HeadersInit & (HeadersInit | {
|
|
74
75
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
75
76
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
76
77
|
authorization: "Bearer" | "Basic";
|
|
77
78
|
})) | undefined;
|
|
78
|
-
redirect?: RequestRedirect | undefined;
|
|
79
79
|
cache?: RequestCache | undefined;
|
|
80
80
|
credentials?: RequestCredentials;
|
|
81
81
|
integrity?: string | undefined;
|
|
@@ -4,13 +4,13 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.CF-FWRQL.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CiGummYu.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod/v4';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.npEvGVS_.cjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'better-sqlite3';
|
|
@@ -55,13 +55,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
55
55
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
56
56
|
};
|
|
57
57
|
})[];
|
|
58
|
+
redirect?: RequestRedirect | undefined;
|
|
58
59
|
method: string;
|
|
59
60
|
headers?: (HeadersInit & (HeadersInit | {
|
|
60
61
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
61
62
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
62
63
|
authorization: "Bearer" | "Basic";
|
|
63
64
|
})) | undefined;
|
|
64
|
-
redirect?: RequestRedirect | undefined;
|
|
65
65
|
cache?: RequestCache | undefined;
|
|
66
66
|
credentials?: RequestCredentials;
|
|
67
67
|
integrity?: string | undefined;
|
|
@@ -4,13 +4,13 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DbqVX6sp.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.mjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CePXeKag.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod/v4';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.IegS6fw_.mjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'better-sqlite3';
|
|
@@ -55,13 +55,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
55
55
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
56
56
|
};
|
|
57
57
|
})[];
|
|
58
|
+
redirect?: RequestRedirect | undefined;
|
|
58
59
|
method: string;
|
|
59
60
|
headers?: (HeadersInit & (HeadersInit | {
|
|
60
61
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
61
62
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
62
63
|
authorization: "Bearer" | "Basic";
|
|
63
64
|
})) | undefined;
|
|
64
|
-
redirect?: RequestRedirect | undefined;
|
|
65
65
|
cache?: RequestCache | undefined;
|
|
66
66
|
credentials?: RequestCredentials;
|
|
67
67
|
integrity?: string | undefined;
|
|
@@ -4,13 +4,13 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.B_G094Aj.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.js';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.Dj2HyOmw.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod/v4';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.DPa2nz5L.js';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'better-sqlite3';
|
|
@@ -55,13 +55,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
55
55
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
56
56
|
};
|
|
57
57
|
})[];
|
|
58
|
+
redirect?: RequestRedirect | undefined;
|
|
58
59
|
method: string;
|
|
59
60
|
headers?: (HeadersInit & (HeadersInit | {
|
|
60
61
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
61
62
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
62
63
|
authorization: "Bearer" | "Basic";
|
|
63
64
|
})) | undefined;
|
|
64
|
-
redirect?: RequestRedirect | undefined;
|
|
65
65
|
cache?: RequestCache | undefined;
|
|
66
66
|
credentials?: RequestCredentials;
|
|
67
67
|
integrity?: string | undefined;
|
|
@@ -4,13 +4,13 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
4
4
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
5
5
|
export * from '@better-fetch/fetch';
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.CF-FWRQL.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CiGummYu.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod/v4';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.npEvGVS_.cjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'better-sqlite3';
|
|
@@ -93,13 +93,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
93
93
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
94
94
|
};
|
|
95
95
|
})[];
|
|
96
|
+
redirect?: RequestRedirect | undefined;
|
|
96
97
|
method: string;
|
|
97
98
|
headers?: (HeadersInit & (HeadersInit | {
|
|
98
99
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
99
100
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
100
101
|
authorization: "Bearer" | "Basic";
|
|
101
102
|
})) | undefined;
|
|
102
|
-
redirect?: RequestRedirect | undefined;
|
|
103
103
|
cache?: RequestCache | undefined;
|
|
104
104
|
credentials?: RequestCredentials;
|
|
105
105
|
integrity?: string | undefined;
|
|
@@ -4,13 +4,13 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
4
4
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
5
5
|
export * from '@better-fetch/fetch';
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DbqVX6sp.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.mjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CePXeKag.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod/v4';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.IegS6fw_.mjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'better-sqlite3';
|
|
@@ -93,13 +93,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
93
93
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
94
94
|
};
|
|
95
95
|
})[];
|
|
96
|
+
redirect?: RequestRedirect | undefined;
|
|
96
97
|
method: string;
|
|
97
98
|
headers?: (HeadersInit & (HeadersInit | {
|
|
98
99
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
99
100
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
100
101
|
authorization: "Bearer" | "Basic";
|
|
101
102
|
})) | undefined;
|
|
102
|
-
redirect?: RequestRedirect | undefined;
|
|
103
103
|
cache?: RequestCache | undefined;
|
|
104
104
|
credentials?: RequestCredentials;
|
|
105
105
|
integrity?: string | undefined;
|
|
@@ -4,13 +4,13 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
4
4
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
5
5
|
export * from '@better-fetch/fetch';
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.B_G094Aj.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.js';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.Dj2HyOmw.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod/v4';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.DPa2nz5L.js';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'better-sqlite3';
|
|
@@ -93,13 +93,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
93
93
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
94
94
|
};
|
|
95
95
|
})[];
|
|
96
|
+
redirect?: RequestRedirect | undefined;
|
|
96
97
|
method: string;
|
|
97
98
|
headers?: (HeadersInit & (HeadersInit | {
|
|
98
99
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
99
100
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
100
101
|
authorization: "Bearer" | "Basic";
|
|
101
102
|
})) | undefined;
|
|
102
|
-
redirect?: RequestRedirect | undefined;
|
|
103
103
|
cache?: RequestCache | undefined;
|
|
104
104
|
credentials?: RequestCredentials;
|
|
105
105
|
integrity?: string | undefined;
|
package/dist/cookies/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aA as BetterAuthCookies, aF as EligibleCookies, ay as createCookieGetter, aD as deleteSessionCookie, aH as getCookieCache, az as getCookies, aG as getSessionCookie, aE as parseCookies, aI as parseSetCookieHeader, aB as setCookieCache, D as setCookieToHeader, aC as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aA as BetterAuthCookies, aF as EligibleCookies, ay as createCookieGetter, aD as deleteSessionCookie, aH as getCookieCache, az as getCookies, aG as getSessionCookie, aE as parseCookies, aI as parseSetCookieHeader, aB as setCookieCache, D as setCookieToHeader, aC as setSessionCookie } from '../shared/better-auth.CiGummYu.cjs';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../shared/better-auth.ZSfSbnQT.cjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.npEvGVS_.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
package/dist/cookies/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aA as BetterAuthCookies, aF as EligibleCookies, ay as createCookieGetter, aD as deleteSessionCookie, aH as getCookieCache, az as getCookies, aG as getSessionCookie, aE as parseCookies, aI as parseSetCookieHeader, aB as setCookieCache, D as setCookieToHeader, aC as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aA as BetterAuthCookies, aF as EligibleCookies, ay as createCookieGetter, aD as deleteSessionCookie, aH as getCookieCache, az as getCookies, aG as getSessionCookie, aE as parseCookies, aI as parseSetCookieHeader, aB as setCookieCache, D as setCookieToHeader, aC as setSessionCookie } from '../shared/better-auth.CePXeKag.mjs';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../shared/better-auth.ZSfSbnQT.mjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.IegS6fw_.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
package/dist/cookies/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aA as BetterAuthCookies, aF as EligibleCookies, ay as createCookieGetter, aD as deleteSessionCookie, aH as getCookieCache, az as getCookies, aG as getSessionCookie, aE as parseCookies, aI as parseSetCookieHeader, aB as setCookieCache, D as setCookieToHeader, aC as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aA as BetterAuthCookies, aF as EligibleCookies, ay as createCookieGetter, aD as deleteSessionCookie, aH as getCookieCache, az as getCookies, aG as getSessionCookie, aE as parseCookies, aI as parseSetCookieHeader, aB as setCookieCache, D as setCookieToHeader, aC as setSessionCookie } from '../shared/better-auth.Dj2HyOmw.js';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../shared/better-auth.ZSfSbnQT.js';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.DPa2nz5L.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
package/dist/db/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { ah as BetterAuthDbSchema, a8 as FieldAttributeConfig, ae as FieldAttributeToObject, af as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ag as PluginFieldAttribute, aj as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, ao as getAllFields, ai as getAuthTables, ax as mergeSchema, av as parseAccountInput, aq as parseAccountOutput, au as parseAdditionalUserInput, as as parseInputData, an as parseOutputData, aw as parseSessionInput, ar as parseSessionOutput, at as parseUserInput, ap as parseUserOutput, al as sessionSchema, ak as userSchema, am as verificationSchema } from '../shared/better-auth.
|
|
3
|
-
import * as
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.CiGummYu.cjs';
|
|
2
|
+
export { ah as BetterAuthDbSchema, a8 as FieldAttributeConfig, ae as FieldAttributeToObject, af as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ag as PluginFieldAttribute, aj as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, ao as getAllFields, ai as getAuthTables, ax as mergeSchema, av as parseAccountInput, aq as parseAccountOutput, au as parseAdditionalUserInput, as as parseInputData, an as parseOutputData, aw as parseSessionInput, ar as parseSessionOutput, at as parseUserInput, ap as parseUserOutput, al as sessionSchema, ak as userSchema, am as verificationSchema } from '../shared/better-auth.CiGummYu.cjs';
|
|
3
|
+
import * as z from 'zod/v4';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '../shared/better-auth.ZSfSbnQT.cjs';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.npEvGVS_.cjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'better-sqlite3';
|
|
@@ -34,23 +34,23 @@ declare function toZodSchema<Fields extends Record<string, FieldAttribute | neve
|
|
|
34
34
|
* If true, then any fields that have `input: false` will be removed from the schema to prevent user input.
|
|
35
35
|
*/
|
|
36
36
|
isClientSide: IsClientSide;
|
|
37
|
-
}):
|
|
37
|
+
}): z.ZodObject<RemoveNeverProps<{ [key in keyof Fields]: FieldAttributeToSchema<Fields[key], IsClientSide>; }>, z.core.$strip>;
|
|
38
38
|
type FieldAttributeToSchema<Field extends FieldAttribute | Record<string, never>, isClientSide extends boolean = false> = Field extends {
|
|
39
39
|
type: any;
|
|
40
40
|
} ? GetInput<isClientSide, Field, GetRequired<Field, GetType<Field>>> : Record<string, never>;
|
|
41
41
|
type GetType<F extends FieldAttribute> = F extends {
|
|
42
42
|
type: "string";
|
|
43
|
-
} ?
|
|
43
|
+
} ? z.ZodString : F extends {
|
|
44
44
|
type: "number";
|
|
45
|
-
} ?
|
|
45
|
+
} ? z.ZodNumber : F extends {
|
|
46
46
|
type: "boolean";
|
|
47
|
-
} ?
|
|
47
|
+
} ? z.ZodBoolean : F extends {
|
|
48
48
|
type: "date";
|
|
49
|
-
} ?
|
|
50
|
-
type GetRequired<F extends FieldAttribute, Schema extends
|
|
49
|
+
} ? z.ZodDate : z.ZodAny;
|
|
50
|
+
type GetRequired<F extends FieldAttribute, Schema extends z.core.SomeType> = F extends {
|
|
51
51
|
required: true;
|
|
52
|
-
} ? Schema :
|
|
53
|
-
type GetInput<isClientSide extends boolean, Field extends FieldAttribute, Schema extends
|
|
52
|
+
} ? Schema : z.ZodOptional<Schema>;
|
|
53
|
+
type GetInput<isClientSide extends boolean, Field extends FieldAttribute, Schema extends z.core.SomeType> = Field extends {
|
|
54
54
|
input: false;
|
|
55
55
|
} ? isClientSide extends true ? never : Schema : Schema;
|
|
56
56
|
type RemoveNeverProps<T> = {
|
package/dist/db/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { ah as BetterAuthDbSchema, a8 as FieldAttributeConfig, ae as FieldAttributeToObject, af as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ag as PluginFieldAttribute, aj as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, ao as getAllFields, ai as getAuthTables, ax as mergeSchema, av as parseAccountInput, aq as parseAccountOutput, au as parseAdditionalUserInput, as as parseInputData, an as parseOutputData, aw as parseSessionInput, ar as parseSessionOutput, at as parseUserInput, ap as parseUserOutput, al as sessionSchema, ak as userSchema, am as verificationSchema } from '../shared/better-auth.
|
|
3
|
-
import * as
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.CePXeKag.mjs';
|
|
2
|
+
export { ah as BetterAuthDbSchema, a8 as FieldAttributeConfig, ae as FieldAttributeToObject, af as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ag as PluginFieldAttribute, aj as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, ao as getAllFields, ai as getAuthTables, ax as mergeSchema, av as parseAccountInput, aq as parseAccountOutput, au as parseAdditionalUserInput, as as parseInputData, an as parseOutputData, aw as parseSessionInput, ar as parseSessionOutput, at as parseUserInput, ap as parseUserOutput, al as sessionSchema, ak as userSchema, am as verificationSchema } from '../shared/better-auth.CePXeKag.mjs';
|
|
3
|
+
import * as z from 'zod/v4';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '../shared/better-auth.ZSfSbnQT.mjs';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.IegS6fw_.mjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'better-sqlite3';
|
|
@@ -34,23 +34,23 @@ declare function toZodSchema<Fields extends Record<string, FieldAttribute | neve
|
|
|
34
34
|
* If true, then any fields that have `input: false` will be removed from the schema to prevent user input.
|
|
35
35
|
*/
|
|
36
36
|
isClientSide: IsClientSide;
|
|
37
|
-
}):
|
|
37
|
+
}): z.ZodObject<RemoveNeverProps<{ [key in keyof Fields]: FieldAttributeToSchema<Fields[key], IsClientSide>; }>, z.core.$strip>;
|
|
38
38
|
type FieldAttributeToSchema<Field extends FieldAttribute | Record<string, never>, isClientSide extends boolean = false> = Field extends {
|
|
39
39
|
type: any;
|
|
40
40
|
} ? GetInput<isClientSide, Field, GetRequired<Field, GetType<Field>>> : Record<string, never>;
|
|
41
41
|
type GetType<F extends FieldAttribute> = F extends {
|
|
42
42
|
type: "string";
|
|
43
|
-
} ?
|
|
43
|
+
} ? z.ZodString : F extends {
|
|
44
44
|
type: "number";
|
|
45
|
-
} ?
|
|
45
|
+
} ? z.ZodNumber : F extends {
|
|
46
46
|
type: "boolean";
|
|
47
|
-
} ?
|
|
47
|
+
} ? z.ZodBoolean : F extends {
|
|
48
48
|
type: "date";
|
|
49
|
-
} ?
|
|
50
|
-
type GetRequired<F extends FieldAttribute, Schema extends
|
|
49
|
+
} ? z.ZodDate : z.ZodAny;
|
|
50
|
+
type GetRequired<F extends FieldAttribute, Schema extends z.core.SomeType> = F extends {
|
|
51
51
|
required: true;
|
|
52
|
-
} ? Schema :
|
|
53
|
-
type GetInput<isClientSide extends boolean, Field extends FieldAttribute, Schema extends
|
|
52
|
+
} ? Schema : z.ZodOptional<Schema>;
|
|
53
|
+
type GetInput<isClientSide extends boolean, Field extends FieldAttribute, Schema extends z.core.SomeType> = Field extends {
|
|
54
54
|
input: false;
|
|
55
55
|
} ? isClientSide extends true ? never : Schema : Schema;
|
|
56
56
|
type RemoveNeverProps<T> = {
|
package/dist/db/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { ah as BetterAuthDbSchema, a8 as FieldAttributeConfig, ae as FieldAttributeToObject, af as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ag as PluginFieldAttribute, aj as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, ao as getAllFields, ai as getAuthTables, ax as mergeSchema, av as parseAccountInput, aq as parseAccountOutput, au as parseAdditionalUserInput, as as parseInputData, an as parseOutputData, aw as parseSessionInput, ar as parseSessionOutput, at as parseUserInput, ap as parseUserOutput, al as sessionSchema, ak as userSchema, am as verificationSchema } from '../shared/better-auth.
|
|
3
|
-
import * as
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.Dj2HyOmw.js';
|
|
2
|
+
export { ah as BetterAuthDbSchema, a8 as FieldAttributeConfig, ae as FieldAttributeToObject, af as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ag as PluginFieldAttribute, aj as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, ao as getAllFields, ai as getAuthTables, ax as mergeSchema, av as parseAccountInput, aq as parseAccountOutput, au as parseAdditionalUserInput, as as parseInputData, an as parseOutputData, aw as parseSessionInput, ar as parseSessionOutput, at as parseUserInput, ap as parseUserOutput, al as sessionSchema, ak as userSchema, am as verificationSchema } from '../shared/better-auth.Dj2HyOmw.js';
|
|
3
|
+
import * as z from 'zod/v4';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '../shared/better-auth.ZSfSbnQT.js';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.DPa2nz5L.js';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'better-sqlite3';
|
|
@@ -34,23 +34,23 @@ declare function toZodSchema<Fields extends Record<string, FieldAttribute | neve
|
|
|
34
34
|
* If true, then any fields that have `input: false` will be removed from the schema to prevent user input.
|
|
35
35
|
*/
|
|
36
36
|
isClientSide: IsClientSide;
|
|
37
|
-
}):
|
|
37
|
+
}): z.ZodObject<RemoveNeverProps<{ [key in keyof Fields]: FieldAttributeToSchema<Fields[key], IsClientSide>; }>, z.core.$strip>;
|
|
38
38
|
type FieldAttributeToSchema<Field extends FieldAttribute | Record<string, never>, isClientSide extends boolean = false> = Field extends {
|
|
39
39
|
type: any;
|
|
40
40
|
} ? GetInput<isClientSide, Field, GetRequired<Field, GetType<Field>>> : Record<string, never>;
|
|
41
41
|
type GetType<F extends FieldAttribute> = F extends {
|
|
42
42
|
type: "string";
|
|
43
|
-
} ?
|
|
43
|
+
} ? z.ZodString : F extends {
|
|
44
44
|
type: "number";
|
|
45
|
-
} ?
|
|
45
|
+
} ? z.ZodNumber : F extends {
|
|
46
46
|
type: "boolean";
|
|
47
|
-
} ?
|
|
47
|
+
} ? z.ZodBoolean : F extends {
|
|
48
48
|
type: "date";
|
|
49
|
-
} ?
|
|
50
|
-
type GetRequired<F extends FieldAttribute, Schema extends
|
|
49
|
+
} ? z.ZodDate : z.ZodAny;
|
|
50
|
+
type GetRequired<F extends FieldAttribute, Schema extends z.core.SomeType> = F extends {
|
|
51
51
|
required: true;
|
|
52
|
-
} ? Schema :
|
|
53
|
-
type GetInput<isClientSide extends boolean, Field extends FieldAttribute, Schema extends
|
|
52
|
+
} ? Schema : z.ZodOptional<Schema>;
|
|
53
|
+
type GetInput<isClientSide extends boolean, Field extends FieldAttribute, Schema extends z.core.SomeType> = Field extends {
|
|
54
54
|
input: false;
|
|
55
55
|
} ? isClientSide extends true ? never : Schema : Schema;
|
|
56
56
|
type RemoveNeverProps<T> = {
|
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.COsDmM8f.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.CU2ZnFFo.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,11 +1,11 @@
|
|
|
1
|
-
export { L as Account, a as Adapter, Q as AdapterInstance, P as AdapterSchemaCreation, J as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, B as BetterAuthOptions, h as BetterAuthPlugin, F as FilterActions, X as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, Y as InferSessionAPI, q as InferUser, a1 as LogHandlerParams, Z as LogLevel, a0 as Logger, M as Models, R as RateLimit, T as SecondaryStorage, S as Session, U as User, V as Verification, O as Where, W as WithJsDoc, E as betterAuth, a2 as createLogger, N as init, _ as levels, a3 as logger, $ as shouldPublishLog } from './shared/better-auth.
|
|
2
|
-
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
|
+
export { L as Account, a as Adapter, Q as AdapterInstance, P as AdapterSchemaCreation, J as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, B as BetterAuthOptions, h as BetterAuthPlugin, F as FilterActions, X as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, Y as InferSessionAPI, q as InferUser, a1 as LogHandlerParams, Z as LogLevel, a0 as Logger, M as Models, R as RateLimit, T as SecondaryStorage, S as Session, U as User, V as Verification, O as Where, W as WithJsDoc, E as betterAuth, a2 as createLogger, N as init, _ as levels, a3 as logger, $ as shouldPublishLog } from './shared/better-auth.CiGummYu.cjs';
|
|
2
|
+
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.CF-FWRQL.cjs';
|
|
3
3
|
export { H as HIDE_METADATA } from './shared/better-auth.DEHJp1rk.cjs';
|
|
4
|
-
export { g as generateState, p as parseState } from './shared/better-auth.
|
|
4
|
+
export { g as generateState, p as parseState } from './shared/better-auth.DEgvs2nh.cjs';
|
|
5
5
|
export * from 'better-call';
|
|
6
6
|
export * from 'zod/v4';
|
|
7
7
|
export { D as DeepPartial, E as Expand, H as HasRequiredKeys, c as LiteralNumber, L as LiteralString, e as LiteralUnion, O as OmitId, d as PreserveJSDoc, a as Prettify, P as PrettifyDeep, b as Primitive, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.ZSfSbnQT.cjs';
|
|
8
|
-
export { O as OAuth2Tokens, a as OAuthProvider, P as ProviderOptions } from './shared/better-auth.
|
|
8
|
+
export { O as OAuth2Tokens, a as OAuthProvider, P as ProviderOptions } from './shared/better-auth.npEvGVS_.cjs';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'zod/v4/core';
|
|
11
11
|
import 'better-sqlite3';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { L as Account, a as Adapter, Q as AdapterInstance, P as AdapterSchemaCreation, J as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, B as BetterAuthOptions, h as BetterAuthPlugin, F as FilterActions, X as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, Y as InferSessionAPI, q as InferUser, a1 as LogHandlerParams, Z as LogLevel, a0 as Logger, M as Models, R as RateLimit, T as SecondaryStorage, S as Session, U as User, V as Verification, O as Where, W as WithJsDoc, E as betterAuth, a2 as createLogger, N as init, _ as levels, a3 as logger, $ as shouldPublishLog } from './shared/better-auth.
|
|
2
|
-
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
|
+
export { L as Account, a as Adapter, Q as AdapterInstance, P as AdapterSchemaCreation, J as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, B as BetterAuthOptions, h as BetterAuthPlugin, F as FilterActions, X as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, Y as InferSessionAPI, q as InferUser, a1 as LogHandlerParams, Z as LogLevel, a0 as Logger, M as Models, R as RateLimit, T as SecondaryStorage, S as Session, U as User, V as Verification, O as Where, W as WithJsDoc, E as betterAuth, a2 as createLogger, N as init, _ as levels, a3 as logger, $ as shouldPublishLog } from './shared/better-auth.CePXeKag.mjs';
|
|
2
|
+
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.DbqVX6sp.mjs';
|
|
3
3
|
export { H as HIDE_METADATA } from './shared/better-auth.DEHJp1rk.mjs';
|
|
4
|
-
export { g as generateState, p as parseState } from './shared/better-auth.
|
|
4
|
+
export { g as generateState, p as parseState } from './shared/better-auth.BF0l18Af.mjs';
|
|
5
5
|
export * from 'better-call';
|
|
6
6
|
export * from 'zod/v4';
|
|
7
7
|
export { D as DeepPartial, E as Expand, H as HasRequiredKeys, c as LiteralNumber, L as LiteralString, e as LiteralUnion, O as OmitId, d as PreserveJSDoc, a as Prettify, P as PrettifyDeep, b as Primitive, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.ZSfSbnQT.mjs';
|
|
8
|
-
export { O as OAuth2Tokens, a as OAuthProvider, P as ProviderOptions } from './shared/better-auth.
|
|
8
|
+
export { O as OAuth2Tokens, a as OAuthProvider, P as ProviderOptions } from './shared/better-auth.IegS6fw_.mjs';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'zod/v4/core';
|
|
11
11
|
import 'better-sqlite3';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { L as Account, a as Adapter, Q as AdapterInstance, P as AdapterSchemaCreation, J as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, B as BetterAuthOptions, h as BetterAuthPlugin, F as FilterActions, X as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, Y as InferSessionAPI, q as InferUser, a1 as LogHandlerParams, Z as LogLevel, a0 as Logger, M as Models, R as RateLimit, T as SecondaryStorage, S as Session, U as User, V as Verification, O as Where, W as WithJsDoc, E as betterAuth, a2 as createLogger, N as init, _ as levels, a3 as logger, $ as shouldPublishLog } from './shared/better-auth.
|
|
2
|
-
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
|
+
export { L as Account, a as Adapter, Q as AdapterInstance, P as AdapterSchemaCreation, J as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, B as BetterAuthOptions, h as BetterAuthPlugin, F as FilterActions, X as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, Y as InferSessionAPI, q as InferUser, a1 as LogHandlerParams, Z as LogLevel, a0 as Logger, M as Models, R as RateLimit, T as SecondaryStorage, S as Session, U as User, V as Verification, O as Where, W as WithJsDoc, E as betterAuth, a2 as createLogger, N as init, _ as levels, a3 as logger, $ as shouldPublishLog } from './shared/better-auth.Dj2HyOmw.js';
|
|
2
|
+
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.B_G094Aj.js';
|
|
3
3
|
export { H as HIDE_METADATA } from './shared/better-auth.DEHJp1rk.js';
|
|
4
|
-
export { g as generateState, p as parseState } from './shared/better-auth.
|
|
4
|
+
export { g as generateState, p as parseState } from './shared/better-auth.Bwe61noi.js';
|
|
5
5
|
export * from 'better-call';
|
|
6
6
|
export * from 'zod/v4';
|
|
7
7
|
export { D as DeepPartial, E as Expand, H as HasRequiredKeys, c as LiteralNumber, L as LiteralString, e as LiteralUnion, O as OmitId, d as PreserveJSDoc, a as Prettify, P as PrettifyDeep, b as Primitive, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.ZSfSbnQT.js';
|
|
8
|
-
export { O as OAuth2Tokens, a as OAuthProvider, P as ProviderOptions } from './shared/better-auth.
|
|
8
|
+
export { O as OAuth2Tokens, a as OAuthProvider, P as ProviderOptions } from './shared/better-auth.DPa2nz5L.js';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'zod/v4/core';
|
|
11
11
|
import 'better-sqlite3';
|