better-auth 1.3.8-beta.4 → 1.3.8-beta.6
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 +1 -1
- package/dist/adapters/drizzle-adapter/index.d.mts +1 -1
- package/dist/adapters/drizzle-adapter/index.d.ts +1 -1
- package/dist/adapters/drizzle-adapter/index.mjs +1 -1
- package/dist/adapters/index.cjs +1 -1
- package/dist/adapters/index.d.cts +2 -2
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/index.d.ts +2 -2
- package/dist/adapters/index.mjs +1 -1
- package/dist/adapters/kysely-adapter/index.cjs +2 -2
- package/dist/adapters/kysely-adapter/index.d.cts +1 -1
- package/dist/adapters/kysely-adapter/index.d.mts +1 -1
- package/dist/adapters/kysely-adapter/index.d.ts +1 -1
- 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 +1 -1
- package/dist/adapters/memory-adapter/index.d.mts +1 -1
- package/dist/adapters/memory-adapter/index.d.ts +1 -1
- 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 +1 -1
- package/dist/adapters/mongodb-adapter/index.d.mts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.ts +1 -1
- 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 +1 -1
- package/dist/adapters/prisma-adapter/index.d.mts +1 -1
- package/dist/adapters/prisma-adapter/index.d.ts +1 -1
- package/dist/adapters/prisma-adapter/index.mjs +1 -1
- package/dist/adapters/test.d.cts +1 -1
- package/dist/adapters/test.d.mts +1 -1
- package/dist/adapters/test.d.ts +1 -1
- package/dist/api/index.cjs +3 -3
- package/dist/api/index.d.cts +1 -1
- package/dist/api/index.d.mts +1 -1
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.mjs +5 -5
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.mts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/plugins/index.d.cts +3 -3
- package/dist/client/plugins/index.d.mts +3 -3
- package/dist/client/plugins/index.d.ts +3 -3
- package/dist/client/react/index.d.cts +2 -2
- package/dist/client/react/index.d.mts +2 -2
- package/dist/client/react/index.d.ts +2 -2
- package/dist/client/solid/index.d.cts +8 -8
- package/dist/client/solid/index.d.mts +8 -8
- package/dist/client/solid/index.d.ts +8 -8
- package/dist/client/svelte/index.d.cts +8 -8
- package/dist/client/svelte/index.d.mts +8 -8
- package/dist/client/svelte/index.d.ts +8 -8
- package/dist/client/vue/index.d.cts +2 -2
- package/dist/client/vue/index.d.mts +2 -2
- package/dist/client/vue/index.d.ts +2 -2
- package/dist/cookies/index.d.cts +1 -1
- package/dist/cookies/index.d.mts +1 -1
- package/dist/cookies/index.d.ts +1 -1
- package/dist/crypto/index.cjs +4 -0
- package/dist/crypto/index.mjs +4 -0
- package/dist/db/index.cjs +4 -4
- package/dist/db/index.d.cts +2 -2
- package/dist/db/index.d.mts +2 -2
- package/dist/db/index.d.ts +2 -2
- package/dist/db/index.mjs +4 -4
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +7 -7
- package/dist/integrations/next-js.cjs +3 -3
- package/dist/integrations/next-js.d.cts +1 -1
- package/dist/integrations/next-js.d.mts +1 -1
- package/dist/integrations/next-js.d.ts +1 -1
- package/dist/integrations/next-js.mjs +3 -3
- package/dist/integrations/node.d.cts +1 -1
- package/dist/integrations/node.d.mts +1 -1
- package/dist/integrations/node.d.ts +1 -1
- package/dist/integrations/react-start.cjs +3 -3
- package/dist/integrations/react-start.d.cts +1 -1
- package/dist/integrations/react-start.d.mts +1 -1
- package/dist/integrations/react-start.d.ts +1 -1
- package/dist/integrations/react-start.mjs +3 -3
- package/dist/integrations/svelte-kit.cjs +3 -3
- package/dist/integrations/svelte-kit.d.cts +1 -1
- package/dist/integrations/svelte-kit.d.mts +1 -1
- package/dist/integrations/svelte-kit.d.ts +1 -1
- package/dist/integrations/svelte-kit.mjs +3 -3
- package/dist/oauth2/index.cjs +2 -2
- package/dist/oauth2/index.d.cts +2 -2
- package/dist/oauth2/index.d.mts +2 -2
- package/dist/oauth2/index.d.ts +2 -2
- package/dist/oauth2/index.mjs +2 -2
- package/dist/plugins/admin/index.cjs +3 -3
- package/dist/plugins/admin/index.d.cts +1 -1
- package/dist/plugins/admin/index.d.mts +1 -1
- package/dist/plugins/admin/index.d.ts +1 -1
- package/dist/plugins/admin/index.mjs +3 -3
- package/dist/plugins/anonymous/index.cjs +3 -3
- package/dist/plugins/anonymous/index.d.cts +1 -1
- package/dist/plugins/anonymous/index.d.mts +1 -1
- package/dist/plugins/anonymous/index.d.ts +1 -1
- package/dist/plugins/anonymous/index.mjs +3 -3
- package/dist/plugins/bearer/index.cjs +2 -2
- package/dist/plugins/bearer/index.d.cts +1 -1
- package/dist/plugins/bearer/index.d.mts +1 -1
- package/dist/plugins/bearer/index.d.ts +1 -1
- package/dist/plugins/bearer/index.mjs +2 -2
- package/dist/plugins/captcha/index.d.cts +1 -1
- package/dist/plugins/captcha/index.d.mts +1 -1
- package/dist/plugins/captcha/index.d.ts +1 -1
- package/dist/plugins/custom-session/index.cjs +3 -3
- package/dist/plugins/custom-session/index.d.cts +1 -1
- package/dist/plugins/custom-session/index.d.mts +1 -1
- package/dist/plugins/custom-session/index.d.ts +1 -1
- package/dist/plugins/custom-session/index.mjs +3 -3
- package/dist/plugins/device-authorization/index.cjs +1 -1
- package/dist/plugins/device-authorization/index.d.cts +1 -1
- package/dist/plugins/device-authorization/index.d.mts +1 -1
- package/dist/plugins/device-authorization/index.d.ts +1 -1
- package/dist/plugins/device-authorization/index.mjs +1 -1
- package/dist/plugins/email-otp/index.cjs +2 -2
- package/dist/plugins/email-otp/index.d.cts +1 -1
- package/dist/plugins/email-otp/index.d.mts +1 -1
- package/dist/plugins/email-otp/index.d.ts +1 -1
- package/dist/plugins/email-otp/index.mjs +2 -2
- package/dist/plugins/generic-oauth/index.cjs +3 -3
- package/dist/plugins/generic-oauth/index.d.cts +1 -1
- package/dist/plugins/generic-oauth/index.d.mts +1 -1
- package/dist/plugins/generic-oauth/index.d.ts +1 -1
- package/dist/plugins/generic-oauth/index.mjs +3 -3
- package/dist/plugins/haveibeenpwned/index.cjs +3 -3
- package/dist/plugins/haveibeenpwned/index.d.cts +1 -1
- package/dist/plugins/haveibeenpwned/index.d.mts +1 -1
- package/dist/plugins/haveibeenpwned/index.d.ts +1 -1
- package/dist/plugins/haveibeenpwned/index.mjs +3 -3
- package/dist/plugins/index.cjs +7 -7
- package/dist/plugins/index.d.cts +3 -3
- package/dist/plugins/index.d.mts +3 -3
- package/dist/plugins/index.d.ts +3 -3
- package/dist/plugins/index.mjs +9 -9
- package/dist/plugins/jwt/index.cjs +2 -2
- package/dist/plugins/jwt/index.d.cts +1 -1
- package/dist/plugins/jwt/index.d.mts +1 -1
- package/dist/plugins/jwt/index.d.ts +1 -1
- package/dist/plugins/jwt/index.mjs +2 -2
- package/dist/plugins/magic-link/index.cjs +2 -2
- package/dist/plugins/magic-link/index.mjs +2 -2
- package/dist/plugins/multi-session/index.cjs +3 -3
- package/dist/plugins/multi-session/index.d.cts +1 -1
- package/dist/plugins/multi-session/index.d.mts +1 -1
- package/dist/plugins/multi-session/index.d.ts +1 -1
- package/dist/plugins/multi-session/index.mjs +3 -3
- package/dist/plugins/oauth-proxy/index.cjs +2 -2
- package/dist/plugins/oauth-proxy/index.d.cts +1 -1
- package/dist/plugins/oauth-proxy/index.d.mts +1 -1
- package/dist/plugins/oauth-proxy/index.d.ts +1 -1
- package/dist/plugins/oauth-proxy/index.mjs +2 -2
- package/dist/plugins/oidc-provider/index.cjs +3 -3
- package/dist/plugins/oidc-provider/index.d.cts +5 -5
- package/dist/plugins/oidc-provider/index.d.mts +5 -5
- package/dist/plugins/oidc-provider/index.d.ts +5 -5
- package/dist/plugins/oidc-provider/index.mjs +3 -3
- package/dist/plugins/one-tap/index.cjs +3 -3
- package/dist/plugins/one-tap/index.mjs +3 -3
- package/dist/plugins/one-time-token/index.cjs +4 -4
- package/dist/plugins/one-time-token/index.d.cts +1 -1
- package/dist/plugins/one-time-token/index.d.mts +1 -1
- package/dist/plugins/one-time-token/index.d.ts +1 -1
- package/dist/plugins/one-time-token/index.mjs +4 -4
- package/dist/plugins/open-api/index.cjs +2 -2
- package/dist/plugins/open-api/index.d.cts +1 -1
- package/dist/plugins/open-api/index.d.mts +1 -1
- package/dist/plugins/open-api/index.d.ts +1 -1
- package/dist/plugins/open-api/index.mjs +2 -2
- package/dist/plugins/organization/index.cjs +4 -4
- package/dist/plugins/organization/index.d.cts +33 -1
- package/dist/plugins/organization/index.d.mts +33 -1
- package/dist/plugins/organization/index.d.ts +33 -1
- package/dist/plugins/organization/index.mjs +4 -4
- package/dist/plugins/passkey/index.cjs +3 -3
- package/dist/plugins/passkey/index.d.cts +1 -1
- package/dist/plugins/passkey/index.d.mts +1 -1
- package/dist/plugins/passkey/index.d.ts +1 -1
- package/dist/plugins/passkey/index.mjs +3 -3
- package/dist/plugins/phone-number/index.cjs +3 -3
- package/dist/plugins/phone-number/index.d.cts +1 -1
- package/dist/plugins/phone-number/index.d.mts +1 -1
- package/dist/plugins/phone-number/index.d.ts +1 -1
- package/dist/plugins/phone-number/index.mjs +3 -3
- package/dist/plugins/siwe/index.cjs +3 -3
- package/dist/plugins/siwe/index.d.cts +1 -1
- package/dist/plugins/siwe/index.d.mts +1 -1
- package/dist/plugins/siwe/index.d.ts +1 -1
- package/dist/plugins/siwe/index.mjs +3 -3
- package/dist/plugins/sso/index.cjs +3 -3
- package/dist/plugins/sso/index.d.cts +3 -3
- package/dist/plugins/sso/index.d.mts +3 -3
- package/dist/plugins/sso/index.d.ts +3 -3
- package/dist/plugins/sso/index.mjs +3 -3
- package/dist/plugins/two-factor/index.cjs +2 -2
- package/dist/plugins/two-factor/index.d.cts +1 -1
- package/dist/plugins/two-factor/index.d.mts +1 -1
- package/dist/plugins/two-factor/index.d.ts +1 -1
- package/dist/plugins/two-factor/index.mjs +2 -2
- package/dist/plugins/username/index.cjs +2 -2
- package/dist/plugins/username/index.d.cts +1 -1
- package/dist/plugins/username/index.d.mts +1 -1
- package/dist/plugins/username/index.d.ts +1 -1
- package/dist/plugins/username/index.mjs +2 -2
- package/dist/shared/{better-auth.CpW8Jb6y.cjs → better-auth.B2msLoMo.cjs} +3 -3
- package/dist/shared/{better-auth.B7MQmN7r.d.cts → better-auth.B6V3vOfp.d.cts} +1 -1
- package/dist/shared/{better-auth.BfeJWAMn.mjs → better-auth.BCc3zPBF.mjs} +1 -1
- package/dist/shared/{better-auth.DmODih0G.mjs → better-auth.BE51sqlX.mjs} +3 -3
- package/dist/shared/{better-auth.BUiElJM6.cjs → better-auth.BKqT_ZVS.cjs} +3 -3
- package/dist/shared/{better-auth.Ddn-Kb43.mjs → better-auth.BVF2_YJN.mjs} +1 -1
- package/dist/shared/{better-auth.DBjOlY_t.d.mts → better-auth.BVPwsVUn.d.cts} +1 -1
- package/dist/shared/{better-auth.SIzsChC6.mjs → better-auth.Ba_pqY0l.mjs} +2 -2
- package/dist/shared/{better-auth.DmBU2Klq.cjs → better-auth.Bco357J8.cjs} +1 -1
- package/dist/shared/{better-auth.Cv9uwNRT.d.cts → better-auth.BflsQmOZ.d.cts} +1 -1
- package/dist/shared/{better-auth.CG1BaUDq.d.ts → better-auth.Bp6xdiY8.d.ts} +1 -1
- package/dist/shared/{better-auth.CfjjR3nO.d.ts → better-auth.BsHw2sS5.d.ts} +1 -1
- package/dist/shared/{better-auth.BeA5VIAP.d.mts → better-auth.BwsH8S4P.d.mts} +1 -1
- package/dist/shared/{better-auth.DqkDf_wI.d.cts → better-auth.C7BLzxG2.d.mts} +1 -1
- package/dist/shared/{better-auth.BgBYBYNw.d.mts → better-auth.CGejYPX3.d.mts} +1 -1
- package/dist/shared/{better-auth.Ceym6hBa.cjs → better-auth.CV-4ifSd.cjs} +2 -2
- package/dist/shared/{better-auth.D2zPwm_k.cjs → better-auth.CbBksUvo.cjs} +4 -4
- package/dist/shared/{better-auth.DqZkb8RK.mjs → better-auth.CfB-tQyX.mjs} +7 -1
- package/dist/shared/{better-auth.DRp9PWyh.cjs → better-auth.CiuRzSQH.cjs} +1 -1
- package/dist/shared/{better-auth.Duh5FRN2.mjs → better-auth.CpaD1RO9.mjs} +1 -1
- package/dist/shared/{better-auth.BQZK-wJu.cjs → better-auth.CwxQpTGf.cjs} +1 -1
- package/dist/shared/{better-auth.CLdWb3SL.mjs → better-auth.CxFDzRIT.mjs} +1 -1
- package/dist/shared/{better-auth.BHgyyrFr.mjs → better-auth.DAX7uGE1.mjs} +3 -3
- package/dist/shared/{better-auth.BNczdx42.mjs → better-auth.DDozCDMS.mjs} +33 -8
- package/dist/shared/{better-auth.BT8cUF7T.mjs → better-auth.DGJgCfAm.mjs} +2 -2
- package/dist/shared/{better-auth.CAew6LWO.mjs → better-auth.DayjxkqD.mjs} +1 -1
- package/dist/shared/{better-auth.CHS_bFaK.mjs → better-auth.DgX9nQ3e.mjs} +4 -4
- package/dist/shared/{better-auth.DCqgE_iR.d.ts → better-auth.DxG__zXA.d.ts} +1 -1
- package/dist/shared/{better-auth.xvxdjoSR.cjs → better-auth.L_XZAIeN.cjs} +33 -8
- package/dist/shared/{better-auth.CGAZXf66.cjs → better-auth.XbRtJVmM.cjs} +1 -1
- package/dist/shared/{better-auth.Cc3_crZ-.cjs → better-auth.ZhaALnFz.cjs} +7 -1
- package/dist/shared/{better-auth.CI84ZLNV.mjs → better-auth.w5Mg3-u0.mjs} +2 -2
- package/dist/shared/{better-auth.G4r7NeaH.cjs → better-auth.yHdubbkw.cjs} +2 -2
- package/dist/shared/{better-auth.DlH62fwB.cjs → better-auth.z3V3mA_O.cjs} +2 -2
- package/dist/shared/{better-auth.BI9sTLIb.cjs → better-auth.zQKOFY7X.cjs} +1 -1
- package/dist/social-providers/index.cjs +2 -2
- package/dist/social-providers/index.mjs +2 -2
- package/dist/test-utils/index.cjs +9 -9
- package/dist/test-utils/index.d.cts +2 -2
- package/dist/test-utils/index.d.mts +2 -2
- package/dist/test-utils/index.d.ts +2 -2
- package/dist/test-utils/index.mjs +9 -9
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +2 -2
- package/dist/shared/{better-auth.CHQjJhgG.d.mts → better-auth.B1puuIwv.d.mts} +3 -3
- package/dist/shared/{better-auth.CkxRAus3.d.cts → better-auth.CWKgK_p2.d.cts} +3 -3
- package/dist/shared/{better-auth.CYkDoFdW.d.ts → better-auth.D_zuKEZs.d.ts} +3 -3
|
@@ -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.ZhaALnFz.cjs');
|
|
6
6
|
require('../../shared/better-auth.vPQBmXQL.cjs');
|
|
7
7
|
require('../../shared/better-auth.B3274wGK.cjs');
|
|
8
8
|
require('../../shared/better-auth.Bt_3DcBl.cjs');
|
|
@@ -1,4 +1,4 @@
|
|
|
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.CWKgK_p2.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.B1puuIwv.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.D_zuKEZs.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,6 +1,6 @@
|
|
|
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.CfB-tQyX.mjs';
|
|
4
4
|
import '../../shared/better-auth.BZZKN1g7.mjs';
|
|
5
5
|
import '../../shared/better-auth.BjBlybv-.mjs';
|
|
6
6
|
import '../../shared/better-auth.BfEVD9iF.mjs';
|
package/dist/adapters/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('../shared/better-auth.
|
|
3
|
+
const index = require('../shared/better-auth.ZhaALnFz.cjs');
|
|
4
4
|
require('../shared/better-auth.vPQBmXQL.cjs');
|
|
5
5
|
require('../shared/better-auth.B3274wGK.cjs');
|
|
6
6
|
require('../shared/better-auth.Bt_3DcBl.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
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.CWKgK_p2.cjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.CWKgK_p2.cjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
@@ -1,5 +1,5 @@
|
|
|
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.B1puuIwv.mjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.B1puuIwv.mjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
package/dist/adapters/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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.D_zuKEZs.js';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.D_zuKEZs.js';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
package/dist/adapters/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as createAdapter } from '../shared/better-auth.
|
|
1
|
+
export { c as createAdapter } from '../shared/better-auth.CfB-tQyX.mjs';
|
|
2
2
|
import '../shared/better-auth.BZZKN1g7.mjs';
|
|
3
3
|
import '../shared/better-auth.BjBlybv-.mjs';
|
|
4
4
|
import '../shared/better-auth.BfEVD9iF.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.zQKOFY7X.cjs');
|
|
4
4
|
require('kysely');
|
|
5
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.ZhaALnFz.cjs');
|
|
6
6
|
require('../../shared/better-auth.vPQBmXQL.cjs');
|
|
7
7
|
require('../../shared/better-auth.B3274wGK.cjs');
|
|
8
8
|
require('../../shared/better-auth.Bt_3DcBl.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
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.CWKgK_p2.cjs';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
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.B1puuIwv.mjs';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
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.D_zuKEZs.js';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
@@ -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.CxFDzRIT.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.CfB-tQyX.mjs';
|
|
4
4
|
import '../../shared/better-auth.BZZKN1g7.mjs';
|
|
5
5
|
import '../../shared/better-auth.BjBlybv-.mjs';
|
|
6
6
|
import '../../shared/better-auth.BfEVD9iF.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.CwxQpTGf.cjs');
|
|
4
4
|
require('@better-auth/utils/random');
|
|
5
5
|
require('zod/v4');
|
|
6
6
|
require('better-call');
|
|
@@ -16,7 +16,7 @@ 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.ZhaALnFz.cjs');
|
|
20
20
|
require('../../shared/better-auth.vPQBmXQL.cjs');
|
|
21
21
|
require('../../shared/better-auth.Bt_3DcBl.cjs');
|
|
22
22
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
@@ -1,4 +1,4 @@
|
|
|
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.CWKgK_p2.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.B1puuIwv.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.D_zuKEZs.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { m as memoryAdapter } from '../../shared/better-auth.
|
|
1
|
+
export { m as memoryAdapter } from '../../shared/better-auth.DayjxkqD.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.CfB-tQyX.mjs';
|
|
18
18
|
import '../../shared/better-auth.BZZKN1g7.mjs';
|
|
19
19
|
import '../../shared/better-auth.BfEVD9iF.mjs';
|
|
20
20
|
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.XbRtJVmM.cjs');
|
|
4
4
|
require('mongodb');
|
|
5
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.ZhaALnFz.cjs');
|
|
6
6
|
require('../../shared/better-auth.vPQBmXQL.cjs');
|
|
7
7
|
require('../../shared/better-auth.B3274wGK.cjs');
|
|
8
8
|
require('../../shared/better-auth.Bt_3DcBl.cjs');
|
|
@@ -1,4 +1,4 @@
|
|
|
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.CWKgK_p2.cjs';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.B1puuIwv.mjs';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.D_zuKEZs.js';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { m as mongodbAdapter } from '../../shared/better-auth.
|
|
1
|
+
export { m as mongodbAdapter } from '../../shared/better-auth.CpaD1RO9.mjs';
|
|
2
2
|
import 'mongodb';
|
|
3
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.CfB-tQyX.mjs';
|
|
4
4
|
import '../../shared/better-auth.BZZKN1g7.mjs';
|
|
5
5
|
import '../../shared/better-auth.BjBlybv-.mjs';
|
|
6
6
|
import '../../shared/better-auth.BfEVD9iF.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.ZhaALnFz.cjs');
|
|
5
5
|
require('../../shared/better-auth.vPQBmXQL.cjs');
|
|
6
6
|
require('../../shared/better-auth.B3274wGK.cjs');
|
|
7
7
|
require('../../shared/better-auth.Bt_3DcBl.cjs');
|
|
@@ -1,4 +1,4 @@
|
|
|
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.CWKgK_p2.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.B1puuIwv.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.D_zuKEZs.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,5 +1,5 @@
|
|
|
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.CfB-tQyX.mjs';
|
|
3
3
|
import '../../shared/better-auth.BZZKN1g7.mjs';
|
|
4
4
|
import '../../shared/better-auth.BjBlybv-.mjs';
|
|
5
5
|
import '../../shared/better-auth.BfEVD9iF.mjs';
|
package/dist/adapters/test.d.cts
CHANGED
package/dist/adapters/test.d.mts
CHANGED
package/dist/adapters/test.d.ts
CHANGED
package/dist/api/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const betterCall = require('better-call');
|
|
4
|
-
const socialProviders_index = require('../shared/better-auth.
|
|
5
|
-
const session = require('../shared/better-auth.
|
|
4
|
+
const socialProviders_index = require('../shared/better-auth.CiuRzSQH.cjs');
|
|
5
|
+
const session = require('../shared/better-auth.Bco357J8.cjs');
|
|
6
6
|
const z = require('zod/v4');
|
|
7
7
|
const cookies_index = require('../shared/better-auth.l2-e84v_.cjs');
|
|
8
8
|
const schema = require('../shared/better-auth.BIMq4RPW.cjs');
|
|
@@ -22,11 +22,11 @@ require('@noble/hashes/scrypt');
|
|
|
22
22
|
require('@better-auth/utils');
|
|
23
23
|
require('@better-auth/utils/hex');
|
|
24
24
|
require('@noble/hashes/utils');
|
|
25
|
+
require('../shared/better-auth.ANpbi45u.cjs');
|
|
25
26
|
require('../shared/better-auth.CYeOI8C-.cjs');
|
|
26
27
|
require('@better-auth/utils/random');
|
|
27
28
|
require('@better-fetch/fetch');
|
|
28
29
|
require('../shared/better-auth.DRmln2Nr.cjs');
|
|
29
|
-
require('../shared/better-auth.ANpbi45u.cjs');
|
|
30
30
|
require('jose/errors');
|
|
31
31
|
require('../shared/better-auth.Bg6iw3ig.cjs');
|
|
32
32
|
require('@better-auth/utils/hmac');
|
package/dist/api/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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.
|
|
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.CWKgK_p2.cjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
5
5
|
import 'zod/v4/core';
|
package/dist/api/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../shared/better-auth.QB8jx8j0.mjs';
|
|
2
|
-
export { l as AuthEndpoint, m as AuthMiddleware, bn as accountInfo, aQ as callbackOAuth, be as changeEmail, ba as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b5 as createEmailVerificationToken, bc as deleteUser, bd as deleteUserCallback, bf as error, b1 as forgetPassword, b3 as forgetPasswordCallback, aW as freshSessionMiddleware, bl as getAccessToken, aM as getEndpoints, aS as getSession, aT as getSessionFromCtx, aR as getSessionQuerySchema, bj as linkSocialAccount, aX as listSessions, bi as listUserAccounts, bg as ok, o as optionsMiddleware, bp as originCheck, bo as originCheckMiddleware, bm as refreshToken, aV as requestOnlySessionMiddleware, b0 as requestPasswordReset, b2 as requestPasswordResetCallback, b4 as resetPassword, a_ as revokeOtherSessions, aY as revokeSession, aZ as revokeSessions, aN as router, b7 as sendVerificationEmail, b6 as sendVerificationEmailFn, aU as sessionMiddleware, bb as setPassword, aP as signInEmail, aO as signInSocial, a$ as signOut, bh as signUpEmail, bk as unlinkAccount, b9 as updateUser, b8 as verifyEmail } from '../shared/better-auth.
|
|
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.B1puuIwv.mjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
5
5
|
import 'zod/v4/core';
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../shared/better-auth.DI5tnNZs.js';
|
|
2
|
-
export { l as AuthEndpoint, m as AuthMiddleware, bn as accountInfo, aQ as callbackOAuth, be as changeEmail, ba as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b5 as createEmailVerificationToken, bc as deleteUser, bd as deleteUserCallback, bf as error, b1 as forgetPassword, b3 as forgetPasswordCallback, aW as freshSessionMiddleware, bl as getAccessToken, aM as getEndpoints, aS as getSession, aT as getSessionFromCtx, aR as getSessionQuerySchema, bj as linkSocialAccount, aX as listSessions, bi as listUserAccounts, bg as ok, o as optionsMiddleware, bp as originCheck, bo as originCheckMiddleware, bm as refreshToken, aV as requestOnlySessionMiddleware, b0 as requestPasswordReset, b2 as requestPasswordResetCallback, b4 as resetPassword, a_ as revokeOtherSessions, aY as revokeSession, aZ as revokeSessions, aN as router, b7 as sendVerificationEmail, b6 as sendVerificationEmailFn, aU as sessionMiddleware, bb as setPassword, aP as signInEmail, aO as signInSocial, a$ as signOut, bh as signUpEmail, bk as unlinkAccount, b9 as updateUser, b8 as verifyEmail } from '../shared/better-auth.
|
|
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.D_zuKEZs.js';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
5
5
|
import 'zod/v4/core';
|
package/dist/api/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { APIError, createRouter } from 'better-call';
|
|
2
2
|
export { APIError } from 'better-call';
|
|
3
|
-
import { k as createEmailVerificationToken, w as wildcardMatch, u as updateUser, t as toAuthEndpoints, l as originCheckMiddleware, m as error, n as ok, q as accountInfo, x as getAccessToken, y as refreshToken, z as unlinkAccount, A as deleteUserCallback, B as listUserAccounts, C as linkSocialAccount, D as requestPasswordResetCallback, E as requestPasswordReset, F as forgetPasswordCallback, G as deleteUser, I as setPassword, J as changePassword, K as changeEmail, L as sendVerificationEmail, M as verifyEmail, N as resetPassword, O as forgetPassword, P as signInEmail, Q as signOut, R as callbackOAuth, S as signInSocial } from '../shared/better-auth.
|
|
4
|
-
export { o as originCheck, T as sendVerificationEmailFn } from '../shared/better-auth.
|
|
5
|
-
import { a as createAuthEndpoint, B as BASE_ERROR_CODES, l as listSessions, b as getSession, r as revokeOtherSessions, d as revokeSessions, e as revokeSession } from '../shared/better-auth.
|
|
6
|
-
export { c as createAuthMiddleware, f as freshSessionMiddleware, g as getSessionFromCtx, h as getSessionQuerySchema, o as optionsMiddleware, i as requestOnlySessionMiddleware, s as sessionMiddleware } from '../shared/better-auth.
|
|
3
|
+
import { k as createEmailVerificationToken, w as wildcardMatch, u as updateUser, t as toAuthEndpoints, l as originCheckMiddleware, m as error, n as ok, q as accountInfo, x as getAccessToken, y as refreshToken, z as unlinkAccount, A as deleteUserCallback, B as listUserAccounts, C as linkSocialAccount, D as requestPasswordResetCallback, E as requestPasswordReset, F as forgetPasswordCallback, G as deleteUser, I as setPassword, J as changePassword, K as changeEmail, L as sendVerificationEmail, M as verifyEmail, N as resetPassword, O as forgetPassword, P as signInEmail, Q as signOut, R as callbackOAuth, S as signInSocial } from '../shared/better-auth.BVF2_YJN.mjs';
|
|
4
|
+
export { o as originCheck, T as sendVerificationEmailFn } from '../shared/better-auth.BVF2_YJN.mjs';
|
|
5
|
+
import { a as createAuthEndpoint, B as BASE_ERROR_CODES, l as listSessions, b as getSession, r as revokeOtherSessions, d as revokeSessions, e as revokeSession } from '../shared/better-auth.BCc3zPBF.mjs';
|
|
6
|
+
export { c as createAuthMiddleware, f as freshSessionMiddleware, g as getSessionFromCtx, h as getSessionQuerySchema, o as optionsMiddleware, i as requestOnlySessionMiddleware, s as sessionMiddleware } from '../shared/better-auth.BCc3zPBF.mjs';
|
|
7
7
|
import * as z from 'zod/v4';
|
|
8
8
|
import { s as setSessionCookie } from '../shared/better-auth.DF-MUmVw.mjs';
|
|
9
9
|
import { f as parseUserInput } from '../shared/better-auth.n2KFGwjY.mjs';
|
|
@@ -23,11 +23,11 @@ import '@noble/hashes/scrypt';
|
|
|
23
23
|
import '@better-auth/utils';
|
|
24
24
|
import '@better-auth/utils/hex';
|
|
25
25
|
import '@noble/hashes/utils';
|
|
26
|
+
import '../shared/better-auth.DdzSJf-n.mjs';
|
|
26
27
|
import '../shared/better-auth.B4Qoxdgc.mjs';
|
|
27
28
|
import '@better-auth/utils/random';
|
|
28
29
|
import '@better-fetch/fetch';
|
|
29
30
|
import '../shared/better-auth.CuS_eDdK.mjs';
|
|
30
|
-
import '../shared/better-auth.DdzSJf-n.mjs';
|
|
31
31
|
import 'jose/errors';
|
|
32
32
|
import '../shared/better-auth.BUPPRXfK.mjs';
|
|
33
33
|
import '@better-auth/utils/hmac';
|
package/dist/client/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.
|
|
1
|
+
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.CWKgK_p2.cjs';
|
|
2
2
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
3
3
|
import { BetterFetchError, BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
4
4
|
export * from '@better-fetch/fetch';
|
|
5
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.
|
|
6
|
-
export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.
|
|
5
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.B6V3vOfp.cjs';
|
|
6
|
+
export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.B6V3vOfp.cjs';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.
|
|
1
|
+
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.B1puuIwv.mjs';
|
|
2
2
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
3
3
|
import { BetterFetchError, BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
4
4
|
export * from '@better-fetch/fetch';
|
|
5
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.
|
|
6
|
-
export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.
|
|
5
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.BwsH8S4P.mjs';
|
|
6
|
+
export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.BwsH8S4P.mjs';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.
|
|
1
|
+
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.D_zuKEZs.js';
|
|
2
2
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
3
3
|
import { BetterFetchError, BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
4
4
|
export * from '@better-fetch/fetch';
|
|
5
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.
|
|
6
|
-
export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.
|
|
5
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.BsHw2sS5.js';
|
|
6
|
+
export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.BsHw2sS5.js';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
@@ -5,7 +5,7 @@ import { atom } from 'nanostores';
|
|
|
5
5
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
6
6
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
7
7
|
import { a as Prettify } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
8
|
-
import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
8
|
+
import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.CWKgK_p2.cjs';
|
|
9
9
|
import { username } from '../../plugins/username/index.cjs';
|
|
10
10
|
import { Session } from 'inspector';
|
|
11
11
|
import { Passkey, passkey } from '../../plugins/passkey/index.cjs';
|
|
@@ -18,10 +18,10 @@ import { genericOAuth } from '../../plugins/generic-oauth/index.cjs';
|
|
|
18
18
|
import { jwt } from '../../plugins/jwt/index.cjs';
|
|
19
19
|
import { multiSession } from '../../plugins/multi-session/index.cjs';
|
|
20
20
|
import { emailOTP } from '../../plugins/email-otp/index.cjs';
|
|
21
|
-
import { S as Store } from '../../shared/better-auth.
|
|
21
|
+
import { S as Store } from '../../shared/better-auth.B6V3vOfp.cjs';
|
|
22
22
|
import { sso } from '../../plugins/sso/index.cjs';
|
|
23
23
|
import { oidcProvider } from '../../plugins/oidc-provider/index.cjs';
|
|
24
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
24
|
+
import { a as apiKey } from '../../shared/better-auth.BflsQmOZ.cjs';
|
|
25
25
|
import { oneTimeToken } from '../../plugins/one-time-token/index.cjs';
|
|
26
26
|
import { siwe } from '../../plugins/siwe/index.cjs';
|
|
27
27
|
export { deviceAuthorizationClient } from '../../plugins/device-authorization/index.cjs';
|
|
@@ -5,7 +5,7 @@ import { atom } from 'nanostores';
|
|
|
5
5
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
6
6
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
7
7
|
import { a as Prettify } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
8
|
-
import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
8
|
+
import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.B1puuIwv.mjs';
|
|
9
9
|
import { username } from '../../plugins/username/index.mjs';
|
|
10
10
|
import { Session } from 'inspector';
|
|
11
11
|
import { Passkey, passkey } from '../../plugins/passkey/index.mjs';
|
|
@@ -18,10 +18,10 @@ import { genericOAuth } from '../../plugins/generic-oauth/index.mjs';
|
|
|
18
18
|
import { jwt } from '../../plugins/jwt/index.mjs';
|
|
19
19
|
import { multiSession } from '../../plugins/multi-session/index.mjs';
|
|
20
20
|
import { emailOTP } from '../../plugins/email-otp/index.mjs';
|
|
21
|
-
import { S as Store } from '../../shared/better-auth.
|
|
21
|
+
import { S as Store } from '../../shared/better-auth.BwsH8S4P.mjs';
|
|
22
22
|
import { sso } from '../../plugins/sso/index.mjs';
|
|
23
23
|
import { oidcProvider } from '../../plugins/oidc-provider/index.mjs';
|
|
24
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
24
|
+
import { a as apiKey } from '../../shared/better-auth.CGejYPX3.mjs';
|
|
25
25
|
import { oneTimeToken } from '../../plugins/one-time-token/index.mjs';
|
|
26
26
|
import { siwe } from '../../plugins/siwe/index.mjs';
|
|
27
27
|
export { deviceAuthorizationClient } from '../../plugins/device-authorization/index.mjs';
|
|
@@ -5,7 +5,7 @@ import { atom } from 'nanostores';
|
|
|
5
5
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
6
6
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
7
7
|
import { a as Prettify } from '../../shared/better-auth.DTtXpZYr.js';
|
|
8
|
-
import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
8
|
+
import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.D_zuKEZs.js';
|
|
9
9
|
import { username } from '../../plugins/username/index.js';
|
|
10
10
|
import { Session } from 'inspector';
|
|
11
11
|
import { Passkey, passkey } from '../../plugins/passkey/index.js';
|
|
@@ -18,10 +18,10 @@ import { genericOAuth } from '../../plugins/generic-oauth/index.js';
|
|
|
18
18
|
import { jwt } from '../../plugins/jwt/index.js';
|
|
19
19
|
import { multiSession } from '../../plugins/multi-session/index.js';
|
|
20
20
|
import { emailOTP } from '../../plugins/email-otp/index.js';
|
|
21
|
-
import { S as Store } from '../../shared/better-auth.
|
|
21
|
+
import { S as Store } from '../../shared/better-auth.BsHw2sS5.js';
|
|
22
22
|
import { sso } from '../../plugins/sso/index.js';
|
|
23
23
|
import { oidcProvider } from '../../plugins/oidc-provider/index.js';
|
|
24
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
24
|
+
import { a as apiKey } from '../../shared/better-auth.Bp6xdiY8.js';
|
|
25
25
|
import { oneTimeToken } from '../../plugins/one-time-token/index.js';
|
|
26
26
|
import { siwe } from '../../plugins/siwe/index.js';
|
|
27
27
|
export { deviceAuthorizationClient } from '../../plugins/device-authorization/index.js';
|
|
@@ -4,10 +4,10 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.B6V3vOfp.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CWKgK_p2.cjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
@@ -4,10 +4,10 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.BwsH8S4P.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.B1puuIwv.mjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
@@ -4,10 +4,10 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.BsHw2sS5.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.D_zuKEZs.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
2
2
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
3
3
|
export * from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.B6V3vOfp.cjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CWKgK_p2.cjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
@@ -25,15 +25,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
25
25
|
data: InferClientAPI<Option> extends {
|
|
26
26
|
getSession: () => Promise<infer Res>;
|
|
27
27
|
} ? Res extends {
|
|
28
|
+
data: infer S;
|
|
29
|
+
error: null;
|
|
30
|
+
} | {
|
|
28
31
|
data: null;
|
|
29
32
|
error: {
|
|
30
33
|
message?: string | undefined;
|
|
31
34
|
status: number;
|
|
32
35
|
statusText: string;
|
|
33
36
|
};
|
|
34
|
-
} | {
|
|
35
|
-
data: infer S;
|
|
36
|
-
error: null;
|
|
37
37
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
38
38
|
isPending: boolean;
|
|
39
39
|
isRefetching: boolean;
|
|
@@ -43,15 +43,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
43
43
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
44
44
|
getSession: () => Promise<infer Res>;
|
|
45
45
|
} ? Res extends {
|
|
46
|
+
data: infer S;
|
|
47
|
+
error: null;
|
|
48
|
+
} | {
|
|
46
49
|
data: null;
|
|
47
50
|
error: {
|
|
48
51
|
message?: string | undefined;
|
|
49
52
|
status: number;
|
|
50
53
|
statusText: string;
|
|
51
54
|
};
|
|
52
|
-
} | {
|
|
53
|
-
data: infer S;
|
|
54
|
-
error: null;
|
|
55
55
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
56
56
|
};
|
|
57
57
|
$fetch: _better_fetch_fetch.BetterFetch<{
|