better-auth 1.3.8-beta.3 → 1.3.8-beta.4
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 +2 -2
- package/dist/adapters/drizzle-adapter/index.d.cts +3 -2
- package/dist/adapters/drizzle-adapter/index.d.mts +3 -2
- package/dist/adapters/drizzle-adapter/index.d.ts +3 -2
- package/dist/adapters/drizzle-adapter/index.mjs +2 -2
- package/dist/adapters/index.cjs +2 -2
- package/dist/adapters/index.d.cts +4 -3
- package/dist/adapters/index.d.mts +4 -3
- package/dist/adapters/index.d.ts +4 -3
- package/dist/adapters/index.mjs +2 -2
- package/dist/adapters/kysely-adapter/index.cjs +3 -3
- package/dist/adapters/kysely-adapter/index.d.cts +3 -2
- package/dist/adapters/kysely-adapter/index.d.mts +3 -2
- package/dist/adapters/kysely-adapter/index.d.ts +3 -2
- package/dist/adapters/kysely-adapter/index.mjs +3 -3
- package/dist/adapters/memory-adapter/index.cjs +3 -3
- package/dist/adapters/memory-adapter/index.d.cts +3 -2
- package/dist/adapters/memory-adapter/index.d.mts +3 -2
- package/dist/adapters/memory-adapter/index.d.ts +3 -2
- package/dist/adapters/memory-adapter/index.mjs +3 -3
- package/dist/adapters/mongodb-adapter/index.cjs +3 -3
- package/dist/adapters/mongodb-adapter/index.d.cts +3 -2
- package/dist/adapters/mongodb-adapter/index.d.mts +3 -2
- package/dist/adapters/mongodb-adapter/index.d.ts +3 -2
- package/dist/adapters/mongodb-adapter/index.mjs +3 -3
- package/dist/adapters/prisma-adapter/index.cjs +2 -2
- package/dist/adapters/prisma-adapter/index.d.cts +3 -2
- package/dist/adapters/prisma-adapter/index.d.mts +3 -2
- package/dist/adapters/prisma-adapter/index.d.ts +3 -2
- package/dist/adapters/prisma-adapter/index.mjs +2 -2
- package/dist/adapters/test.d.cts +3 -2
- package/dist/adapters/test.d.mts +3 -2
- package/dist/adapters/test.d.ts +3 -2
- package/dist/api/index.cjs +3 -3
- 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 +4 -4
- package/dist/client/index.d.cts +5 -4
- package/dist/client/index.d.mts +5 -4
- package/dist/client/index.d.ts +5 -4
- package/dist/client/plugins/index.d.cts +5 -4
- package/dist/client/plugins/index.d.mts +5 -4
- package/dist/client/plugins/index.d.ts +5 -4
- package/dist/client/react/index.d.cts +4 -3
- package/dist/client/react/index.d.mts +4 -3
- package/dist/client/react/index.d.ts +4 -3
- package/dist/client/solid/index.d.cts +4 -3
- package/dist/client/solid/index.d.mts +4 -3
- package/dist/client/solid/index.d.ts +4 -3
- package/dist/client/svelte/index.d.cts +4 -3
- package/dist/client/svelte/index.d.mts +4 -3
- package/dist/client/svelte/index.d.ts +4 -3
- package/dist/client/vue/index.d.cts +4 -3
- package/dist/client/vue/index.d.mts +4 -3
- package/dist/client/vue/index.d.ts +4 -3
- package/dist/cookies/index.d.cts +3 -2
- package/dist/cookies/index.d.mts +3 -2
- package/dist/cookies/index.d.ts +3 -2
- package/dist/db/index.cjs +5 -5
- package/dist/db/index.d.cts +4 -3
- package/dist/db/index.d.mts +4 -3
- package/dist/db/index.d.ts +4 -3
- package/dist/db/index.mjs +5 -5
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +12 -11
- package/dist/index.d.mts +12 -11
- package/dist/index.d.ts +12 -11
- package/dist/index.mjs +7 -7
- package/dist/integrations/next-js.cjs +2 -3
- package/dist/integrations/next-js.d.cts +3 -2
- package/dist/integrations/next-js.d.mts +3 -2
- package/dist/integrations/next-js.d.ts +3 -2
- package/dist/integrations/next-js.mjs +2 -3
- package/dist/integrations/node.d.cts +3 -2
- package/dist/integrations/node.d.mts +3 -2
- package/dist/integrations/node.d.ts +3 -2
- package/dist/integrations/react-start.cjs +2 -3
- package/dist/integrations/react-start.d.cts +3 -2
- package/dist/integrations/react-start.d.mts +3 -2
- package/dist/integrations/react-start.d.ts +3 -2
- package/dist/integrations/react-start.mjs +2 -3
- package/dist/integrations/svelte-kit.cjs +1 -1
- package/dist/integrations/svelte-kit.d.cts +9 -11
- package/dist/integrations/svelte-kit.d.mts +9 -11
- package/dist/integrations/svelte-kit.d.ts +9 -11
- package/dist/integrations/svelte-kit.mjs +1 -1
- package/dist/oauth2/index.cjs +1 -1
- package/dist/oauth2/index.d.cts +5 -4
- package/dist/oauth2/index.d.mts +5 -4
- package/dist/oauth2/index.d.ts +5 -4
- package/dist/oauth2/index.mjs +1 -1
- package/dist/plugins/admin/index.cjs +2 -2
- package/dist/plugins/admin/index.d.cts +5 -4
- package/dist/plugins/admin/index.d.mts +5 -4
- package/dist/plugins/admin/index.d.ts +5 -4
- package/dist/plugins/admin/index.mjs +2 -2
- package/dist/plugins/anonymous/index.cjs +1 -1
- package/dist/plugins/anonymous/index.d.cts +3 -2
- package/dist/plugins/anonymous/index.d.mts +3 -2
- package/dist/plugins/anonymous/index.d.ts +3 -2
- package/dist/plugins/anonymous/index.mjs +1 -1
- package/dist/plugins/bearer/index.cjs +1 -1
- package/dist/plugins/bearer/index.d.cts +3 -2
- package/dist/plugins/bearer/index.d.mts +3 -2
- package/dist/plugins/bearer/index.d.ts +3 -2
- package/dist/plugins/bearer/index.mjs +1 -1
- package/dist/plugins/captcha/index.d.cts +3 -2
- package/dist/plugins/captcha/index.d.mts +3 -2
- package/dist/plugins/captcha/index.d.ts +3 -2
- package/dist/plugins/custom-session/index.cjs +1 -1
- package/dist/plugins/custom-session/index.d.cts +3 -2
- package/dist/plugins/custom-session/index.d.mts +3 -2
- package/dist/plugins/custom-session/index.d.ts +3 -2
- package/dist/plugins/custom-session/index.mjs +1 -1
- package/dist/plugins/device-authorization/index.cjs +2 -2
- package/dist/plugins/device-authorization/index.d.cts +3 -2
- package/dist/plugins/device-authorization/index.d.mts +3 -2
- package/dist/plugins/device-authorization/index.d.ts +3 -2
- package/dist/plugins/device-authorization/index.mjs +2 -2
- package/dist/plugins/email-otp/index.cjs +1 -1
- package/dist/plugins/email-otp/index.d.cts +3 -2
- package/dist/plugins/email-otp/index.d.mts +3 -2
- package/dist/plugins/email-otp/index.d.ts +3 -2
- package/dist/plugins/email-otp/index.mjs +1 -1
- package/dist/plugins/generic-oauth/index.cjs +3 -3
- package/dist/plugins/generic-oauth/index.d.cts +3 -2
- package/dist/plugins/generic-oauth/index.d.mts +3 -2
- package/dist/plugins/generic-oauth/index.d.ts +3 -2
- package/dist/plugins/generic-oauth/index.mjs +3 -3
- package/dist/plugins/haveibeenpwned/index.cjs +1 -1
- package/dist/plugins/haveibeenpwned/index.d.cts +3 -2
- package/dist/plugins/haveibeenpwned/index.d.mts +3 -2
- package/dist/plugins/haveibeenpwned/index.d.ts +3 -2
- package/dist/plugins/haveibeenpwned/index.mjs +1 -1
- package/dist/plugins/index.cjs +11 -10
- package/dist/plugins/index.d.cts +8 -7
- package/dist/plugins/index.d.mts +8 -7
- package/dist/plugins/index.d.ts +8 -7
- package/dist/plugins/index.mjs +10 -10
- package/dist/plugins/jwt/index.cjs +46 -185
- package/dist/plugins/jwt/index.d.cts +66 -35
- package/dist/plugins/jwt/index.d.mts +66 -35
- package/dist/plugins/jwt/index.d.ts +66 -35
- package/dist/plugins/jwt/index.mjs +39 -178
- package/dist/plugins/magic-link/index.cjs +1 -1
- package/dist/plugins/magic-link/index.mjs +1 -1
- package/dist/plugins/multi-session/index.cjs +1 -1
- package/dist/plugins/multi-session/index.d.cts +3 -2
- package/dist/plugins/multi-session/index.d.mts +3 -2
- package/dist/plugins/multi-session/index.d.ts +3 -2
- package/dist/plugins/multi-session/index.mjs +1 -1
- package/dist/plugins/oauth-proxy/index.cjs +1 -1
- package/dist/plugins/oauth-proxy/index.d.cts +3 -2
- package/dist/plugins/oauth-proxy/index.d.mts +3 -2
- package/dist/plugins/oauth-proxy/index.d.ts +3 -2
- package/dist/plugins/oauth-proxy/index.mjs +1 -1
- package/dist/plugins/oidc-provider/index.cjs +5 -6
- package/dist/plugins/oidc-provider/index.d.cts +117 -6
- package/dist/plugins/oidc-provider/index.d.mts +117 -6
- package/dist/plugins/oidc-provider/index.d.ts +117 -6
- package/dist/plugins/oidc-provider/index.mjs +5 -6
- package/dist/plugins/one-tap/index.cjs +1 -1
- package/dist/plugins/one-tap/index.mjs +1 -1
- package/dist/plugins/one-time-token/index.cjs +3 -4
- package/dist/plugins/one-time-token/index.d.cts +3 -2
- package/dist/plugins/one-time-token/index.d.mts +3 -2
- package/dist/plugins/one-time-token/index.d.ts +3 -2
- package/dist/plugins/one-time-token/index.mjs +3 -4
- package/dist/plugins/open-api/index.cjs +2 -2
- package/dist/plugins/open-api/index.d.cts +3 -2
- package/dist/plugins/open-api/index.d.mts +3 -2
- package/dist/plugins/open-api/index.d.ts +3 -2
- package/dist/plugins/open-api/index.mjs +2 -2
- package/dist/plugins/organization/index.cjs +3 -3
- package/dist/plugins/organization/index.d.cts +3 -2
- package/dist/plugins/organization/index.d.mts +3 -2
- package/dist/plugins/organization/index.d.ts +3 -2
- package/dist/plugins/organization/index.mjs +3 -3
- package/dist/plugins/passkey/index.cjs +1 -1
- package/dist/plugins/passkey/index.d.cts +3 -2
- package/dist/plugins/passkey/index.d.mts +3 -2
- package/dist/plugins/passkey/index.d.ts +3 -2
- package/dist/plugins/passkey/index.mjs +1 -1
- package/dist/plugins/phone-number/index.cjs +1 -1
- package/dist/plugins/phone-number/index.d.cts +3 -2
- package/dist/plugins/phone-number/index.d.mts +3 -2
- package/dist/plugins/phone-number/index.d.ts +3 -2
- package/dist/plugins/phone-number/index.mjs +1 -1
- package/dist/plugins/siwe/index.cjs +1 -1
- package/dist/plugins/siwe/index.d.cts +3 -2
- package/dist/plugins/siwe/index.d.mts +3 -2
- package/dist/plugins/siwe/index.d.ts +3 -2
- package/dist/plugins/siwe/index.mjs +1 -1
- package/dist/plugins/sso/index.cjs +1 -1
- package/dist/plugins/sso/index.d.cts +5 -4
- package/dist/plugins/sso/index.d.mts +5 -4
- package/dist/plugins/sso/index.d.ts +5 -4
- package/dist/plugins/sso/index.mjs +1 -1
- package/dist/plugins/two-factor/index.cjs +1 -1
- package/dist/plugins/two-factor/index.d.cts +3 -2
- package/dist/plugins/two-factor/index.d.mts +3 -2
- package/dist/plugins/two-factor/index.d.ts +3 -2
- package/dist/plugins/two-factor/index.mjs +1 -1
- package/dist/plugins/username/index.cjs +1 -1
- package/dist/plugins/username/index.d.cts +5 -4
- package/dist/plugins/username/index.d.mts +5 -4
- package/dist/plugins/username/index.d.ts +5 -4
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/shared/better-auth.AeIHgLBF.cjs +153 -0
- package/dist/shared/{better-auth.B29NjI62.d.cts → better-auth.B7MQmN7r.d.cts} +1 -1
- package/dist/shared/{better-auth.B548OOOk.mjs → better-auth.BHgyyrFr.mjs} +2 -3
- package/dist/shared/{better-auth.BNhZazTR.cjs → better-auth.BI9sTLIb.cjs} +2 -2
- package/dist/shared/{better-auth.C8Y2rhan.mjs → better-auth.BNczdx42.mjs} +2 -2
- package/dist/shared/{better-auth.CL4S7WA5.cjs → better-auth.BQZK-wJu.cjs} +1 -1
- package/dist/shared/{better-auth.CsvyivcG.mjs → better-auth.BT8cUF7T.mjs} +7 -5
- package/dist/shared/{better-auth.pXA_xs2e.cjs → better-auth.BUiElJM6.cjs} +2 -3
- package/dist/shared/{better-auth.DoFtnL_B.d.mts → better-auth.BeA5VIAP.d.mts} +1 -1
- package/dist/shared/{better-auth.DORkW_Ge.mjs → better-auth.BfEVD9iF.mjs} +6 -2
- package/dist/shared/{better-auth.DymB1NxW.d.mts → better-auth.BgBYBYNw.d.mts} +5 -5
- package/dist/shared/{better-auth.BEphVDyL.cjs → better-auth.Bt_3DcBl.cjs} +6 -2
- package/dist/shared/better-auth.BttC_x9D.mjs +147 -0
- package/dist/shared/{better-auth.B_3Nie7C.mjs → better-auth.CAew6LWO.mjs} +1 -1
- package/dist/shared/{better-auth.tDeNcGKy.d.ts → better-auth.CG1BaUDq.d.ts} +5 -5
- package/dist/shared/{better-auth.BblrvPZ3.cjs → better-auth.CGAZXf66.cjs} +1 -1
- package/dist/shared/{better-auth.oCjO5qEz.d.mts → better-auth.CHQjJhgG.d.mts} +22 -13
- package/dist/shared/{better-auth.B-xYKxwt.mjs → better-auth.CHS_bFaK.mjs} +4 -4
- package/dist/shared/{better-auth.DY8mXezF.mjs → better-auth.CI84ZLNV.mjs} +1 -1
- package/dist/shared/{better-auth.D96SwENp.mjs → better-auth.CLdWb3SL.mjs} +2 -2
- package/dist/shared/{better-auth.Bxn_1Cii.d.ts → better-auth.CYkDoFdW.d.ts} +22 -13
- package/dist/shared/{better-auth.CMnvkNNK.cjs → better-auth.Cc3_crZ-.cjs} +1 -1
- package/dist/shared/{better-auth.CR4J09bm.cjs → better-auth.Ceym6hBa.cjs} +1 -1
- package/dist/shared/{better-auth.BYJu3IQC.d.ts → better-auth.CfjjR3nO.d.ts} +1 -1
- package/dist/shared/{better-auth.BWfwO5vl.d.cts → better-auth.CkxRAus3.d.cts} +22 -13
- package/dist/shared/{better-auth.spuYC23a.cjs → better-auth.CpW8Jb6y.cjs} +3 -3
- package/dist/shared/{better-auth.BU9YW_qQ.d.cts → better-auth.Cv9uwNRT.d.cts} +5 -5
- package/dist/shared/{better-auth.CFZJKUMM.cjs → better-auth.D2zPwm_k.cjs} +4 -4
- package/dist/shared/{better-auth.BqrGtIt2.d.mts → better-auth.DBjOlY_t.d.mts} +1 -1
- package/dist/shared/{better-auth.BvN9j5Ap.d.ts → better-auth.DCqgE_iR.d.ts} +1 -1
- package/dist/shared/{better-auth.D4yr0Ou1.d.ts → better-auth.DI5tnNZs.d.ts} +546 -6
- package/dist/shared/{better-auth.Du7MKGKS.d.cts → better-auth.DQINKBiT.d.cts} +546 -6
- package/dist/shared/{better-auth.UmJlYEfa.cjs → better-auth.DRp9PWyh.cjs} +392 -5
- package/dist/shared/{better-auth.Cl1MyjEq.mjs → better-auth.Ddn-Kb43.mjs} +389 -6
- package/dist/shared/{better-auth.cBJ0kvYy.cjs → better-auth.DlH62fwB.cjs} +1 -1
- package/dist/shared/{better-auth.Dqe7GuxR.mjs → better-auth.DmODih0G.mjs} +3 -3
- package/dist/shared/{better-auth.BSGkasIG.mjs → better-auth.DqZkb8RK.mjs} +1 -1
- package/dist/shared/{better-auth.D2gg3ys1.d.cts → better-auth.DqkDf_wI.d.cts} +1 -1
- package/dist/shared/{better-auth.BQNzC8cU.mjs → better-auth.Duh5FRN2.mjs} +1 -1
- package/dist/shared/{better-auth.CKjaHNrP.cjs → better-auth.G4r7NeaH.cjs} +8 -6
- package/dist/shared/{better-auth.F1OUHOUm.d.mts → better-auth.QB8jx8j0.d.mts} +546 -6
- package/dist/shared/{better-auth.DZVMh_VM.mjs → better-auth.SIzsChC6.mjs} +1 -1
- package/dist/shared/{better-auth.BpptWVxZ.cjs → better-auth.xvxdjoSR.cjs} +2 -2
- package/dist/social-providers/index.cjs +5 -1
- package/dist/social-providers/index.d.cts +1 -1
- package/dist/social-providers/index.d.mts +1 -1
- package/dist/social-providers/index.d.ts +1 -1
- package/dist/social-providers/index.mjs +1 -1
- package/dist/test-utils/index.cjs +15 -12
- package/dist/test-utils/index.d.cts +18 -17
- package/dist/test-utils/index.d.mts +18 -17
- package/dist/test-utils/index.d.ts +18 -17
- package/dist/test-utils/index.mjs +15 -12
- package/dist/types/index.d.cts +4 -3
- package/dist/types/index.d.mts +4 -3
- package/dist/types/index.d.ts +4 -3
- package/package.json +5 -6
- package/dist/shared/better-auth.CGrHn1Ih.mjs +0 -28
- package/dist/shared/better-auth.DI0OyFsZ.cjs +0 -44
|
@@ -2,10 +2,10 @@
|
|
|
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.Cc3_crZ-.cjs');
|
|
6
6
|
require('../../shared/better-auth.vPQBmXQL.cjs');
|
|
7
7
|
require('../../shared/better-auth.B3274wGK.cjs');
|
|
8
|
-
require('../../shared/better-auth.
|
|
8
|
+
require('../../shared/better-auth.Bt_3DcBl.cjs');
|
|
9
9
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
10
10
|
require('@better-auth/utils/random');
|
|
11
11
|
require('zod/v4');
|
|
@@ -1,14 +1,15 @@
|
|
|
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.CkxRAus3.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DQINKBiT.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface DB {
|
|
14
15
|
[key: string]: any;
|
|
@@ -1,14 +1,15 @@
|
|
|
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.CHQjJhgG.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.QB8jx8j0.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface DB {
|
|
14
15
|
[key: string]: any;
|
|
@@ -1,14 +1,15 @@
|
|
|
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.CYkDoFdW.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DI5tnNZs.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface DB {
|
|
14
15
|
[key: string]: any;
|
|
@@ -1,9 +1,9 @@
|
|
|
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.
|
|
3
|
+
import { c as createAdapter } from '../../shared/better-auth.DqZkb8RK.mjs';
|
|
4
4
|
import '../../shared/better-auth.BZZKN1g7.mjs';
|
|
5
5
|
import '../../shared/better-auth.BjBlybv-.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.BfEVD9iF.mjs';
|
|
7
7
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
8
8
|
import '@better-auth/utils/random';
|
|
9
9
|
import 'zod/v4';
|
package/dist/adapters/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('../shared/better-auth.
|
|
3
|
+
const index = require('../shared/better-auth.Cc3_crZ-.cjs');
|
|
4
4
|
require('../shared/better-auth.vPQBmXQL.cjs');
|
|
5
5
|
require('../shared/better-auth.B3274wGK.cjs');
|
|
6
|
-
require('../shared/better-auth.
|
|
6
|
+
require('../shared/better-auth.Bt_3DcBl.cjs');
|
|
7
7
|
require('../shared/better-auth.Bg6iw3ig.cjs');
|
|
8
8
|
require('@better-auth/utils/random');
|
|
9
9
|
require('zod/v4');
|
|
@@ -1,15 +1,16 @@
|
|
|
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.CkxRAus3.cjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.CkxRAus3.cjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.DQINKBiT.cjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'better-sqlite3';
|
|
12
12
|
import 'bun:sqlite';
|
|
13
|
+
import 'node:sqlite';
|
|
13
14
|
|
|
14
15
|
declare const createAdapter: ({ adapter, config: cfg, }: {
|
|
15
16
|
config: AdapterConfig;
|
|
@@ -1,15 +1,16 @@
|
|
|
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.CHQjJhgG.mjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.CHQjJhgG.mjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.QB8jx8j0.mjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'better-sqlite3';
|
|
12
12
|
import 'bun:sqlite';
|
|
13
|
+
import 'node:sqlite';
|
|
13
14
|
|
|
14
15
|
declare const createAdapter: ({ adapter, config: cfg, }: {
|
|
15
16
|
config: AdapterConfig;
|
package/dist/adapters/index.d.ts
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
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.CYkDoFdW.js';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.CYkDoFdW.js';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.DI5tnNZs.js';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'better-sqlite3';
|
|
12
12
|
import 'bun:sqlite';
|
|
13
|
+
import 'node:sqlite';
|
|
13
14
|
|
|
14
15
|
declare const createAdapter: ({ adapter, config: cfg, }: {
|
|
15
16
|
config: AdapterConfig;
|
package/dist/adapters/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { c as createAdapter } from '../shared/better-auth.
|
|
1
|
+
export { c as createAdapter } from '../shared/better-auth.DqZkb8RK.mjs';
|
|
2
2
|
import '../shared/better-auth.BZZKN1g7.mjs';
|
|
3
3
|
import '../shared/better-auth.BjBlybv-.mjs';
|
|
4
|
-
import '../shared/better-auth.
|
|
4
|
+
import '../shared/better-auth.BfEVD9iF.mjs';
|
|
5
5
|
import '../shared/better-auth.BUPPRXfK.mjs';
|
|
6
6
|
import '@better-auth/utils/random';
|
|
7
7
|
import 'zod/v4';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const kyselyAdapter = require('../../shared/better-auth.
|
|
3
|
+
const kyselyAdapter = require('../../shared/better-auth.BI9sTLIb.cjs');
|
|
4
4
|
require('kysely');
|
|
5
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.Cc3_crZ-.cjs');
|
|
6
6
|
require('../../shared/better-auth.vPQBmXQL.cjs');
|
|
7
7
|
require('../../shared/better-auth.B3274wGK.cjs');
|
|
8
|
-
require('../../shared/better-auth.
|
|
8
|
+
require('../../shared/better-auth.Bt_3DcBl.cjs');
|
|
9
9
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
10
10
|
require('@better-auth/utils/random');
|
|
11
11
|
require('zod/v4');
|
|
@@ -1,14 +1,15 @@
|
|
|
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.CkxRAus3.cjs';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DQINKBiT.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
declare function getKyselyDatabaseType(db: BetterAuthOptions["database"]): KyselyDatabaseType | null;
|
|
14
15
|
declare const createKyselyAdapter: (config: BetterAuthOptions) => Promise<{
|
|
@@ -1,14 +1,15 @@
|
|
|
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.CHQjJhgG.mjs';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.QB8jx8j0.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
declare function getKyselyDatabaseType(db: BetterAuthOptions["database"]): KyselyDatabaseType | null;
|
|
14
15
|
declare const createKyselyAdapter: (config: BetterAuthOptions) => Promise<{
|
|
@@ -1,14 +1,15 @@
|
|
|
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.CYkDoFdW.js';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DI5tnNZs.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
declare function getKyselyDatabaseType(db: BetterAuthOptions["database"]): KyselyDatabaseType | null;
|
|
14
15
|
declare const createKyselyAdapter: (config: BetterAuthOptions) => Promise<{
|
|
@@ -1,9 +1,9 @@
|
|
|
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.CLdWb3SL.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.DqZkb8RK.mjs';
|
|
4
4
|
import '../../shared/better-auth.BZZKN1g7.mjs';
|
|
5
5
|
import '../../shared/better-auth.BjBlybv-.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.BfEVD9iF.mjs';
|
|
7
7
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
8
8
|
import '@better-auth/utils/random';
|
|
9
9
|
import 'zod/v4';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const memoryAdapter = require('../../shared/better-auth.
|
|
3
|
+
const memoryAdapter = require('../../shared/better-auth.BQZK-wJu.cjs');
|
|
4
4
|
require('@better-auth/utils/random');
|
|
5
5
|
require('zod/v4');
|
|
6
6
|
require('better-call');
|
|
@@ -16,9 +16,9 @@ require('@better-auth/utils/hex');
|
|
|
16
16
|
require('@noble/hashes/utils');
|
|
17
17
|
require('../../shared/better-auth.CYeOI8C-.cjs');
|
|
18
18
|
require('../../shared/better-auth.B3274wGK.cjs');
|
|
19
|
-
require('../../shared/better-auth.
|
|
19
|
+
require('../../shared/better-auth.Cc3_crZ-.cjs');
|
|
20
20
|
require('../../shared/better-auth.vPQBmXQL.cjs');
|
|
21
|
-
require('../../shared/better-auth.
|
|
21
|
+
require('../../shared/better-auth.Bt_3DcBl.cjs');
|
|
22
22
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
@@ -1,14 +1,15 @@
|
|
|
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.CkxRAus3.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DQINKBiT.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface MemoryDB {
|
|
14
15
|
[key: string]: any[];
|
|
@@ -1,14 +1,15 @@
|
|
|
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.CHQjJhgG.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.QB8jx8j0.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface MemoryDB {
|
|
14
15
|
[key: string]: any[];
|
|
@@ -1,14 +1,15 @@
|
|
|
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.CYkDoFdW.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DI5tnNZs.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface MemoryDB {
|
|
14
15
|
[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.CAew6LWO.mjs';
|
|
2
2
|
import '@better-auth/utils/random';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import 'better-call';
|
|
@@ -14,7 +14,7 @@ import '@better-auth/utils/hex';
|
|
|
14
14
|
import '@noble/hashes/utils';
|
|
15
15
|
import '../../shared/better-auth.B4Qoxdgc.mjs';
|
|
16
16
|
import '../../shared/better-auth.BjBlybv-.mjs';
|
|
17
|
-
import '../../shared/better-auth.
|
|
17
|
+
import '../../shared/better-auth.DqZkb8RK.mjs';
|
|
18
18
|
import '../../shared/better-auth.BZZKN1g7.mjs';
|
|
19
|
-
import '../../shared/better-auth.
|
|
19
|
+
import '../../shared/better-auth.BfEVD9iF.mjs';
|
|
20
20
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const mongodbAdapter = require('../../shared/better-auth.
|
|
3
|
+
const mongodbAdapter = require('../../shared/better-auth.CGAZXf66.cjs');
|
|
4
4
|
require('mongodb');
|
|
5
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.Cc3_crZ-.cjs');
|
|
6
6
|
require('../../shared/better-auth.vPQBmXQL.cjs');
|
|
7
7
|
require('../../shared/better-auth.B3274wGK.cjs');
|
|
8
|
-
require('../../shared/better-auth.
|
|
8
|
+
require('../../shared/better-auth.Bt_3DcBl.cjs');
|
|
9
9
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
10
10
|
require('@better-auth/utils/random');
|
|
11
11
|
require('zod/v4');
|
|
@@ -1,15 +1,16 @@
|
|
|
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.CkxRAus3.cjs';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
7
|
-
import '../../shared/better-auth.
|
|
7
|
+
import '../../shared/better-auth.DQINKBiT.cjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'better-sqlite3';
|
|
12
12
|
import 'bun:sqlite';
|
|
13
|
+
import 'node:sqlite';
|
|
13
14
|
|
|
14
15
|
interface MongoDBAdapterConfig {
|
|
15
16
|
/**
|
|
@@ -1,15 +1,16 @@
|
|
|
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.CHQjJhgG.mjs';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
7
|
-
import '../../shared/better-auth.
|
|
7
|
+
import '../../shared/better-auth.QB8jx8j0.mjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'better-sqlite3';
|
|
12
12
|
import 'bun:sqlite';
|
|
13
|
+
import 'node:sqlite';
|
|
13
14
|
|
|
14
15
|
interface MongoDBAdapterConfig {
|
|
15
16
|
/**
|
|
@@ -1,15 +1,16 @@
|
|
|
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.CYkDoFdW.js';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
7
|
-
import '../../shared/better-auth.
|
|
7
|
+
import '../../shared/better-auth.DI5tnNZs.js';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'better-sqlite3';
|
|
12
12
|
import 'bun:sqlite';
|
|
13
|
+
import 'node:sqlite';
|
|
13
14
|
|
|
14
15
|
interface MongoDBAdapterConfig {
|
|
15
16
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { m as mongodbAdapter } from '../../shared/better-auth.
|
|
1
|
+
export { m as mongodbAdapter } from '../../shared/better-auth.Duh5FRN2.mjs';
|
|
2
2
|
import 'mongodb';
|
|
3
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.DqZkb8RK.mjs';
|
|
4
4
|
import '../../shared/better-auth.BZZKN1g7.mjs';
|
|
5
5
|
import '../../shared/better-auth.BjBlybv-.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.BfEVD9iF.mjs';
|
|
7
7
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
8
8
|
import '@better-auth/utils/random';
|
|
9
9
|
import 'zod/v4';
|
|
@@ -1,10 +1,10 @@
|
|
|
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.Cc3_crZ-.cjs');
|
|
5
5
|
require('../../shared/better-auth.vPQBmXQL.cjs');
|
|
6
6
|
require('../../shared/better-auth.B3274wGK.cjs');
|
|
7
|
-
require('../../shared/better-auth.
|
|
7
|
+
require('../../shared/better-auth.Bt_3DcBl.cjs');
|
|
8
8
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
9
9
|
require('@better-auth/utils/random');
|
|
10
10
|
require('zod/v4');
|
|
@@ -1,14 +1,15 @@
|
|
|
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.CkxRAus3.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DQINKBiT.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface PrismaConfig {
|
|
14
15
|
/**
|
|
@@ -1,14 +1,15 @@
|
|
|
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.CHQjJhgG.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.QB8jx8j0.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface PrismaConfig {
|
|
14
15
|
/**
|
|
@@ -1,14 +1,15 @@
|
|
|
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.CYkDoFdW.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DI5tnNZs.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface PrismaConfig {
|
|
14
15
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { B as BetterAuthError } from '../../shared/better-auth.DdzSJf-n.mjs';
|
|
2
|
-
import { c as createAdapter } from '../../shared/better-auth.
|
|
2
|
+
import { c as createAdapter } from '../../shared/better-auth.DqZkb8RK.mjs';
|
|
3
3
|
import '../../shared/better-auth.BZZKN1g7.mjs';
|
|
4
4
|
import '../../shared/better-auth.BjBlybv-.mjs';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.BfEVD9iF.mjs';
|
|
6
6
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
7
7
|
import '@better-auth/utils/random';
|
|
8
8
|
import 'zod/v4';
|
package/dist/adapters/test.d.cts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.CkxRAus3.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.DQINKBiT.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface AdapterTestOptions {
|
|
14
15
|
getAdapter: (customOptions?: Omit<BetterAuthOptions, "database">) => Promise<Adapter>;
|
package/dist/adapters/test.d.mts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.CHQjJhgG.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.QB8jx8j0.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface AdapterTestOptions {
|
|
14
15
|
getAdapter: (customOptions?: Omit<BetterAuthOptions, "database">) => Promise<Adapter>;
|
package/dist/adapters/test.d.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.CYkDoFdW.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.DI5tnNZs.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
|
12
13
|
|
|
13
14
|
interface AdapterTestOptions {
|
|
14
15
|
getAdapter: (customOptions?: Omit<BetterAuthOptions, "database">) => Promise<Adapter>;
|
package/dist/api/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.DRp9PWyh.cjs');
|
|
5
5
|
const session = require('../shared/better-auth.DmBU2Klq.cjs');
|
|
6
6
|
const z = require('zod/v4');
|
|
7
7
|
const cookies_index = require('../shared/better-auth.l2-e84v_.cjs');
|
|
@@ -527,7 +527,7 @@ function getEndpoints(ctx, options) {
|
|
|
527
527
|
);
|
|
528
528
|
const middlewares = options.plugins?.map(
|
|
529
529
|
(plugin) => plugin.middlewares?.map((m) => {
|
|
530
|
-
const middleware = async (context) => {
|
|
530
|
+
const middleware = (async (context) => {
|
|
531
531
|
const authContext = await ctx;
|
|
532
532
|
return m.middleware({
|
|
533
533
|
...context,
|
|
@@ -536,7 +536,7 @@ function getEndpoints(ctx, options) {
|
|
|
536
536
|
...context.context
|
|
537
537
|
}
|
|
538
538
|
});
|
|
539
|
-
};
|
|
539
|
+
});
|
|
540
540
|
middleware.options = m.middleware.options;
|
|
541
541
|
return {
|
|
542
542
|
path: m.path,
|
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.DQINKBiT.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.CkxRAus3.cjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
5
5
|
import 'zod/v4/core';
|
|
@@ -9,3 +9,4 @@ import 'jose';
|
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|