better-auth 1.3.22 → 1.3.24
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 +3 -3
- package/dist/adapters/drizzle-adapter/index.d.cts +5 -4
- package/dist/adapters/drizzle-adapter/index.d.mts +5 -4
- package/dist/adapters/drizzle-adapter/index.d.ts +5 -4
- package/dist/adapters/drizzle-adapter/index.mjs +3 -3
- package/dist/adapters/index.cjs +3 -3
- package/dist/adapters/index.d.cts +6 -5
- package/dist/adapters/index.d.mts +6 -5
- package/dist/adapters/index.d.ts +6 -5
- package/dist/adapters/index.mjs +3 -3
- package/dist/adapters/kysely-adapter/index.cjs +4 -4
- package/dist/adapters/kysely-adapter/index.d.cts +5 -4
- package/dist/adapters/kysely-adapter/index.d.mts +5 -4
- package/dist/adapters/kysely-adapter/index.d.ts +5 -4
- package/dist/adapters/kysely-adapter/index.mjs +4 -4
- package/dist/adapters/memory-adapter/index.cjs +4 -4
- package/dist/adapters/memory-adapter/index.d.cts +5 -4
- package/dist/adapters/memory-adapter/index.d.mts +5 -4
- package/dist/adapters/memory-adapter/index.d.ts +5 -4
- package/dist/adapters/memory-adapter/index.mjs +4 -4
- package/dist/adapters/mongodb-adapter/index.cjs +4 -4
- package/dist/adapters/mongodb-adapter/index.d.cts +5 -4
- package/dist/adapters/mongodb-adapter/index.d.mts +5 -4
- package/dist/adapters/mongodb-adapter/index.d.ts +5 -4
- package/dist/adapters/mongodb-adapter/index.mjs +4 -4
- package/dist/adapters/prisma-adapter/index.cjs +4 -4
- package/dist/adapters/prisma-adapter/index.d.cts +5 -4
- package/dist/adapters/prisma-adapter/index.d.mts +5 -4
- package/dist/adapters/prisma-adapter/index.d.ts +5 -4
- package/dist/adapters/prisma-adapter/index.mjs +4 -4
- package/dist/adapters/test.cjs +1 -1
- package/dist/adapters/test.d.cts +6 -5
- package/dist/adapters/test.d.mts +6 -5
- package/dist/adapters/test.d.ts +6 -5
- package/dist/adapters/test.mjs +1 -1
- package/dist/api/index.cjs +11 -14
- package/dist/api/index.d.cts +3 -2
- package/dist/api/index.d.mts +3 -2
- package/dist/api/index.d.ts +3 -2
- package/dist/api/index.mjs +13 -16
- package/dist/client/index.d.cts +6 -5
- package/dist/client/index.d.mts +6 -5
- package/dist/client/index.d.ts +6 -5
- package/dist/client/plugins/index.d.cts +30 -27
- package/dist/client/plugins/index.d.mts +30 -27
- package/dist/client/plugins/index.d.ts +30 -27
- package/dist/client/react/index.d.cts +12 -11
- package/dist/client/react/index.d.mts +12 -11
- package/dist/client/react/index.d.ts +12 -11
- package/dist/client/solid/index.d.cts +6 -5
- package/dist/client/solid/index.d.mts +6 -5
- package/dist/client/solid/index.d.ts +6 -5
- package/dist/client/svelte/index.d.cts +12 -11
- package/dist/client/svelte/index.d.mts +12 -11
- package/dist/client/svelte/index.d.ts +12 -11
- package/dist/client/vue/index.d.cts +6 -5
- package/dist/client/vue/index.d.mts +6 -5
- package/dist/client/vue/index.d.ts +6 -5
- package/dist/cookies/index.cjs +3 -3
- package/dist/cookies/index.d.cts +5 -4
- package/dist/cookies/index.d.mts +5 -4
- package/dist/cookies/index.d.ts +5 -4
- package/dist/cookies/index.mjs +3 -3
- package/dist/db/index.cjs +17 -6
- package/dist/db/index.d.cts +21 -17
- package/dist/db/index.d.mts +21 -17
- package/dist/db/index.d.ts +21 -17
- package/dist/db/index.mjs +7 -6
- package/dist/index.cjs +11 -10
- package/dist/index.d.cts +14 -12
- package/dist/index.d.mts +14 -12
- package/dist/index.d.ts +14 -12
- package/dist/index.mjs +11 -10
- package/dist/integrations/next-js.cjs +7 -6
- package/dist/integrations/next-js.d.cts +5 -4
- package/dist/integrations/next-js.d.mts +5 -4
- package/dist/integrations/next-js.d.ts +5 -4
- package/dist/integrations/next-js.mjs +7 -6
- package/dist/integrations/node.d.cts +5 -4
- package/dist/integrations/node.d.mts +5 -4
- package/dist/integrations/node.d.ts +5 -4
- package/dist/integrations/react-start.cjs +7 -6
- package/dist/integrations/react-start.d.cts +5 -4
- package/dist/integrations/react-start.d.mts +5 -4
- package/dist/integrations/react-start.d.ts +5 -4
- package/dist/integrations/react-start.mjs +7 -6
- package/dist/integrations/svelte-kit.cjs +5 -5
- package/dist/integrations/svelte-kit.d.cts +5 -4
- package/dist/integrations/svelte-kit.d.mts +5 -4
- package/dist/integrations/svelte-kit.d.ts +5 -4
- package/dist/integrations/svelte-kit.mjs +5 -5
- package/dist/oauth2/index.cjs +5 -5
- package/dist/oauth2/index.d.cts +4 -3
- package/dist/oauth2/index.d.mts +4 -3
- package/dist/oauth2/index.d.ts +4 -3
- package/dist/oauth2/index.mjs +5 -5
- package/dist/plugins/admin/index.cjs +6 -6
- package/dist/plugins/admin/index.d.cts +6 -5
- package/dist/plugins/admin/index.d.mts +6 -5
- package/dist/plugins/admin/index.d.ts +6 -5
- package/dist/plugins/admin/index.mjs +6 -6
- package/dist/plugins/anonymous/index.cjs +5 -5
- package/dist/plugins/anonymous/index.d.cts +5 -4
- package/dist/plugins/anonymous/index.d.mts +5 -4
- package/dist/plugins/anonymous/index.d.ts +5 -4
- package/dist/plugins/anonymous/index.mjs +5 -5
- package/dist/plugins/bearer/index.cjs +5 -5
- package/dist/plugins/bearer/index.d.cts +5 -4
- package/dist/plugins/bearer/index.d.mts +5 -4
- package/dist/plugins/bearer/index.d.ts +5 -4
- package/dist/plugins/bearer/index.mjs +5 -5
- package/dist/plugins/captcha/index.d.cts +5 -4
- package/dist/plugins/captcha/index.d.mts +5 -4
- package/dist/plugins/captcha/index.d.ts +5 -4
- package/dist/plugins/custom-session/index.cjs +5 -5
- package/dist/plugins/custom-session/index.d.cts +5 -4
- package/dist/plugins/custom-session/index.d.mts +5 -4
- package/dist/plugins/custom-session/index.d.ts +5 -4
- package/dist/plugins/custom-session/index.mjs +5 -5
- package/dist/plugins/device-authorization/index.cjs +5 -4
- package/dist/plugins/device-authorization/index.d.cts +5 -4
- package/dist/plugins/device-authorization/index.d.mts +5 -4
- package/dist/plugins/device-authorization/index.d.ts +5 -4
- package/dist/plugins/device-authorization/index.mjs +5 -4
- package/dist/plugins/email-otp/index.cjs +5 -5
- package/dist/plugins/email-otp/index.d.cts +5 -4
- package/dist/plugins/email-otp/index.d.mts +5 -4
- package/dist/plugins/email-otp/index.d.ts +5 -4
- package/dist/plugins/email-otp/index.mjs +5 -5
- package/dist/plugins/generic-oauth/index.cjs +9 -7
- package/dist/plugins/generic-oauth/index.d.cts +4 -3
- package/dist/plugins/generic-oauth/index.d.mts +4 -3
- package/dist/plugins/generic-oauth/index.d.ts +4 -3
- package/dist/plugins/generic-oauth/index.mjs +9 -7
- package/dist/plugins/haveibeenpwned/index.cjs +5 -5
- package/dist/plugins/haveibeenpwned/index.d.cts +5 -4
- package/dist/plugins/haveibeenpwned/index.d.mts +5 -4
- package/dist/plugins/haveibeenpwned/index.d.ts +5 -4
- package/dist/plugins/haveibeenpwned/index.mjs +5 -5
- package/dist/plugins/index.cjs +11 -10
- package/dist/plugins/index.d.cts +9 -7
- package/dist/plugins/index.d.mts +9 -7
- package/dist/plugins/index.d.ts +9 -7
- package/dist/plugins/index.mjs +13 -12
- package/dist/plugins/jwt/index.cjs +5 -5
- package/dist/plugins/jwt/index.d.cts +4 -3
- package/dist/plugins/jwt/index.d.mts +4 -3
- package/dist/plugins/jwt/index.d.ts +4 -3
- package/dist/plugins/jwt/index.mjs +5 -5
- package/dist/plugins/magic-link/index.cjs +5 -5
- package/dist/plugins/magic-link/index.mjs +5 -5
- package/dist/plugins/multi-session/index.cjs +5 -5
- package/dist/plugins/multi-session/index.d.cts +5 -4
- package/dist/plugins/multi-session/index.d.mts +5 -4
- package/dist/plugins/multi-session/index.d.ts +5 -4
- package/dist/plugins/multi-session/index.mjs +5 -5
- package/dist/plugins/oauth-proxy/index.cjs +5 -5
- package/dist/plugins/oauth-proxy/index.d.cts +5 -4
- package/dist/plugins/oauth-proxy/index.d.mts +5 -4
- package/dist/plugins/oauth-proxy/index.d.ts +5 -4
- package/dist/plugins/oauth-proxy/index.mjs +5 -5
- package/dist/plugins/oidc-provider/index.cjs +7 -6
- package/dist/plugins/oidc-provider/index.d.cts +9 -8
- package/dist/plugins/oidc-provider/index.d.mts +9 -8
- package/dist/plugins/oidc-provider/index.d.ts +9 -8
- package/dist/plugins/oidc-provider/index.mjs +7 -6
- package/dist/plugins/one-tap/index.cjs +5 -5
- package/dist/plugins/one-tap/index.mjs +5 -5
- package/dist/plugins/one-time-token/index.cjs +8 -7
- package/dist/plugins/one-time-token/index.d.cts +5 -4
- package/dist/plugins/one-time-token/index.d.mts +5 -4
- package/dist/plugins/one-time-token/index.d.ts +5 -4
- package/dist/plugins/one-time-token/index.mjs +8 -7
- package/dist/plugins/open-api/index.cjs +6 -5
- package/dist/plugins/open-api/index.d.cts +11 -9
- package/dist/plugins/open-api/index.d.mts +11 -9
- package/dist/plugins/open-api/index.d.ts +11 -9
- package/dist/plugins/open-api/index.mjs +6 -5
- package/dist/plugins/organization/index.cjs +8 -7
- package/dist/plugins/organization/index.d.cts +9 -8
- package/dist/plugins/organization/index.d.mts +9 -8
- package/dist/plugins/organization/index.d.ts +9 -8
- package/dist/plugins/organization/index.mjs +8 -7
- package/dist/plugins/passkey/index.cjs +5 -5
- package/dist/plugins/passkey/index.d.cts +5 -4
- package/dist/plugins/passkey/index.d.mts +5 -4
- package/dist/plugins/passkey/index.d.ts +5 -4
- 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 +5 -4
- package/dist/plugins/phone-number/index.d.mts +5 -4
- package/dist/plugins/phone-number/index.d.ts +5 -4
- package/dist/plugins/phone-number/index.mjs +5 -5
- package/dist/plugins/siwe/index.cjs +5 -5
- package/dist/plugins/siwe/index.d.cts +5 -4
- package/dist/plugins/siwe/index.d.mts +5 -4
- package/dist/plugins/siwe/index.d.ts +5 -4
- package/dist/plugins/siwe/index.mjs +5 -5
- package/dist/plugins/sso/index.cjs +8 -6
- package/dist/plugins/sso/index.d.cts +8 -5
- package/dist/plugins/sso/index.d.mts +8 -5
- package/dist/plugins/sso/index.d.ts +8 -5
- package/dist/plugins/sso/index.mjs +8 -6
- package/dist/plugins/two-factor/index.cjs +5 -5
- package/dist/plugins/two-factor/index.d.cts +4 -3
- package/dist/plugins/two-factor/index.d.mts +4 -3
- package/dist/plugins/two-factor/index.d.ts +4 -3
- package/dist/plugins/two-factor/index.mjs +5 -5
- package/dist/plugins/username/index.cjs +5 -5
- package/dist/plugins/username/index.d.cts +10 -8
- package/dist/plugins/username/index.d.mts +10 -8
- package/dist/plugins/username/index.d.ts +10 -8
- package/dist/plugins/username/index.mjs +5 -5
- package/dist/shared/{better-auth.DA9XWmPg.cjs → better-auth.-l55fO5p.cjs} +6 -5
- package/dist/shared/{better-auth.Bb80Qhal.mjs → better-auth.B3K4eA9q.mjs} +25 -13
- package/dist/shared/{better-auth.pyHheoY8.mjs → better-auth.BE_8QrMw.mjs} +1 -1
- package/dist/shared/{better-auth.aZWbF-_K.cjs → better-auth.BIH9BfFY.cjs} +3 -3
- package/dist/shared/{better-auth.CKU8NONN.mjs → better-auth.BLxU2WKX.mjs} +6 -5
- package/dist/shared/{better-auth.D_RPNvYN.cjs → better-auth.BNDK6WiU.cjs} +5 -4
- package/dist/shared/{better-auth.CGtFXoXL.d.mts → better-auth.BOHMnBqq.d.mts} +6 -5
- package/dist/shared/{better-auth.BDGOG9VJ.mjs → better-auth.BTBOk1yL.mjs} +5 -4
- package/dist/shared/{better-auth.DTvRBuq4.cjs → better-auth.BToNb2fI.cjs} +10 -5
- package/dist/shared/{better-auth.CvNZNAOW.mjs → better-auth.BTrSrKsi.mjs} +1 -1
- package/dist/shared/{better-auth.BEwPlASh.mjs → better-auth.BXiPkRWp.mjs} +6 -5
- package/dist/shared/{better-auth.DceWxI_m.mjs → better-auth.BcsQFfUA.mjs} +28 -20
- package/dist/shared/{better-auth.CyoHIFUH.cjs → better-auth.BeG2jT4W.cjs} +88 -65
- package/dist/shared/{better-auth.DHphs4h7.cjs → better-auth.Bej3k4iq.cjs} +6 -5
- package/dist/shared/{better-auth.oHfRlmfe.cjs → better-auth.BjgMipyH.cjs} +1 -1
- package/dist/shared/{better-auth.D5N7WXOA.cjs → better-auth.BmnjfXCv.cjs} +4 -4
- package/dist/shared/{better-auth.tUECpm9s.d.ts → better-auth.Bpihoxnj.d.ts} +4680 -8463
- package/dist/shared/{better-auth.DUTxy-hg.mjs → better-auth.C2KQpXVQ.mjs} +15 -24
- package/dist/shared/{better-auth.CIqzVuC5.mjs → better-auth.C4eozdVk.mjs} +2 -2
- package/dist/shared/{better-auth.ZUJMxXV3.cjs → better-auth.CJ8GAvSa.cjs} +25 -13
- package/dist/shared/{better-auth.CswLkY3C.cjs → better-auth.CQgxjuIy.cjs} +4 -5
- package/dist/shared/{better-auth.CcIu4pGY.cjs → better-auth.CYAnqVt6.cjs} +28 -20
- package/dist/shared/{better-auth.DjJnZBIG.mjs → better-auth.CdiNZ_6-.mjs} +4 -5
- package/dist/shared/{better-auth.BfDDk2b5.mjs → better-auth.CgjMrYOs.mjs} +7 -6
- package/dist/shared/{better-auth.Dx9Ekyvb.d.ts → better-auth.Cgya0Ge4.d.ts} +1 -1
- package/dist/shared/{better-auth.BkEatPJx.d.ts → better-auth.Ch2iYuwl.d.ts} +6 -5
- package/dist/shared/{better-auth.DXWFn0FB.d.mts → better-auth.Cxodx6er.d.mts} +1 -1
- package/dist/shared/{better-auth.AYS43XM1.mjs → better-auth.Cxr5_Jx0.mjs} +40 -9
- package/dist/shared/{better-auth.Big-4wMb.mjs → better-auth.CzbYWh45.mjs} +3 -3
- package/dist/shared/{better-auth.1MLB7T7y.d.mts → better-auth.D3mM8Vjv.d.mts} +4680 -8463
- package/dist/shared/{better-auth.CWoe8tep.cjs → better-auth.DGSwUNTQ.cjs} +2 -2
- package/dist/shared/{better-auth.mg6oM3Dz.d.cts → better-auth.DObR0KZs.d.cts} +1 -1
- package/dist/shared/{better-auth.DfSTGujN.cjs → better-auth.DPGw6zE5.cjs} +7 -6
- package/dist/shared/{better-auth.C4g12FAA.mjs → better-auth.DgGir396.mjs} +10 -6
- package/dist/shared/{better-auth.C6pRmlsb.mjs → better-auth.DlS-oOFn.mjs} +4 -4
- package/dist/shared/{better-auth.DoZpelRk.d.cts → better-auth.DqKkcQqz.d.cts} +4680 -8463
- package/dist/shared/{better-auth.DgMx7bVs.cjs → better-auth.Jlhc86WK.cjs} +1 -1
- package/dist/shared/{better-auth.BBk8MRta.cjs → better-auth.W2g8uv08.cjs} +40 -9
- package/dist/shared/{better-auth.D2444EHu.cjs → better-auth.Wj1aL8LG.cjs} +15 -24
- package/dist/shared/{better-auth.eEPAMsvS.d.cts → better-auth.Z4E6mgiq.d.cts} +1 -1
- package/dist/shared/{better-auth.B1AwX3-M.d.cts → better-auth.ZtvRDcgz.d.cts} +6 -5
- package/dist/shared/{better-auth.B1PutWq8.d.mts → better-auth.gkpkMdoI.d.mts} +1 -1
- package/dist/shared/{better-auth.C6Qw8sV1.d.ts → better-auth.lWrm1PrC.d.ts} +1 -1
- package/dist/shared/{better-auth.X9kq8Nfb.mjs → better-auth.s85tw7WK.mjs} +84 -61
- package/dist/social-providers/index.cjs +5 -5
- package/dist/social-providers/index.mjs +5 -5
- package/dist/test-utils/index.cjs +13 -12
- package/dist/test-utils/index.d.cts +407 -6058
- package/dist/test-utils/index.d.mts +407 -6058
- package/dist/test-utils/index.d.ts +407 -6058
- package/dist/test-utils/index.mjs +13 -12
- package/dist/types/index.d.cts +6 -5
- package/dist/types/index.d.mts +6 -5
- package/dist/types/index.d.ts +6 -5
- package/package.json +3 -2
|
@@ -2,9 +2,9 @@
|
|
|
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.
|
|
7
|
-
require('../../shared/better-auth.
|
|
5
|
+
const index = require('../../shared/better-auth.BeG2jT4W.cjs');
|
|
6
|
+
require('../../shared/better-auth.Jlhc86WK.cjs');
|
|
7
|
+
require('../../shared/better-auth.BToNb2fI.cjs');
|
|
8
8
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
9
9
|
require('../../shared/better-auth.DF_1VOmo.cjs');
|
|
10
10
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
@@ -1,13 +1,14 @@
|
|
|
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.DqKkcQqz.cjs';
|
|
2
|
+
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
3
|
+
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
2
4
|
import 'zod';
|
|
3
5
|
import 'kysely';
|
|
4
6
|
import 'better-call';
|
|
5
|
-
import '
|
|
6
|
-
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
7
|
-
import 'zod/v4/core';
|
|
7
|
+
import '@better-auth/core/db';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
import 'bun:sqlite';
|
|
10
10
|
import 'node:sqlite';
|
|
11
|
+
import 'zod/v4/core';
|
|
11
12
|
|
|
12
13
|
interface DB {
|
|
13
14
|
[key: string]: any;
|
|
@@ -1,13 +1,14 @@
|
|
|
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.D3mM8Vjv.mjs';
|
|
2
|
+
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
3
|
+
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
2
4
|
import 'zod';
|
|
3
5
|
import 'kysely';
|
|
4
6
|
import 'better-call';
|
|
5
|
-
import '
|
|
6
|
-
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
7
|
-
import 'zod/v4/core';
|
|
7
|
+
import '@better-auth/core/db';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
import 'bun:sqlite';
|
|
10
10
|
import 'node:sqlite';
|
|
11
|
+
import 'zod/v4/core';
|
|
11
12
|
|
|
12
13
|
interface DB {
|
|
13
14
|
[key: string]: any;
|
|
@@ -1,13 +1,14 @@
|
|
|
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.Bpihoxnj.js';
|
|
2
|
+
import '../../shared/better-auth.4SXCyo06.js';
|
|
3
|
+
import '../../shared/better-auth.DTtXpZYr.js';
|
|
2
4
|
import 'zod';
|
|
3
5
|
import 'kysely';
|
|
4
6
|
import 'better-call';
|
|
5
|
-
import '
|
|
6
|
-
import '../../shared/better-auth.4SXCyo06.js';
|
|
7
|
-
import 'zod/v4/core';
|
|
7
|
+
import '@better-auth/core/db';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
import 'bun:sqlite';
|
|
10
10
|
import 'node:sqlite';
|
|
11
|
+
import 'zod/v4/core';
|
|
11
12
|
|
|
12
13
|
interface DB {
|
|
13
14
|
[key: string]: any;
|
|
@@ -1,8 +1,8 @@
|
|
|
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.
|
|
4
|
-
import '../../shared/better-auth.
|
|
5
|
-
import '../../shared/better-auth.
|
|
3
|
+
import { c as createAdapterFactory } from '../../shared/better-auth.s85tw7WK.mjs';
|
|
4
|
+
import '../../shared/better-auth.BTrSrKsi.mjs';
|
|
5
|
+
import '../../shared/better-auth.DgGir396.mjs';
|
|
6
6
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
7
7
|
import '../../shared/better-auth.Cjw1GDsh.mjs';
|
|
8
8
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
package/dist/adapters/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('../shared/better-auth.
|
|
4
|
-
require('../shared/better-auth.
|
|
5
|
-
require('../shared/better-auth.
|
|
3
|
+
const index = require('../shared/better-auth.BeG2jT4W.cjs');
|
|
4
|
+
require('../shared/better-auth.Jlhc86WK.cjs');
|
|
5
|
+
require('../shared/better-auth.BToNb2fI.cjs');
|
|
6
6
|
require('../shared/better-auth.B6fIklBU.cjs');
|
|
7
7
|
require('../shared/better-auth.DF_1VOmo.cjs');
|
|
8
8
|
require('../shared/better-auth.Bg6iw3ig.cjs');
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, a as Adapter,
|
|
2
|
-
export { A as AdapterDebugLogs,
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter, i as AdapterFactoryOptions, j as AdapterFactoryConfig, k as AdapterFactoryCustomizeAdapterCreator } from '../shared/better-auth.DqKkcQqz.cjs';
|
|
2
|
+
export { A as AdapterDebugLogs, l as AdapterTestDebugLogs, C as CustomAdapter } from '../shared/better-auth.DqKkcQqz.cjs';
|
|
3
|
+
import '../shared/better-auth.v_lf-jeY.cjs';
|
|
4
|
+
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
3
5
|
import 'zod';
|
|
4
6
|
import 'kysely';
|
|
5
7
|
import 'better-call';
|
|
6
|
-
import '
|
|
7
|
-
import '../shared/better-auth.v_lf-jeY.cjs';
|
|
8
|
-
import 'zod/v4/core';
|
|
8
|
+
import '@better-auth/core/db';
|
|
9
9
|
import 'better-sqlite3';
|
|
10
10
|
import 'bun:sqlite';
|
|
11
11
|
import 'node:sqlite';
|
|
12
|
+
import 'zod/v4/core';
|
|
12
13
|
|
|
13
14
|
type AdapterFactory = (options: BetterAuthOptions) => Adapter;
|
|
14
15
|
declare const createAdapterFactory: ({ adapter: customAdapter, config: cfg, }: AdapterFactoryOptions) => AdapterFactory;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, a as Adapter,
|
|
2
|
-
export { A as AdapterDebugLogs,
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter, i as AdapterFactoryOptions, j as AdapterFactoryConfig, k as AdapterFactoryCustomizeAdapterCreator } from '../shared/better-auth.D3mM8Vjv.mjs';
|
|
2
|
+
export { A as AdapterDebugLogs, l as AdapterTestDebugLogs, C as CustomAdapter } from '../shared/better-auth.D3mM8Vjv.mjs';
|
|
3
|
+
import '../shared/better-auth.XefKa8DI.mjs';
|
|
4
|
+
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
3
5
|
import 'zod';
|
|
4
6
|
import 'kysely';
|
|
5
7
|
import 'better-call';
|
|
6
|
-
import '
|
|
7
|
-
import '../shared/better-auth.XefKa8DI.mjs';
|
|
8
|
-
import 'zod/v4/core';
|
|
8
|
+
import '@better-auth/core/db';
|
|
9
9
|
import 'better-sqlite3';
|
|
10
10
|
import 'bun:sqlite';
|
|
11
11
|
import 'node:sqlite';
|
|
12
|
+
import 'zod/v4/core';
|
|
12
13
|
|
|
13
14
|
type AdapterFactory = (options: BetterAuthOptions) => Adapter;
|
|
14
15
|
declare const createAdapterFactory: ({ adapter: customAdapter, config: cfg, }: AdapterFactoryOptions) => AdapterFactory;
|
package/dist/adapters/index.d.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, a as Adapter,
|
|
2
|
-
export { A as AdapterDebugLogs,
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter, i as AdapterFactoryOptions, j as AdapterFactoryConfig, k as AdapterFactoryCustomizeAdapterCreator } from '../shared/better-auth.Bpihoxnj.js';
|
|
2
|
+
export { A as AdapterDebugLogs, l as AdapterTestDebugLogs, C as CustomAdapter } from '../shared/better-auth.Bpihoxnj.js';
|
|
3
|
+
import '../shared/better-auth.4SXCyo06.js';
|
|
4
|
+
import '../shared/better-auth.DTtXpZYr.js';
|
|
3
5
|
import 'zod';
|
|
4
6
|
import 'kysely';
|
|
5
7
|
import 'better-call';
|
|
6
|
-
import '
|
|
7
|
-
import '../shared/better-auth.4SXCyo06.js';
|
|
8
|
-
import 'zod/v4/core';
|
|
8
|
+
import '@better-auth/core/db';
|
|
9
9
|
import 'better-sqlite3';
|
|
10
10
|
import 'bun:sqlite';
|
|
11
11
|
import 'node:sqlite';
|
|
12
|
+
import 'zod/v4/core';
|
|
12
13
|
|
|
13
14
|
type AdapterFactory = (options: BetterAuthOptions) => Adapter;
|
|
14
15
|
declare const createAdapterFactory: ({ adapter: customAdapter, config: cfg, }: AdapterFactoryOptions) => AdapterFactory;
|
package/dist/adapters/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as createAdapterFactory } from '../shared/better-auth.
|
|
2
|
-
import '../shared/better-auth.
|
|
3
|
-
import '../shared/better-auth.
|
|
1
|
+
import { c as createAdapterFactory } from '../shared/better-auth.s85tw7WK.mjs';
|
|
2
|
+
import '../shared/better-auth.BTrSrKsi.mjs';
|
|
3
|
+
import '../shared/better-auth.DgGir396.mjs';
|
|
4
4
|
import '../shared/better-auth.CiuwFiHM.mjs';
|
|
5
5
|
import '../shared/better-auth.Cjw1GDsh.mjs';
|
|
6
6
|
import '../shared/better-auth.BUPPRXfK.mjs';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const kyselyAdapter = require('../../shared/better-auth.
|
|
3
|
+
const kyselyAdapter = require('../../shared/better-auth.Wj1aL8LG.cjs');
|
|
4
4
|
require('kysely');
|
|
5
|
-
require('../../shared/better-auth.
|
|
6
|
-
require('../../shared/better-auth.
|
|
7
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.BeG2jT4W.cjs');
|
|
6
|
+
require('../../shared/better-auth.Jlhc86WK.cjs');
|
|
7
|
+
require('../../shared/better-auth.BToNb2fI.cjs');
|
|
8
8
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
9
9
|
require('../../shared/better-auth.DF_1VOmo.cjs');
|
|
10
10
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
@@ -1,13 +1,14 @@
|
|
|
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.DqKkcQqz.cjs';
|
|
3
|
+
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
4
|
+
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
3
5
|
import 'zod';
|
|
4
6
|
import 'better-call';
|
|
5
|
-
import '
|
|
6
|
-
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
7
|
-
import 'zod/v4/core';
|
|
7
|
+
import '@better-auth/core/db';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
import 'bun:sqlite';
|
|
10
10
|
import 'node:sqlite';
|
|
11
|
+
import 'zod/v4/core';
|
|
11
12
|
|
|
12
13
|
declare function getKyselyDatabaseType(db: BetterAuthOptions["database"]): KyselyDatabaseType | null;
|
|
13
14
|
declare const createKyselyAdapter: (config: BetterAuthOptions) => Promise<{
|
|
@@ -1,13 +1,14 @@
|
|
|
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.D3mM8Vjv.mjs';
|
|
3
|
+
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
4
|
+
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
3
5
|
import 'zod';
|
|
4
6
|
import 'better-call';
|
|
5
|
-
import '
|
|
6
|
-
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
7
|
-
import 'zod/v4/core';
|
|
7
|
+
import '@better-auth/core/db';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
import 'bun:sqlite';
|
|
10
10
|
import 'node:sqlite';
|
|
11
|
+
import 'zod/v4/core';
|
|
11
12
|
|
|
12
13
|
declare function getKyselyDatabaseType(db: BetterAuthOptions["database"]): KyselyDatabaseType | null;
|
|
13
14
|
declare const createKyselyAdapter: (config: BetterAuthOptions) => Promise<{
|
|
@@ -1,13 +1,14 @@
|
|
|
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.Bpihoxnj.js';
|
|
3
|
+
import '../../shared/better-auth.4SXCyo06.js';
|
|
4
|
+
import '../../shared/better-auth.DTtXpZYr.js';
|
|
3
5
|
import 'zod';
|
|
4
6
|
import 'better-call';
|
|
5
|
-
import '
|
|
6
|
-
import '../../shared/better-auth.4SXCyo06.js';
|
|
7
|
-
import 'zod/v4/core';
|
|
7
|
+
import '@better-auth/core/db';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
import 'bun:sqlite';
|
|
10
10
|
import 'node:sqlite';
|
|
11
|
+
import 'zod/v4/core';
|
|
11
12
|
|
|
12
13
|
declare function getKyselyDatabaseType(db: BetterAuthOptions["database"]): KyselyDatabaseType | null;
|
|
13
14
|
declare const createKyselyAdapter: (config: BetterAuthOptions) => Promise<{
|
|
@@ -1,8 +1,8 @@
|
|
|
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.C2KQpXVQ.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
|
-
import '../../shared/better-auth.
|
|
4
|
-
import '../../shared/better-auth.
|
|
5
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.s85tw7WK.mjs';
|
|
4
|
+
import '../../shared/better-auth.BTrSrKsi.mjs';
|
|
5
|
+
import '../../shared/better-auth.DgGir396.mjs';
|
|
6
6
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
7
7
|
import '../../shared/better-auth.Cjw1GDsh.mjs';
|
|
8
8
|
import '../../shared/better-auth.BUPPRXfK.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.W2g8uv08.cjs');
|
|
4
4
|
require('@better-auth/utils/random');
|
|
5
5
|
require('zod');
|
|
6
6
|
require('better-call');
|
|
@@ -13,10 +13,10 @@ require('@noble/hashes/scrypt.js');
|
|
|
13
13
|
require('@better-auth/utils/hex');
|
|
14
14
|
require('@noble/hashes/utils.js');
|
|
15
15
|
require('../../shared/better-auth.CYeOI8C-.cjs');
|
|
16
|
-
require('../../shared/better-auth.
|
|
16
|
+
require('../../shared/better-auth.BToNb2fI.cjs');
|
|
17
17
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
18
|
-
require('../../shared/better-auth.
|
|
19
|
-
require('../../shared/better-auth.
|
|
18
|
+
require('../../shared/better-auth.BeG2jT4W.cjs');
|
|
19
|
+
require('../../shared/better-auth.Jlhc86WK.cjs');
|
|
20
20
|
require('../../shared/better-auth.DF_1VOmo.cjs');
|
|
21
21
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
22
22
|
|
|
@@ -1,13 +1,14 @@
|
|
|
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.DqKkcQqz.cjs';
|
|
2
|
+
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
3
|
+
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
2
4
|
import 'zod';
|
|
3
5
|
import 'kysely';
|
|
4
6
|
import 'better-call';
|
|
5
|
-
import '
|
|
6
|
-
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
7
|
-
import 'zod/v4/core';
|
|
7
|
+
import '@better-auth/core/db';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
import 'bun:sqlite';
|
|
10
10
|
import 'node:sqlite';
|
|
11
|
+
import 'zod/v4/core';
|
|
11
12
|
|
|
12
13
|
interface MemoryDB {
|
|
13
14
|
[key: string]: any[];
|
|
@@ -1,13 +1,14 @@
|
|
|
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.D3mM8Vjv.mjs';
|
|
2
|
+
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
3
|
+
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
2
4
|
import 'zod';
|
|
3
5
|
import 'kysely';
|
|
4
6
|
import 'better-call';
|
|
5
|
-
import '
|
|
6
|
-
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
7
|
-
import 'zod/v4/core';
|
|
7
|
+
import '@better-auth/core/db';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
import 'bun:sqlite';
|
|
10
10
|
import 'node:sqlite';
|
|
11
|
+
import 'zod/v4/core';
|
|
11
12
|
|
|
12
13
|
interface MemoryDB {
|
|
13
14
|
[key: string]: any[];
|
|
@@ -1,13 +1,14 @@
|
|
|
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.Bpihoxnj.js';
|
|
2
|
+
import '../../shared/better-auth.4SXCyo06.js';
|
|
3
|
+
import '../../shared/better-auth.DTtXpZYr.js';
|
|
2
4
|
import 'zod';
|
|
3
5
|
import 'kysely';
|
|
4
6
|
import 'better-call';
|
|
5
|
-
import '
|
|
6
|
-
import '../../shared/better-auth.4SXCyo06.js';
|
|
7
|
-
import 'zod/v4/core';
|
|
7
|
+
import '@better-auth/core/db';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
import 'bun:sqlite';
|
|
10
10
|
import 'node:sqlite';
|
|
11
|
+
import 'zod/v4/core';
|
|
11
12
|
|
|
12
13
|
interface MemoryDB {
|
|
13
14
|
[key: string]: any[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { m as memoryAdapter } from '../../shared/better-auth.
|
|
1
|
+
export { m as memoryAdapter } from '../../shared/better-auth.Cxr5_Jx0.mjs';
|
|
2
2
|
import '@better-auth/utils/random';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'better-call';
|
|
@@ -11,9 +11,9 @@ import '@noble/hashes/scrypt.js';
|
|
|
11
11
|
import '@better-auth/utils/hex';
|
|
12
12
|
import '@noble/hashes/utils.js';
|
|
13
13
|
import '../../shared/better-auth.B4Qoxdgc.mjs';
|
|
14
|
-
import '../../shared/better-auth.
|
|
14
|
+
import '../../shared/better-auth.DgGir396.mjs';
|
|
15
15
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
16
|
-
import '../../shared/better-auth.
|
|
17
|
-
import '../../shared/better-auth.
|
|
16
|
+
import '../../shared/better-auth.s85tw7WK.mjs';
|
|
17
|
+
import '../../shared/better-auth.BTrSrKsi.mjs';
|
|
18
18
|
import '../../shared/better-auth.Cjw1GDsh.mjs';
|
|
19
19
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const mongodbAdapter = require('../../shared/better-auth.
|
|
3
|
+
const mongodbAdapter = require('../../shared/better-auth.CYAnqVt6.cjs');
|
|
4
4
|
require('mongodb');
|
|
5
|
-
require('../../shared/better-auth.
|
|
6
|
-
require('../../shared/better-auth.
|
|
7
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.BeG2jT4W.cjs');
|
|
6
|
+
require('../../shared/better-auth.Jlhc86WK.cjs');
|
|
7
|
+
require('../../shared/better-auth.BToNb2fI.cjs');
|
|
8
8
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
9
9
|
require('../../shared/better-auth.DF_1VOmo.cjs');
|
|
10
10
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { MongoClient, Db } from 'mongodb';
|
|
2
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.DqKkcQqz.cjs';
|
|
3
|
+
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
4
|
+
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
3
5
|
import 'zod';
|
|
4
6
|
import 'kysely';
|
|
5
7
|
import 'better-call';
|
|
6
|
-
import '
|
|
7
|
-
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
8
|
-
import 'zod/v4/core';
|
|
8
|
+
import '@better-auth/core/db';
|
|
9
9
|
import 'better-sqlite3';
|
|
10
10
|
import 'bun:sqlite';
|
|
11
11
|
import 'node:sqlite';
|
|
12
|
+
import 'zod/v4/core';
|
|
12
13
|
|
|
13
14
|
interface MongoDBAdapterConfig {
|
|
14
15
|
/**
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { MongoClient, Db } from 'mongodb';
|
|
2
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.D3mM8Vjv.mjs';
|
|
3
|
+
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
4
|
+
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
3
5
|
import 'zod';
|
|
4
6
|
import 'kysely';
|
|
5
7
|
import 'better-call';
|
|
6
|
-
import '
|
|
7
|
-
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
8
|
-
import 'zod/v4/core';
|
|
8
|
+
import '@better-auth/core/db';
|
|
9
9
|
import 'better-sqlite3';
|
|
10
10
|
import 'bun:sqlite';
|
|
11
11
|
import 'node:sqlite';
|
|
12
|
+
import 'zod/v4/core';
|
|
12
13
|
|
|
13
14
|
interface MongoDBAdapterConfig {
|
|
14
15
|
/**
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { MongoClient, Db } from 'mongodb';
|
|
2
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.Bpihoxnj.js';
|
|
3
|
+
import '../../shared/better-auth.4SXCyo06.js';
|
|
4
|
+
import '../../shared/better-auth.DTtXpZYr.js';
|
|
3
5
|
import 'zod';
|
|
4
6
|
import 'kysely';
|
|
5
7
|
import 'better-call';
|
|
6
|
-
import '
|
|
7
|
-
import '../../shared/better-auth.4SXCyo06.js';
|
|
8
|
-
import 'zod/v4/core';
|
|
8
|
+
import '@better-auth/core/db';
|
|
9
9
|
import 'better-sqlite3';
|
|
10
10
|
import 'bun:sqlite';
|
|
11
11
|
import 'node:sqlite';
|
|
12
|
+
import 'zod/v4/core';
|
|
12
13
|
|
|
13
14
|
interface MongoDBAdapterConfig {
|
|
14
15
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { m as mongodbAdapter } from '../../shared/better-auth.
|
|
1
|
+
export { m as mongodbAdapter } from '../../shared/better-auth.BcsQFfUA.mjs';
|
|
2
2
|
import 'mongodb';
|
|
3
|
-
import '../../shared/better-auth.
|
|
4
|
-
import '../../shared/better-auth.
|
|
5
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.s85tw7WK.mjs';
|
|
4
|
+
import '../../shared/better-auth.BTrSrKsi.mjs';
|
|
5
|
+
import '../../shared/better-auth.DgGir396.mjs';
|
|
6
6
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
7
7
|
import '../../shared/better-auth.Cjw1GDsh.mjs';
|
|
8
8
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
@@ -1,9 +1,9 @@
|
|
|
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.
|
|
6
|
-
require('../../shared/better-auth.
|
|
4
|
+
const index = require('../../shared/better-auth.BeG2jT4W.cjs');
|
|
5
|
+
require('../../shared/better-auth.Jlhc86WK.cjs');
|
|
6
|
+
require('../../shared/better-auth.BToNb2fI.cjs');
|
|
7
7
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
8
8
|
require('../../shared/better-auth.DF_1VOmo.cjs');
|
|
9
9
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
@@ -48,7 +48,7 @@ const prismaAdapter = (prisma, config) => {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
const convertWhereClause = (model, where) => {
|
|
51
|
-
if (!where) return {};
|
|
51
|
+
if (!where || !where.length) return {};
|
|
52
52
|
if (where.length === 1) {
|
|
53
53
|
const w = where[0];
|
|
54
54
|
if (!w) {
|
|
@@ -1,13 +1,14 @@
|
|
|
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.DqKkcQqz.cjs';
|
|
2
|
+
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
3
|
+
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
2
4
|
import 'zod';
|
|
3
5
|
import 'kysely';
|
|
4
6
|
import 'better-call';
|
|
5
|
-
import '
|
|
6
|
-
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
7
|
-
import 'zod/v4/core';
|
|
7
|
+
import '@better-auth/core/db';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
import 'bun:sqlite';
|
|
10
10
|
import 'node:sqlite';
|
|
11
|
+
import 'zod/v4/core';
|
|
11
12
|
|
|
12
13
|
interface PrismaConfig {
|
|
13
14
|
/**
|
|
@@ -1,13 +1,14 @@
|
|
|
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.D3mM8Vjv.mjs';
|
|
2
|
+
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
3
|
+
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
2
4
|
import 'zod';
|
|
3
5
|
import 'kysely';
|
|
4
6
|
import 'better-call';
|
|
5
|
-
import '
|
|
6
|
-
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
7
|
-
import 'zod/v4/core';
|
|
7
|
+
import '@better-auth/core/db';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
import 'bun:sqlite';
|
|
10
10
|
import 'node:sqlite';
|
|
11
|
+
import 'zod/v4/core';
|
|
11
12
|
|
|
12
13
|
interface PrismaConfig {
|
|
13
14
|
/**
|
|
@@ -1,13 +1,14 @@
|
|
|
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.Bpihoxnj.js';
|
|
2
|
+
import '../../shared/better-auth.4SXCyo06.js';
|
|
3
|
+
import '../../shared/better-auth.DTtXpZYr.js';
|
|
2
4
|
import 'zod';
|
|
3
5
|
import 'kysely';
|
|
4
6
|
import 'better-call';
|
|
5
|
-
import '
|
|
6
|
-
import '../../shared/better-auth.4SXCyo06.js';
|
|
7
|
-
import 'zod/v4/core';
|
|
7
|
+
import '@better-auth/core/db';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
import 'bun:sqlite';
|
|
10
10
|
import 'node:sqlite';
|
|
11
|
+
import 'zod/v4/core';
|
|
11
12
|
|
|
12
13
|
interface PrismaConfig {
|
|
13
14
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { B as BetterAuthError } from '../../shared/better-auth.DdzSJf-n.mjs';
|
|
2
|
-
import { c as createAdapterFactory } from '../../shared/better-auth.
|
|
3
|
-
import '../../shared/better-auth.
|
|
4
|
-
import '../../shared/better-auth.
|
|
2
|
+
import { c as createAdapterFactory } from '../../shared/better-auth.s85tw7WK.mjs';
|
|
3
|
+
import '../../shared/better-auth.BTrSrKsi.mjs';
|
|
4
|
+
import '../../shared/better-auth.DgGir396.mjs';
|
|
5
5
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
6
6
|
import '../../shared/better-auth.Cjw1GDsh.mjs';
|
|
7
7
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
@@ -46,7 +46,7 @@ const prismaAdapter = (prisma, config) => {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
const convertWhereClause = (model, where) => {
|
|
49
|
-
if (!where) return {};
|
|
49
|
+
if (!where || !where.length) return {};
|
|
50
50
|
if (where.length === 1) {
|
|
51
51
|
const w = where[0];
|
|
52
52
|
if (!w) {
|
package/dist/adapters/test.cjs
CHANGED
|
@@ -13,7 +13,7 @@ require('@noble/hashes/scrypt.js');
|
|
|
13
13
|
require('@better-auth/utils/hex');
|
|
14
14
|
require('@noble/hashes/utils.js');
|
|
15
15
|
require('../shared/better-auth.CYeOI8C-.cjs');
|
|
16
|
-
require('../shared/better-auth.
|
|
16
|
+
require('../shared/better-auth.BToNb2fI.cjs');
|
|
17
17
|
require('@better-auth/utils/random');
|
|
18
18
|
require('../shared/better-auth.B6fIklBU.cjs');
|
|
19
19
|
|
package/dist/adapters/test.d.cts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.DqKkcQqz.cjs';
|
|
2
|
+
import '../shared/better-auth.v_lf-jeY.cjs';
|
|
3
|
+
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
2
4
|
import 'zod';
|
|
3
5
|
import 'kysely';
|
|
4
6
|
import 'better-call';
|
|
5
|
-
import '
|
|
6
|
-
import '../shared/better-auth.v_lf-jeY.cjs';
|
|
7
|
-
import 'zod/v4/core';
|
|
7
|
+
import '@better-auth/core/db';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
import 'bun:sqlite';
|
|
10
10
|
import 'node:sqlite';
|
|
11
|
+
import 'zod/v4/core';
|
|
11
12
|
|
|
12
13
|
interface AdapterTestOptions {
|
|
13
|
-
getAdapter: (customOptions?: Omit<BetterAuthOptions, "database">) => Promise<Adapter
|
|
14
|
+
getAdapter: (customOptions?: Omit<BetterAuthOptions, "database">) => Promise<Adapter> | Adapter;
|
|
14
15
|
disableTests?: Partial<Record<keyof typeof adapterTests, boolean>>;
|
|
15
16
|
testPrefix?: string;
|
|
16
17
|
}
|