better-auth 1.3.25 → 1.3.27
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 +1 -1
- package/dist/adapters/drizzle-adapter/index.d.cts +8 -4
- package/dist/adapters/drizzle-adapter/index.d.mts +8 -4
- package/dist/adapters/drizzle-adapter/index.d.ts +8 -4
- package/dist/adapters/drizzle-adapter/index.mjs +1 -1
- package/dist/adapters/index.cjs +12 -1
- package/dist/adapters/index.d.cts +8 -4
- package/dist/adapters/index.d.mts +8 -4
- package/dist/adapters/index.d.ts +8 -4
- package/dist/adapters/index.mjs +2 -1
- package/dist/adapters/kysely-adapter/index.cjs +2 -2
- package/dist/adapters/kysely-adapter/index.d.cts +8 -4
- package/dist/adapters/kysely-adapter/index.d.mts +8 -4
- package/dist/adapters/kysely-adapter/index.d.ts +8 -4
- package/dist/adapters/kysely-adapter/index.mjs +2 -2
- package/dist/adapters/memory-adapter/index.cjs +2 -2
- package/dist/adapters/memory-adapter/index.d.cts +8 -4
- package/dist/adapters/memory-adapter/index.d.mts +8 -4
- package/dist/adapters/memory-adapter/index.d.ts +8 -4
- package/dist/adapters/memory-adapter/index.mjs +2 -2
- package/dist/adapters/mongodb-adapter/index.cjs +2 -2
- package/dist/adapters/mongodb-adapter/index.d.cts +8 -4
- package/dist/adapters/mongodb-adapter/index.d.mts +8 -4
- package/dist/adapters/mongodb-adapter/index.d.ts +8 -4
- package/dist/adapters/mongodb-adapter/index.mjs +2 -2
- package/dist/adapters/prisma-adapter/index.cjs +1 -1
- package/dist/adapters/prisma-adapter/index.d.cts +8 -4
- package/dist/adapters/prisma-adapter/index.d.mts +8 -4
- package/dist/adapters/prisma-adapter/index.d.ts +8 -4
- package/dist/adapters/prisma-adapter/index.mjs +1 -1
- package/dist/adapters/test.d.cts +7 -3
- package/dist/adapters/test.d.mts +7 -3
- package/dist/adapters/test.d.ts +7 -3
- package/dist/api/index.cjs +5 -5
- package/dist/api/index.d.cts +6 -2
- package/dist/api/index.d.mts +6 -2
- package/dist/api/index.d.ts +6 -2
- package/dist/api/index.mjs +7 -7
- package/dist/client/index.cjs +3 -3
- package/dist/client/index.d.cts +9 -5
- package/dist/client/index.d.mts +9 -5
- package/dist/client/index.d.ts +9 -5
- package/dist/client/index.mjs +3 -3
- package/dist/client/lynx/index.cjs +2 -2
- package/dist/client/lynx/index.d.cts +9 -5
- package/dist/client/lynx/index.d.mts +9 -5
- package/dist/client/lynx/index.d.ts +9 -5
- package/dist/client/lynx/index.mjs +2 -2
- package/dist/client/plugins/index.d.cts +10 -6
- package/dist/client/plugins/index.d.mts +10 -6
- package/dist/client/plugins/index.d.ts +10 -6
- package/dist/client/react/index.cjs +2 -2
- package/dist/client/react/index.d.cts +9 -5
- package/dist/client/react/index.d.mts +9 -5
- package/dist/client/react/index.d.ts +9 -5
- package/dist/client/react/index.mjs +2 -2
- package/dist/client/solid/index.cjs +2 -2
- package/dist/client/solid/index.d.cts +15 -11
- package/dist/client/solid/index.d.mts +15 -11
- package/dist/client/solid/index.d.ts +15 -11
- package/dist/client/solid/index.mjs +2 -2
- package/dist/client/svelte/index.cjs +2 -2
- package/dist/client/svelte/index.d.cts +9 -5
- package/dist/client/svelte/index.d.mts +9 -5
- package/dist/client/svelte/index.d.ts +9 -5
- package/dist/client/svelte/index.mjs +2 -2
- package/dist/client/vue/index.cjs +2 -2
- package/dist/client/vue/index.d.cts +18 -14
- package/dist/client/vue/index.d.mts +18 -14
- package/dist/client/vue/index.d.ts +18 -14
- package/dist/client/vue/index.mjs +2 -2
- package/dist/cookies/index.cjs +2 -2
- package/dist/cookies/index.d.cts +8 -4
- package/dist/cookies/index.d.mts +8 -4
- package/dist/cookies/index.d.ts +8 -4
- package/dist/cookies/index.mjs +2 -2
- package/dist/db/index.cjs +5 -10
- package/dist/db/index.d.cts +83 -5
- package/dist/db/index.d.mts +83 -5
- package/dist/db/index.d.ts +83 -5
- package/dist/db/index.mjs +5 -5
- package/dist/index.cjs +11 -12
- package/dist/index.d.cts +14 -14
- package/dist/index.d.mts +14 -14
- package/dist/index.d.ts +14 -14
- package/dist/index.mjs +10 -11
- package/dist/integrations/next-js.cjs +6 -6
- package/dist/integrations/next-js.d.cts +7 -3
- package/dist/integrations/next-js.d.mts +7 -3
- package/dist/integrations/next-js.d.ts +7 -3
- package/dist/integrations/next-js.mjs +6 -6
- package/dist/integrations/node.d.cts +7 -3
- package/dist/integrations/node.d.mts +7 -3
- package/dist/integrations/node.d.ts +7 -3
- package/dist/integrations/react-start.cjs +6 -6
- package/dist/integrations/react-start.d.cts +7 -3
- package/dist/integrations/react-start.d.mts +7 -3
- package/dist/integrations/react-start.d.ts +7 -3
- package/dist/integrations/react-start.mjs +6 -6
- package/dist/integrations/svelte-kit.cjs +4 -5
- package/dist/integrations/svelte-kit.d.cts +7 -3
- package/dist/integrations/svelte-kit.d.mts +7 -3
- package/dist/integrations/svelte-kit.d.ts +7 -3
- package/dist/integrations/svelte-kit.mjs +4 -5
- package/dist/oauth2/index.cjs +4 -5
- package/dist/oauth2/index.d.cts +10 -6
- package/dist/oauth2/index.d.mts +10 -6
- package/dist/oauth2/index.d.ts +10 -6
- package/dist/oauth2/index.mjs +4 -5
- package/dist/plugins/admin/index.cjs +6 -6
- package/dist/plugins/admin/index.d.cts +10 -5
- package/dist/plugins/admin/index.d.mts +10 -5
- package/dist/plugins/admin/index.d.ts +10 -5
- package/dist/plugins/admin/index.mjs +6 -6
- package/dist/plugins/anonymous/index.cjs +5 -5
- package/dist/plugins/anonymous/index.d.cts +8 -4
- package/dist/plugins/anonymous/index.d.mts +8 -4
- package/dist/plugins/anonymous/index.d.ts +8 -4
- package/dist/plugins/anonymous/index.mjs +5 -5
- package/dist/plugins/bearer/index.cjs +4 -5
- package/dist/plugins/bearer/index.d.cts +7 -3
- package/dist/plugins/bearer/index.d.mts +7 -3
- package/dist/plugins/bearer/index.d.ts +7 -3
- package/dist/plugins/bearer/index.mjs +4 -5
- package/dist/plugins/captcha/index.d.cts +7 -3
- package/dist/plugins/captcha/index.d.mts +7 -3
- package/dist/plugins/captcha/index.d.ts +7 -3
- package/dist/plugins/custom-session/index.cjs +4 -5
- package/dist/plugins/custom-session/index.d.cts +6 -2
- package/dist/plugins/custom-session/index.d.mts +6 -2
- package/dist/plugins/custom-session/index.d.ts +6 -2
- package/dist/plugins/custom-session/index.mjs +4 -5
- package/dist/plugins/device-authorization/index.cjs +4 -4
- package/dist/plugins/device-authorization/index.d.cts +6 -2
- package/dist/plugins/device-authorization/index.d.mts +6 -2
- package/dist/plugins/device-authorization/index.d.ts +6 -2
- package/dist/plugins/device-authorization/index.mjs +4 -4
- package/dist/plugins/email-otp/index.cjs +4 -5
- package/dist/plugins/email-otp/index.d.cts +8 -3
- package/dist/plugins/email-otp/index.d.mts +8 -3
- package/dist/plugins/email-otp/index.d.ts +8 -3
- package/dist/plugins/email-otp/index.mjs +4 -5
- package/dist/plugins/generic-oauth/index.cjs +4 -5
- package/dist/plugins/generic-oauth/index.d.cts +7 -3
- package/dist/plugins/generic-oauth/index.d.mts +7 -3
- package/dist/plugins/generic-oauth/index.d.ts +7 -3
- package/dist/plugins/generic-oauth/index.mjs +4 -5
- package/dist/plugins/haveibeenpwned/index.cjs +4 -5
- package/dist/plugins/haveibeenpwned/index.d.cts +7 -3
- package/dist/plugins/haveibeenpwned/index.d.mts +7 -3
- package/dist/plugins/haveibeenpwned/index.d.ts +7 -3
- package/dist/plugins/haveibeenpwned/index.mjs +4 -5
- package/dist/plugins/index.cjs +10 -10
- package/dist/plugins/index.d.cts +11 -7
- package/dist/plugins/index.d.mts +11 -7
- package/dist/plugins/index.d.ts +11 -7
- package/dist/plugins/index.mjs +12 -12
- package/dist/plugins/jwt/index.cjs +5 -5
- package/dist/plugins/jwt/index.d.cts +7 -3
- package/dist/plugins/jwt/index.d.mts +7 -3
- package/dist/plugins/jwt/index.d.ts +7 -3
- package/dist/plugins/jwt/index.mjs +5 -5
- package/dist/plugins/magic-link/index.cjs +4 -5
- package/dist/plugins/magic-link/index.mjs +4 -5
- package/dist/plugins/multi-session/index.cjs +4 -5
- package/dist/plugins/multi-session/index.d.cts +15 -10
- package/dist/plugins/multi-session/index.d.mts +15 -10
- package/dist/plugins/multi-session/index.d.ts +15 -10
- package/dist/plugins/multi-session/index.mjs +4 -5
- package/dist/plugins/oauth-proxy/index.cjs +4 -5
- package/dist/plugins/oauth-proxy/index.d.cts +6 -2
- package/dist/plugins/oauth-proxy/index.d.mts +6 -2
- package/dist/plugins/oauth-proxy/index.d.ts +6 -2
- package/dist/plugins/oauth-proxy/index.mjs +4 -5
- package/dist/plugins/oidc-provider/index.cjs +6 -6
- package/dist/plugins/oidc-provider/index.d.cts +11 -7
- package/dist/plugins/oidc-provider/index.d.mts +11 -7
- package/dist/plugins/oidc-provider/index.d.ts +11 -7
- package/dist/plugins/oidc-provider/index.mjs +6 -6
- package/dist/plugins/one-tap/index.cjs +4 -5
- package/dist/plugins/one-tap/index.mjs +4 -5
- package/dist/plugins/one-time-token/index.cjs +7 -7
- package/dist/plugins/one-time-token/index.d.cts +7 -3
- package/dist/plugins/one-time-token/index.d.mts +7 -3
- package/dist/plugins/one-time-token/index.d.ts +7 -3
- package/dist/plugins/one-time-token/index.mjs +7 -7
- package/dist/plugins/open-api/index.cjs +6 -6
- package/dist/plugins/open-api/index.d.cts +7 -3
- package/dist/plugins/open-api/index.d.mts +7 -3
- package/dist/plugins/open-api/index.d.ts +7 -3
- package/dist/plugins/open-api/index.mjs +6 -6
- package/dist/plugins/organization/index.cjs +6 -7
- package/dist/plugins/organization/index.d.cts +475 -469
- package/dist/plugins/organization/index.d.mts +475 -469
- package/dist/plugins/organization/index.d.ts +475 -469
- package/dist/plugins/organization/index.mjs +6 -7
- package/dist/plugins/passkey/index.cjs +5 -5
- package/dist/plugins/passkey/index.d.cts +6 -2
- package/dist/plugins/passkey/index.d.mts +6 -2
- package/dist/plugins/passkey/index.d.ts +6 -2
- package/dist/plugins/passkey/index.mjs +5 -5
- package/dist/plugins/phone-number/index.cjs +5 -5
- package/dist/plugins/phone-number/index.d.cts +7 -3
- package/dist/plugins/phone-number/index.d.mts +7 -3
- package/dist/plugins/phone-number/index.d.ts +7 -3
- package/dist/plugins/phone-number/index.mjs +5 -5
- package/dist/plugins/siwe/index.cjs +5 -5
- package/dist/plugins/siwe/index.d.cts +6 -2
- package/dist/plugins/siwe/index.d.mts +6 -2
- package/dist/plugins/siwe/index.d.ts +6 -2
- package/dist/plugins/siwe/index.mjs +5 -5
- package/dist/plugins/sso/index.cjs +4 -5
- package/dist/plugins/sso/index.d.cts +7 -10
- package/dist/plugins/sso/index.d.mts +7 -10
- package/dist/plugins/sso/index.d.ts +7 -10
- package/dist/plugins/sso/index.mjs +4 -5
- package/dist/plugins/two-factor/index.cjs +5 -5
- package/dist/plugins/two-factor/index.d.cts +7 -3
- package/dist/plugins/two-factor/index.d.mts +7 -3
- package/dist/plugins/two-factor/index.d.ts +7 -3
- package/dist/plugins/two-factor/index.mjs +5 -5
- package/dist/plugins/username/index.cjs +7 -7
- package/dist/plugins/username/index.d.cts +11 -7
- package/dist/plugins/username/index.d.mts +11 -7
- package/dist/plugins/username/index.d.ts +11 -7
- package/dist/plugins/username/index.mjs +7 -7
- package/dist/shared/{better-auth.CMiEK0ci.d.cts → better-auth.2y6wvIMH.d.cts} +2 -1
- package/dist/shared/{better-auth.CNt9JvCi.d.cts → better-auth.3yVESL3y.d.cts} +6 -4
- package/dist/shared/{better-auth.B3DNJnq5.cjs → better-auth.9o1iKU2q.cjs} +8 -0
- package/dist/shared/{better-auth.CuYxrUA5.mjs → better-auth.B4NXoE-M.mjs} +4 -4
- package/dist/shared/{better-auth.CXJ1sMcZ.d.ts → better-auth.B955zZIT.d.ts} +16 -281
- package/dist/shared/{better-auth.BJYrr86k.mjs → better-auth.BAk2ZmIN.mjs} +1 -1
- package/dist/shared/{better-auth.C-LJ3vsS.mjs → better-auth.BDO3prN3.mjs} +4 -4
- package/dist/shared/{better-auth.Bk_4yDU4.d.ts → better-auth.BIXUmcJZ.d.ts} +2 -1
- package/dist/shared/{better-auth.BZghgUMh.mjs → better-auth.BLnvK9hk.mjs} +1 -49
- package/dist/shared/{better-auth.Bu93hUoT.cjs → better-auth.BNK_KF5E.cjs} +0 -67
- package/dist/shared/{better-auth.DAx40NmY.cjs → better-auth.BO2ijETW.cjs} +3 -3
- package/dist/shared/{better-auth.l_Ru3SGW.cjs → better-auth.BP9j4LJZ.cjs} +3 -4
- package/dist/shared/{better-auth.BAQSo96z.mjs → better-auth.BRFtaovt.mjs} +7 -2
- package/dist/shared/{better-auth.DWqB3pRb.cjs → better-auth.BTbJyJY8.cjs} +13 -8
- package/dist/shared/{better-auth.CHSXbSYZ.cjs → better-auth.BZNpjLHI.cjs} +8 -9
- package/dist/shared/{better-auth.CZNeES-1.cjs → better-auth.BhYGuioe.cjs} +1 -1
- package/dist/shared/better-auth.Bo4kHJI7.d.cts +181 -0
- package/dist/shared/better-auth.Bon6lnRk.cjs +819 -0
- package/dist/shared/{better-auth.B04ziJkQ.cjs → better-auth.BqRh2LMv.cjs} +4 -4
- package/dist/shared/better-auth.BvSdjdDG.d.ts +181 -0
- package/dist/shared/{better-auth.BrEH5bcK.mjs → better-auth.BvvYEWCP.mjs} +8 -0
- package/dist/shared/{better-auth.CpZXDeOc.mjs → better-auth.C3-_8m-g.mjs} +3 -4
- package/dist/shared/{better-auth.D_jpufHc.mjs → better-auth.C5vDERgF.mjs} +1 -1
- package/dist/shared/{better-auth.B_KiGDcg.cjs → better-auth.C8KgRdGp.cjs} +4 -4
- package/dist/shared/{better-auth.anw-08Z3.cjs → better-auth.C8pprhH9.cjs} +1 -1
- package/dist/shared/{better-auth.BCLoxHEa.cjs → better-auth.CJOt0JsS.cjs} +1 -1
- package/dist/shared/{better-auth.AiorGAx9.mjs → better-auth.CJoIWSTC.mjs} +2 -3
- package/dist/shared/{better-auth.dk97jX40.d.mts → better-auth.CKxGlpAq.d.cts} +1 -1
- package/dist/shared/{better-auth.CT9qUPnV.cjs → better-auth.CMNsGyrW.cjs} +1 -1
- package/dist/shared/{better-auth.Bx-xCx8B.d.ts → better-auth.CbalUxhb.d.ts} +1 -1
- package/dist/shared/{better-auth.B6vltShC.d.mts → better-auth.CupPPBXF.d.mts} +16 -281
- package/dist/shared/{better-auth.DiiCErDI.mjs → better-auth.D-L3RQ6y.mjs} +3 -3
- package/dist/shared/better-auth.D4Gj1L5q.d.mts +181 -0
- package/dist/shared/{better-auth.D-V8F56U.d.cts → better-auth.DDN3xvzB.d.mts} +1 -1
- package/dist/shared/{better-auth.WSg8tg20.mjs → better-auth.DLt6eN7D.mjs} +1 -1
- package/dist/shared/{better-auth.N309TrHY.d.mts → better-auth.DNep33Pk.d.mts} +6 -4
- package/dist/shared/{better-auth.De2uf6ue.cjs → better-auth.DRQ4nVPW.cjs} +1 -1
- package/dist/shared/{better-auth.NyTxN6ZW.mjs → better-auth.DTWovzBk.mjs} +1 -1
- package/dist/shared/{better-auth.DhuXIuMp.cjs → better-auth.DfzGrFqx.cjs} +1 -1
- package/dist/shared/{better-auth.CkEVRG35.d.mts → better-auth.DhbdrBWE.d.mts} +2 -1
- package/dist/shared/{better-auth.L4mY8Wf-.mjs → better-auth.DiMXeqeq.mjs} +1 -1
- package/dist/shared/{better-auth.CrFwEmvg.mjs → better-auth.Dk1np_aj.mjs} +13 -8
- package/dist/shared/{better-auth.CGLD_W1L.mjs → better-auth.Dy_SfH0Z.mjs} +1 -1
- package/dist/shared/{better-auth.B0k5C6Ik.cjs → better-auth.H1XoMMKD.cjs} +1 -1
- package/dist/shared/{better-auth.DxBcELEX.cjs → better-auth.JuL5CDpT.cjs} +7 -2
- package/dist/shared/{better-auth.Ou1j2X6M.mjs → better-auth.QSZgH9k6.mjs} +1 -1
- package/dist/shared/{better-auth.D8QBzdu1.d.cts → better-auth.WlYTsJnh.d.cts} +16 -281
- package/dist/shared/{better-auth.Cb45psPE.d.ts → better-auth.jQtahd9L.d.ts} +6 -4
- package/dist/shared/better-auth.mPTDVpKF.mjs +815 -0
- package/dist/shared/{better-auth.sRvUzL4j.cjs → better-auth.pbuTnS5V.cjs} +2 -3
- package/dist/shared/{better-auth.v5aCQ4TA.mjs → better-auth.wna9p9JG.mjs} +8 -9
- package/dist/social-providers/index.cjs +4 -5
- package/dist/social-providers/index.d.cts +3903 -2
- package/dist/social-providers/index.d.mts +3903 -2
- package/dist/social-providers/index.d.ts +3903 -2
- package/dist/social-providers/index.mjs +4 -5
- package/dist/test-utils/index.cjs +14 -14
- package/dist/test-utils/index.d.cts +9 -5
- package/dist/test-utils/index.d.mts +9 -5
- package/dist/test-utils/index.d.ts +9 -5
- package/dist/test-utils/index.mjs +14 -14
- package/dist/types/index.d.cts +9 -5
- package/dist/types/index.d.mts +9 -5
- package/dist/types/index.d.ts +9 -5
- package/package.json +3 -3
- package/dist/chunks/create-telemetry.cjs +0 -381
- package/dist/chunks/create-telemetry.mjs +0 -379
- package/dist/shared/better-auth.6_yFxWJa.mjs +0 -277
- package/dist/shared/better-auth.7zTmTxT4.d.cts +0 -4081
- package/dist/shared/better-auth.BHPr8J54.d.mts +0 -4081
- package/dist/shared/better-auth.BMPChMc7.mjs +0 -188
- package/dist/shared/better-auth.C6qXK08w.d.ts +0 -4081
- package/dist/shared/better-auth.Cn-kIXzo.cjs +0 -280
- package/dist/shared/better-auth.CzNBOMz8.cjs +0 -190
|
@@ -2,7 +2,7 @@
|
|
|
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.
|
|
5
|
+
const index = require('../../shared/better-auth.9o1iKU2q.cjs');
|
|
6
6
|
require('../../shared/better-auth.Jlhc86WK.cjs');
|
|
7
7
|
require('../../shared/better-auth.BToNb2fI.cjs');
|
|
8
8
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '
|
|
1
|
+
import { B as BetterAuthOptions, A as Adapter } from '../../shared/better-auth.WlYTsJnh.cjs';
|
|
2
|
+
import { DBAdapterDebugLogOption } from '@better-auth/core/db/adapter';
|
|
3
|
+
import '../../shared/better-auth.Bo4kHJI7.cjs';
|
|
3
4
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
4
|
-
import 'zod';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import '@better-auth/core/db';
|
|
8
|
+
import 'zod';
|
|
9
|
+
import '../../social-providers/index.cjs';
|
|
10
|
+
import '@better-auth/core';
|
|
8
11
|
import 'better-sqlite3';
|
|
9
12
|
import 'bun:sqlite';
|
|
10
13
|
import 'node:sqlite';
|
|
14
|
+
import 'packages/core/dist/db/adapter';
|
|
11
15
|
import 'zod/v4/core';
|
|
12
16
|
|
|
13
17
|
interface DB {
|
|
@@ -33,7 +37,7 @@ interface DrizzleAdapterConfig {
|
|
|
33
37
|
*
|
|
34
38
|
* @default false
|
|
35
39
|
*/
|
|
36
|
-
debugLogs?:
|
|
40
|
+
debugLogs?: DBAdapterDebugLogOption;
|
|
37
41
|
/**
|
|
38
42
|
* By default snake case is used for table and field names
|
|
39
43
|
* when the CLI is used to generate the schema. If you want
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '
|
|
1
|
+
import { B as BetterAuthOptions, A as Adapter } from '../../shared/better-auth.CupPPBXF.mjs';
|
|
2
|
+
import { DBAdapterDebugLogOption } from '@better-auth/core/db/adapter';
|
|
3
|
+
import '../../shared/better-auth.D4Gj1L5q.mjs';
|
|
3
4
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
4
|
-
import 'zod';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import '@better-auth/core/db';
|
|
8
|
+
import 'zod';
|
|
9
|
+
import '../../social-providers/index.mjs';
|
|
10
|
+
import '@better-auth/core';
|
|
8
11
|
import 'better-sqlite3';
|
|
9
12
|
import 'bun:sqlite';
|
|
10
13
|
import 'node:sqlite';
|
|
14
|
+
import 'packages/core/dist/db/adapter';
|
|
11
15
|
import 'zod/v4/core';
|
|
12
16
|
|
|
13
17
|
interface DB {
|
|
@@ -33,7 +37,7 @@ interface DrizzleAdapterConfig {
|
|
|
33
37
|
*
|
|
34
38
|
* @default false
|
|
35
39
|
*/
|
|
36
|
-
debugLogs?:
|
|
40
|
+
debugLogs?: DBAdapterDebugLogOption;
|
|
37
41
|
/**
|
|
38
42
|
* By default snake case is used for table and field names
|
|
39
43
|
* when the CLI is used to generate the schema. If you want
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '
|
|
1
|
+
import { B as BetterAuthOptions, A as Adapter } from '../../shared/better-auth.B955zZIT.js';
|
|
2
|
+
import { DBAdapterDebugLogOption } from '@better-auth/core/db/adapter';
|
|
3
|
+
import '../../shared/better-auth.BvSdjdDG.js';
|
|
3
4
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
4
|
-
import 'zod';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import '@better-auth/core/db';
|
|
8
|
+
import 'zod';
|
|
9
|
+
import '../../social-providers/index.js';
|
|
10
|
+
import '@better-auth/core';
|
|
8
11
|
import 'better-sqlite3';
|
|
9
12
|
import 'bun:sqlite';
|
|
10
13
|
import 'node:sqlite';
|
|
14
|
+
import 'packages/core/dist/db/adapter';
|
|
11
15
|
import 'zod/v4/core';
|
|
12
16
|
|
|
13
17
|
interface DB {
|
|
@@ -33,7 +37,7 @@ interface DrizzleAdapterConfig {
|
|
|
33
37
|
*
|
|
34
38
|
* @default false
|
|
35
39
|
*/
|
|
36
|
-
debugLogs?:
|
|
40
|
+
debugLogs?: DBAdapterDebugLogOption;
|
|
37
41
|
/**
|
|
38
42
|
* By default snake case is used for table and field names
|
|
39
43
|
* when the CLI is used to generate the schema. If you want
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { count, desc, asc, inArray, notInArray, like, lt, lte, ne, gt, gte, eq, and, or, sql } from 'drizzle-orm';
|
|
2
2
|
import { B as BetterAuthError } from '../../shared/better-auth.DdzSJf-n.mjs';
|
|
3
|
-
import { c as createAdapterFactory } from '../../shared/better-auth.
|
|
3
|
+
import { c as createAdapterFactory } from '../../shared/better-auth.BvvYEWCP.mjs';
|
|
4
4
|
import '../../shared/better-auth.BTrSrKsi.mjs';
|
|
5
5
|
import '../../shared/better-auth.DgGir396.mjs';
|
|
6
6
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
package/dist/adapters/index.cjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('../shared/better-auth.
|
|
3
|
+
const index = require('../shared/better-auth.9o1iKU2q.cjs');
|
|
4
|
+
const adapter = require('@better-auth/core/db/adapter');
|
|
4
5
|
require('../shared/better-auth.Jlhc86WK.cjs');
|
|
5
6
|
require('../shared/better-auth.BToNb2fI.cjs');
|
|
6
7
|
require('../shared/better-auth.B6fIklBU.cjs');
|
|
@@ -23,3 +24,13 @@ const createAdapter = index.createAdapterFactory;
|
|
|
23
24
|
|
|
24
25
|
exports.createAdapterFactory = index.createAdapterFactory;
|
|
25
26
|
exports.createAdapter = createAdapter;
|
|
27
|
+
Object.prototype.hasOwnProperty.call(adapter, '__proto__') &&
|
|
28
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
29
|
+
Object.defineProperty(exports, '__proto__', {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
value: adapter['__proto__']
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
Object.keys(adapter).forEach(function (k) {
|
|
35
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = adapter[k];
|
|
36
|
+
});
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import { B as BetterAuthOptions,
|
|
2
|
-
export {
|
|
3
|
-
|
|
1
|
+
import { B as BetterAuthOptions, A as Adapter, h as AdapterFactoryOptions, i as AdapterFactoryConfig, j as AdapterFactoryCustomizeAdapterCreator } from '../shared/better-auth.WlYTsJnh.cjs';
|
|
2
|
+
export { k as AdapterTestDebugLogs, C as CustomAdapter } from '../shared/better-auth.WlYTsJnh.cjs';
|
|
3
|
+
export * from '@better-auth/core/db/adapter';
|
|
4
|
+
import '../shared/better-auth.Bo4kHJI7.cjs';
|
|
4
5
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
5
|
-
import 'zod';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import '@better-auth/core/db';
|
|
9
|
+
import 'zod';
|
|
10
|
+
import '../social-providers/index.cjs';
|
|
11
|
+
import '@better-auth/core';
|
|
9
12
|
import 'better-sqlite3';
|
|
10
13
|
import 'bun:sqlite';
|
|
11
14
|
import 'node:sqlite';
|
|
15
|
+
import 'packages/core/dist/db/adapter';
|
|
12
16
|
import 'zod/v4/core';
|
|
13
17
|
|
|
14
18
|
type AdapterFactory = (options: BetterAuthOptions) => Adapter;
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import { B as BetterAuthOptions,
|
|
2
|
-
export {
|
|
3
|
-
|
|
1
|
+
import { B as BetterAuthOptions, A as Adapter, h as AdapterFactoryOptions, i as AdapterFactoryConfig, j as AdapterFactoryCustomizeAdapterCreator } from '../shared/better-auth.CupPPBXF.mjs';
|
|
2
|
+
export { k as AdapterTestDebugLogs, C as CustomAdapter } from '../shared/better-auth.CupPPBXF.mjs';
|
|
3
|
+
export * from '@better-auth/core/db/adapter';
|
|
4
|
+
import '../shared/better-auth.D4Gj1L5q.mjs';
|
|
4
5
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
5
|
-
import 'zod';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import '@better-auth/core/db';
|
|
9
|
+
import 'zod';
|
|
10
|
+
import '../social-providers/index.mjs';
|
|
11
|
+
import '@better-auth/core';
|
|
9
12
|
import 'better-sqlite3';
|
|
10
13
|
import 'bun:sqlite';
|
|
11
14
|
import 'node:sqlite';
|
|
15
|
+
import 'packages/core/dist/db/adapter';
|
|
12
16
|
import 'zod/v4/core';
|
|
13
17
|
|
|
14
18
|
type AdapterFactory = (options: BetterAuthOptions) => Adapter;
|
package/dist/adapters/index.d.ts
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import { B as BetterAuthOptions,
|
|
2
|
-
export {
|
|
3
|
-
|
|
1
|
+
import { B as BetterAuthOptions, A as Adapter, h as AdapterFactoryOptions, i as AdapterFactoryConfig, j as AdapterFactoryCustomizeAdapterCreator } from '../shared/better-auth.B955zZIT.js';
|
|
2
|
+
export { k as AdapterTestDebugLogs, C as CustomAdapter } from '../shared/better-auth.B955zZIT.js';
|
|
3
|
+
export * from '@better-auth/core/db/adapter';
|
|
4
|
+
import '../shared/better-auth.BvSdjdDG.js';
|
|
4
5
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
5
|
-
import 'zod';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import '@better-auth/core/db';
|
|
9
|
+
import 'zod';
|
|
10
|
+
import '../social-providers/index.js';
|
|
11
|
+
import '@better-auth/core';
|
|
9
12
|
import 'better-sqlite3';
|
|
10
13
|
import 'bun:sqlite';
|
|
11
14
|
import 'node:sqlite';
|
|
15
|
+
import 'packages/core/dist/db/adapter';
|
|
12
16
|
import 'zod/v4/core';
|
|
13
17
|
|
|
14
18
|
type AdapterFactory = (options: BetterAuthOptions) => Adapter;
|
package/dist/adapters/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { c as createAdapterFactory } from '../shared/better-auth.
|
|
1
|
+
import { c as createAdapterFactory } from '../shared/better-auth.BvvYEWCP.mjs';
|
|
2
|
+
export * from '@better-auth/core/db/adapter';
|
|
2
3
|
import '../shared/better-auth.BTrSrKsi.mjs';
|
|
3
4
|
import '../shared/better-auth.DgGir396.mjs';
|
|
4
5
|
import '../shared/better-auth.CiuwFiHM.mjs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const kyselyAdapter = require('../../shared/better-auth.
|
|
3
|
+
const kyselyAdapter = require('../../shared/better-auth.DfzGrFqx.cjs');
|
|
4
4
|
require('kysely');
|
|
5
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.9o1iKU2q.cjs');
|
|
6
6
|
require('../../shared/better-auth.Jlhc86WK.cjs');
|
|
7
7
|
require('../../shared/better-auth.BToNb2fI.cjs');
|
|
8
8
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as
|
|
3
|
-
import '
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as Adapter } from '../../shared/better-auth.WlYTsJnh.cjs';
|
|
3
|
+
import { DBAdapterDebugLogOption } from '@better-auth/core/db/adapter';
|
|
4
|
+
import '../../shared/better-auth.Bo4kHJI7.cjs';
|
|
4
5
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
5
|
-
import 'zod';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import '@better-auth/core/db';
|
|
8
|
+
import 'zod';
|
|
9
|
+
import '../../social-providers/index.cjs';
|
|
10
|
+
import '@better-auth/core';
|
|
8
11
|
import 'better-sqlite3';
|
|
9
12
|
import 'bun:sqlite';
|
|
10
13
|
import 'node:sqlite';
|
|
14
|
+
import 'packages/core/dist/db/adapter';
|
|
11
15
|
import 'zod/v4/core';
|
|
12
16
|
|
|
13
17
|
declare function getKyselyDatabaseType(db: BetterAuthOptions["database"]): KyselyDatabaseType | null;
|
|
@@ -31,7 +35,7 @@ interface KyselyAdapterConfig {
|
|
|
31
35
|
*
|
|
32
36
|
* @default false
|
|
33
37
|
*/
|
|
34
|
-
debugLogs?:
|
|
38
|
+
debugLogs?: DBAdapterDebugLogOption;
|
|
35
39
|
/**
|
|
36
40
|
* Use plural for table names.
|
|
37
41
|
*
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as
|
|
3
|
-
import '
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as Adapter } from '../../shared/better-auth.CupPPBXF.mjs';
|
|
3
|
+
import { DBAdapterDebugLogOption } from '@better-auth/core/db/adapter';
|
|
4
|
+
import '../../shared/better-auth.D4Gj1L5q.mjs';
|
|
4
5
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
5
|
-
import 'zod';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import '@better-auth/core/db';
|
|
8
|
+
import 'zod';
|
|
9
|
+
import '../../social-providers/index.mjs';
|
|
10
|
+
import '@better-auth/core';
|
|
8
11
|
import 'better-sqlite3';
|
|
9
12
|
import 'bun:sqlite';
|
|
10
13
|
import 'node:sqlite';
|
|
14
|
+
import 'packages/core/dist/db/adapter';
|
|
11
15
|
import 'zod/v4/core';
|
|
12
16
|
|
|
13
17
|
declare function getKyselyDatabaseType(db: BetterAuthOptions["database"]): KyselyDatabaseType | null;
|
|
@@ -31,7 +35,7 @@ interface KyselyAdapterConfig {
|
|
|
31
35
|
*
|
|
32
36
|
* @default false
|
|
33
37
|
*/
|
|
34
|
-
debugLogs?:
|
|
38
|
+
debugLogs?: DBAdapterDebugLogOption;
|
|
35
39
|
/**
|
|
36
40
|
* Use plural for table names.
|
|
37
41
|
*
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as
|
|
3
|
-
import '
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as Adapter } from '../../shared/better-auth.B955zZIT.js';
|
|
3
|
+
import { DBAdapterDebugLogOption } from '@better-auth/core/db/adapter';
|
|
4
|
+
import '../../shared/better-auth.BvSdjdDG.js';
|
|
4
5
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
5
|
-
import 'zod';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import '@better-auth/core/db';
|
|
8
|
+
import 'zod';
|
|
9
|
+
import '../../social-providers/index.js';
|
|
10
|
+
import '@better-auth/core';
|
|
8
11
|
import 'better-sqlite3';
|
|
9
12
|
import 'bun:sqlite';
|
|
10
13
|
import 'node:sqlite';
|
|
14
|
+
import 'packages/core/dist/db/adapter';
|
|
11
15
|
import 'zod/v4/core';
|
|
12
16
|
|
|
13
17
|
declare function getKyselyDatabaseType(db: BetterAuthOptions["database"]): KyselyDatabaseType | null;
|
|
@@ -31,7 +35,7 @@ interface KyselyAdapterConfig {
|
|
|
31
35
|
*
|
|
32
36
|
* @default false
|
|
33
37
|
*/
|
|
34
|
-
debugLogs?:
|
|
38
|
+
debugLogs?: DBAdapterDebugLogOption;
|
|
35
39
|
/**
|
|
36
40
|
* Use plural for table names.
|
|
37
41
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
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.BAk2ZmIN.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.BvvYEWCP.mjs';
|
|
4
4
|
import '../../shared/better-auth.BTrSrKsi.mjs';
|
|
5
5
|
import '../../shared/better-auth.DgGir396.mjs';
|
|
6
6
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const memoryAdapter = require('../../shared/better-auth.
|
|
3
|
+
const memoryAdapter = require('../../shared/better-auth.DRQ4nVPW.cjs');
|
|
4
4
|
require('@better-auth/utils/random');
|
|
5
5
|
require('zod');
|
|
6
6
|
require('better-call');
|
|
@@ -15,7 +15,7 @@ require('@noble/hashes/utils.js');
|
|
|
15
15
|
require('../../shared/better-auth.CYeOI8C-.cjs');
|
|
16
16
|
require('../../shared/better-auth.BToNb2fI.cjs');
|
|
17
17
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
18
|
-
require('../../shared/better-auth.
|
|
18
|
+
require('../../shared/better-auth.9o1iKU2q.cjs');
|
|
19
19
|
require('../../shared/better-auth.Jlhc86WK.cjs');
|
|
20
20
|
require('../../shared/better-auth.S3hDEI-1.cjs');
|
|
21
21
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '
|
|
1
|
+
import { B as BetterAuthOptions, A as Adapter } from '../../shared/better-auth.WlYTsJnh.cjs';
|
|
2
|
+
import { DBAdapterDebugLogOption } from '@better-auth/core/db/adapter';
|
|
3
|
+
import '../../shared/better-auth.Bo4kHJI7.cjs';
|
|
3
4
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
4
|
-
import 'zod';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import '@better-auth/core/db';
|
|
8
|
+
import 'zod';
|
|
9
|
+
import '../../social-providers/index.cjs';
|
|
10
|
+
import '@better-auth/core';
|
|
8
11
|
import 'better-sqlite3';
|
|
9
12
|
import 'bun:sqlite';
|
|
10
13
|
import 'node:sqlite';
|
|
14
|
+
import 'packages/core/dist/db/adapter';
|
|
11
15
|
import 'zod/v4/core';
|
|
12
16
|
|
|
13
17
|
interface MemoryDB {
|
|
14
18
|
[key: string]: any[];
|
|
15
19
|
}
|
|
16
20
|
interface MemoryAdapterConfig {
|
|
17
|
-
debugLogs?:
|
|
21
|
+
debugLogs?: DBAdapterDebugLogOption;
|
|
18
22
|
}
|
|
19
23
|
declare const memoryAdapter: (db: MemoryDB, config?: MemoryAdapterConfig) => (options: BetterAuthOptions) => Adapter;
|
|
20
24
|
|
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '
|
|
1
|
+
import { B as BetterAuthOptions, A as Adapter } from '../../shared/better-auth.CupPPBXF.mjs';
|
|
2
|
+
import { DBAdapterDebugLogOption } from '@better-auth/core/db/adapter';
|
|
3
|
+
import '../../shared/better-auth.D4Gj1L5q.mjs';
|
|
3
4
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
4
|
-
import 'zod';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import '@better-auth/core/db';
|
|
8
|
+
import 'zod';
|
|
9
|
+
import '../../social-providers/index.mjs';
|
|
10
|
+
import '@better-auth/core';
|
|
8
11
|
import 'better-sqlite3';
|
|
9
12
|
import 'bun:sqlite';
|
|
10
13
|
import 'node:sqlite';
|
|
14
|
+
import 'packages/core/dist/db/adapter';
|
|
11
15
|
import 'zod/v4/core';
|
|
12
16
|
|
|
13
17
|
interface MemoryDB {
|
|
14
18
|
[key: string]: any[];
|
|
15
19
|
}
|
|
16
20
|
interface MemoryAdapterConfig {
|
|
17
|
-
debugLogs?:
|
|
21
|
+
debugLogs?: DBAdapterDebugLogOption;
|
|
18
22
|
}
|
|
19
23
|
declare const memoryAdapter: (db: MemoryDB, config?: MemoryAdapterConfig) => (options: BetterAuthOptions) => Adapter;
|
|
20
24
|
|
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '
|
|
1
|
+
import { B as BetterAuthOptions, A as Adapter } from '../../shared/better-auth.B955zZIT.js';
|
|
2
|
+
import { DBAdapterDebugLogOption } from '@better-auth/core/db/adapter';
|
|
3
|
+
import '../../shared/better-auth.BvSdjdDG.js';
|
|
3
4
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
4
|
-
import 'zod';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import '@better-auth/core/db';
|
|
8
|
+
import 'zod';
|
|
9
|
+
import '../../social-providers/index.js';
|
|
10
|
+
import '@better-auth/core';
|
|
8
11
|
import 'better-sqlite3';
|
|
9
12
|
import 'bun:sqlite';
|
|
10
13
|
import 'node:sqlite';
|
|
14
|
+
import 'packages/core/dist/db/adapter';
|
|
11
15
|
import 'zod/v4/core';
|
|
12
16
|
|
|
13
17
|
interface MemoryDB {
|
|
14
18
|
[key: string]: any[];
|
|
15
19
|
}
|
|
16
20
|
interface MemoryAdapterConfig {
|
|
17
|
-
debugLogs?:
|
|
21
|
+
debugLogs?: DBAdapterDebugLogOption;
|
|
18
22
|
}
|
|
19
23
|
declare const memoryAdapter: (db: MemoryDB, config?: MemoryAdapterConfig) => (options: BetterAuthOptions) => Adapter;
|
|
20
24
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { m as memoryAdapter } from '../../shared/better-auth.
|
|
1
|
+
export { m as memoryAdapter } from '../../shared/better-auth.QSZgH9k6.mjs';
|
|
2
2
|
import '@better-auth/utils/random';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'better-call';
|
|
@@ -13,7 +13,7 @@ import '@noble/hashes/utils.js';
|
|
|
13
13
|
import '../../shared/better-auth.B4Qoxdgc.mjs';
|
|
14
14
|
import '../../shared/better-auth.DgGir396.mjs';
|
|
15
15
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
16
|
-
import '../../shared/better-auth.
|
|
16
|
+
import '../../shared/better-auth.BvvYEWCP.mjs';
|
|
17
17
|
import '../../shared/better-auth.BTrSrKsi.mjs';
|
|
18
18
|
import '../../shared/better-auth.DhziC0ap.mjs';
|
|
19
19
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const mongodbAdapter = require('../../shared/better-auth.
|
|
3
|
+
const mongodbAdapter = require('../../shared/better-auth.CMNsGyrW.cjs');
|
|
4
4
|
require('mongodb');
|
|
5
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.9o1iKU2q.cjs');
|
|
6
6
|
require('../../shared/better-auth.Jlhc86WK.cjs');
|
|
7
7
|
require('../../shared/better-auth.BToNb2fI.cjs');
|
|
8
8
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { MongoClient, Db } from 'mongodb';
|
|
2
|
-
import {
|
|
3
|
-
import '
|
|
2
|
+
import { B as BetterAuthOptions, A as Adapter } from '../../shared/better-auth.WlYTsJnh.cjs';
|
|
3
|
+
import { DBAdapterDebugLogOption } from '@better-auth/core/db/adapter';
|
|
4
|
+
import '../../shared/better-auth.Bo4kHJI7.cjs';
|
|
4
5
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
5
|
-
import 'zod';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import '@better-auth/core/db';
|
|
9
|
+
import 'zod';
|
|
10
|
+
import '../../social-providers/index.cjs';
|
|
11
|
+
import '@better-auth/core';
|
|
9
12
|
import 'better-sqlite3';
|
|
10
13
|
import 'bun:sqlite';
|
|
11
14
|
import 'node:sqlite';
|
|
15
|
+
import 'packages/core/dist/db/adapter';
|
|
12
16
|
import 'zod/v4/core';
|
|
13
17
|
|
|
14
18
|
interface MongoDBAdapterConfig {
|
|
@@ -22,7 +26,7 @@ interface MongoDBAdapterConfig {
|
|
|
22
26
|
*
|
|
23
27
|
* @default false
|
|
24
28
|
*/
|
|
25
|
-
debugLogs?:
|
|
29
|
+
debugLogs?: DBAdapterDebugLogOption;
|
|
26
30
|
/**
|
|
27
31
|
* Use plural table names
|
|
28
32
|
*
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { MongoClient, Db } from 'mongodb';
|
|
2
|
-
import {
|
|
3
|
-
import '
|
|
2
|
+
import { B as BetterAuthOptions, A as Adapter } from '../../shared/better-auth.CupPPBXF.mjs';
|
|
3
|
+
import { DBAdapterDebugLogOption } from '@better-auth/core/db/adapter';
|
|
4
|
+
import '../../shared/better-auth.D4Gj1L5q.mjs';
|
|
4
5
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
5
|
-
import 'zod';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import '@better-auth/core/db';
|
|
9
|
+
import 'zod';
|
|
10
|
+
import '../../social-providers/index.mjs';
|
|
11
|
+
import '@better-auth/core';
|
|
9
12
|
import 'better-sqlite3';
|
|
10
13
|
import 'bun:sqlite';
|
|
11
14
|
import 'node:sqlite';
|
|
15
|
+
import 'packages/core/dist/db/adapter';
|
|
12
16
|
import 'zod/v4/core';
|
|
13
17
|
|
|
14
18
|
interface MongoDBAdapterConfig {
|
|
@@ -22,7 +26,7 @@ interface MongoDBAdapterConfig {
|
|
|
22
26
|
*
|
|
23
27
|
* @default false
|
|
24
28
|
*/
|
|
25
|
-
debugLogs?:
|
|
29
|
+
debugLogs?: DBAdapterDebugLogOption;
|
|
26
30
|
/**
|
|
27
31
|
* Use plural table names
|
|
28
32
|
*
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { MongoClient, Db } from 'mongodb';
|
|
2
|
-
import {
|
|
3
|
-
import '
|
|
2
|
+
import { B as BetterAuthOptions, A as Adapter } from '../../shared/better-auth.B955zZIT.js';
|
|
3
|
+
import { DBAdapterDebugLogOption } from '@better-auth/core/db/adapter';
|
|
4
|
+
import '../../shared/better-auth.BvSdjdDG.js';
|
|
4
5
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
5
|
-
import 'zod';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import '@better-auth/core/db';
|
|
9
|
+
import 'zod';
|
|
10
|
+
import '../../social-providers/index.js';
|
|
11
|
+
import '@better-auth/core';
|
|
9
12
|
import 'better-sqlite3';
|
|
10
13
|
import 'bun:sqlite';
|
|
11
14
|
import 'node:sqlite';
|
|
15
|
+
import 'packages/core/dist/db/adapter';
|
|
12
16
|
import 'zod/v4/core';
|
|
13
17
|
|
|
14
18
|
interface MongoDBAdapterConfig {
|
|
@@ -22,7 +26,7 @@ interface MongoDBAdapterConfig {
|
|
|
22
26
|
*
|
|
23
27
|
* @default false
|
|
24
28
|
*/
|
|
25
|
-
debugLogs?:
|
|
29
|
+
debugLogs?: DBAdapterDebugLogOption;
|
|
26
30
|
/**
|
|
27
31
|
* Use plural table names
|
|
28
32
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { m as mongodbAdapter } from '../../shared/better-auth.
|
|
1
|
+
export { m as mongodbAdapter } from '../../shared/better-auth.DTWovzBk.mjs';
|
|
2
2
|
import 'mongodb';
|
|
3
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.BvvYEWCP.mjs';
|
|
4
4
|
import '../../shared/better-auth.BTrSrKsi.mjs';
|
|
5
5
|
import '../../shared/better-auth.DgGir396.mjs';
|
|
6
6
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index$1 = require('../../shared/better-auth.ANpbi45u.cjs');
|
|
4
|
-
const index = require('../../shared/better-auth.
|
|
4
|
+
const index = require('../../shared/better-auth.9o1iKU2q.cjs');
|
|
5
5
|
require('../../shared/better-auth.Jlhc86WK.cjs');
|
|
6
6
|
require('../../shared/better-auth.BToNb2fI.cjs');
|
|
7
7
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '
|
|
1
|
+
import { B as BetterAuthOptions, A as Adapter } from '../../shared/better-auth.WlYTsJnh.cjs';
|
|
2
|
+
import { DBAdapterDebugLogOption } from '@better-auth/core/db/adapter';
|
|
3
|
+
import '../../shared/better-auth.Bo4kHJI7.cjs';
|
|
3
4
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
4
|
-
import 'zod';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import '@better-auth/core/db';
|
|
8
|
+
import 'zod';
|
|
9
|
+
import '../../social-providers/index.cjs';
|
|
10
|
+
import '@better-auth/core';
|
|
8
11
|
import 'better-sqlite3';
|
|
9
12
|
import 'bun:sqlite';
|
|
10
13
|
import 'node:sqlite';
|
|
14
|
+
import 'packages/core/dist/db/adapter';
|
|
11
15
|
import 'zod/v4/core';
|
|
12
16
|
|
|
13
17
|
interface PrismaConfig {
|
|
@@ -20,7 +24,7 @@ interface PrismaConfig {
|
|
|
20
24
|
*
|
|
21
25
|
* @default false
|
|
22
26
|
*/
|
|
23
|
-
debugLogs?:
|
|
27
|
+
debugLogs?: DBAdapterDebugLogOption;
|
|
24
28
|
/**
|
|
25
29
|
* Use plural table names
|
|
26
30
|
*
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '
|
|
1
|
+
import { B as BetterAuthOptions, A as Adapter } from '../../shared/better-auth.CupPPBXF.mjs';
|
|
2
|
+
import { DBAdapterDebugLogOption } from '@better-auth/core/db/adapter';
|
|
3
|
+
import '../../shared/better-auth.D4Gj1L5q.mjs';
|
|
3
4
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
4
|
-
import 'zod';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import '@better-auth/core/db';
|
|
8
|
+
import 'zod';
|
|
9
|
+
import '../../social-providers/index.mjs';
|
|
10
|
+
import '@better-auth/core';
|
|
8
11
|
import 'better-sqlite3';
|
|
9
12
|
import 'bun:sqlite';
|
|
10
13
|
import 'node:sqlite';
|
|
14
|
+
import 'packages/core/dist/db/adapter';
|
|
11
15
|
import 'zod/v4/core';
|
|
12
16
|
|
|
13
17
|
interface PrismaConfig {
|
|
@@ -20,7 +24,7 @@ interface PrismaConfig {
|
|
|
20
24
|
*
|
|
21
25
|
* @default false
|
|
22
26
|
*/
|
|
23
|
-
debugLogs?:
|
|
27
|
+
debugLogs?: DBAdapterDebugLogOption;
|
|
24
28
|
/**
|
|
25
29
|
* Use plural table names
|
|
26
30
|
*
|