better-auth 1.3.8-beta.7 → 1.3.8-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/drizzle-adapter/index.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.cjs +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/index.mjs +2 -2
- package/dist/client/plugins/index.cjs +31 -3
- package/dist/client/plugins/index.d.cts +39 -9
- package/dist/client/plugins/index.d.mts +39 -9
- package/dist/client/plugins/index.d.ts +39 -9
- package/dist/client/plugins/index.mjs +33 -5
- package/dist/client/react/index.cjs +1 -1
- package/dist/client/react/index.d.cts +9 -9
- package/dist/client/react/index.d.mts +9 -9
- package/dist/client/react/index.d.ts +9 -9
- package/dist/client/react/index.mjs +1 -1
- package/dist/client/solid/index.cjs +1 -1
- package/dist/client/solid/index.d.cts +3 -3
- package/dist/client/solid/index.d.mts +3 -3
- package/dist/client/solid/index.d.ts +3 -3
- package/dist/client/solid/index.mjs +1 -1
- package/dist/client/svelte/index.cjs +1 -1
- package/dist/client/svelte/index.d.cts +3 -3
- package/dist/client/svelte/index.d.mts +3 -3
- package/dist/client/svelte/index.d.ts +3 -3
- package/dist/client/svelte/index.mjs +1 -1
- package/dist/client/vue/index.cjs +1 -1
- package/dist/client/vue/index.d.cts +12 -12
- package/dist/client/vue/index.d.mts +12 -12
- package/dist/client/vue/index.d.ts +12 -12
- package/dist/client/vue/index.mjs +1 -1
- package/dist/cookies/index.d.cts +2 -2
- package/dist/cookies/index.d.mts +2 -2
- package/dist/cookies/index.d.ts +2 -2
- package/dist/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 +10 -9
- package/dist/index.d.cts +6 -5
- package/dist/index.d.mts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.mjs +9 -9
- 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 +4 -4
- package/dist/plugins/admin/index.d.mts +4 -4
- package/dist/plugins/admin/index.d.ts +4 -4
- 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 +7 -7
- package/dist/plugins/index.d.cts +5 -5
- package/dist/plugins/index.d.mts +5 -5
- package/dist/plugins/index.d.ts +5 -5
- package/dist/plugins/index.mjs +8 -8
- 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 +6 -6
- package/dist/plugins/oidc-provider/index.d.mts +6 -6
- package/dist/plugins/oidc-provider/index.d.ts +6 -6
- package/dist/plugins/oidc-provider/index.mjs +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/access/index.cjs +9 -4
- package/dist/plugins/organization/access/index.d.cts +56 -25
- package/dist/plugins/organization/access/index.d.mts +56 -25
- package/dist/plugins/organization/access/index.d.ts +56 -25
- package/dist/plugins/organization/access/index.mjs +9 -4
- package/dist/plugins/organization/index.cjs +4 -4
- package/dist/plugins/organization/index.d.cts +12104 -2664
- package/dist/plugins/organization/index.d.mts +12104 -2664
- package/dist/plugins/organization/index.d.ts +12104 -2664
- package/dist/plugins/organization/index.mjs +4 -4
- 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 +4 -4
- package/dist/plugins/sso/index.d.mts +4 -4
- package/dist/plugins/sso/index.d.ts +4 -4
- 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 +2 -2
- package/dist/plugins/username/index.d.mts +2 -2
- package/dist/plugins/username/index.d.ts +2 -2
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/shared/{better-auth.BXZFHeKS.d.cts → better-auth.3m3MTRoL.d.cts} +1 -1
- package/dist/shared/{better-auth.BVRe9oUF.d.cts → better-auth.B2sdtpa-.d.cts} +2 -13
- package/dist/shared/{better-auth.srwANuMX.cjs → better-auth.B4ss9kvz.cjs} +1798 -247
- package/dist/shared/{better-auth.B4s085TW.cjs → better-auth.BEsywhdZ.cjs} +1 -7
- package/dist/shared/{better-auth.DygnLQW5.mjs → better-auth.BI4JniQN.mjs} +1 -7
- package/dist/shared/{better-auth.BZ1rl9jb.cjs → better-auth.BKTHmemy.cjs} +1 -1
- package/dist/shared/{better-auth.B5XPvU4V.d.mts → better-auth.BKoHQyy0.d.mts} +1 -1
- package/dist/shared/{better-auth.BYiXvdJQ.cjs → better-auth.BUvUa_Fh.cjs} +9 -1
- package/dist/shared/{better-auth.CApDACtr.mjs → better-auth.B_KS59W1.mjs} +1798 -247
- package/dist/shared/{better-auth.BpZ2qzWn.d.mts → better-auth.BeqVmFDy.d.mts} +1 -1
- package/dist/shared/{better-auth.Ctgkdy7x.d.mts → better-auth.Bh5GST-4.d.mts} +1 -1
- package/dist/shared/better-auth.BusfdPsj.cjs +87 -0
- package/dist/shared/{better-auth.efEqxJ3k.d.mts → better-auth.CBUKWpSt.d.mts} +2 -13
- package/dist/shared/{better-auth.DX9TcqCt.mjs → better-auth.CBdfkPoe.mjs} +1 -1
- package/dist/shared/{better-auth.BDe8YvTr.cjs → better-auth.CZpfmhXT.cjs} +1 -1
- package/dist/shared/{better-auth.BF-28VnX.d.mts → better-auth.Cl6lMoDP.d.mts} +1 -1
- package/dist/shared/{better-auth.BhdSraHG.cjs → better-auth.CnfAXqRG.cjs} +1 -1
- package/dist/shared/{better-auth.lTCLLcGt.d.ts → better-auth.CrW7XRZx.d.ts} +1 -1
- package/dist/shared/{better-auth.CnJoIxG_.d.ts → better-auth.CySkohPi.d.ts} +2 -13
- package/dist/shared/{better-auth._2xnM2S3.mjs → better-auth.D7PawI_-.mjs} +1 -12
- package/dist/shared/{better-auth.BLYxY3m3.d.ts → better-auth.DLXmZJi-.d.ts} +1 -1
- package/dist/shared/better-auth.DOFt_82p.mjs +70 -0
- package/dist/shared/{better-auth.Ca_NjiGd.d.cts → better-auth.DUztHusY.d.cts} +1 -1
- package/dist/shared/{better-auth.CxKBteqV.cjs → better-auth.Di5iHMA7.cjs} +1 -1
- package/dist/shared/{better-auth.BgjEx6dy.d.cts → better-auth.DqvNU_YJ.d.cts} +1 -1
- package/dist/shared/{better-auth.CG9DHk60.mjs → better-auth.DskHRUA7.mjs} +9 -1
- package/dist/shared/{better-auth.DNf2m_JT.d.ts → better-auth.Du6fl8yS.d.ts} +1 -1
- package/dist/shared/{better-auth.g2ow3cc2.cjs → better-auth.NTJWm3qM.cjs} +0 -12
- package/dist/shared/{better-auth.DqbGTNEt.mjs → better-auth.PPeYAZw9.mjs} +1 -1
- package/dist/shared/{better-auth.BcTT5K5S.mjs → better-auth.ifuaFFT6.mjs} +1 -1
- package/dist/shared/{better-auth.vI-5STVo.mjs → better-auth.ni8tK7Wv.mjs} +2 -2
- package/dist/shared/{better-auth.K0z8EJFS.mjs → better-auth.sJR84kSG.mjs} +1 -1
- package/dist/shared/{better-auth.D7tWjP25.d.cts → better-auth.ucmRbPom.d.cts} +1 -1
- package/dist/shared/{better-auth.BCH1iVsI.d.ts → better-auth.v9lHrfe7.d.ts} +1 -1
- package/dist/shared/{better-auth.Cm_V_J8I.cjs → better-auth.yYFlLPlP.cjs} +2 -2
- package/dist/social-providers/index.cjs +1 -2
- 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 +5 -5
- 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 +5 -5
- 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 +1 -1
- package/dist/shared/better-auth.D7N9YNr5.cjs +0 -25
- package/dist/shared/better-auth.Dt0CvI2z.mjs +0 -23
|
@@ -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.DLXmZJi-.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.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.v9lHrfe7.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
14
|
-
import '../../shared/better-auth.
|
|
14
|
+
import '../../shared/better-auth.CySkohPi.js';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
|
@@ -69,15 +69,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
69
69
|
data: InferClientAPI<Option> extends {
|
|
70
70
|
getSession: () => Promise<infer Res>;
|
|
71
71
|
} ? Res extends {
|
|
72
|
+
data: infer S;
|
|
73
|
+
error: null;
|
|
74
|
+
} | {
|
|
72
75
|
data: null;
|
|
73
76
|
error: {
|
|
74
77
|
message?: string | undefined;
|
|
75
78
|
status: number;
|
|
76
79
|
statusText: string;
|
|
77
80
|
};
|
|
78
|
-
} | {
|
|
79
|
-
data: infer S;
|
|
80
|
-
error: null;
|
|
81
81
|
} ? S : Res : never;
|
|
82
82
|
isPending: boolean;
|
|
83
83
|
error: BetterFetchError | null;
|
|
@@ -89,15 +89,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
89
89
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
90
90
|
getSession: () => Promise<infer Res>;
|
|
91
91
|
} ? Res extends {
|
|
92
|
+
data: infer S;
|
|
93
|
+
error: null;
|
|
94
|
+
} | {
|
|
92
95
|
data: null;
|
|
93
96
|
error: {
|
|
94
97
|
message?: string | undefined;
|
|
95
98
|
status: number;
|
|
96
99
|
statusText: string;
|
|
97
100
|
};
|
|
98
|
-
} | {
|
|
99
|
-
data: infer S;
|
|
100
|
-
error: null;
|
|
101
101
|
} ? S : Res : never>;
|
|
102
102
|
};
|
|
103
103
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
1
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.BI4JniQN.mjs';
|
|
2
2
|
import { listenKeys } from 'nanostores';
|
|
3
3
|
import { useRef, useCallback, useSyncExternalStore } from 'react';
|
|
4
4
|
import '@better-fetch/fetch';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const proxy = require('../../shared/better-auth.
|
|
3
|
+
const proxy = require('../../shared/better-auth.BEsywhdZ.cjs');
|
|
4
4
|
const misc = require('../../shared/better-auth.BLDOwz3i.cjs');
|
|
5
5
|
const store = require('solid-js/store');
|
|
6
6
|
const solidJs = require('solid-js');
|
|
@@ -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.DqvNU_YJ.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 { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.3m3MTRoL.cjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'zod/v4';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.B2sdtpa-.cjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'zod';
|
|
@@ -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.Bh5GST-4.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 { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BeqVmFDy.mjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'zod/v4';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.CBUKWpSt.mjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'zod';
|
|
@@ -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.DLXmZJi-.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 { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.v9lHrfe7.js';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'zod/v4';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.CySkohPi.js';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'zod';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
1
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.BI4JniQN.mjs';
|
|
2
2
|
import { c as capitalizeFirstLetter } from '../../shared/better-auth.D-2CmEwz.mjs';
|
|
3
3
|
import { createStore, reconcile } from 'solid-js/store';
|
|
4
4
|
import { onCleanup } from 'solid-js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const proxy = require('../../shared/better-auth.
|
|
3
|
+
const proxy = require('../../shared/better-auth.BEsywhdZ.cjs');
|
|
4
4
|
const misc = require('../../shared/better-auth.BLDOwz3i.cjs');
|
|
5
5
|
require('@better-fetch/fetch');
|
|
6
6
|
require('../../shared/better-auth.DRmln2Nr.cjs');
|
|
@@ -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.DqvNU_YJ.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.3m3MTRoL.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.B2sdtpa-.cjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -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.Bh5GST-4.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BeqVmFDy.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.CBUKWpSt.mjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -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.DLXmZJi-.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.v9lHrfe7.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.CySkohPi.js';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
1
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.BI4JniQN.mjs';
|
|
2
2
|
import { c as capitalizeFirstLetter } from '../../shared/better-auth.D-2CmEwz.mjs';
|
|
3
3
|
import '@better-fetch/fetch';
|
|
4
4
|
import '../../shared/better-auth.CuS_eDdK.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const vue = require('vue');
|
|
4
|
-
const proxy = require('../../shared/better-auth.
|
|
4
|
+
const proxy = require('../../shared/better-auth.BEsywhdZ.cjs');
|
|
5
5
|
const misc = require('../../shared/better-auth.BLDOwz3i.cjs');
|
|
6
6
|
require('@better-fetch/fetch');
|
|
7
7
|
require('../../shared/better-auth.DRmln2Nr.cjs');
|
|
@@ -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.DqvNU_YJ.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.3m3MTRoL.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.B2sdtpa-.cjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -27,15 +27,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
27
27
|
data: InferClientAPI<Option> extends {
|
|
28
28
|
getSession: () => Promise<infer Res>;
|
|
29
29
|
} ? Res extends {
|
|
30
|
-
data: infer S;
|
|
31
|
-
error: null;
|
|
32
|
-
} | {
|
|
33
30
|
data: null;
|
|
34
31
|
error: {
|
|
35
32
|
message?: string | undefined;
|
|
36
33
|
status: number;
|
|
37
34
|
statusText: string;
|
|
38
35
|
};
|
|
36
|
+
} | {
|
|
37
|
+
data: infer S;
|
|
38
|
+
error: null;
|
|
39
39
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
40
40
|
isPending: boolean;
|
|
41
41
|
isRefetching: boolean;
|
|
@@ -45,15 +45,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
45
45
|
data: Ref<InferClientAPI<Option> extends {
|
|
46
46
|
getSession: () => Promise<infer Res>;
|
|
47
47
|
} ? Res extends {
|
|
48
|
-
data: infer S;
|
|
49
|
-
error: null;
|
|
50
|
-
} | {
|
|
51
48
|
data: null;
|
|
52
49
|
error: {
|
|
53
50
|
message?: string | undefined;
|
|
54
51
|
status: number;
|
|
55
52
|
statusText: string;
|
|
56
53
|
};
|
|
54
|
+
} | {
|
|
55
|
+
data: infer S;
|
|
56
|
+
error: null;
|
|
57
57
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
58
58
|
isPending: false;
|
|
59
59
|
error: Ref<{
|
|
@@ -67,15 +67,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
67
67
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
68
68
|
getSession: () => Promise<infer Res>;
|
|
69
69
|
} ? Res extends {
|
|
70
|
-
data: infer S;
|
|
71
|
-
error: null;
|
|
72
|
-
} | {
|
|
73
70
|
data: null;
|
|
74
71
|
error: {
|
|
75
72
|
message?: string | undefined;
|
|
76
73
|
status: number;
|
|
77
74
|
statusText: string;
|
|
78
75
|
};
|
|
76
|
+
} | {
|
|
77
|
+
data: infer S;
|
|
78
|
+
error: null;
|
|
79
79
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
80
80
|
};
|
|
81
81
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -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.Bh5GST-4.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BeqVmFDy.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.CBUKWpSt.mjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -27,15 +27,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
27
27
|
data: InferClientAPI<Option> extends {
|
|
28
28
|
getSession: () => Promise<infer Res>;
|
|
29
29
|
} ? Res extends {
|
|
30
|
-
data: infer S;
|
|
31
|
-
error: null;
|
|
32
|
-
} | {
|
|
33
30
|
data: null;
|
|
34
31
|
error: {
|
|
35
32
|
message?: string | undefined;
|
|
36
33
|
status: number;
|
|
37
34
|
statusText: string;
|
|
38
35
|
};
|
|
36
|
+
} | {
|
|
37
|
+
data: infer S;
|
|
38
|
+
error: null;
|
|
39
39
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
40
40
|
isPending: boolean;
|
|
41
41
|
isRefetching: boolean;
|
|
@@ -45,15 +45,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
45
45
|
data: Ref<InferClientAPI<Option> extends {
|
|
46
46
|
getSession: () => Promise<infer Res>;
|
|
47
47
|
} ? Res extends {
|
|
48
|
-
data: infer S;
|
|
49
|
-
error: null;
|
|
50
|
-
} | {
|
|
51
48
|
data: null;
|
|
52
49
|
error: {
|
|
53
50
|
message?: string | undefined;
|
|
54
51
|
status: number;
|
|
55
52
|
statusText: string;
|
|
56
53
|
};
|
|
54
|
+
} | {
|
|
55
|
+
data: infer S;
|
|
56
|
+
error: null;
|
|
57
57
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
58
58
|
isPending: false;
|
|
59
59
|
error: Ref<{
|
|
@@ -67,15 +67,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
67
67
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
68
68
|
getSession: () => Promise<infer Res>;
|
|
69
69
|
} ? Res extends {
|
|
70
|
-
data: infer S;
|
|
71
|
-
error: null;
|
|
72
|
-
} | {
|
|
73
70
|
data: null;
|
|
74
71
|
error: {
|
|
75
72
|
message?: string | undefined;
|
|
76
73
|
status: number;
|
|
77
74
|
statusText: string;
|
|
78
75
|
};
|
|
76
|
+
} | {
|
|
77
|
+
data: infer S;
|
|
78
|
+
error: null;
|
|
79
79
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
80
80
|
};
|
|
81
81
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -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.DLXmZJi-.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.v9lHrfe7.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.CySkohPi.js';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -27,15 +27,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
27
27
|
data: InferClientAPI<Option> extends {
|
|
28
28
|
getSession: () => Promise<infer Res>;
|
|
29
29
|
} ? Res extends {
|
|
30
|
-
data: infer S;
|
|
31
|
-
error: null;
|
|
32
|
-
} | {
|
|
33
30
|
data: null;
|
|
34
31
|
error: {
|
|
35
32
|
message?: string | undefined;
|
|
36
33
|
status: number;
|
|
37
34
|
statusText: string;
|
|
38
35
|
};
|
|
36
|
+
} | {
|
|
37
|
+
data: infer S;
|
|
38
|
+
error: null;
|
|
39
39
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
40
40
|
isPending: boolean;
|
|
41
41
|
isRefetching: boolean;
|
|
@@ -45,15 +45,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
45
45
|
data: Ref<InferClientAPI<Option> extends {
|
|
46
46
|
getSession: () => Promise<infer Res>;
|
|
47
47
|
} ? Res extends {
|
|
48
|
-
data: infer S;
|
|
49
|
-
error: null;
|
|
50
|
-
} | {
|
|
51
48
|
data: null;
|
|
52
49
|
error: {
|
|
53
50
|
message?: string | undefined;
|
|
54
51
|
status: number;
|
|
55
52
|
statusText: string;
|
|
56
53
|
};
|
|
54
|
+
} | {
|
|
55
|
+
data: infer S;
|
|
56
|
+
error: null;
|
|
57
57
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
58
58
|
isPending: false;
|
|
59
59
|
error: Ref<{
|
|
@@ -67,15 +67,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
67
67
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
68
68
|
getSession: () => Promise<infer Res>;
|
|
69
69
|
} ? Res extends {
|
|
70
|
-
data: infer S;
|
|
71
|
-
error: null;
|
|
72
|
-
} | {
|
|
73
70
|
data: null;
|
|
74
71
|
error: {
|
|
75
72
|
message?: string | undefined;
|
|
76
73
|
status: number;
|
|
77
74
|
statusText: string;
|
|
78
75
|
};
|
|
76
|
+
} | {
|
|
77
|
+
data: infer S;
|
|
78
|
+
error: null;
|
|
79
79
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
80
80
|
};
|
|
81
81
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shallowRef, getCurrentScope, onScopeDispose, readonly, getCurrentInstance } from 'vue';
|
|
2
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
2
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.BI4JniQN.mjs';
|
|
3
3
|
import { c as capitalizeFirstLetter } from '../../shared/better-auth.D-2CmEwz.mjs';
|
|
4
4
|
import '@better-fetch/fetch';
|
|
5
5
|
import '../../shared/better-auth.CuS_eDdK.mjs';
|
package/dist/cookies/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.3m3MTRoL.cjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.B2sdtpa-.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
package/dist/cookies/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.BeqVmFDy.mjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.CBUKWpSt.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
package/dist/cookies/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.v9lHrfe7.js';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.CySkohPi.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
package/dist/db/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Q as Where, J as FieldAttribute, a8 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { ak as BetterAuthDbSchema, ab as FieldAttributeConfig, ah as FieldAttributeToObject, ai as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, af as InferFieldsInput, ag as InferFieldsInputClient, ae as InferFieldsOutput, ad as InferValueType, aa as InternalAdapter, aj as PluginFieldAttribute, am as accountSchema, ac as createFieldAttribute, a9 as createInternalAdapter, ar as getAllFields, al as getAuthTables, aA as mergeSchema, ay as parseAccountInput, at as parseAccountOutput, ax as parseAdditionalUserInput, av as parseInputData, aq as parseOutputData, az as parseSessionInput, au as parseSessionOutput, aw as parseUserInput, as as parseUserOutput, ao as sessionSchema, an as userSchema, ap as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Q as Where, J as FieldAttribute, a8 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.3m3MTRoL.cjs';
|
|
2
|
+
export { ak as BetterAuthDbSchema, ab as FieldAttributeConfig, ah as FieldAttributeToObject, ai as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, af as InferFieldsInput, ag as InferFieldsInputClient, ae as InferFieldsOutput, ad as InferValueType, aa as InternalAdapter, aj as PluginFieldAttribute, am as accountSchema, ac as createFieldAttribute, a9 as createInternalAdapter, ar as getAllFields, al as getAuthTables, aA as mergeSchema, ay as parseAccountInput, at as parseAccountOutput, ax as parseAdditionalUserInput, av as parseInputData, aq as parseOutputData, az as parseSessionInput, au as parseSessionOutput, aw as parseUserInput, as as parseUserOutput, ao as sessionSchema, an as userSchema, ap as verificationSchema } from '../shared/better-auth.3m3MTRoL.cjs';
|
|
3
3
|
import * as z from 'zod/v4';
|
|
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.B2sdtpa-.cjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
package/dist/db/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Q as Where, J as FieldAttribute, a8 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { ak as BetterAuthDbSchema, ab as FieldAttributeConfig, ah as FieldAttributeToObject, ai as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, af as InferFieldsInput, ag as InferFieldsInputClient, ae as InferFieldsOutput, ad as InferValueType, aa as InternalAdapter, aj as PluginFieldAttribute, am as accountSchema, ac as createFieldAttribute, a9 as createInternalAdapter, ar as getAllFields, al as getAuthTables, aA as mergeSchema, ay as parseAccountInput, at as parseAccountOutput, ax as parseAdditionalUserInput, av as parseInputData, aq as parseOutputData, az as parseSessionInput, au as parseSessionOutput, aw as parseUserInput, as as parseUserOutput, ao as sessionSchema, an as userSchema, ap as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Q as Where, J as FieldAttribute, a8 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.BeqVmFDy.mjs';
|
|
2
|
+
export { ak as BetterAuthDbSchema, ab as FieldAttributeConfig, ah as FieldAttributeToObject, ai as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, af as InferFieldsInput, ag as InferFieldsInputClient, ae as InferFieldsOutput, ad as InferValueType, aa as InternalAdapter, aj as PluginFieldAttribute, am as accountSchema, ac as createFieldAttribute, a9 as createInternalAdapter, ar as getAllFields, al as getAuthTables, aA as mergeSchema, ay as parseAccountInput, at as parseAccountOutput, ax as parseAdditionalUserInput, av as parseInputData, aq as parseOutputData, az as parseSessionInput, au as parseSessionOutput, aw as parseUserInput, as as parseUserOutput, ao as sessionSchema, an as userSchema, ap as verificationSchema } from '../shared/better-auth.BeqVmFDy.mjs';
|
|
3
3
|
import * as z from 'zod/v4';
|
|
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.CBUKWpSt.mjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
package/dist/db/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Q as Where, J as FieldAttribute, a8 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { ak as BetterAuthDbSchema, ab as FieldAttributeConfig, ah as FieldAttributeToObject, ai as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, af as InferFieldsInput, ag as InferFieldsInputClient, ae as InferFieldsOutput, ad as InferValueType, aa as InternalAdapter, aj as PluginFieldAttribute, am as accountSchema, ac as createFieldAttribute, a9 as createInternalAdapter, ar as getAllFields, al as getAuthTables, aA as mergeSchema, ay as parseAccountInput, at as parseAccountOutput, ax as parseAdditionalUserInput, av as parseInputData, aq as parseOutputData, az as parseSessionInput, au as parseSessionOutput, aw as parseUserInput, as as parseUserOutput, ao as sessionSchema, an as userSchema, ap as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Q as Where, J as FieldAttribute, a8 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.v9lHrfe7.js';
|
|
2
|
+
export { ak as BetterAuthDbSchema, ab as FieldAttributeConfig, ah as FieldAttributeToObject, ai as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, af as InferFieldsInput, ag as InferFieldsInputClient, ae as InferFieldsOutput, ad as InferValueType, aa as InternalAdapter, aj as PluginFieldAttribute, am as accountSchema, ac as createFieldAttribute, a9 as createInternalAdapter, ar as getAllFields, al as getAuthTables, aA as mergeSchema, ay as parseAccountInput, at as parseAccountOutput, ax as parseAdditionalUserInput, av as parseInputData, aq as parseOutputData, az as parseSessionInput, au as parseSessionOutput, aw as parseUserInput, as as parseUserOutput, ao as sessionSchema, an as userSchema, ap as verificationSchema } from '../shared/better-auth.v9lHrfe7.js';
|
|
3
3
|
import * as z from 'zod/v4';
|
|
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.CySkohPi.js';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
package/dist/index.cjs
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const auth = require('./shared/better-auth.
|
|
3
|
+
const auth = require('./shared/better-auth.BKTHmemy.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.NTJWm3qM.cjs');
|
|
7
7
|
const id = require('./shared/better-auth.Bg6iw3ig.cjs');
|
|
8
8
|
const logger = require('./shared/better-auth.B3274wGK.cjs');
|
|
9
|
-
require('
|
|
10
|
-
require('better-call');
|
|
9
|
+
const betterCall = require('better-call');
|
|
11
10
|
require('./shared/better-auth.CLv80Pwz.cjs');
|
|
12
|
-
require('
|
|
13
|
-
require('./shared/better-auth.D5q0JUiv.cjs');
|
|
11
|
+
require('zod/v4');
|
|
14
12
|
require('./shared/better-auth.B6fIklBU.cjs');
|
|
15
13
|
require('@better-auth/utils/base64');
|
|
16
14
|
require('@better-auth/utils/hmac');
|
|
17
|
-
require('./shared/better-auth.vPQBmXQL.cjs');
|
|
18
|
-
require('./shared/better-auth.DRmln2Nr.cjs');
|
|
19
15
|
require('@better-auth/utils/binary');
|
|
20
|
-
require('zod/v4');
|
|
21
16
|
require('./shared/better-auth.BIMq4RPW.cjs');
|
|
17
|
+
require('./api/index.cjs');
|
|
18
|
+
require('./shared/better-auth.D5q0JUiv.cjs');
|
|
19
|
+
require('./shared/better-auth.C1hdVENX.cjs');
|
|
20
|
+
require('./shared/better-auth.vPQBmXQL.cjs');
|
|
21
|
+
require('./shared/better-auth.DRmln2Nr.cjs');
|
|
22
22
|
require('./shared/better-auth.Cxlqz5AU.cjs');
|
|
23
23
|
require('defu');
|
|
24
24
|
require('./crypto/index.cjs');
|
|
@@ -59,3 +59,4 @@ exports.createLogger = logger.createLogger;
|
|
|
59
59
|
exports.levels = logger.levels;
|
|
60
60
|
exports.logger = logger.logger;
|
|
61
61
|
exports.shouldPublishLog = logger.shouldPublishLog;
|
|
62
|
+
exports.APIError = betterCall.APIError;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, T as TelemetryContext, E as TelemetryEvent, J as FieldAttribute, M as Models } from './shared/better-auth.
|
|
2
|
-
export { O as Account, a as Adapter, Y as AdapterInstance, X as AdapterSchemaCreation, N as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, h as BetterAuthPlugin, F as FilterActions, _ as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, $ as InferSessionAPI, q as InferUser, a5 as InternalLogger, a4 as LogHandlerParams, a0 as LogLevel, a3 as Logger, R as RateLimit, Z as SecondaryStorage, S as Session, U as User, V as Verification, Q as Where, W as WithJsDoc, L as betterAuth, a6 as createLogger, P as init, a1 as levels, a7 as logger, a2 as shouldPublishLog } from './shared/better-auth.
|
|
3
|
-
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, 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, E as TelemetryEvent, J as FieldAttribute, M as Models } from './shared/better-auth.3m3MTRoL.cjs';
|
|
2
|
+
export { O as Account, a as Adapter, Y as AdapterInstance, X as AdapterSchemaCreation, N as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, h as BetterAuthPlugin, F as FilterActions, _ as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, $ as InferSessionAPI, q as InferUser, a5 as InternalLogger, a4 as LogHandlerParams, a0 as LogLevel, a3 as Logger, R as RateLimit, Z as SecondaryStorage, S as Session, U as User, V as Verification, Q as Where, W as WithJsDoc, L as betterAuth, a6 as createLogger, P as init, a1 as levels, a7 as logger, a2 as shouldPublishLog } from './shared/better-auth.3m3MTRoL.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.DqvNU_YJ.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.DUztHusY.cjs';
|
|
6
6
|
export * from 'better-call';
|
|
7
|
+
export { APIError } from 'better-call';
|
|
7
8
|
export * from 'zod/v4';
|
|
8
9
|
export * from 'zod/v4/core';
|
|
9
10
|
import { b as LiteralUnion } from './shared/better-auth.DTtXpZYr.cjs';
|
|
10
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';
|
|
11
|
-
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.B2sdtpa-.cjs';
|
|
12
13
|
import 'kysely';
|
|
13
14
|
import 'zod';
|
|
14
15
|
import 'better-sqlite3';
|