better-auth 1.3.8-beta.6 → 1.3.8-beta.7
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 +27 -27
- package/dist/adapters/test.d.mts +27 -27
- package/dist/adapters/test.d.ts +27 -27
- package/dist/api/index.cjs +3 -3
- package/dist/api/index.d.cts +3 -3
- package/dist/api/index.d.mts +3 -3
- package/dist/api/index.d.ts +3 -3
- package/dist/api/index.mjs +5 -5
- package/dist/client/index.cjs +3 -3
- package/dist/client/index.d.cts +8 -6
- package/dist/client/index.d.mts +8 -6
- package/dist/client/index.d.ts +8 -6
- package/dist/client/index.mjs +3 -3
- package/dist/client/plugins/index.cjs +1 -1
- package/dist/client/plugins/index.d.cts +19 -11
- package/dist/client/plugins/index.d.mts +19 -11
- package/dist/client/plugins/index.d.ts +19 -11
- package/dist/client/plugins/index.mjs +1 -1
- package/dist/client/react/index.cjs +2 -2
- package/dist/client/react/index.d.cts +6 -4
- package/dist/client/react/index.d.mts +6 -4
- package/dist/client/react/index.d.ts +6 -4
- package/dist/client/react/index.mjs +2 -2
- package/dist/client/solid/index.cjs +2 -2
- package/dist/client/solid/index.d.cts +9 -9
- package/dist/client/solid/index.d.mts +9 -9
- package/dist/client/solid/index.d.ts +9 -9
- package/dist/client/solid/index.mjs +2 -2
- package/dist/client/svelte/index.cjs +2 -2
- 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 +2 -2
- package/dist/client/vue/index.cjs +2 -2
- 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 +2 -2
- package/dist/cookies/index.cjs +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/cookies/index.mjs +1 -1
- 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 +4 -4
- package/dist/index.d.cts +6 -6
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.mjs +4 -4
- package/dist/integrations/next-js.cjs +5 -4
- 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 +5 -4
- 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 +5 -4
- 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 +5 -4
- package/dist/integrations/svelte-kit.cjs +3 -3
- 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 +3 -3
- package/dist/oauth2/index.cjs +3 -3
- 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 +3 -3
- package/dist/plugins/admin/index.cjs +4 -4
- 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 +4 -4
- package/dist/plugins/anonymous/index.cjs +3 -3
- 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 +3 -3
- package/dist/plugins/bearer/index.cjs +3 -3
- 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 +3 -3
- 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 +20 -4
- package/dist/plugins/custom-session/index.d.cts +17 -3
- package/dist/plugins/custom-session/index.d.mts +17 -3
- package/dist/plugins/custom-session/index.d.ts +17 -3
- package/dist/plugins/custom-session/index.mjs +20 -4
- package/dist/plugins/device-authorization/index.cjs +9 -108
- package/dist/plugins/device-authorization/index.d.cts +5 -3
- package/dist/plugins/device-authorization/index.d.mts +5 -3
- package/dist/plugins/device-authorization/index.d.ts +5 -3
- package/dist/plugins/device-authorization/index.mjs +5 -104
- package/dist/plugins/email-otp/index.cjs +3 -3
- 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 +3 -3
- package/dist/plugins/generic-oauth/index.cjs +3 -3
- package/dist/plugins/generic-oauth/index.d.cts +3 -3
- package/dist/plugins/generic-oauth/index.d.mts +3 -3
- package/dist/plugins/generic-oauth/index.d.ts +3 -3
- package/dist/plugins/generic-oauth/index.mjs +3 -3
- package/dist/plugins/haveibeenpwned/index.cjs +3 -3
- 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 +3 -3
- package/dist/plugins/index.cjs +9 -9
- package/dist/plugins/index.d.cts +30 -5
- package/dist/plugins/index.d.mts +30 -5
- package/dist/plugins/index.d.ts +30 -5
- package/dist/plugins/index.mjs +11 -11
- package/dist/plugins/jwt/index.cjs +6 -6
- package/dist/plugins/jwt/index.d.cts +2 -2
- package/dist/plugins/jwt/index.d.mts +2 -2
- package/dist/plugins/jwt/index.d.ts +2 -2
- package/dist/plugins/jwt/index.mjs +7 -7
- package/dist/plugins/magic-link/index.cjs +3 -3
- package/dist/plugins/magic-link/index.mjs +3 -3
- package/dist/plugins/multi-session/index.cjs +3 -3
- 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 +3 -3
- package/dist/plugins/oauth-proxy/index.cjs +3 -3
- 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 +3 -3
- package/dist/plugins/oidc-provider/index.cjs +5 -5
- package/dist/plugins/oidc-provider/index.d.cts +56 -6
- package/dist/plugins/oidc-provider/index.d.mts +56 -6
- package/dist/plugins/oidc-provider/index.d.ts +56 -6
- package/dist/plugins/oidc-provider/index.mjs +5 -5
- package/dist/plugins/one-tap/index.cjs +3 -3
- package/dist/plugins/one-tap/index.mjs +3 -3
- package/dist/plugins/one-time-token/index.cjs +6 -5
- 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 +6 -5
- package/dist/plugins/open-api/index.cjs +3 -3
- 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 +3 -3
- package/dist/plugins/organization/index.cjs +5 -5
- package/dist/plugins/organization/index.d.cts +6 -6
- package/dist/plugins/organization/index.d.mts +6 -6
- package/dist/plugins/organization/index.d.ts +6 -6
- package/dist/plugins/organization/index.mjs +5 -5
- package/dist/plugins/passkey/index.cjs +3 -3
- 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 +3 -3
- package/dist/plugins/phone-number/index.cjs +3 -3
- 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 +3 -3
- package/dist/plugins/siwe/index.cjs +3 -3
- 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 +3 -3
- package/dist/plugins/sso/index.cjs +3 -3
- 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 +3 -3
- package/dist/plugins/two-factor/index.cjs +3 -3
- 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 +3 -3
- package/dist/plugins/username/index.cjs +3 -3
- 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 +3 -3
- package/dist/shared/{better-auth.CtToz4qL.cjs → better-auth.B4s085TW.cjs} +1 -1
- package/dist/shared/{better-auth.CGejYPX3.d.mts → better-auth.B5XPvU4V.d.mts} +1 -1
- package/dist/shared/{better-auth.D_zuKEZs.d.ts → better-auth.BCH1iVsI.d.ts} +55 -55
- package/dist/shared/{better-auth.CmdI9lHT.cjs → better-auth.BDe8YvTr.cjs} +1 -1
- package/dist/shared/{better-auth.BVPwsVUn.d.cts → better-auth.BF-28VnX.d.mts} +1 -1
- package/dist/shared/{better-auth.BttC_x9D.mjs → better-auth.BF0OhhL0.mjs} +57 -1
- package/dist/shared/{better-auth.BsHw2sS5.d.ts → better-auth.BLYxY3m3.d.ts} +6 -2
- package/dist/shared/{better-auth.DQINKBiT.d.cts → better-auth.BVRe9oUF.d.cts} +479 -6
- package/dist/shared/{better-auth.CWKgK_p2.d.cts → better-auth.BXZFHeKS.d.cts} +55 -55
- package/dist/shared/{better-auth.CV-4ifSd.cjs → better-auth.BYiXvdJQ.cjs} +2 -2
- package/dist/shared/{better-auth.CbBksUvo.cjs → better-auth.BZ1rl9jb.cjs} +3 -3
- package/dist/shared/{better-auth.DVsI0DHa.mjs → better-auth.BcTT5K5S.mjs} +1 -1
- package/dist/shared/{better-auth.B6V3vOfp.d.cts → better-auth.BgjEx6dy.d.cts} +6 -2
- package/dist/shared/{better-auth.z3V3mA_O.cjs → better-auth.BhdSraHG.cjs} +3 -3
- package/dist/shared/{better-auth.B1puuIwv.d.mts → better-auth.BpZ2qzWn.d.mts} +55 -55
- package/dist/shared/{better-auth.AeIHgLBF.cjs → better-auth.BvYLXwvp.cjs} +58 -2
- package/dist/shared/{better-auth.DDozCDMS.mjs → better-auth.CApDACtr.mjs} +7 -9
- package/dist/shared/{better-auth.Ba_pqY0l.mjs → better-auth.CG9DHk60.mjs} +2 -2
- package/dist/shared/{better-auth.Bco357J8.cjs → better-auth.CLv80Pwz.cjs} +1 -1
- package/dist/shared/{better-auth.C7BLzxG2.d.mts → better-auth.Ca_NjiGd.d.cts} +1 -1
- package/dist/shared/{better-auth.Ck3n8bMC.cjs → better-auth.CgIMrxKr.cjs} +7 -3
- package/dist/shared/{better-auth.BKqT_ZVS.cjs → better-auth.Cm_V_J8I.cjs} +10 -28
- package/dist/shared/{better-auth.DI5tnNZs.d.ts → better-auth.CnJoIxG_.d.ts} +479 -6
- package/dist/shared/{better-auth.BwsH8S4P.d.mts → better-auth.Ctgkdy7x.d.mts} +6 -2
- package/dist/shared/{better-auth.yHdubbkw.cjs → better-auth.CxKBteqV.cjs} +34 -9
- package/dist/shared/{better-auth.l2-e84v_.cjs → better-auth.D5q0JUiv.cjs} +93 -164
- package/dist/shared/{better-auth.BflsQmOZ.d.cts → better-auth.D7tWjP25.d.cts} +1 -1
- package/dist/shared/{better-auth.DxG__zXA.d.ts → better-auth.DNf2m_JT.d.ts} +1 -1
- package/dist/shared/{better-auth.BCc3zPBF.mjs → better-auth.DV5EHeYG.mjs} +1 -1
- package/dist/shared/{better-auth.w5Mg3-u0.mjs → better-auth.DX9TcqCt.mjs} +3 -3
- package/dist/shared/{better-auth.DGJgCfAm.mjs → better-auth.DqbGTNEt.mjs} +34 -9
- package/dist/shared/{better-auth.CGGao4aY.mjs → better-auth.DygnLQW5.mjs} +1 -1
- package/dist/shared/{better-auth.DgX9nQ3e.mjs → better-auth.K0z8EJFS.mjs} +3 -3
- package/dist/shared/{better-auth.DF-MUmVw.mjs → better-auth.UfVWArIB.mjs} +93 -164
- package/dist/shared/{better-auth.BVF2_YJN.mjs → better-auth._2xnM2S3.mjs} +351 -24
- package/dist/shared/{better-auth.QB8jx8j0.d.mts → better-auth.efEqxJ3k.d.mts} +479 -6
- package/dist/shared/{better-auth.CiuRzSQH.cjs → better-auth.g2ow3cc2.cjs} +354 -23
- package/dist/shared/{better-auth.Buni1mmI.mjs → better-auth.kTs0zHGZ.mjs} +7 -3
- package/dist/shared/{better-auth.Bp6xdiY8.d.ts → better-auth.lTCLLcGt.d.ts} +1 -1
- package/dist/shared/{better-auth.L_XZAIeN.cjs → better-auth.srwANuMX.cjs} +7 -9
- package/dist/shared/{better-auth.DAX7uGE1.mjs → better-auth.vI-5STVo.mjs} +10 -28
- package/dist/social-providers/index.cjs +7 -3
- 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 +3 -3
- package/dist/test-utils/index.cjs +9 -8
- package/dist/test-utils/index.d.cts +94 -94
- package/dist/test-utils/index.d.mts +94 -94
- package/dist/test-utils/index.d.ts +94 -94
- package/dist/test-utils/index.mjs +9 -8
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/package.json +2 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BXZFHeKS.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.BVRe9oUF.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BpZ2qzWn.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.efEqxJ3k.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BCH1iVsI.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.CnJoIxG_.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
2
|
-
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.
|
|
1
|
+
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.BXZFHeKS.cjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.BXZFHeKS.cjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.BVRe9oUF.cjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
2
|
-
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.
|
|
1
|
+
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.BpZ2qzWn.mjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.BpZ2qzWn.mjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.efEqxJ3k.mjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
package/dist/adapters/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
2
|
-
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.
|
|
1
|
+
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.BCH1iVsI.js';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.BCH1iVsI.js';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.CnJoIxG_.js';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.BXZFHeKS.cjs';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.BVRe9oUF.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.BpZ2qzWn.mjs';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.efEqxJ3k.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.BCH1iVsI.js';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.CnJoIxG_.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BXZFHeKS.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.BVRe9oUF.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BpZ2qzWn.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.efEqxJ3k.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BCH1iVsI.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.CnJoIxG_.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BXZFHeKS.cjs';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
7
|
-
import '../../shared/better-auth.
|
|
7
|
+
import '../../shared/better-auth.BVRe9oUF.cjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BpZ2qzWn.mjs';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
7
|
-
import '../../shared/better-auth.
|
|
7
|
+
import '../../shared/better-auth.efEqxJ3k.mjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BCH1iVsI.js';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
7
|
-
import '../../shared/better-auth.
|
|
7
|
+
import '../../shared/better-auth.CnJoIxG_.js';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BXZFHeKS.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.BVRe9oUF.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BpZ2qzWn.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.efEqxJ3k.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BCH1iVsI.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.CnJoIxG_.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
package/dist/adapters/test.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.BXZFHeKS.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.BVRe9oUF.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -47,31 +47,31 @@ declare const adapterTests: {
|
|
|
47
47
|
readonly SHOULD_PREFER_GENERATE_ID_IF_PROVIDED: "should prefer generateId if provided";
|
|
48
48
|
};
|
|
49
49
|
declare const numberIdAdapterTests: {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
50
|
+
SHOULD_RETURN_A_NUMBER_ID_AS_A_RESULT: string;
|
|
51
|
+
SHOULD_INCREMENT_THE_ID_BY_1: string;
|
|
52
|
+
CREATE_MODEL: "create model";
|
|
53
|
+
CREATE_MODEL_SHOULD_ALWAYS_RETURN_AN_ID: "create model should always return an id";
|
|
54
|
+
FIND_MODEL: "find model";
|
|
55
|
+
FIND_MODEL_WITHOUT_ID: "find model without id";
|
|
56
|
+
FIND_MODEL_WITH_SELECT: "find model with select";
|
|
57
|
+
FIND_MODEL_WITH_MODIFIED_FIELD_NAME: "find model with modified field name";
|
|
58
|
+
UPDATE_MODEL: "update model";
|
|
59
|
+
SHOULD_FIND_MANY: "should find many";
|
|
60
|
+
SHOULD_FIND_MANY_WITH_WHERE: "should find many with where";
|
|
61
|
+
SHOULD_FIND_MANY_WITH_OPERATORS: "should find many with operators";
|
|
62
|
+
SHOULD_WORK_WITH_REFERENCE_FIELDS: "should work with reference fields";
|
|
63
|
+
SHOULD_FIND_MANY_WITH_SORT_BY: "should find many with sortBy";
|
|
64
|
+
SHOULD_FIND_MANY_WITH_LIMIT: "should find many with limit";
|
|
65
|
+
SHOULD_FIND_MANY_WITH_OFFSET: "should find many with offset";
|
|
66
|
+
SHOULD_UPDATE_WITH_MULTIPLE_WHERE: "should update with multiple where";
|
|
67
|
+
DELETE_MODEL: "delete model";
|
|
68
|
+
SHOULD_DELETE_MANY: "should delete many";
|
|
69
|
+
SHOULD_NOT_THROW_ON_DELETE_RECORD_NOT_FOUND: "shouldn't throw on delete record not found";
|
|
70
|
+
SHOULD_NOT_THROW_ON_RECORD_NOT_FOUND: "shouldn't throw on record not found";
|
|
71
|
+
SHOULD_FIND_MANY_WITH_CONTAINS_OPERATOR: "should find many with contains operator";
|
|
72
|
+
SHOULD_SEARCH_USERS_WITH_STARTS_WITH: "should search users with startsWith";
|
|
73
|
+
SHOULD_SEARCH_USERS_WITH_ENDS_WITH: "should search users with endsWith";
|
|
74
|
+
SHOULD_PREFER_GENERATE_ID_IF_PROVIDED: "should prefer generateId if provided";
|
|
75
75
|
};
|
|
76
76
|
declare function runAdapterTest(opts: AdapterTestOptions): Promise<void>;
|
|
77
77
|
declare function runNumberIdAdapterTest(opts: NumberIdAdapterTestOptions): Promise<void>;
|
package/dist/adapters/test.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.BpZ2qzWn.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.efEqxJ3k.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -47,31 +47,31 @@ declare const adapterTests: {
|
|
|
47
47
|
readonly SHOULD_PREFER_GENERATE_ID_IF_PROVIDED: "should prefer generateId if provided";
|
|
48
48
|
};
|
|
49
49
|
declare const numberIdAdapterTests: {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
50
|
+
SHOULD_RETURN_A_NUMBER_ID_AS_A_RESULT: string;
|
|
51
|
+
SHOULD_INCREMENT_THE_ID_BY_1: string;
|
|
52
|
+
CREATE_MODEL: "create model";
|
|
53
|
+
CREATE_MODEL_SHOULD_ALWAYS_RETURN_AN_ID: "create model should always return an id";
|
|
54
|
+
FIND_MODEL: "find model";
|
|
55
|
+
FIND_MODEL_WITHOUT_ID: "find model without id";
|
|
56
|
+
FIND_MODEL_WITH_SELECT: "find model with select";
|
|
57
|
+
FIND_MODEL_WITH_MODIFIED_FIELD_NAME: "find model with modified field name";
|
|
58
|
+
UPDATE_MODEL: "update model";
|
|
59
|
+
SHOULD_FIND_MANY: "should find many";
|
|
60
|
+
SHOULD_FIND_MANY_WITH_WHERE: "should find many with where";
|
|
61
|
+
SHOULD_FIND_MANY_WITH_OPERATORS: "should find many with operators";
|
|
62
|
+
SHOULD_WORK_WITH_REFERENCE_FIELDS: "should work with reference fields";
|
|
63
|
+
SHOULD_FIND_MANY_WITH_SORT_BY: "should find many with sortBy";
|
|
64
|
+
SHOULD_FIND_MANY_WITH_LIMIT: "should find many with limit";
|
|
65
|
+
SHOULD_FIND_MANY_WITH_OFFSET: "should find many with offset";
|
|
66
|
+
SHOULD_UPDATE_WITH_MULTIPLE_WHERE: "should update with multiple where";
|
|
67
|
+
DELETE_MODEL: "delete model";
|
|
68
|
+
SHOULD_DELETE_MANY: "should delete many";
|
|
69
|
+
SHOULD_NOT_THROW_ON_DELETE_RECORD_NOT_FOUND: "shouldn't throw on delete record not found";
|
|
70
|
+
SHOULD_NOT_THROW_ON_RECORD_NOT_FOUND: "shouldn't throw on record not found";
|
|
71
|
+
SHOULD_FIND_MANY_WITH_CONTAINS_OPERATOR: "should find many with contains operator";
|
|
72
|
+
SHOULD_SEARCH_USERS_WITH_STARTS_WITH: "should search users with startsWith";
|
|
73
|
+
SHOULD_SEARCH_USERS_WITH_ENDS_WITH: "should search users with endsWith";
|
|
74
|
+
SHOULD_PREFER_GENERATE_ID_IF_PROVIDED: "should prefer generateId if provided";
|
|
75
75
|
};
|
|
76
76
|
declare function runAdapterTest(opts: AdapterTestOptions): Promise<void>;
|
|
77
77
|
declare function runNumberIdAdapterTest(opts: NumberIdAdapterTestOptions): Promise<void>;
|
package/dist/adapters/test.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.BCH1iVsI.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.CnJoIxG_.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -47,31 +47,31 @@ declare const adapterTests: {
|
|
|
47
47
|
readonly SHOULD_PREFER_GENERATE_ID_IF_PROVIDED: "should prefer generateId if provided";
|
|
48
48
|
};
|
|
49
49
|
declare const numberIdAdapterTests: {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
50
|
+
SHOULD_RETURN_A_NUMBER_ID_AS_A_RESULT: string;
|
|
51
|
+
SHOULD_INCREMENT_THE_ID_BY_1: string;
|
|
52
|
+
CREATE_MODEL: "create model";
|
|
53
|
+
CREATE_MODEL_SHOULD_ALWAYS_RETURN_AN_ID: "create model should always return an id";
|
|
54
|
+
FIND_MODEL: "find model";
|
|
55
|
+
FIND_MODEL_WITHOUT_ID: "find model without id";
|
|
56
|
+
FIND_MODEL_WITH_SELECT: "find model with select";
|
|
57
|
+
FIND_MODEL_WITH_MODIFIED_FIELD_NAME: "find model with modified field name";
|
|
58
|
+
UPDATE_MODEL: "update model";
|
|
59
|
+
SHOULD_FIND_MANY: "should find many";
|
|
60
|
+
SHOULD_FIND_MANY_WITH_WHERE: "should find many with where";
|
|
61
|
+
SHOULD_FIND_MANY_WITH_OPERATORS: "should find many with operators";
|
|
62
|
+
SHOULD_WORK_WITH_REFERENCE_FIELDS: "should work with reference fields";
|
|
63
|
+
SHOULD_FIND_MANY_WITH_SORT_BY: "should find many with sortBy";
|
|
64
|
+
SHOULD_FIND_MANY_WITH_LIMIT: "should find many with limit";
|
|
65
|
+
SHOULD_FIND_MANY_WITH_OFFSET: "should find many with offset";
|
|
66
|
+
SHOULD_UPDATE_WITH_MULTIPLE_WHERE: "should update with multiple where";
|
|
67
|
+
DELETE_MODEL: "delete model";
|
|
68
|
+
SHOULD_DELETE_MANY: "should delete many";
|
|
69
|
+
SHOULD_NOT_THROW_ON_DELETE_RECORD_NOT_FOUND: "shouldn't throw on delete record not found";
|
|
70
|
+
SHOULD_NOT_THROW_ON_RECORD_NOT_FOUND: "shouldn't throw on record not found";
|
|
71
|
+
SHOULD_FIND_MANY_WITH_CONTAINS_OPERATOR: "should find many with contains operator";
|
|
72
|
+
SHOULD_SEARCH_USERS_WITH_STARTS_WITH: "should search users with startsWith";
|
|
73
|
+
SHOULD_SEARCH_USERS_WITH_ENDS_WITH: "should search users with endsWith";
|
|
74
|
+
SHOULD_PREFER_GENERATE_ID_IF_PROVIDED: "should prefer generateId if provided";
|
|
75
75
|
};
|
|
76
76
|
declare function runAdapterTest(opts: AdapterTestOptions): Promise<void>;
|
|
77
77
|
declare function runNumberIdAdapterTest(opts: NumberIdAdapterTestOptions): Promise<void>;
|
package/dist/api/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const betterCall = require('better-call');
|
|
4
|
-
const socialProviders_index = require('../shared/better-auth.
|
|
5
|
-
const session = require('../shared/better-auth.
|
|
4
|
+
const socialProviders_index = require('../shared/better-auth.g2ow3cc2.cjs');
|
|
5
|
+
const session = require('../shared/better-auth.CLv80Pwz.cjs');
|
|
6
6
|
const z = require('zod/v4');
|
|
7
|
-
const cookies_index = require('../shared/better-auth.
|
|
7
|
+
const cookies_index = require('../shared/better-auth.D5q0JUiv.cjs');
|
|
8
8
|
const schema = require('../shared/better-auth.BIMq4RPW.cjs');
|
|
9
9
|
const env = require('../shared/better-auth.B6fIklBU.cjs');
|
|
10
10
|
const logger = require('../shared/better-auth.B3274wGK.cjs');
|
package/dist/api/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import '../shared/better-auth.
|
|
2
|
-
export { l as AuthEndpoint, m as AuthMiddleware, bn as accountInfo, aQ as callbackOAuth, be as changeEmail, ba as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b5 as createEmailVerificationToken, bc as deleteUser, bd as deleteUserCallback, bf as error, b1 as forgetPassword, b3 as forgetPasswordCallback, aW as freshSessionMiddleware, bl as getAccessToken, aM as getEndpoints, aS as getSession, aT as getSessionFromCtx, aR as getSessionQuerySchema, bj as linkSocialAccount, aX as listSessions, bi as listUserAccounts, bg as ok, o as optionsMiddleware, bp as originCheck, bo as originCheckMiddleware, bm as refreshToken, aV as requestOnlySessionMiddleware, b0 as requestPasswordReset, b2 as requestPasswordResetCallback, b4 as resetPassword, a_ as revokeOtherSessions, aY as revokeSession, aZ as revokeSessions, aN as router, b7 as sendVerificationEmail, b6 as sendVerificationEmailFn, aU as sessionMiddleware, bb as setPassword, aP as signInEmail, aO as signInSocial, a$ as signOut, bh as signUpEmail, bk as unlinkAccount, b9 as updateUser, b8 as verifyEmail } from '../shared/better-auth.
|
|
1
|
+
import '../shared/better-auth.BVRe9oUF.cjs';
|
|
2
|
+
export { l as AuthEndpoint, m as AuthMiddleware, bn as accountInfo, aQ as callbackOAuth, be as changeEmail, ba as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b5 as createEmailVerificationToken, bc as deleteUser, bd as deleteUserCallback, bf as error, b1 as forgetPassword, b3 as forgetPasswordCallback, aW as freshSessionMiddleware, bl as getAccessToken, aM as getEndpoints, aS as getSession, aT as getSessionFromCtx, aR as getSessionQuerySchema, bj as linkSocialAccount, aX as listSessions, bi as listUserAccounts, bg as ok, o as optionsMiddleware, bp as originCheck, bo as originCheckMiddleware, bm as refreshToken, aV as requestOnlySessionMiddleware, b0 as requestPasswordReset, b2 as requestPasswordResetCallback, b4 as resetPassword, a_ as revokeOtherSessions, aY as revokeSession, aZ as revokeSessions, aN as router, b7 as sendVerificationEmail, b6 as sendVerificationEmailFn, aU as sessionMiddleware, bb as setPassword, aP as signInEmail, aO as signInSocial, a$ as signOut, bh as signUpEmail, bk as unlinkAccount, b9 as updateUser, b8 as verifyEmail } from '../shared/better-auth.BXZFHeKS.cjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
5
5
|
import 'zod/v4/core';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import 'zod/v4';
|
|
8
7
|
import 'jose';
|
|
8
|
+
import 'zod/v4';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
package/dist/api/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import '../shared/better-auth.
|
|
2
|
-
export { l as AuthEndpoint, m as AuthMiddleware, bn as accountInfo, aQ as callbackOAuth, be as changeEmail, ba as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b5 as createEmailVerificationToken, bc as deleteUser, bd as deleteUserCallback, bf as error, b1 as forgetPassword, b3 as forgetPasswordCallback, aW as freshSessionMiddleware, bl as getAccessToken, aM as getEndpoints, aS as getSession, aT as getSessionFromCtx, aR as getSessionQuerySchema, bj as linkSocialAccount, aX as listSessions, bi as listUserAccounts, bg as ok, o as optionsMiddleware, bp as originCheck, bo as originCheckMiddleware, bm as refreshToken, aV as requestOnlySessionMiddleware, b0 as requestPasswordReset, b2 as requestPasswordResetCallback, b4 as resetPassword, a_ as revokeOtherSessions, aY as revokeSession, aZ as revokeSessions, aN as router, b7 as sendVerificationEmail, b6 as sendVerificationEmailFn, aU as sessionMiddleware, bb as setPassword, aP as signInEmail, aO as signInSocial, a$ as signOut, bh as signUpEmail, bk as unlinkAccount, b9 as updateUser, b8 as verifyEmail } from '../shared/better-auth.
|
|
1
|
+
import '../shared/better-auth.efEqxJ3k.mjs';
|
|
2
|
+
export { l as AuthEndpoint, m as AuthMiddleware, bn as accountInfo, aQ as callbackOAuth, be as changeEmail, ba as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b5 as createEmailVerificationToken, bc as deleteUser, bd as deleteUserCallback, bf as error, b1 as forgetPassword, b3 as forgetPasswordCallback, aW as freshSessionMiddleware, bl as getAccessToken, aM as getEndpoints, aS as getSession, aT as getSessionFromCtx, aR as getSessionQuerySchema, bj as linkSocialAccount, aX as listSessions, bi as listUserAccounts, bg as ok, o as optionsMiddleware, bp as originCheck, bo as originCheckMiddleware, bm as refreshToken, aV as requestOnlySessionMiddleware, b0 as requestPasswordReset, b2 as requestPasswordResetCallback, b4 as resetPassword, a_ as revokeOtherSessions, aY as revokeSession, aZ as revokeSessions, aN as router, b7 as sendVerificationEmail, b6 as sendVerificationEmailFn, aU as sessionMiddleware, bb as setPassword, aP as signInEmail, aO as signInSocial, a$ as signOut, bh as signUpEmail, bk as unlinkAccount, b9 as updateUser, b8 as verifyEmail } from '../shared/better-auth.BpZ2qzWn.mjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
5
5
|
import 'zod/v4/core';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import 'zod/v4';
|
|
8
7
|
import 'jose';
|
|
8
|
+
import 'zod/v4';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import '../shared/better-auth.
|
|
2
|
-
export { l as AuthEndpoint, m as AuthMiddleware, bn as accountInfo, aQ as callbackOAuth, be as changeEmail, ba as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b5 as createEmailVerificationToken, bc as deleteUser, bd as deleteUserCallback, bf as error, b1 as forgetPassword, b3 as forgetPasswordCallback, aW as freshSessionMiddleware, bl as getAccessToken, aM as getEndpoints, aS as getSession, aT as getSessionFromCtx, aR as getSessionQuerySchema, bj as linkSocialAccount, aX as listSessions, bi as listUserAccounts, bg as ok, o as optionsMiddleware, bp as originCheck, bo as originCheckMiddleware, bm as refreshToken, aV as requestOnlySessionMiddleware, b0 as requestPasswordReset, b2 as requestPasswordResetCallback, b4 as resetPassword, a_ as revokeOtherSessions, aY as revokeSession, aZ as revokeSessions, aN as router, b7 as sendVerificationEmail, b6 as sendVerificationEmailFn, aU as sessionMiddleware, bb as setPassword, aP as signInEmail, aO as signInSocial, a$ as signOut, bh as signUpEmail, bk as unlinkAccount, b9 as updateUser, b8 as verifyEmail } from '../shared/better-auth.
|
|
1
|
+
import '../shared/better-auth.CnJoIxG_.js';
|
|
2
|
+
export { l as AuthEndpoint, m as AuthMiddleware, bn as accountInfo, aQ as callbackOAuth, be as changeEmail, ba as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b5 as createEmailVerificationToken, bc as deleteUser, bd as deleteUserCallback, bf as error, b1 as forgetPassword, b3 as forgetPasswordCallback, aW as freshSessionMiddleware, bl as getAccessToken, aM as getEndpoints, aS as getSession, aT as getSessionFromCtx, aR as getSessionQuerySchema, bj as linkSocialAccount, aX as listSessions, bi as listUserAccounts, bg as ok, o as optionsMiddleware, bp as originCheck, bo as originCheckMiddleware, bm as refreshToken, aV as requestOnlySessionMiddleware, b0 as requestPasswordReset, b2 as requestPasswordResetCallback, b4 as resetPassword, a_ as revokeOtherSessions, aY as revokeSession, aZ as revokeSessions, aN as router, b7 as sendVerificationEmail, b6 as sendVerificationEmailFn, aU as sessionMiddleware, bb as setPassword, aP as signInEmail, aO as signInSocial, a$ as signOut, bh as signUpEmail, bk as unlinkAccount, b9 as updateUser, b8 as verifyEmail } from '../shared/better-auth.BCH1iVsI.js';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
5
5
|
import 'zod/v4/core';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import 'zod/v4';
|
|
8
7
|
import 'jose';
|
|
8
|
+
import 'zod/v4';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
package/dist/api/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { APIError, createRouter } from 'better-call';
|
|
2
2
|
export { APIError } from 'better-call';
|
|
3
|
-
import { k as createEmailVerificationToken, w as wildcardMatch, u as updateUser, t as toAuthEndpoints, l as originCheckMiddleware, m as error, n as ok, q as accountInfo, x as getAccessToken, y as refreshToken, z as unlinkAccount, A as deleteUserCallback, B as listUserAccounts, C as linkSocialAccount, D as requestPasswordResetCallback, E as requestPasswordReset, F as forgetPasswordCallback, G as deleteUser, I as setPassword, J as changePassword, K as changeEmail, L as sendVerificationEmail, M as verifyEmail, N as resetPassword, O as forgetPassword, P as signInEmail, Q as signOut, R as callbackOAuth, S as signInSocial } from '../shared/better-auth.
|
|
4
|
-
export { o as originCheck, T as sendVerificationEmailFn } from '../shared/better-auth.
|
|
5
|
-
import { a as createAuthEndpoint, B as BASE_ERROR_CODES, l as listSessions, b as getSession, r as revokeOtherSessions, d as revokeSessions, e as revokeSession } from '../shared/better-auth.
|
|
6
|
-
export { c as createAuthMiddleware, f as freshSessionMiddleware, g as getSessionFromCtx, h as getSessionQuerySchema, o as optionsMiddleware, i as requestOnlySessionMiddleware, s as sessionMiddleware } from '../shared/better-auth.
|
|
3
|
+
import { k as createEmailVerificationToken, w as wildcardMatch, u as updateUser, t as toAuthEndpoints, l as originCheckMiddleware, m as error, n as ok, q as accountInfo, x as getAccessToken, y as refreshToken, z as unlinkAccount, A as deleteUserCallback, B as listUserAccounts, C as linkSocialAccount, D as requestPasswordResetCallback, E as requestPasswordReset, F as forgetPasswordCallback, G as deleteUser, I as setPassword, J as changePassword, K as changeEmail, L as sendVerificationEmail, M as verifyEmail, N as resetPassword, O as forgetPassword, P as signInEmail, Q as signOut, R as callbackOAuth, S as signInSocial } from '../shared/better-auth._2xnM2S3.mjs';
|
|
4
|
+
export { o as originCheck, T as sendVerificationEmailFn } from '../shared/better-auth._2xnM2S3.mjs';
|
|
5
|
+
import { a as createAuthEndpoint, B as BASE_ERROR_CODES, l as listSessions, b as getSession, r as revokeOtherSessions, d as revokeSessions, e as revokeSession } from '../shared/better-auth.DV5EHeYG.mjs';
|
|
6
|
+
export { c as createAuthMiddleware, f as freshSessionMiddleware, g as getSessionFromCtx, h as getSessionQuerySchema, o as optionsMiddleware, i as requestOnlySessionMiddleware, s as sessionMiddleware } from '../shared/better-auth.DV5EHeYG.mjs';
|
|
7
7
|
import * as z from 'zod/v4';
|
|
8
|
-
import { s as setSessionCookie } from '../shared/better-auth.
|
|
8
|
+
import { s as setSessionCookie } from '../shared/better-auth.UfVWArIB.mjs';
|
|
9
9
|
import { f as parseUserInput } from '../shared/better-auth.n2KFGwjY.mjs';
|
|
10
10
|
import { b as isDevelopment } from '../shared/better-auth.CMQ3rA-I.mjs';
|
|
11
11
|
import { a as logger } from '../shared/better-auth.BjBlybv-.mjs';
|
package/dist/client/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const vanilla = require('../shared/better-auth.
|
|
4
|
-
const query = require('../shared/better-auth.
|
|
5
|
-
require('../shared/better-auth.
|
|
3
|
+
const vanilla = require('../shared/better-auth.BDe8YvTr.cjs');
|
|
4
|
+
const query = require('../shared/better-auth.CgIMrxKr.cjs');
|
|
5
|
+
require('../shared/better-auth.B4s085TW.cjs');
|
|
6
6
|
require('@better-fetch/fetch');
|
|
7
7
|
require('../shared/better-auth.DRmln2Nr.cjs');
|
|
8
8
|
require('../shared/better-auth.B6fIklBU.cjs');
|
package/dist/client/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.
|
|
1
|
+
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.BXZFHeKS.cjs';
|
|
2
2
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
3
3
|
import { BetterFetchError, BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
4
4
|
export * from '@better-fetch/fetch';
|
|
5
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.
|
|
6
|
-
export { A as AtomListener,
|
|
5
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes, S as SessionQueryParams } from '../shared/better-auth.BgjEx6dy.cjs';
|
|
6
|
+
export { A as AtomListener, i as InferAdditionalFromClient, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, e as Store } from '../shared/better-auth.BgjEx6dy.cjs';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
@@ -11,7 +11,7 @@ import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-au
|
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'better-call';
|
|
13
13
|
import 'zod/v4';
|
|
14
|
-
import '../shared/better-auth.
|
|
14
|
+
import '../shared/better-auth.BVRe9oUF.cjs';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
|
@@ -137,7 +137,9 @@ declare const useAuthQuery: <T>(initializedAtom: PreinitializedWritableAtom<any>
|
|
|
137
137
|
error: null | BetterFetchError;
|
|
138
138
|
isPending: boolean;
|
|
139
139
|
isRefetching: boolean;
|
|
140
|
-
refetch: (
|
|
140
|
+
refetch: (queryParams?: {
|
|
141
|
+
query?: SessionQueryParams;
|
|
142
|
+
}) => void;
|
|
141
143
|
}> & object;
|
|
142
144
|
|
|
143
145
|
declare const InferPlugin: <T extends BetterAuthPlugin>() => {
|
|
@@ -148,4 +150,4 @@ declare function InferAuth<O extends {
|
|
|
148
150
|
options: BetterAuthOptions;
|
|
149
151
|
}>(): O["options"];
|
|
150
152
|
|
|
151
|
-
export { BetterAuthClientPlugin, ClientOptions, InferActions, InferAuth, InferClientAPI, InferErrorCodes, InferPlugin, IsSignal, createAuthClient, useAuthQuery };
|
|
153
|
+
export { BetterAuthClientPlugin, ClientOptions, InferActions, InferAuth, InferClientAPI, InferErrorCodes, InferPlugin, IsSignal, SessionQueryParams, createAuthClient, useAuthQuery };
|