better-auth 1.3.21 → 1.3.22
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 +3 -3
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.d.ts +3 -3
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +10 -10
- package/dist/index.d.mts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.mjs +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 +6 -6
- package/dist/plugins/admin/index.d.mts +6 -6
- package/dist/plugins/admin/index.d.ts +6 -6
- 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 +2 -2
- package/dist/plugins/custom-session/index.d.mts +2 -2
- package/dist/plugins/custom-session/index.d.ts +2 -2
- package/dist/plugins/custom-session/index.mjs +1 -1
- package/dist/plugins/device-authorization/index.d.cts +2 -2
- package/dist/plugins/device-authorization/index.d.mts +2 -2
- package/dist/plugins/device-authorization/index.d.ts +2 -2
- package/dist/plugins/email-otp/index.cjs +1 -1
- package/dist/plugins/email-otp/index.d.cts +2 -2
- package/dist/plugins/email-otp/index.d.mts +2 -2
- package/dist/plugins/email-otp/index.d.ts +2 -2
- package/dist/plugins/email-otp/index.mjs +1 -1
- package/dist/plugins/generic-oauth/index.cjs +1 -1
- package/dist/plugins/generic-oauth/index.d.cts +2 -2
- package/dist/plugins/generic-oauth/index.d.mts +2 -2
- package/dist/plugins/generic-oauth/index.d.ts +2 -2
- package/dist/plugins/generic-oauth/index.mjs +1 -1
- package/dist/plugins/haveibeenpwned/index.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 +6 -6
- package/dist/plugins/index.d.cts +6 -6
- package/dist/plugins/index.d.mts +6 -6
- package/dist/plugins/index.d.ts +6 -6
- package/dist/plugins/index.mjs +7 -7
- package/dist/plugins/jwt/index.cjs +1 -1
- package/dist/plugins/jwt/index.d.cts +2 -2
- package/dist/plugins/jwt/index.d.mts +2 -2
- package/dist/plugins/jwt/index.d.ts +2 -2
- package/dist/plugins/jwt/index.mjs +1 -1
- package/dist/plugins/magic-link/index.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 +2 -2
- package/dist/plugins/multi-session/index.d.mts +2 -2
- package/dist/plugins/multi-session/index.d.ts +2 -2
- package/dist/plugins/multi-session/index.mjs +1 -1
- package/dist/plugins/oauth-proxy/index.cjs +1 -1
- package/dist/plugins/oauth-proxy/index.d.cts +2 -2
- package/dist/plugins/oauth-proxy/index.d.mts +2 -2
- package/dist/plugins/oauth-proxy/index.d.ts +2 -2
- package/dist/plugins/oauth-proxy/index.mjs +1 -1
- package/dist/plugins/oidc-provider/index.cjs +2 -2
- package/dist/plugins/oidc-provider/index.d.cts +2 -2
- package/dist/plugins/oidc-provider/index.d.mts +2 -2
- package/dist/plugins/oidc-provider/index.d.ts +2 -2
- 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 +2 -2
- package/dist/plugins/one-time-token/index.d.mts +2 -2
- package/dist/plugins/one-time-token/index.d.ts +2 -2
- package/dist/plugins/one-time-token/index.mjs +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 +10 -10
- package/dist/plugins/organization/index.d.mts +10 -10
- package/dist/plugins/organization/index.d.ts +10 -10
- package/dist/plugins/organization/index.mjs +3 -3
- package/dist/plugins/passkey/index.cjs +1 -1
- package/dist/plugins/passkey/index.d.cts +2 -2
- package/dist/plugins/passkey/index.d.mts +2 -2
- package/dist/plugins/passkey/index.d.ts +2 -2
- package/dist/plugins/passkey/index.mjs +1 -1
- package/dist/plugins/phone-number/index.cjs +1 -1
- package/dist/plugins/phone-number/index.d.cts +2 -2
- package/dist/plugins/phone-number/index.d.mts +2 -2
- package/dist/plugins/phone-number/index.d.ts +2 -2
- package/dist/plugins/phone-number/index.mjs +1 -1
- package/dist/plugins/siwe/index.cjs +1 -1
- package/dist/plugins/siwe/index.d.cts +2 -2
- package/dist/plugins/siwe/index.d.mts +2 -2
- package/dist/plugins/siwe/index.d.ts +2 -2
- package/dist/plugins/siwe/index.mjs +1 -1
- package/dist/plugins/sso/index.cjs +1 -1
- package/dist/plugins/sso/index.d.cts +2 -2
- package/dist/plugins/sso/index.d.mts +2 -2
- package/dist/plugins/sso/index.d.ts +2 -2
- package/dist/plugins/sso/index.mjs +1 -1
- package/dist/plugins/two-factor/index.cjs +1 -1
- package/dist/plugins/two-factor/index.d.cts +2 -2
- package/dist/plugins/two-factor/index.d.mts +2 -2
- package/dist/plugins/two-factor/index.d.ts +2 -2
- package/dist/plugins/two-factor/index.mjs +1 -1
- package/dist/plugins/username/index.cjs +1 -1
- package/dist/plugins/username/index.d.cts +4 -4
- package/dist/plugins/username/index.d.mts +4 -4
- package/dist/plugins/username/index.d.ts +4 -4
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/shared/{better-auth.BFegHNjn.d.mts → better-auth.1MLB7T7y.d.mts} +9 -9
- package/dist/shared/{better-auth.C6qXK08w.d.ts → better-auth.4SXCyo06.d.ts} +2 -2
- package/dist/shared/{better-auth.BkVhzNer.d.cts → better-auth.B1AwX3-M.d.cts} +5 -5
- package/dist/shared/{better-auth.HsL9NWdo.d.mts → better-auth.B1PutWq8.d.mts} +1 -1
- package/dist/shared/{better-auth.D2NikySY.mjs → better-auth.BDGOG9VJ.mjs} +1 -1
- package/dist/shared/{better-auth.DkTnb5Io.mjs → better-auth.BEwPlASh.mjs} +2 -2
- package/dist/shared/{better-auth.DHp6DNTP.mjs → better-auth.BfDDk2b5.mjs} +1 -1
- package/dist/shared/{better-auth.BWSNYlLl.mjs → better-auth.Big-4wMb.mjs} +1 -1
- package/dist/shared/{better-auth.AFdKV9lT.d.ts → better-auth.BkEatPJx.d.ts} +5 -5
- package/dist/shared/{better-auth.CbhDVqJv.d.ts → better-auth.C6Qw8sV1.d.ts} +1 -1
- package/dist/shared/{better-auth.v8jPhtpB.mjs → better-auth.C6pRmlsb.mjs} +1 -1
- package/dist/shared/{better-auth.DWgVanF-.d.mts → better-auth.CGtFXoXL.d.mts} +5 -5
- package/dist/shared/{better-auth.CCPxTWHv.mjs → better-auth.CKU8NONN.mjs} +2 -2
- package/dist/shared/{better-auth.BA4t8YCt.cjs → better-auth.CswLkY3C.cjs} +11 -2
- package/dist/shared/{better-auth.CEyNnJh7.cjs → better-auth.D5N7WXOA.cjs} +1 -1
- package/dist/shared/{better-auth.BiEbNlTO.cjs → better-auth.DA9XWmPg.cjs} +2 -2
- package/dist/shared/{better-auth.DdoZ2a-L.cjs → better-auth.DHphs4h7.cjs} +2 -2
- package/dist/shared/{better-auth.BCkf9FZU.d.cts → better-auth.DXWFn0FB.d.mts} +1 -1
- package/dist/shared/{better-auth.Br4Wfx0Y.cjs → better-auth.D_RPNvYN.cjs} +1 -1
- package/dist/shared/{better-auth.CKHG0ATr.cjs → better-auth.DfSTGujN.cjs} +1 -1
- package/dist/shared/{better-auth.DAXvGuBK.mjs → better-auth.DjJnZBIG.mjs} +11 -2
- package/dist/shared/{better-auth._WE9Fhqj.d.cts → better-auth.DoZpelRk.d.cts} +9 -9
- package/dist/shared/{better-auth.p1cIDE6Y.d.ts → better-auth.Dx9Ekyvb.d.ts} +1 -1
- package/dist/shared/{better-auth.BHPr8J54.d.mts → better-auth.XefKa8DI.d.mts} +2 -2
- package/dist/shared/{better-auth.BsV61G-v.cjs → better-auth.aZWbF-_K.cjs} +1 -1
- package/dist/shared/{better-auth.B7HelsAr.d.mts → better-auth.eEPAMsvS.d.cts} +1 -1
- package/dist/shared/{better-auth.BGDp9pBQ.d.cts → better-auth.mg6oM3Dz.d.cts} +1 -1
- package/dist/shared/{better-auth.nTGSkBy-.d.ts → better-auth.tUECpm9s.d.ts} +9 -9
- package/dist/shared/{better-auth.7zTmTxT4.d.cts → better-auth.v_lf-jeY.d.cts} +2 -2
- 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 +3 -3
- package/dist/test-utils/index.d.mts +3 -3
- package/dist/test-utils/index.d.ts +3 -3
- 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 +3 -3
|
@@ -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, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.Dx9Ekyvb.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.tUECpm9s.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
13
|
import 'kysely';
|
|
14
|
-
import '../../shared/better-auth.
|
|
14
|
+
import '../../shared/better-auth.4SXCyo06.js';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'better-sqlite3';
|
|
17
17
|
import 'bun:sqlite';
|
|
@@ -115,13 +115,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
115
115
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
116
116
|
};
|
|
117
117
|
})[];
|
|
118
|
-
redirect?: RequestRedirect | undefined;
|
|
119
118
|
method: string;
|
|
120
119
|
headers?: (HeadersInit & (HeadersInit | {
|
|
121
120
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
122
121
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
123
122
|
authorization: "Bearer" | "Basic";
|
|
124
123
|
})) | undefined;
|
|
124
|
+
redirect?: RequestRedirect | undefined;
|
|
125
125
|
cache?: RequestCache | undefined;
|
|
126
126
|
credentials?: RequestCredentials;
|
|
127
127
|
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.mg6oM3Dz.cjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
7
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.DoZpelRk.cjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'kysely';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
13
13
|
import 'zod/v4/core';
|
|
14
14
|
import 'better-sqlite3';
|
|
15
15
|
import 'bun:sqlite';
|
|
@@ -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;
|
|
73
72
|
method: string;
|
|
74
73
|
headers?: (HeadersInit & (HeadersInit | {
|
|
75
74
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
76
75
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
77
76
|
authorization: "Bearer" | "Basic";
|
|
78
77
|
})) | undefined;
|
|
78
|
+
redirect?: RequestRedirect | undefined;
|
|
79
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.B1PutWq8.mjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
7
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.1MLB7T7y.mjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'kysely';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
13
13
|
import 'zod/v4/core';
|
|
14
14
|
import 'better-sqlite3';
|
|
15
15
|
import 'bun:sqlite';
|
|
@@ -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;
|
|
73
72
|
method: string;
|
|
74
73
|
headers?: (HeadersInit & (HeadersInit | {
|
|
75
74
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
76
75
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
77
76
|
authorization: "Bearer" | "Basic";
|
|
78
77
|
})) | undefined;
|
|
78
|
+
redirect?: RequestRedirect | undefined;
|
|
79
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.Dx9Ekyvb.js';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
7
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.tUECpm9s.js';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'kysely';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.4SXCyo06.js';
|
|
13
13
|
import 'zod/v4/core';
|
|
14
14
|
import 'better-sqlite3';
|
|
15
15
|
import 'bun:sqlite';
|
|
@@ -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;
|
|
73
72
|
method: string;
|
|
74
73
|
headers?: (HeadersInit & (HeadersInit | {
|
|
75
74
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
76
75
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
77
76
|
authorization: "Bearer" | "Basic";
|
|
78
77
|
})) | undefined;
|
|
78
|
+
redirect?: RequestRedirect | undefined;
|
|
79
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.mg6oM3Dz.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
9
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.DoZpelRk.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'better-sqlite3';
|
|
16
16
|
import 'bun:sqlite';
|
|
@@ -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;
|
|
59
58
|
method: string;
|
|
60
59
|
headers?: (HeadersInit & (HeadersInit | {
|
|
61
60
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
62
61
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
63
62
|
authorization: "Bearer" | "Basic";
|
|
64
63
|
})) | undefined;
|
|
64
|
+
redirect?: RequestRedirect | undefined;
|
|
65
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.B1PutWq8.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
9
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.1MLB7T7y.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'better-sqlite3';
|
|
16
16
|
import 'bun:sqlite';
|
|
@@ -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;
|
|
59
58
|
method: string;
|
|
60
59
|
headers?: (HeadersInit & (HeadersInit | {
|
|
61
60
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
62
61
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
63
62
|
authorization: "Bearer" | "Basic";
|
|
64
63
|
})) | undefined;
|
|
64
|
+
redirect?: RequestRedirect | undefined;
|
|
65
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.Dx9Ekyvb.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
9
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.tUECpm9s.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.4SXCyo06.js';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'better-sqlite3';
|
|
16
16
|
import 'bun:sqlite';
|
|
@@ -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;
|
|
59
58
|
method: string;
|
|
60
59
|
headers?: (HeadersInit & (HeadersInit | {
|
|
61
60
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
62
61
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
63
62
|
authorization: "Bearer" | "Basic";
|
|
64
63
|
})) | undefined;
|
|
64
|
+
redirect?: RequestRedirect | undefined;
|
|
65
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.mg6oM3Dz.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
9
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.DoZpelRk.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'better-sqlite3';
|
|
16
16
|
import 'bun:sqlite';
|
|
@@ -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;
|
|
97
96
|
method: string;
|
|
98
97
|
headers?: (HeadersInit & (HeadersInit | {
|
|
99
98
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
100
99
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
101
100
|
authorization: "Bearer" | "Basic";
|
|
102
101
|
})) | undefined;
|
|
102
|
+
redirect?: RequestRedirect | undefined;
|
|
103
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.B1PutWq8.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
9
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.1MLB7T7y.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'better-sqlite3';
|
|
16
16
|
import 'bun:sqlite';
|
|
@@ -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;
|
|
97
96
|
method: string;
|
|
98
97
|
headers?: (HeadersInit & (HeadersInit | {
|
|
99
98
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
100
99
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
101
100
|
authorization: "Bearer" | "Basic";
|
|
102
101
|
})) | undefined;
|
|
102
|
+
redirect?: RequestRedirect | undefined;
|
|
103
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.Dx9Ekyvb.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
9
|
-
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { b as BASE_ERROR_CODES } from '../../shared/better-auth.tUECpm9s.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.4SXCyo06.js';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'better-sqlite3';
|
|
16
16
|
import 'bun:sqlite';
|
|
@@ -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;
|
|
97
96
|
method: string;
|
|
98
97
|
headers?: (HeadersInit & (HeadersInit | {
|
|
99
98
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
100
99
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
101
100
|
authorization: "Bearer" | "Basic";
|
|
102
101
|
})) | undefined;
|
|
102
|
+
redirect?: RequestRedirect | undefined;
|
|
103
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 { aF as BetterAuthCookies, aK as EligibleCookies, aD as createCookieGetter, aI as deleteSessionCookie, aM as getCookieCache, aE as getCookies, aL as getSessionCookie, aJ as parseCookies, aN as parseSetCookieHeader, aG as setCookieCache, s as setCookieToHeader, aH as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aF as BetterAuthCookies, aK as EligibleCookies, aD as createCookieGetter, aI as deleteSessionCookie, aM as getCookieCache, aE as getCookies, aL as getSessionCookie, aJ as parseCookies, aN as parseSetCookieHeader, aG as setCookieCache, s as setCookieToHeader, aH as setSessionCookie } from '../shared/better-auth.DoZpelRk.cjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.v_lf-jeY.cjs';
|
|
7
7
|
import 'zod/v4/core';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
import 'bun:sqlite';
|
package/dist/cookies/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aF as BetterAuthCookies, aK as EligibleCookies, aD as createCookieGetter, aI as deleteSessionCookie, aM as getCookieCache, aE as getCookies, aL as getSessionCookie, aJ as parseCookies, aN as parseSetCookieHeader, aG as setCookieCache, s as setCookieToHeader, aH as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aF as BetterAuthCookies, aK as EligibleCookies, aD as createCookieGetter, aI as deleteSessionCookie, aM as getCookieCache, aE as getCookies, aL as getSessionCookie, aJ as parseCookies, aN as parseSetCookieHeader, aG as setCookieCache, s as setCookieToHeader, aH as setSessionCookie } from '../shared/better-auth.1MLB7T7y.mjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.XefKa8DI.mjs';
|
|
7
7
|
import 'zod/v4/core';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
import 'bun:sqlite';
|
package/dist/cookies/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aF as BetterAuthCookies, aK as EligibleCookies, aD as createCookieGetter, aI as deleteSessionCookie, aM as getCookieCache, aE as getCookies, aL as getSessionCookie, aJ as parseCookies, aN as parseSetCookieHeader, aG as setCookieCache, s as setCookieToHeader, aH as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aF as BetterAuthCookies, aK as EligibleCookies, aD as createCookieGetter, aI as deleteSessionCookie, aM as getCookieCache, aE as getCookies, aL as getSessionCookie, aJ as parseCookies, aN as parseSetCookieHeader, aG as setCookieCache, s as setCookieToHeader, aH as setSessionCookie } from '../shared/better-auth.tUECpm9s.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.4SXCyo06.js';
|
|
7
7
|
import 'zod/v4/core';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
import 'bun:sqlite';
|
package/dist/db/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Z as TransactionAdapter, Y as Where, M as FieldAttribute, E as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { al as BetterAuthDbSchema, J as FieldAttributeConfig, ai as FieldAttributeToObject, aj as InferAdditionalFieldsFromPluginOptions, l as InferFieldsFromOptions, k as InferFieldsFromPlugins, ag as InferFieldsInput, ah as InferFieldsInputClient, af as InferFieldsOutput, ae as InferValueType, ac as InternalAdapter, ak as PluginFieldAttribute, ao as accountSchema, an as coreSchema, ad as createFieldAttribute, ab as createInternalAdapter, at as getAllFields, am as getAuthTables, aC as mergeSchema, aA as parseAccountInput, av as parseAccountOutput, az as parseAdditionalUserInput, ax as parseInputData, as as parseOutputData, aB as parseSessionInput, aw as parseSessionOutput, ay as parseUserInput, au as parseUserOutput, aq as sessionSchema, ap as userSchema, ar as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Z as TransactionAdapter, Y as Where, M as FieldAttribute, E as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.DoZpelRk.cjs';
|
|
2
|
+
export { al as BetterAuthDbSchema, J as FieldAttributeConfig, ai as FieldAttributeToObject, aj as InferAdditionalFieldsFromPluginOptions, l as InferFieldsFromOptions, k as InferFieldsFromPlugins, ag as InferFieldsInput, ah as InferFieldsInputClient, af as InferFieldsOutput, ae as InferValueType, ac as InternalAdapter, ak as PluginFieldAttribute, ao as accountSchema, an as coreSchema, ad as createFieldAttribute, ab as createInternalAdapter, at as getAllFields, am as getAuthTables, aC as mergeSchema, aA as parseAccountInput, av as parseAccountOutput, az as parseAdditionalUserInput, ax as parseInputData, as as parseOutputData, aB as parseSessionInput, aw as parseSessionOutput, ay as parseUserInput, au as parseUserOutput, aq as sessionSchema, ap as userSchema, ar as verificationSchema } from '../shared/better-auth.DoZpelRk.cjs';
|
|
3
3
|
import * as z from 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.v_lf-jeY.cjs';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
|
10
10
|
import 'bun:sqlite';
|
package/dist/db/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Z as TransactionAdapter, Y as Where, M as FieldAttribute, E as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { al as BetterAuthDbSchema, J as FieldAttributeConfig, ai as FieldAttributeToObject, aj as InferAdditionalFieldsFromPluginOptions, l as InferFieldsFromOptions, k as InferFieldsFromPlugins, ag as InferFieldsInput, ah as InferFieldsInputClient, af as InferFieldsOutput, ae as InferValueType, ac as InternalAdapter, ak as PluginFieldAttribute, ao as accountSchema, an as coreSchema, ad as createFieldAttribute, ab as createInternalAdapter, at as getAllFields, am as getAuthTables, aC as mergeSchema, aA as parseAccountInput, av as parseAccountOutput, az as parseAdditionalUserInput, ax as parseInputData, as as parseOutputData, aB as parseSessionInput, aw as parseSessionOutput, ay as parseUserInput, au as parseUserOutput, aq as sessionSchema, ap as userSchema, ar as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Z as TransactionAdapter, Y as Where, M as FieldAttribute, E as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.1MLB7T7y.mjs';
|
|
2
|
+
export { al as BetterAuthDbSchema, J as FieldAttributeConfig, ai as FieldAttributeToObject, aj as InferAdditionalFieldsFromPluginOptions, l as InferFieldsFromOptions, k as InferFieldsFromPlugins, ag as InferFieldsInput, ah as InferFieldsInputClient, af as InferFieldsOutput, ae as InferValueType, ac as InternalAdapter, ak as PluginFieldAttribute, ao as accountSchema, an as coreSchema, ad as createFieldAttribute, ab as createInternalAdapter, at as getAllFields, am as getAuthTables, aC as mergeSchema, aA as parseAccountInput, av as parseAccountOutput, az as parseAdditionalUserInput, ax as parseInputData, as as parseOutputData, aB as parseSessionInput, aw as parseSessionOutput, ay as parseUserInput, au as parseUserOutput, aq as sessionSchema, ap as userSchema, ar as verificationSchema } from '../shared/better-auth.1MLB7T7y.mjs';
|
|
3
3
|
import * as z from 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.XefKa8DI.mjs';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
|
10
10
|
import 'bun:sqlite';
|
package/dist/db/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Z as TransactionAdapter, Y as Where, M as FieldAttribute, E as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { al as BetterAuthDbSchema, J as FieldAttributeConfig, ai as FieldAttributeToObject, aj as InferAdditionalFieldsFromPluginOptions, l as InferFieldsFromOptions, k as InferFieldsFromPlugins, ag as InferFieldsInput, ah as InferFieldsInputClient, af as InferFieldsOutput, ae as InferValueType, ac as InternalAdapter, ak as PluginFieldAttribute, ao as accountSchema, an as coreSchema, ad as createFieldAttribute, ab as createInternalAdapter, at as getAllFields, am as getAuthTables, aC as mergeSchema, aA as parseAccountInput, av as parseAccountOutput, az as parseAdditionalUserInput, ax as parseInputData, as as parseOutputData, aB as parseSessionInput, aw as parseSessionOutput, ay as parseUserInput, au as parseUserOutput, aq as sessionSchema, ap as userSchema, ar as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Z as TransactionAdapter, Y as Where, M as FieldAttribute, E as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.tUECpm9s.js';
|
|
2
|
+
export { al as BetterAuthDbSchema, J as FieldAttributeConfig, ai as FieldAttributeToObject, aj as InferAdditionalFieldsFromPluginOptions, l as InferFieldsFromOptions, k as InferFieldsFromPlugins, ag as InferFieldsInput, ah as InferFieldsInputClient, af as InferFieldsOutput, ae as InferValueType, ac as InternalAdapter, ak as PluginFieldAttribute, ao as accountSchema, an as coreSchema, ad as createFieldAttribute, ab as createInternalAdapter, at as getAllFields, am as getAuthTables, aC as mergeSchema, aA as parseAccountInput, av as parseAccountOutput, az as parseAdditionalUserInput, ax as parseInputData, as as parseOutputData, aB as parseSessionInput, aw as parseSessionOutput, ay as parseUserInput, au as parseUserOutput, aq as sessionSchema, ap as userSchema, ar as verificationSchema } from '../shared/better-auth.tUECpm9s.js';
|
|
3
3
|
import * as z from 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.4SXCyo06.js';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
|
10
10
|
import 'bun:sqlite';
|
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.DfSTGujN.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.CswLkY3C.cjs');
|
|
7
7
|
const id = require('./shared/better-auth.Bg6iw3ig.cjs');
|
|
8
8
|
const logger = require('./shared/better-auth.DTvRBuq4.cjs');
|
|
9
9
|
const betterCall = require('better-call');
|
package/dist/index.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, T as TelemetryContext, L as TelemetryEvent, M as FieldAttribute, N as Models } from './shared/better-auth.
|
|
2
|
-
export { Q as Account, a as Adapter, $ as AdapterInstance, _ as AdapterSchemaCreation, P as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, c as Auth, d as AuthContext, v as AuthPluginSchema, n as BetterAuthPlugin, F as FilterActions, a1 as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, a2 as InferSessionAPI, e as InferUser, a8 as InternalLogger, a7 as LogHandlerParams, a3 as LogLevel, a6 as Logger, R as RateLimit, a0 as SecondaryStorage, S as Session, Z as TransactionAdapter, U as User, V as Verification, Y as Where, W as WithJsDoc, O as betterAuth, a9 as createLogger, X as init, a4 as levels, aa as logger, a5 as shouldPublishLog } from './shared/better-auth.
|
|
3
|
-
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, i as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, I as IsSignal, S as SessionQueryParams, e as Store } from './shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, T as TelemetryContext, L as TelemetryEvent, M as FieldAttribute, N as Models } from './shared/better-auth.DoZpelRk.cjs';
|
|
2
|
+
export { Q as Account, a as Adapter, $ as AdapterInstance, _ as AdapterSchemaCreation, P as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, c as Auth, d as AuthContext, v as AuthPluginSchema, n as BetterAuthPlugin, F as FilterActions, a1 as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, a2 as InferSessionAPI, e as InferUser, a8 as InternalLogger, a7 as LogHandlerParams, a3 as LogLevel, a6 as Logger, R as RateLimit, a0 as SecondaryStorage, S as Session, Z as TransactionAdapter, U as User, V as Verification, Y as Where, W as WithJsDoc, O as betterAuth, a9 as createLogger, X as init, a4 as levels, aa as logger, a5 as shouldPublishLog } from './shared/better-auth.DoZpelRk.cjs';
|
|
3
|
+
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, i as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, I as IsSignal, S as SessionQueryParams, e as Store } from './shared/better-auth.mg6oM3Dz.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.eEPAMsvS.cjs';
|
|
6
6
|
export * from 'better-call';
|
|
7
7
|
export { APIError } from 'better-call';
|
|
8
8
|
export * from 'zod/v4';
|
|
9
9
|
export * from 'zod/v4/core';
|
|
10
10
|
import { b as LiteralUnion } from './shared/better-auth.DTtXpZYr.cjs';
|
|
11
11
|
export { A as Awaitable, D as DeepPartial, E as Expand, H as HasRequiredKeys, d as LiteralNumber, L as LiteralString, O as OmitId, e as PreserveJSDoc, a as Prettify, P as PrettifyDeep, c as Primitive, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.DTtXpZYr.cjs';
|
|
12
|
-
export { O as OAuth2Tokens, a as OAuth2UserInfo, b as OAuthProvider, P as ProviderOptions } from './shared/better-auth.
|
|
12
|
+
export { O as OAuth2Tokens, a as OAuth2UserInfo, b as OAuthProvider, P as ProviderOptions } from './shared/better-auth.v_lf-jeY.cjs';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import 'kysely';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -83,7 +83,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
|
|
|
83
83
|
disableSignUp: boolean | undefined;
|
|
84
84
|
getUserInfo: boolean;
|
|
85
85
|
overrideUserInfoOnSignIn: boolean;
|
|
86
|
-
prompt: "
|
|
86
|
+
prompt: "none" | "select_account" | "consent" | "login" | "select_account consent" | undefined;
|
|
87
87
|
verifyIdToken: boolean;
|
|
88
88
|
scope: string[] | undefined;
|
|
89
89
|
refreshAccessToken: boolean;
|
|
@@ -91,7 +91,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
|
|
|
91
91
|
plugins: string[] | undefined;
|
|
92
92
|
user: {
|
|
93
93
|
modelName: string | undefined;
|
|
94
|
-
fields: Partial<Record<"
|
|
94
|
+
fields: Partial<Record<"createdAt" | "updatedAt" | "email" | "emailVerified" | "name" | "image", string>> | undefined;
|
|
95
95
|
additionalFields: {
|
|
96
96
|
[key: string]: FieldAttribute;
|
|
97
97
|
} | undefined;
|
|
@@ -116,7 +116,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
|
|
|
116
116
|
};
|
|
117
117
|
disableSessionRefresh: boolean | undefined;
|
|
118
118
|
expiresIn: number | undefined;
|
|
119
|
-
fields: Partial<Record<"
|
|
119
|
+
fields: Partial<Record<"createdAt" | "updatedAt" | "userId" | "expiresAt" | "token" | "ipAddress" | "userAgent", string>> | undefined;
|
|
120
120
|
freshAge: number | undefined;
|
|
121
121
|
preserveSessionInDatabase: boolean | undefined;
|
|
122
122
|
storeSessionInDatabase: boolean | undefined;
|
|
@@ -124,7 +124,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
|
|
|
124
124
|
};
|
|
125
125
|
account: {
|
|
126
126
|
modelName: string | undefined;
|
|
127
|
-
fields: Partial<Record<"
|
|
127
|
+
fields: Partial<Record<"createdAt" | "updatedAt" | "userId" | "scope" | "accessToken" | "refreshToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "idToken" | "providerId" | "accountId" | "password", string>> | undefined;
|
|
128
128
|
encryptOAuthTokens: boolean | undefined;
|
|
129
129
|
updateAccountOnSignIn: boolean | undefined;
|
|
130
130
|
accountLinking: {
|
|
@@ -164,7 +164,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
|
|
|
164
164
|
cookieAttributes: {
|
|
165
165
|
expires: Date | undefined;
|
|
166
166
|
secure: boolean | undefined;
|
|
167
|
-
sameSite: "
|
|
167
|
+
sameSite: "lax" | "Strict" | "Lax" | "None" | "strict" | "none" | undefined;
|
|
168
168
|
domain: boolean;
|
|
169
169
|
path: string | undefined;
|
|
170
170
|
httpOnly: boolean | undefined;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, T as TelemetryContext, L as TelemetryEvent, M as FieldAttribute, N as Models } from './shared/better-auth.
|
|
2
|
-
export { Q as Account, a as Adapter, $ as AdapterInstance, _ as AdapterSchemaCreation, P as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, c as Auth, d as AuthContext, v as AuthPluginSchema, n as BetterAuthPlugin, F as FilterActions, a1 as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, a2 as InferSessionAPI, e as InferUser, a8 as InternalLogger, a7 as LogHandlerParams, a3 as LogLevel, a6 as Logger, R as RateLimit, a0 as SecondaryStorage, S as Session, Z as TransactionAdapter, U as User, V as Verification, Y as Where, W as WithJsDoc, O as betterAuth, a9 as createLogger, X as init, a4 as levels, aa as logger, a5 as shouldPublishLog } from './shared/better-auth.
|
|
3
|
-
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, i as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, I as IsSignal, S as SessionQueryParams, e as Store } from './shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, T as TelemetryContext, L as TelemetryEvent, M as FieldAttribute, N as Models } from './shared/better-auth.1MLB7T7y.mjs';
|
|
2
|
+
export { Q as Account, a as Adapter, $ as AdapterInstance, _ as AdapterSchemaCreation, P as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, c as Auth, d as AuthContext, v as AuthPluginSchema, n as BetterAuthPlugin, F as FilterActions, a1 as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, a2 as InferSessionAPI, e as InferUser, a8 as InternalLogger, a7 as LogHandlerParams, a3 as LogLevel, a6 as Logger, R as RateLimit, a0 as SecondaryStorage, S as Session, Z as TransactionAdapter, U as User, V as Verification, Y as Where, W as WithJsDoc, O as betterAuth, a9 as createLogger, X as init, a4 as levels, aa as logger, a5 as shouldPublishLog } from './shared/better-auth.1MLB7T7y.mjs';
|
|
3
|
+
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, i as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, I as IsSignal, S as SessionQueryParams, e as Store } from './shared/better-auth.B1PutWq8.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.DXWFn0FB.mjs';
|
|
6
6
|
export * from 'better-call';
|
|
7
7
|
export { APIError } from 'better-call';
|
|
8
8
|
export * from 'zod/v4';
|
|
9
9
|
export * from 'zod/v4/core';
|
|
10
10
|
import { b as LiteralUnion } from './shared/better-auth.DTtXpZYr.mjs';
|
|
11
11
|
export { A as Awaitable, D as DeepPartial, E as Expand, H as HasRequiredKeys, d as LiteralNumber, L as LiteralString, O as OmitId, e as PreserveJSDoc, a as Prettify, P as PrettifyDeep, c as Primitive, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.DTtXpZYr.mjs';
|
|
12
|
-
export { O as OAuth2Tokens, a as OAuth2UserInfo, b as OAuthProvider, P as ProviderOptions } from './shared/better-auth.
|
|
12
|
+
export { O as OAuth2Tokens, a as OAuth2UserInfo, b as OAuthProvider, P as ProviderOptions } from './shared/better-auth.XefKa8DI.mjs';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import 'kysely';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -83,7 +83,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
|
|
|
83
83
|
disableSignUp: boolean | undefined;
|
|
84
84
|
getUserInfo: boolean;
|
|
85
85
|
overrideUserInfoOnSignIn: boolean;
|
|
86
|
-
prompt: "
|
|
86
|
+
prompt: "none" | "select_account" | "consent" | "login" | "select_account consent" | undefined;
|
|
87
87
|
verifyIdToken: boolean;
|
|
88
88
|
scope: string[] | undefined;
|
|
89
89
|
refreshAccessToken: boolean;
|
|
@@ -91,7 +91,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
|
|
|
91
91
|
plugins: string[] | undefined;
|
|
92
92
|
user: {
|
|
93
93
|
modelName: string | undefined;
|
|
94
|
-
fields: Partial<Record<"
|
|
94
|
+
fields: Partial<Record<"createdAt" | "updatedAt" | "email" | "emailVerified" | "name" | "image", string>> | undefined;
|
|
95
95
|
additionalFields: {
|
|
96
96
|
[key: string]: FieldAttribute;
|
|
97
97
|
} | undefined;
|
|
@@ -116,7 +116,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
|
|
|
116
116
|
};
|
|
117
117
|
disableSessionRefresh: boolean | undefined;
|
|
118
118
|
expiresIn: number | undefined;
|
|
119
|
-
fields: Partial<Record<"
|
|
119
|
+
fields: Partial<Record<"createdAt" | "updatedAt" | "userId" | "expiresAt" | "token" | "ipAddress" | "userAgent", string>> | undefined;
|
|
120
120
|
freshAge: number | undefined;
|
|
121
121
|
preserveSessionInDatabase: boolean | undefined;
|
|
122
122
|
storeSessionInDatabase: boolean | undefined;
|
|
@@ -124,7 +124,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
|
|
|
124
124
|
};
|
|
125
125
|
account: {
|
|
126
126
|
modelName: string | undefined;
|
|
127
|
-
fields: Partial<Record<"
|
|
127
|
+
fields: Partial<Record<"createdAt" | "updatedAt" | "userId" | "scope" | "accessToken" | "refreshToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "idToken" | "providerId" | "accountId" | "password", string>> | undefined;
|
|
128
128
|
encryptOAuthTokens: boolean | undefined;
|
|
129
129
|
updateAccountOnSignIn: boolean | undefined;
|
|
130
130
|
accountLinking: {
|
|
@@ -164,7 +164,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
|
|
|
164
164
|
cookieAttributes: {
|
|
165
165
|
expires: Date | undefined;
|
|
166
166
|
secure: boolean | undefined;
|
|
167
|
-
sameSite: "
|
|
167
|
+
sameSite: "lax" | "Strict" | "Lax" | "None" | "strict" | "none" | undefined;
|
|
168
168
|
domain: boolean;
|
|
169
169
|
path: string | undefined;
|
|
170
170
|
httpOnly: boolean | undefined;
|