better-auth 1.3.7-beta.4 → 1.3.8-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/drizzle-adapter/index.cjs +4 -3
- 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/drizzle-adapter/index.mjs +4 -3
- package/dist/adapters/index.cjs +4 -3
- 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/index.mjs +4 -3
- package/dist/adapters/kysely-adapter/index.cjs +5 -4
- 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/kysely-adapter/index.mjs +5 -4
- package/dist/adapters/memory-adapter/index.cjs +5 -4
- 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/memory-adapter/index.mjs +5 -4
- package/dist/adapters/mongodb-adapter/index.cjs +5 -4
- 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/mongodb-adapter/index.mjs +5 -4
- package/dist/adapters/prisma-adapter/index.cjs +4 -3
- 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/prisma-adapter/index.mjs +4 -3
- package/dist/adapters/test.cjs +3 -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/adapters/test.mjs +2 -1
- package/dist/api/index.cjs +6 -5
- 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 +7 -6
- 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.d.cts +4 -4
- package/dist/client/plugins/index.d.mts +4 -4
- package/dist/client/plugins/index.d.ts +4 -4
- package/dist/client/react/index.cjs +1 -1
- package/dist/client/react/index.d.cts +3 -3
- package/dist/client/react/index.d.mts +3 -3
- package/dist/client/react/index.d.ts +3 -3
- package/dist/client/react/index.mjs +1 -1
- package/dist/client/solid/index.cjs +1 -1
- 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 +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.cjs +2 -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 +2 -1
- package/dist/crypto/index.cjs +4 -6
- package/dist/crypto/index.mjs +4 -6
- package/dist/db/index.cjs +7 -6
- 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/db/index.mjs +7 -6
- package/dist/index.cjs +10 -9
- package/dist/index.d.cts +5 -5
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.mjs +9 -8
- 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 +4 -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 +4 -3
- package/dist/oauth2/index.cjs +4 -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 +4 -3
- package/dist/plugins/admin/index.cjs +5 -4
- package/dist/plugins/admin/index.d.cts +2 -2
- package/dist/plugins/admin/index.d.mts +2 -2
- package/dist/plugins/admin/index.d.ts +2 -2
- package/dist/plugins/admin/index.mjs +5 -4
- package/dist/plugins/anonymous/index.cjs +6 -5
- 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 +4 -3
- package/dist/plugins/bearer/index.cjs +4 -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 +4 -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 +4 -3
- 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 +4 -3
- package/dist/plugins/email-otp/index.cjs +4 -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 +4 -3
- package/dist/plugins/generic-oauth/index.cjs +4 -3
- 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 +4 -3
- package/dist/plugins/haveibeenpwned/index.cjs +4 -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 +4 -3
- package/dist/plugins/index.cjs +9 -8
- package/dist/plugins/index.d.cts +4 -4
- package/dist/plugins/index.d.mts +4 -4
- package/dist/plugins/index.d.ts +4 -4
- package/dist/plugins/index.mjs +11 -10
- package/dist/plugins/jwt/index.cjs +17 -4
- package/dist/plugins/jwt/index.d.cts +18 -2
- package/dist/plugins/jwt/index.d.mts +18 -2
- package/dist/plugins/jwt/index.d.ts +18 -2
- package/dist/plugins/jwt/index.mjs +17 -4
- package/dist/plugins/magic-link/index.cjs +4 -3
- package/dist/plugins/magic-link/index.mjs +4 -3
- package/dist/plugins/multi-session/index.cjs +4 -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 +4 -3
- package/dist/plugins/oauth-proxy/index.cjs +4 -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 +4 -3
- package/dist/plugins/oidc-provider/index.cjs +5 -4
- 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 +5 -4
- package/dist/plugins/one-tap/index.cjs +4 -3
- package/dist/plugins/one-tap/index.mjs +4 -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 +4 -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 +4 -3
- package/dist/plugins/organization/index.cjs +6 -5
- package/dist/plugins/organization/index.d.cts +2 -2
- package/dist/plugins/organization/index.d.mts +2 -2
- package/dist/plugins/organization/index.d.ts +2 -2
- package/dist/plugins/organization/index.mjs +6 -5
- package/dist/plugins/passkey/index.cjs +10 -9
- 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 +4 -3
- package/dist/plugins/phone-number/index.cjs +4 -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 +4 -3
- package/dist/plugins/siwe/index.cjs +4 -3
- package/dist/plugins/siwe/index.mjs +4 -3
- package/dist/plugins/sso/index.cjs +4 -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 +4 -3
- package/dist/plugins/two-factor/index.cjs +4 -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 +4 -3
- package/dist/plugins/username/index.cjs +4 -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 +4 -3
- package/dist/shared/{better-auth.FRU5fEva.d.ts → better-auth.0SyTY9U9.d.ts} +3 -3
- package/dist/shared/{better-auth.p-Uzc99w.d.mts → better-auth.6hiPn8Kd.d.mts} +1 -1
- package/dist/shared/{better-auth.Bm_lsK_X.cjs → better-auth.BCerfnoo.cjs} +1 -1
- package/dist/shared/{better-auth.AjWsFGR2.mjs → better-auth.BDBtglk1.mjs} +1 -1
- package/dist/shared/{better-auth.C90rYXah.d.mts → better-auth.BDEfedYa.d.mts} +1 -1
- package/dist/shared/{better-auth.i4FcAzeC.d.mts → better-auth.BS4wi0R-.d.mts} +3 -3
- package/dist/shared/better-auth.BUPPRXfK.mjs +7 -0
- package/dist/shared/{better-auth.CmL3zoTf.cjs → better-auth.BbDyeJdW.cjs} +8 -7
- package/dist/shared/{better-auth.CQh483f7.d.cts → better-auth.Bf5MnLaK.d.cts} +1 -1
- package/dist/shared/better-auth.Bg6iw3ig.cjs +9 -0
- package/dist/shared/{better-auth.DzBLnNed.cjs → better-auth.Bgs2SPcK.cjs} +4 -3
- package/dist/shared/{better-auth.DGpadpzN.mjs → better-auth.BtemoGGn.mjs} +2 -2
- package/dist/shared/{better-auth.Cg1dmr5y.cjs → better-auth.CCCUvENJ.cjs} +1 -1
- package/dist/shared/{better-auth.ttwhJPkY.cjs → better-auth.CFtZttAn.cjs} +2 -2
- package/dist/shared/{better-auth.BCw_RfvI.d.ts → better-auth.CLfudv58.d.ts} +1 -1
- package/dist/shared/{better-auth.C-iQKHit.cjs → better-auth.CRyLLXtn.cjs} +5 -4
- package/dist/shared/{better-auth.Dj5-80xo.mjs → better-auth.CVQe8izV.mjs} +3 -0
- package/dist/shared/{better-auth.CgHSubXi.cjs → better-auth.CVYnNkfw.cjs} +3 -0
- package/dist/shared/{better-auth.Bl4gu-Fk.d.ts → better-auth.C_0BlDB0.d.ts} +1 -1
- package/dist/shared/{better-auth.DJk1sjAs.d.cts → better-auth.CkEkCniR.d.cts} +3 -3
- package/dist/shared/{better-auth.DbKDE2me.d.cts → better-auth.CkqBZvXM.d.cts} +1 -1
- package/dist/shared/{better-auth.DrlGxSnx.cjs → better-auth.Co0UDY4N.cjs} +7 -6
- package/dist/shared/{better-auth.rlJsdl11.mjs → better-auth.CwsxfHfN.mjs} +5 -4
- package/dist/shared/{better-auth.B0iWTKws.cjs → better-auth.D4eTSyUO.cjs} +4 -4
- package/dist/shared/{better-auth.B6RdGJ7s.d.mts → better-auth.D85s0t2j.d.mts} +1 -1
- package/dist/shared/{better-auth.DBGfIDnh.mjs → better-auth.DH3YjMQH.mjs} +1 -7
- package/dist/shared/{better-auth.DRCA5tuq.mjs → better-auth.DIfzDoPN.mjs} +1 -1
- package/dist/shared/{better-auth.BbL1R1Sz.mjs → better-auth.DMus0Wrm.mjs} +3 -2
- package/dist/shared/{better-auth.C3xCP8gd.mjs → better-auth.DX362szo.mjs} +2 -2
- package/dist/shared/{better-auth.DOu-HY-s.cjs → better-auth.Db2g2HxM.cjs} +1 -1
- package/dist/shared/{better-auth.D3mtHEZg.cjs → better-auth.DbrEw0kN.cjs} +7 -1
- package/dist/shared/{better-auth.mZH9hh8Y.mjs → better-auth.DiE4yQHn.mjs} +3 -3
- package/dist/shared/{better-auth.Cz19aYmv.d.ts → better-auth.DnUZno9_.d.ts} +1 -1
- package/dist/shared/{better-auth.Bk0IzLeq.cjs → better-auth.DrKKZc3v.cjs} +17 -12
- package/dist/shared/{better-auth.BRIhBAUU.mjs → better-auth.DrQaSEU_.mjs} +2 -2
- package/dist/shared/{better-auth.BBL-iB6G.cjs → better-auth.DrzbcRgZ.cjs} +3 -3
- package/dist/shared/{better-auth.CXhVNgXP.cjs → better-auth.GpOOav9x.cjs} +0 -7
- package/dist/shared/{better-auth.gn8iAL5-.mjs → better-auth.HYhkNVyD.mjs} +1 -1
- package/dist/shared/{better-auth.C8_73KID.d.mts → better-auth.Je5iPAGQ.d.mts} +1 -1
- package/dist/shared/{better-auth.B-6xBTSt.mjs → better-auth.MrJBhiF6.mjs} +13 -8
- package/dist/shared/{better-auth.AEdHzBYL.cjs → better-auth.NCWQv_ti.cjs} +2 -2
- package/dist/shared/{better-auth.BX7dnGA9.mjs → better-auth.PFi3XfiT.mjs} +3 -2
- package/dist/shared/{better-auth.tB5eU6EY.mjs → better-auth.PgM8qMHr.mjs} +7 -1
- package/dist/shared/{better-auth.BVaTxNzZ.cjs → better-auth.WTr4EDT7.cjs} +2 -2
- package/dist/shared/{better-auth.B0fPvhjN.d.cts → better-auth.X6YzBCDT.d.cts} +1 -1
- package/dist/shared/{better-auth.B90obJO5.d.cts → better-auth.YmpB7UaD.d.cts} +1 -1
- package/dist/shared/{better-auth.ifLlvMvk.d.ts → better-auth._D1fz1Yx.d.ts} +1 -1
- package/dist/shared/{better-auth.gBl3F_xa.mjs → better-auth.gABN3TsS.mjs} +3 -2
- package/dist/shared/{better-auth.BfcAnEQf.mjs → better-auth.p1GhhfhV.mjs} +4 -4
- package/dist/social-providers/index.cjs +4 -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 +4 -3
- package/dist/test-utils/index.cjs +13 -12
- 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 +13 -12
- 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
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
const drizzleOrm = require('drizzle-orm');
|
|
4
4
|
const index$1 = require('../../shared/better-auth.ANpbi45u.cjs');
|
|
5
|
-
const index = require('../../shared/better-auth.
|
|
6
|
-
require('../../shared/better-auth.
|
|
5
|
+
const index = require('../../shared/better-auth.Bgs2SPcK.cjs');
|
|
6
|
+
require('../../shared/better-auth.DbrEw0kN.cjs');
|
|
7
|
+
require('../../shared/better-auth.GpOOav9x.cjs');
|
|
7
8
|
require('../../shared/better-auth.BEphVDyL.cjs');
|
|
8
|
-
require('../../shared/better-auth.
|
|
9
|
+
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
9
10
|
require('@better-auth/utils/random');
|
|
10
11
|
require('zod/v4');
|
|
11
12
|
require('better-call');
|
|
@@ -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.CkEkCniR.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.BDR52Rf2.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.CkqBZvXM.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.BS4wi0R-.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.BDR52Rf2.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.Je5iPAGQ.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.0SyTY9U9.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.BDR52Rf2.js';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DnUZno9_.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { count, desc, asc, sql, eq, inArray, like, lt, lte, ne, gt, gte, and, or } from 'drizzle-orm';
|
|
2
2
|
import { B as BetterAuthError } from '../../shared/better-auth.DdzSJf-n.mjs';
|
|
3
|
-
import { c as createAdapter } from '../../shared/better-auth.
|
|
4
|
-
import '../../shared/better-auth.
|
|
3
|
+
import { c as createAdapter } from '../../shared/better-auth.gABN3TsS.mjs';
|
|
4
|
+
import '../../shared/better-auth.PgM8qMHr.mjs';
|
|
5
|
+
import '../../shared/better-auth.DH3YjMQH.mjs';
|
|
5
6
|
import '../../shared/better-auth.DORkW_Ge.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
7
|
+
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
7
8
|
import '@better-auth/utils/random';
|
|
8
9
|
import 'zod/v4';
|
|
9
10
|
import 'better-call';
|
package/dist/adapters/index.cjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('../shared/better-auth.
|
|
4
|
-
require('../shared/better-auth.
|
|
3
|
+
const index = require('../shared/better-auth.Bgs2SPcK.cjs');
|
|
4
|
+
require('../shared/better-auth.DbrEw0kN.cjs');
|
|
5
|
+
require('../shared/better-auth.GpOOav9x.cjs');
|
|
5
6
|
require('../shared/better-auth.BEphVDyL.cjs');
|
|
6
|
-
require('../shared/better-auth.
|
|
7
|
+
require('../shared/better-auth.Bg6iw3ig.cjs');
|
|
7
8
|
require('@better-auth/utils/random');
|
|
8
9
|
require('zod/v4');
|
|
9
10
|
require('better-call');
|
|
@@ -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.CkEkCniR.cjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.CkEkCniR.cjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../shared/better-auth.BDR52Rf2.cjs';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.CkqBZvXM.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.BS4wi0R-.mjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.BS4wi0R-.mjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../shared/better-auth.BDR52Rf2.mjs';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.Je5iPAGQ.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.0SyTY9U9.js';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.0SyTY9U9.js';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../shared/better-auth.BDR52Rf2.js';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.DnUZno9_.js';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
package/dist/adapters/index.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { c as createAdapter } from '../shared/better-auth.
|
|
2
|
-
import '../shared/better-auth.
|
|
1
|
+
export { c as createAdapter } from '../shared/better-auth.gABN3TsS.mjs';
|
|
2
|
+
import '../shared/better-auth.PgM8qMHr.mjs';
|
|
3
|
+
import '../shared/better-auth.DH3YjMQH.mjs';
|
|
3
4
|
import '../shared/better-auth.DORkW_Ge.mjs';
|
|
4
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.BUPPRXfK.mjs';
|
|
5
6
|
import '@better-auth/utils/random';
|
|
6
7
|
import 'zod/v4';
|
|
7
8
|
import 'better-call';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const kyselyAdapter = require('../../shared/better-auth.
|
|
3
|
+
const kyselyAdapter = require('../../shared/better-auth.BCerfnoo.cjs');
|
|
4
4
|
require('kysely');
|
|
5
|
-
require('../../shared/better-auth.
|
|
6
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.Bgs2SPcK.cjs');
|
|
6
|
+
require('../../shared/better-auth.DbrEw0kN.cjs');
|
|
7
|
+
require('../../shared/better-auth.GpOOav9x.cjs');
|
|
7
8
|
require('../../shared/better-auth.BEphVDyL.cjs');
|
|
8
|
-
require('../../shared/better-auth.
|
|
9
|
+
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
9
10
|
require('@better-auth/utils/random');
|
|
10
11
|
require('zod/v4');
|
|
11
12
|
require('better-call');
|
|
@@ -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.CkEkCniR.cjs';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.BDR52Rf2.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.CkqBZvXM.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.BS4wi0R-.mjs';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.BDR52Rf2.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.Je5iPAGQ.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.0SyTY9U9.js';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.BDR52Rf2.js';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DnUZno9_.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { c as createKyselyAdapter, g as getKyselyDatabaseType, k as kyselyAdapter } from '../../shared/better-auth.
|
|
1
|
+
export { c as createKyselyAdapter, g as getKyselyDatabaseType, k as kyselyAdapter } from '../../shared/better-auth.HYhkNVyD.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
|
-
import '../../shared/better-auth.
|
|
4
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.gABN3TsS.mjs';
|
|
4
|
+
import '../../shared/better-auth.PgM8qMHr.mjs';
|
|
5
|
+
import '../../shared/better-auth.DH3YjMQH.mjs';
|
|
5
6
|
import '../../shared/better-auth.DORkW_Ge.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
7
|
+
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
7
8
|
import '@better-auth/utils/random';
|
|
8
9
|
import 'zod/v4';
|
|
9
10
|
import 'better-call';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const memoryAdapter = require('../../shared/better-auth.
|
|
3
|
+
const memoryAdapter = require('../../shared/better-auth.CFtZttAn.cjs');
|
|
4
4
|
require('@better-auth/utils/random');
|
|
5
5
|
require('zod/v4');
|
|
6
6
|
require('better-call');
|
|
@@ -15,10 +15,11 @@ require('@better-auth/utils');
|
|
|
15
15
|
require('@better-auth/utils/hex');
|
|
16
16
|
require('@noble/hashes/utils');
|
|
17
17
|
require('../../shared/better-auth.CYeOI8C-.cjs');
|
|
18
|
-
require('../../shared/better-auth.
|
|
19
|
-
require('../../shared/better-auth.
|
|
20
|
-
require('../../shared/better-auth.
|
|
18
|
+
require('../../shared/better-auth.GpOOav9x.cjs');
|
|
19
|
+
require('../../shared/better-auth.Bgs2SPcK.cjs');
|
|
20
|
+
require('../../shared/better-auth.DbrEw0kN.cjs');
|
|
21
21
|
require('../../shared/better-auth.BEphVDyL.cjs');
|
|
22
|
+
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
|
|
@@ -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.CkEkCniR.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.BDR52Rf2.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.CkqBZvXM.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.BS4wi0R-.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.BDR52Rf2.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.Je5iPAGQ.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.0SyTY9U9.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.BDR52Rf2.js';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DnUZno9_.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { m as memoryAdapter } from '../../shared/better-auth.
|
|
1
|
+
export { m as memoryAdapter } from '../../shared/better-auth.BtemoGGn.mjs';
|
|
2
2
|
import '@better-auth/utils/random';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import 'better-call';
|
|
@@ -13,7 +13,8 @@ import '@better-auth/utils';
|
|
|
13
13
|
import '@better-auth/utils/hex';
|
|
14
14
|
import '@noble/hashes/utils';
|
|
15
15
|
import '../../shared/better-auth.B4Qoxdgc.mjs';
|
|
16
|
-
import '../../shared/better-auth.
|
|
17
|
-
import '../../shared/better-auth.
|
|
18
|
-
import '../../shared/better-auth.
|
|
16
|
+
import '../../shared/better-auth.DH3YjMQH.mjs';
|
|
17
|
+
import '../../shared/better-auth.gABN3TsS.mjs';
|
|
18
|
+
import '../../shared/better-auth.PgM8qMHr.mjs';
|
|
19
19
|
import '../../shared/better-auth.DORkW_Ge.mjs';
|
|
20
|
+
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const mongodbAdapter = require('../../shared/better-auth.
|
|
3
|
+
const mongodbAdapter = require('../../shared/better-auth.CCCUvENJ.cjs');
|
|
4
4
|
require('mongodb');
|
|
5
|
-
require('../../shared/better-auth.
|
|
6
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.Bgs2SPcK.cjs');
|
|
6
|
+
require('../../shared/better-auth.DbrEw0kN.cjs');
|
|
7
|
+
require('../../shared/better-auth.GpOOav9x.cjs');
|
|
7
8
|
require('../../shared/better-auth.BEphVDyL.cjs');
|
|
8
|
-
require('../../shared/better-auth.
|
|
9
|
+
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
9
10
|
require('@better-auth/utils/random');
|
|
10
11
|
require('zod/v4');
|
|
11
12
|
require('better-call');
|
|
@@ -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.CkEkCniR.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.BDR52Rf2.cjs';
|
|
7
|
-
import '../../shared/better-auth.
|
|
7
|
+
import '../../shared/better-auth.CkqBZvXM.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.BS4wi0R-.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.BDR52Rf2.mjs';
|
|
7
|
-
import '../../shared/better-auth.
|
|
7
|
+
import '../../shared/better-auth.Je5iPAGQ.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.0SyTY9U9.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.BDR52Rf2.js';
|
|
7
|
-
import '../../shared/better-auth.
|
|
7
|
+
import '../../shared/better-auth.DnUZno9_.js';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { m as mongodbAdapter } from '../../shared/better-auth.
|
|
1
|
+
export { m as mongodbAdapter } from '../../shared/better-auth.DIfzDoPN.mjs';
|
|
2
2
|
import 'mongodb';
|
|
3
|
-
import '../../shared/better-auth.
|
|
4
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.gABN3TsS.mjs';
|
|
4
|
+
import '../../shared/better-auth.PgM8qMHr.mjs';
|
|
5
|
+
import '../../shared/better-auth.DH3YjMQH.mjs';
|
|
5
6
|
import '../../shared/better-auth.DORkW_Ge.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
7
|
+
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
7
8
|
import '@better-auth/utils/random';
|
|
8
9
|
import 'zod/v4';
|
|
9
10
|
import 'better-call';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index$1 = require('../../shared/better-auth.ANpbi45u.cjs');
|
|
4
|
-
const index = require('../../shared/better-auth.
|
|
5
|
-
require('../../shared/better-auth.
|
|
4
|
+
const index = require('../../shared/better-auth.Bgs2SPcK.cjs');
|
|
5
|
+
require('../../shared/better-auth.DbrEw0kN.cjs');
|
|
6
|
+
require('../../shared/better-auth.GpOOav9x.cjs');
|
|
6
7
|
require('../../shared/better-auth.BEphVDyL.cjs');
|
|
7
|
-
require('../../shared/better-auth.
|
|
8
|
+
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
8
9
|
require('@better-auth/utils/random');
|
|
9
10
|
require('zod/v4');
|
|
10
11
|
require('better-call');
|
|
@@ -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.CkEkCniR.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.BDR52Rf2.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.CkqBZvXM.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.BS4wi0R-.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.BDR52Rf2.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.Je5iPAGQ.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.0SyTY9U9.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.BDR52Rf2.js';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DnUZno9_.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { B as BetterAuthError } from '../../shared/better-auth.DdzSJf-n.mjs';
|
|
2
|
-
import { c as createAdapter } from '../../shared/better-auth.
|
|
3
|
-
import '../../shared/better-auth.
|
|
2
|
+
import { c as createAdapter } from '../../shared/better-auth.gABN3TsS.mjs';
|
|
3
|
+
import '../../shared/better-auth.PgM8qMHr.mjs';
|
|
4
|
+
import '../../shared/better-auth.DH3YjMQH.mjs';
|
|
4
5
|
import '../../shared/better-auth.DORkW_Ge.mjs';
|
|
5
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
6
7
|
import '@better-auth/utils/random';
|
|
7
8
|
import 'zod/v4';
|
|
8
9
|
import 'better-call';
|
package/dist/adapters/test.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const vitest = require('vitest');
|
|
4
|
-
const
|
|
4
|
+
const id = require('../shared/better-auth.Bg6iw3ig.cjs');
|
|
5
5
|
require('zod/v4');
|
|
6
6
|
require('better-call');
|
|
7
7
|
require('@better-auth/utils/hash');
|
|
@@ -15,6 +15,7 @@ require('@better-auth/utils');
|
|
|
15
15
|
require('@better-auth/utils/hex');
|
|
16
16
|
require('@noble/hashes/utils');
|
|
17
17
|
require('../shared/better-auth.CYeOI8C-.cjs');
|
|
18
|
+
require('../shared/better-auth.GpOOav9x.cjs');
|
|
18
19
|
require('@better-auth/utils/random');
|
|
19
20
|
|
|
20
21
|
const adapterTests = {
|
|
@@ -336,7 +337,7 @@ async function adapterTest({ getAdapter, disableTests: disabledTests, testPrefix
|
|
|
336
337
|
const session = await (await adapter()).create({
|
|
337
338
|
model: "session",
|
|
338
339
|
data: {
|
|
339
|
-
token:
|
|
340
|
+
token: id.generateId(),
|
|
340
341
|
createdAt: /* @__PURE__ */ new Date(),
|
|
341
342
|
updatedAt: /* @__PURE__ */ new Date(),
|
|
342
343
|
userId: user2.id,
|
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.CkEkCniR.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.BDR52Rf2.cjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.CkqBZvXM.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
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.BS4wi0R-.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.BDR52Rf2.mjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.Je5iPAGQ.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
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.0SyTY9U9.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.BDR52Rf2.js';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.DnUZno9_.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
package/dist/adapters/test.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { describe, test, expect, beforeAll } from 'vitest';
|
|
2
|
-
import { g as generateId } from '../shared/better-auth.
|
|
2
|
+
import { g as generateId } from '../shared/better-auth.BUPPRXfK.mjs';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '@better-auth/utils/hash';
|
|
@@ -13,6 +13,7 @@ import '@better-auth/utils';
|
|
|
13
13
|
import '@better-auth/utils/hex';
|
|
14
14
|
import '@noble/hashes/utils';
|
|
15
15
|
import '../shared/better-auth.B4Qoxdgc.mjs';
|
|
16
|
+
import '../shared/better-auth.DH3YjMQH.mjs';
|
|
16
17
|
import '@better-auth/utils/random';
|
|
17
18
|
|
|
18
19
|
const adapterTests = {
|
package/dist/api/index.cjs
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const betterCall = require('better-call');
|
|
4
|
-
const socialProviders_index = require('../shared/better-auth.
|
|
4
|
+
const socialProviders_index = require('../shared/better-auth.CRyLLXtn.cjs');
|
|
5
5
|
const z = require('zod/v4');
|
|
6
6
|
const cookies_index = require('../cookies/index.cjs');
|
|
7
7
|
const schema = require('../shared/better-auth.BIMq4RPW.cjs');
|
|
8
8
|
const env = require('../shared/better-auth.B6fIklBU.cjs');
|
|
9
|
-
const logger = require('../shared/better-auth.
|
|
9
|
+
const logger = require('../shared/better-auth.GpOOav9x.cjs');
|
|
10
|
+
const json = require('../shared/better-auth.DbrEw0kN.cjs');
|
|
10
11
|
const getRequestIp = require('../shared/better-auth.Cxlqz5AU.cjs');
|
|
11
12
|
require('../shared/better-auth.C1hdVENX.cjs');
|
|
12
13
|
require('@better-auth/utils/hash');
|
|
@@ -25,10 +26,10 @@ require('@better-auth/utils/random');
|
|
|
25
26
|
require('@better-fetch/fetch');
|
|
26
27
|
require('../shared/better-auth.DRmln2Nr.cjs');
|
|
27
28
|
require('../shared/better-auth.ANpbi45u.cjs');
|
|
28
|
-
require('../shared/better-auth.D3mtHEZg.cjs');
|
|
29
29
|
require('@better-auth/utils/hmac');
|
|
30
30
|
require('@better-auth/utils/binary');
|
|
31
31
|
require('jose/errors');
|
|
32
|
+
require('../shared/better-auth.Bg6iw3ig.cjs');
|
|
32
33
|
require('defu');
|
|
33
34
|
|
|
34
35
|
function _interopNamespaceCompat(e) {
|
|
@@ -392,8 +393,8 @@ function getRateLimitStorage(ctx) {
|
|
|
392
393
|
if (ctx.rateLimit.storage === "secondary-storage") {
|
|
393
394
|
return {
|
|
394
395
|
get: async (key) => {
|
|
395
|
-
const
|
|
396
|
-
return
|
|
396
|
+
const data = await ctx.options.secondaryStorage?.get(key);
|
|
397
|
+
return data ? json.safeJSONParse(data) : void 0;
|
|
397
398
|
},
|
|
398
399
|
set: async (key, value) => {
|
|
399
400
|
await ctx.options.secondaryStorage?.set?.(key, JSON.stringify(value));
|
package/dist/api/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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.CkqBZvXM.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.CkEkCniR.cjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.BDR52Rf2.cjs';
|
|
5
5
|
import 'zod/v4/core';
|
package/dist/api/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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.Je5iPAGQ.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.BS4wi0R-.mjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.BDR52Rf2.mjs';
|
|
5
5
|
import 'zod/v4/core';
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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.DnUZno9_.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.0SyTY9U9.js';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.BDR52Rf2.js';
|
|
5
5
|
import 'zod/v4/core';
|