better-auth 1.3.3 → 1.3.4-beta.2
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.d.cts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.mts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.ts +2 -2
- package/dist/adapters/index.d.cts +3 -3
- package/dist/adapters/index.d.mts +3 -3
- package/dist/adapters/index.d.ts +3 -3
- package/dist/adapters/kysely-adapter/index.d.cts +2 -2
- package/dist/adapters/kysely-adapter/index.d.mts +2 -2
- package/dist/adapters/kysely-adapter/index.d.ts +2 -2
- package/dist/adapters/memory-adapter/index.d.cts +2 -2
- package/dist/adapters/memory-adapter/index.d.mts +2 -2
- package/dist/adapters/memory-adapter/index.d.ts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.cts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.mts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.ts +2 -2
- package/dist/adapters/prisma-adapter/index.d.cts +2 -2
- package/dist/adapters/prisma-adapter/index.d.mts +2 -2
- package/dist/adapters/prisma-adapter/index.d.ts +2 -2
- package/dist/adapters/test.d.cts +2 -2
- package/dist/adapters/test.d.mts +2 -2
- package/dist/adapters/test.d.ts +2 -2
- package/dist/api/index.cjs +1 -1
- package/dist/api/index.d.cts +2 -2
- package/dist/api/index.d.mts +2 -2
- package/dist/api/index.d.ts +2 -2
- package/dist/api/index.mjs +2 -2
- package/dist/client/index.d.cts +4 -4
- package/dist/client/index.d.mts +4 -4
- package/dist/client/index.d.ts +4 -4
- package/dist/client/plugins/index.d.cts +39 -8
- package/dist/client/plugins/index.d.mts +39 -8
- package/dist/client/plugins/index.d.ts +39 -8
- package/dist/client/react/index.d.cts +10 -10
- package/dist/client/react/index.d.mts +10 -10
- package/dist/client/react/index.d.ts +10 -10
- package/dist/client/solid/index.d.cts +10 -10
- package/dist/client/solid/index.d.mts +10 -10
- package/dist/client/solid/index.d.ts +10 -10
- package/dist/client/svelte/index.d.cts +4 -4
- package/dist/client/svelte/index.d.mts +4 -4
- package/dist/client/svelte/index.d.ts +4 -4
- package/dist/client/vue/index.d.cts +4 -4
- package/dist/client/vue/index.d.mts +4 -4
- package/dist/client/vue/index.d.ts +4 -4
- package/dist/cookies/index.d.cts +2 -2
- package/dist/cookies/index.d.mts +2 -2
- package/dist/cookies/index.d.ts +2 -2
- package/dist/db/index.d.cts +3 -3
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.d.ts +3 -3
- package/dist/index.cjs +2 -2
- 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 +2 -2
- package/dist/integrations/next-js.cjs +2 -2
- package/dist/integrations/next-js.d.cts +2 -2
- package/dist/integrations/next-js.d.mts +2 -2
- package/dist/integrations/next-js.d.ts +2 -2
- package/dist/integrations/next-js.mjs +2 -2
- package/dist/integrations/node.d.cts +2 -2
- package/dist/integrations/node.d.mts +2 -2
- package/dist/integrations/node.d.ts +2 -2
- package/dist/integrations/react-start.cjs +2 -2
- package/dist/integrations/react-start.d.cts +2 -2
- package/dist/integrations/react-start.d.mts +2 -2
- package/dist/integrations/react-start.d.ts +2 -2
- package/dist/integrations/react-start.mjs +2 -2
- package/dist/integrations/svelte-kit.cjs +1 -1
- package/dist/integrations/svelte-kit.d.cts +2 -2
- package/dist/integrations/svelte-kit.d.mts +2 -2
- package/dist/integrations/svelte-kit.d.ts +2 -2
- package/dist/integrations/svelte-kit.mjs +1 -1
- package/dist/oauth2/index.cjs +2 -2
- package/dist/oauth2/index.d.cts +7 -7
- package/dist/oauth2/index.d.mts +7 -7
- package/dist/oauth2/index.d.ts +7 -7
- package/dist/oauth2/index.mjs +1 -1
- package/dist/plugins/admin/index.cjs +2 -2
- package/dist/plugins/admin/index.d.cts +4 -4
- package/dist/plugins/admin/index.d.mts +4 -4
- package/dist/plugins/admin/index.d.ts +4 -4
- package/dist/plugins/admin/index.mjs +2 -2
- package/dist/plugins/anonymous/index.cjs +1 -1
- package/dist/plugins/anonymous/index.d.cts +2 -2
- package/dist/plugins/anonymous/index.d.mts +2 -2
- package/dist/plugins/anonymous/index.d.ts +2 -2
- package/dist/plugins/anonymous/index.mjs +1 -1
- package/dist/plugins/bearer/index.cjs +1 -1
- package/dist/plugins/bearer/index.d.cts +2 -2
- package/dist/plugins/bearer/index.d.mts +2 -2
- package/dist/plugins/bearer/index.d.ts +2 -2
- package/dist/plugins/bearer/index.mjs +1 -1
- package/dist/plugins/captcha/index.d.cts +2 -2
- package/dist/plugins/captcha/index.d.mts +2 -2
- package/dist/plugins/captcha/index.d.ts +2 -2
- package/dist/plugins/custom-session/index.cjs +1 -1
- package/dist/plugins/custom-session/index.d.cts +2 -2
- package/dist/plugins/custom-session/index.d.mts +2 -2
- package/dist/plugins/custom-session/index.d.ts +2 -2
- package/dist/plugins/custom-session/index.mjs +1 -1
- package/dist/plugins/email-otp/index.cjs +1 -1
- package/dist/plugins/email-otp/index.d.cts +2 -2
- package/dist/plugins/email-otp/index.d.mts +2 -2
- package/dist/plugins/email-otp/index.d.ts +2 -2
- package/dist/plugins/email-otp/index.mjs +1 -1
- package/dist/plugins/generic-oauth/index.cjs +1 -1
- package/dist/plugins/generic-oauth/index.d.cts +2 -2
- package/dist/plugins/generic-oauth/index.d.mts +2 -2
- package/dist/plugins/generic-oauth/index.d.ts +2 -2
- package/dist/plugins/generic-oauth/index.mjs +1 -1
- package/dist/plugins/haveibeenpwned/index.cjs +1 -1
- package/dist/plugins/haveibeenpwned/index.d.cts +2 -2
- package/dist/plugins/haveibeenpwned/index.d.mts +2 -2
- package/dist/plugins/haveibeenpwned/index.d.ts +2 -2
- package/dist/plugins/haveibeenpwned/index.mjs +1 -1
- package/dist/plugins/index.cjs +6 -6
- package/dist/plugins/index.d.cts +4 -4
- package/dist/plugins/index.d.mts +4 -4
- package/dist/plugins/index.d.ts +4 -4
- package/dist/plugins/index.mjs +8 -8
- package/dist/plugins/jwt/index.cjs +1 -1
- package/dist/plugins/jwt/index.d.cts +2 -2
- package/dist/plugins/jwt/index.d.mts +2 -2
- package/dist/plugins/jwt/index.d.ts +2 -2
- package/dist/plugins/jwt/index.mjs +1 -1
- 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 +2 -2
- package/dist/plugins/multi-session/index.d.mts +2 -2
- package/dist/plugins/multi-session/index.d.ts +2 -2
- package/dist/plugins/multi-session/index.mjs +1 -1
- package/dist/plugins/oauth-proxy/index.cjs +1 -1
- package/dist/plugins/oauth-proxy/index.d.cts +2 -2
- package/dist/plugins/oauth-proxy/index.d.mts +2 -2
- package/dist/plugins/oauth-proxy/index.d.ts +2 -2
- package/dist/plugins/oauth-proxy/index.mjs +1 -1
- package/dist/plugins/oidc-provider/index.cjs +2 -2
- package/dist/plugins/oidc-provider/index.d.cts +2 -2
- package/dist/plugins/oidc-provider/index.d.mts +2 -2
- package/dist/plugins/oidc-provider/index.d.ts +2 -2
- package/dist/plugins/oidc-provider/index.mjs +2 -2
- 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 -3
- package/dist/plugins/one-time-token/index.d.cts +2 -2
- package/dist/plugins/one-time-token/index.d.mts +2 -2
- package/dist/plugins/one-time-token/index.d.ts +2 -2
- package/dist/plugins/one-time-token/index.mjs +3 -3
- package/dist/plugins/open-api/index.cjs +1 -1
- package/dist/plugins/open-api/index.d.cts +2 -2
- package/dist/plugins/open-api/index.d.mts +2 -2
- package/dist/plugins/open-api/index.d.ts +2 -2
- package/dist/plugins/open-api/index.mjs +1 -1
- package/dist/plugins/organization/index.cjs +3 -3
- package/dist/plugins/organization/index.d.cts +339 -2
- package/dist/plugins/organization/index.d.mts +339 -2
- package/dist/plugins/organization/index.d.ts +339 -2
- package/dist/plugins/organization/index.mjs +3 -3
- package/dist/plugins/passkey/index.cjs +1 -1
- package/dist/plugins/passkey/index.d.cts +2 -2
- package/dist/plugins/passkey/index.d.mts +2 -2
- package/dist/plugins/passkey/index.d.ts +2 -2
- package/dist/plugins/passkey/index.mjs +1 -1
- package/dist/plugins/phone-number/index.cjs +1 -1
- package/dist/plugins/phone-number/index.d.cts +2 -2
- package/dist/plugins/phone-number/index.d.mts +2 -2
- package/dist/plugins/phone-number/index.d.ts +2 -2
- package/dist/plugins/phone-number/index.mjs +1 -1
- package/dist/plugins/siwe/index.cjs +1 -1
- package/dist/plugins/siwe/index.mjs +1 -1
- package/dist/plugins/sso/index.cjs +1 -1
- package/dist/plugins/sso/index.d.cts +2 -2
- package/dist/plugins/sso/index.d.mts +2 -2
- package/dist/plugins/sso/index.d.ts +2 -2
- 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 +2 -2
- package/dist/plugins/two-factor/index.d.mts +2 -2
- package/dist/plugins/two-factor/index.d.ts +2 -2
- package/dist/plugins/two-factor/index.mjs +1 -1
- package/dist/plugins/username/index.cjs +1 -1
- package/dist/plugins/username/index.d.cts +2 -2
- package/dist/plugins/username/index.d.mts +2 -2
- package/dist/plugins/username/index.d.ts +2 -2
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/shared/{better-auth.CU2ZnFFo.cjs → better-auth.46hbj5AH.cjs} +35 -23
- package/dist/shared/{better-auth.D4HhkCZJ.mjs → better-auth.B0c5gE0y.mjs} +35 -23
- package/dist/shared/{better-auth.B3p123j1.cjs → better-auth.BDw_9zMr.cjs} +1 -1
- package/dist/shared/{better-auth.DGaVMVAI.mjs → better-auth.BJ3obc_x.mjs} +1 -1
- package/dist/shared/{better-auth.Bqt8-7ls.mjs → better-auth.BQqihap2.mjs} +2 -2
- package/dist/shared/{better-auth.f91UNEc0.d.mts → better-auth.BaBV1IcY.d.mts} +1 -1
- package/dist/shared/{better-auth.B36j7OCI.d.mts → better-auth.BhFAXOSo.d.mts} +1 -1
- package/dist/shared/{better-auth.Co08Vfmu.d.cts → better-auth.BlBJ4KJK.d.cts} +1 -1
- package/dist/shared/{better-auth.BFooP6d2.d.mts → better-auth.Bwy0bLOT.d.mts} +6 -6
- package/dist/shared/{better-auth.C_oxxeck.d.mts → better-auth.C3f5OqL4.d.cts} +1 -1
- package/dist/shared/{better-auth.TnpcdNJo.cjs → better-auth.C7vFKX_k.cjs} +1 -1
- package/dist/shared/{better-auth.CvxACSRz.mjs → better-auth.CNmeuEca.mjs} +1 -1
- package/dist/shared/{better-auth.84gXUliC.d.cts → better-auth.CRkXDoGE.d.cts} +6 -6
- package/dist/shared/{better-auth.C1Ly154X.mjs → better-auth.CUDkyS6u.mjs} +183 -19
- package/dist/shared/{better-auth.COsDmM8f.cjs → better-auth.Cd-mmkHB.cjs} +1 -1
- package/dist/shared/{better-auth.DPa2nz5L.d.ts → better-auth.ClXlabtY.d.ts} +0 -6
- package/dist/shared/{better-auth.DygEm6OX.mjs → better-auth.D7TVnc6q.mjs} +1 -1
- package/dist/shared/{better-auth.CSftMZoM.cjs → better-auth.DFGxpCiD.cjs} +1 -1
- package/dist/shared/{better-auth.PIkdXr0U.cjs → better-auth.DHz4ci-o.cjs} +2 -2
- package/dist/shared/{better-auth.npEvGVS_.d.cts → better-auth.DyfNka02.d.cts} +0 -6
- package/dist/shared/{better-auth.xU7dIFql.d.ts → better-auth.H-yKU7HU.d.ts} +1 -1
- package/dist/shared/{better-auth.IegS6fw_.d.mts → better-auth.QdXfKtIf.d.mts} +0 -6
- package/dist/shared/{better-auth.VOBpdwFt.mjs → better-auth.Typlv_71.mjs} +1 -1
- package/dist/shared/{better-auth.DM13Kwsw.d.ts → better-auth.UUSLVJ32.d.ts} +1 -1
- package/dist/shared/{better-auth.DdfarOau.d.ts → better-auth.i4wQR7aF.d.ts} +6 -6
- package/dist/shared/{better-auth.CtrZTpKh.d.ts → better-auth.vPo5imFn.d.ts} +1 -1
- package/dist/shared/{better-auth.BDsrc21Q.cjs → better-auth.vmuhsERH.cjs} +183 -19
- package/dist/shared/{better-auth.VRX5gxZv.d.cts → better-auth.xHHdQeij.d.mts} +1 -1
- package/dist/shared/{better-auth.BQyjc_QW.d.cts → better-auth.zZXv7qRm.d.cts} +1 -1
- package/dist/social-providers/index.cjs +1 -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 +3 -3
- package/dist/test-utils/index.d.cts +3 -3
- package/dist/test-utils/index.d.mts +3 -3
- package/dist/test-utils/index.d.ts +3 -3
- package/dist/test-utils/index.mjs +3 -3
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.CRkXDoGE.cjs';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../../shared/better-auth.ZSfSbnQT.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DyfNka02.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.Bwy0bLOT.mjs';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../../shared/better-auth.ZSfSbnQT.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.QdXfKtIf.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.i4wQR7aF.js';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../../shared/better-auth.ZSfSbnQT.js';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.ClXlabtY.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
2
|
-
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.
|
|
1
|
+
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.CRkXDoGE.cjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.CRkXDoGE.cjs';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '../shared/better-auth.ZSfSbnQT.cjs';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.DyfNka02.cjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'better-sqlite3';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
2
|
-
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.
|
|
1
|
+
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.Bwy0bLOT.mjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.Bwy0bLOT.mjs';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '../shared/better-auth.ZSfSbnQT.mjs';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.QdXfKtIf.mjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'better-sqlite3';
|
package/dist/adapters/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
2
|
-
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.
|
|
1
|
+
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.i4wQR7aF.js';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.i4wQR7aF.js';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '../shared/better-auth.ZSfSbnQT.js';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.ClXlabtY.js';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'better-sqlite3';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.CRkXDoGE.cjs';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../../shared/better-auth.ZSfSbnQT.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DyfNka02.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.Bwy0bLOT.mjs';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../../shared/better-auth.ZSfSbnQT.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.QdXfKtIf.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.i4wQR7aF.js';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../../shared/better-auth.ZSfSbnQT.js';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.ClXlabtY.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.CRkXDoGE.cjs';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../../shared/better-auth.ZSfSbnQT.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DyfNka02.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.Bwy0bLOT.mjs';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../../shared/better-auth.ZSfSbnQT.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.QdXfKtIf.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.i4wQR7aF.js';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../../shared/better-auth.ZSfSbnQT.js';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.ClXlabtY.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.CRkXDoGE.cjs';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '../../shared/better-auth.ZSfSbnQT.cjs';
|
|
7
|
-
import '../../shared/better-auth.
|
|
7
|
+
import '../../shared/better-auth.DyfNka02.cjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'better-sqlite3';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.Bwy0bLOT.mjs';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '../../shared/better-auth.ZSfSbnQT.mjs';
|
|
7
|
-
import '../../shared/better-auth.
|
|
7
|
+
import '../../shared/better-auth.QdXfKtIf.mjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'better-sqlite3';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.i4wQR7aF.js';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '../../shared/better-auth.ZSfSbnQT.js';
|
|
7
|
-
import '../../shared/better-auth.
|
|
7
|
+
import '../../shared/better-auth.ClXlabtY.js';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'zod/v4/core';
|
|
10
10
|
import 'better-sqlite3';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.CRkXDoGE.cjs';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../../shared/better-auth.ZSfSbnQT.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.DyfNka02.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.Bwy0bLOT.mjs';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../../shared/better-auth.ZSfSbnQT.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.QdXfKtIf.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.i4wQR7aF.js';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../../shared/better-auth.ZSfSbnQT.js';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.ClXlabtY.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
package/dist/adapters/test.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.CRkXDoGE.cjs';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../shared/better-auth.ZSfSbnQT.cjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.DyfNka02.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
package/dist/adapters/test.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.Bwy0bLOT.mjs';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../shared/better-auth.ZSfSbnQT.mjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.QdXfKtIf.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
package/dist/adapters/test.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.i4wQR7aF.js';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../shared/better-auth.ZSfSbnQT.js';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.ClXlabtY.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
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.46hbj5AH.cjs');
|
|
5
5
|
const z = require('zod/v4');
|
|
6
6
|
const cookies_index = require('../cookies/index.cjs');
|
|
7
7
|
const schema = require('../shared/better-auth.BIMq4RPW.cjs');
|
package/dist/api/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../shared/better-auth.
|
|
2
|
-
export { l as AuthEndpoint, m as AuthMiddleware, bj as accountInfo, aN as callbackOAuth, ba as changeEmail, b6 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b1 as createEmailVerificationToken, b8 as deleteUser, b9 as deleteUserCallback, bb as error, aZ as forgetPassword, a$ as forgetPasswordCallback, aS as freshSessionMiddleware, bh as getAccessToken, aJ as getEndpoints, aO as getSession, aP as getSessionFromCtx, bf as linkSocialAccount, aT as listSessions, be as listUserAccounts, bc as ok, o as optionsMiddleware, bl as originCheck, bk as originCheckMiddleware, bi as refreshToken, aR as requestOnlySessionMiddleware, aY as requestPasswordReset, a_ as requestPasswordResetCallback, b0 as resetPassword, aW as revokeOtherSessions, aU as revokeSession, aV as revokeSessions, aK as router, b3 as sendVerificationEmail, b2 as sendVerificationEmailFn, aQ as sessionMiddleware, b7 as setPassword, aM as signInEmail, aL as signInSocial, aX as signOut, bd as signUpEmail, bg as unlinkAccount, b5 as updateUser, b4 as verifyEmail } from '../shared/better-auth.
|
|
1
|
+
import '../shared/better-auth.DyfNka02.cjs';
|
|
2
|
+
export { l as AuthEndpoint, m as AuthMiddleware, bj as accountInfo, aN as callbackOAuth, ba as changeEmail, b6 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b1 as createEmailVerificationToken, b8 as deleteUser, b9 as deleteUserCallback, bb as error, aZ as forgetPassword, a$ as forgetPasswordCallback, aS as freshSessionMiddleware, bh as getAccessToken, aJ as getEndpoints, aO as getSession, aP as getSessionFromCtx, bf as linkSocialAccount, aT as listSessions, be as listUserAccounts, bc as ok, o as optionsMiddleware, bl as originCheck, bk as originCheckMiddleware, bi as refreshToken, aR as requestOnlySessionMiddleware, aY as requestPasswordReset, a_ as requestPasswordResetCallback, b0 as resetPassword, aW as revokeOtherSessions, aU as revokeSession, aV as revokeSessions, aK as router, b3 as sendVerificationEmail, b2 as sendVerificationEmailFn, aQ as sessionMiddleware, b7 as setPassword, aM as signInEmail, aL as signInSocial, aX as signOut, bd as signUpEmail, bg as unlinkAccount, b5 as updateUser, b4 as verifyEmail } from '../shared/better-auth.CRkXDoGE.cjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.ZSfSbnQT.cjs';
|
|
5
5
|
import 'zod/v4';
|
package/dist/api/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../shared/better-auth.
|
|
2
|
-
export { l as AuthEndpoint, m as AuthMiddleware, bj as accountInfo, aN as callbackOAuth, ba as changeEmail, b6 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b1 as createEmailVerificationToken, b8 as deleteUser, b9 as deleteUserCallback, bb as error, aZ as forgetPassword, a$ as forgetPasswordCallback, aS as freshSessionMiddleware, bh as getAccessToken, aJ as getEndpoints, aO as getSession, aP as getSessionFromCtx, bf as linkSocialAccount, aT as listSessions, be as listUserAccounts, bc as ok, o as optionsMiddleware, bl as originCheck, bk as originCheckMiddleware, bi as refreshToken, aR as requestOnlySessionMiddleware, aY as requestPasswordReset, a_ as requestPasswordResetCallback, b0 as resetPassword, aW as revokeOtherSessions, aU as revokeSession, aV as revokeSessions, aK as router, b3 as sendVerificationEmail, b2 as sendVerificationEmailFn, aQ as sessionMiddleware, b7 as setPassword, aM as signInEmail, aL as signInSocial, aX as signOut, bd as signUpEmail, bg as unlinkAccount, b5 as updateUser, b4 as verifyEmail } from '../shared/better-auth.
|
|
1
|
+
import '../shared/better-auth.QdXfKtIf.mjs';
|
|
2
|
+
export { l as AuthEndpoint, m as AuthMiddleware, bj as accountInfo, aN as callbackOAuth, ba as changeEmail, b6 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b1 as createEmailVerificationToken, b8 as deleteUser, b9 as deleteUserCallback, bb as error, aZ as forgetPassword, a$ as forgetPasswordCallback, aS as freshSessionMiddleware, bh as getAccessToken, aJ as getEndpoints, aO as getSession, aP as getSessionFromCtx, bf as linkSocialAccount, aT as listSessions, be as listUserAccounts, bc as ok, o as optionsMiddleware, bl as originCheck, bk as originCheckMiddleware, bi as refreshToken, aR as requestOnlySessionMiddleware, aY as requestPasswordReset, a_ as requestPasswordResetCallback, b0 as resetPassword, aW as revokeOtherSessions, aU as revokeSession, aV as revokeSessions, aK as router, b3 as sendVerificationEmail, b2 as sendVerificationEmailFn, aQ as sessionMiddleware, b7 as setPassword, aM as signInEmail, aL as signInSocial, aX as signOut, bd as signUpEmail, bg as unlinkAccount, b5 as updateUser, b4 as verifyEmail } from '../shared/better-auth.Bwy0bLOT.mjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.ZSfSbnQT.mjs';
|
|
5
5
|
import 'zod/v4';
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../shared/better-auth.
|
|
2
|
-
export { l as AuthEndpoint, m as AuthMiddleware, bj as accountInfo, aN as callbackOAuth, ba as changeEmail, b6 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b1 as createEmailVerificationToken, b8 as deleteUser, b9 as deleteUserCallback, bb as error, aZ as forgetPassword, a$ as forgetPasswordCallback, aS as freshSessionMiddleware, bh as getAccessToken, aJ as getEndpoints, aO as getSession, aP as getSessionFromCtx, bf as linkSocialAccount, aT as listSessions, be as listUserAccounts, bc as ok, o as optionsMiddleware, bl as originCheck, bk as originCheckMiddleware, bi as refreshToken, aR as requestOnlySessionMiddleware, aY as requestPasswordReset, a_ as requestPasswordResetCallback, b0 as resetPassword, aW as revokeOtherSessions, aU as revokeSession, aV as revokeSessions, aK as router, b3 as sendVerificationEmail, b2 as sendVerificationEmailFn, aQ as sessionMiddleware, b7 as setPassword, aM as signInEmail, aL as signInSocial, aX as signOut, bd as signUpEmail, bg as unlinkAccount, b5 as updateUser, b4 as verifyEmail } from '../shared/better-auth.
|
|
1
|
+
import '../shared/better-auth.ClXlabtY.js';
|
|
2
|
+
export { l as AuthEndpoint, m as AuthMiddleware, bj as accountInfo, aN as callbackOAuth, ba as changeEmail, b6 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b1 as createEmailVerificationToken, b8 as deleteUser, b9 as deleteUserCallback, bb as error, aZ as forgetPassword, a$ as forgetPasswordCallback, aS as freshSessionMiddleware, bh as getAccessToken, aJ as getEndpoints, aO as getSession, aP as getSessionFromCtx, bf as linkSocialAccount, aT as listSessions, be as listUserAccounts, bc as ok, o as optionsMiddleware, bl as originCheck, bk as originCheckMiddleware, bi as refreshToken, aR as requestOnlySessionMiddleware, aY as requestPasswordReset, a_ as requestPasswordResetCallback, b0 as resetPassword, aW as revokeOtherSessions, aU as revokeSession, aV as revokeSessions, aK as router, b3 as sendVerificationEmail, b2 as sendVerificationEmailFn, aQ as sessionMiddleware, b7 as setPassword, aM as signInEmail, aL as signInSocial, aX as signOut, bd as signUpEmail, bg as unlinkAccount, b5 as updateUser, b4 as verifyEmail } from '../shared/better-auth.i4wQR7aF.js';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.ZSfSbnQT.js';
|
|
5
5
|
import 'zod/v4';
|
package/dist/api/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { APIError, toResponse, createRouter } from 'better-call';
|
|
2
2
|
export { APIError } from 'better-call';
|
|
3
|
-
import { j as createAuthEndpoint, B as BASE_ERROR_CODES, w as createEmailVerificationToken, x as wildcardMatch, y as listSessions, z as updateUser, m as getSession, A as originCheckMiddleware, C as error, D as ok, E as accountInfo, F as getAccessToken, G as refreshToken, I as unlinkAccount, J as deleteUserCallback, K as listUserAccounts, L as linkSocialAccount, M as revokeOtherSessions, N as revokeSessions, O as revokeSession, P as requestPasswordResetCallback, Q as requestPasswordReset, R as forgetPasswordCallback, S as deleteUser, T as setPassword, U as changePassword, V as changeEmail, W as sendVerificationEmail, X as verifyEmail, Y as resetPassword, Z as forgetPassword, _ as signInEmail, $ as signOut, a0 as callbackOAuth, a1 as signInSocial } from '../shared/better-auth.
|
|
4
|
-
export { i as createAuthMiddleware, n as freshSessionMiddleware, k as getSessionFromCtx, q as optionsMiddleware, o as originCheck, a2 as requestOnlySessionMiddleware, u as sendVerificationEmailFn, l as sessionMiddleware } from '../shared/better-auth.
|
|
3
|
+
import { j as createAuthEndpoint, B as BASE_ERROR_CODES, w as createEmailVerificationToken, x as wildcardMatch, y as listSessions, z as updateUser, m as getSession, A as originCheckMiddleware, C as error, D as ok, E as accountInfo, F as getAccessToken, G as refreshToken, I as unlinkAccount, J as deleteUserCallback, K as listUserAccounts, L as linkSocialAccount, M as revokeOtherSessions, N as revokeSessions, O as revokeSession, P as requestPasswordResetCallback, Q as requestPasswordReset, R as forgetPasswordCallback, S as deleteUser, T as setPassword, U as changePassword, V as changeEmail, W as sendVerificationEmail, X as verifyEmail, Y as resetPassword, Z as forgetPassword, _ as signInEmail, $ as signOut, a0 as callbackOAuth, a1 as signInSocial } from '../shared/better-auth.B0c5gE0y.mjs';
|
|
4
|
+
export { i as createAuthMiddleware, n as freshSessionMiddleware, k as getSessionFromCtx, q as optionsMiddleware, o as originCheck, a2 as requestOnlySessionMiddleware, u as sendVerificationEmailFn, l as sessionMiddleware } from '../shared/better-auth.B0c5gE0y.mjs';
|
|
5
5
|
import * as z from 'zod/v4';
|
|
6
6
|
import { setSessionCookie } from '../cookies/index.mjs';
|
|
7
7
|
import { f as parseUserInput } from '../shared/better-auth.n2KFGwjY.mjs';
|
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.CRkXDoGE.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.zZXv7qRm.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.zZXv7qRm.cjs';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
@@ -11,7 +11,7 @@ import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-au
|
|
|
11
11
|
import 'zod/v4';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'better-call';
|
|
14
|
-
import '../shared/better-auth.
|
|
14
|
+
import '../shared/better-auth.DyfNka02.cjs';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'better-sqlite3';
|
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.Bwy0bLOT.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.BaBV1IcY.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.BaBV1IcY.mjs';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
@@ -11,7 +11,7 @@ import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-au
|
|
|
11
11
|
import 'zod/v4';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'better-call';
|
|
14
|
-
import '../shared/better-auth.
|
|
14
|
+
import '../shared/better-auth.QdXfKtIf.mjs';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'better-sqlite3';
|
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.i4wQR7aF.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.UUSLVJ32.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.UUSLVJ32.js';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
@@ -11,7 +11,7 @@ import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-au
|
|
|
11
11
|
import 'zod/v4';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'better-call';
|
|
14
|
-
import '../shared/better-auth.
|
|
14
|
+
import '../shared/better-auth.ClXlabtY.js';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'better-sqlite3';
|
|
@@ -3,8 +3,8 @@ import { atom } from 'nanostores';
|
|
|
3
3
|
import { AccessControl, Role, Statements } from '../../plugins/access/index.cjs';
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
6
|
-
import { organization, InferMember, InferInvitation, Team, Organization, Member, Invitation } from '../../plugins/organization/index.cjs';
|
|
7
|
-
import { h as BetterAuthPlugin, a4 as FieldAttribute, B as BetterAuthOptions } from '../../shared/better-auth.
|
|
6
|
+
import { OrganizationOptions, organization, InferMember, InferInvitation, Team, Organization, Member, Invitation } from '../../plugins/organization/index.cjs';
|
|
7
|
+
import { h as BetterAuthPlugin, a4 as FieldAttribute, B as BetterAuthOptions } from '../../shared/better-auth.CRkXDoGE.cjs';
|
|
8
8
|
import { a as Prettify } from '../../shared/better-auth.ZSfSbnQT.cjs';
|
|
9
9
|
import { username } from '../../plugins/username/index.cjs';
|
|
10
10
|
import { Passkey, passkey } from '../../plugins/passkey/index.cjs';
|
|
@@ -17,10 +17,10 @@ import { genericOAuth } from '../../plugins/generic-oauth/index.cjs';
|
|
|
17
17
|
import { jwt } from '../../plugins/jwt/index.cjs';
|
|
18
18
|
import { multiSession } from '../../plugins/multi-session/index.cjs';
|
|
19
19
|
import { emailOTP } from '../../plugins/email-otp/index.cjs';
|
|
20
|
-
import { S as Store } from '../../shared/better-auth.
|
|
20
|
+
import { S as Store } from '../../shared/better-auth.zZXv7qRm.cjs';
|
|
21
21
|
import { sso } from '../../plugins/sso/index.cjs';
|
|
22
22
|
import { oidcProvider } from '../../plugins/oidc-provider/index.cjs';
|
|
23
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
23
|
+
import { a as apiKey } from '../../shared/better-auth.BlBJ4KJK.cjs';
|
|
24
24
|
import { oneTimeToken } from '../../plugins/one-time-token/index.cjs';
|
|
25
25
|
export * from '@simplewebauthn/server';
|
|
26
26
|
export { global } from '@simplewebauthn/server';
|
|
@@ -28,7 +28,7 @@ import 'zod/v4';
|
|
|
28
28
|
import 'better-call';
|
|
29
29
|
import '../../plugins/organization/access/index.cjs';
|
|
30
30
|
import 'kysely';
|
|
31
|
-
import '../../shared/better-auth.
|
|
31
|
+
import '../../shared/better-auth.DyfNka02.cjs';
|
|
32
32
|
import 'jose';
|
|
33
33
|
import 'zod/v4/core';
|
|
34
34
|
import 'better-sqlite3';
|
|
@@ -46,7 +46,7 @@ interface OrganizationClientOptions {
|
|
|
46
46
|
options: {
|
|
47
47
|
plugins: BetterAuthPlugin[];
|
|
48
48
|
};
|
|
49
|
-
};
|
|
49
|
+
} | OrganizationOptions["schema"];
|
|
50
50
|
}
|
|
51
51
|
declare const organizationClient: <CO extends OrganizationClientOptions>(options?: CO) => {
|
|
52
52
|
id: "organization";
|
|
@@ -67,7 +67,38 @@ declare const organizationClient: <CO extends OrganizationClientOptions>(options
|
|
|
67
67
|
enabled: true;
|
|
68
68
|
} ? true : false;
|
|
69
69
|
};
|
|
70
|
-
schema:
|
|
70
|
+
schema: CO["$inferAuth"] extends Object ? CO["$inferAuth"] extends {
|
|
71
|
+
session?: {
|
|
72
|
+
fields?: {
|
|
73
|
+
activeOrganizationId?: string;
|
|
74
|
+
activeTeamId?: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
organization?: {
|
|
78
|
+
modelName?: string;
|
|
79
|
+
fields?: { [key in keyof Omit<Organization, "id">]?: string; };
|
|
80
|
+
additionalFields?: { [key in string]: ______db.FieldAttribute; };
|
|
81
|
+
};
|
|
82
|
+
member?: {
|
|
83
|
+
modelName?: string;
|
|
84
|
+
fields?: { [key in keyof Omit<Member, "id">]?: string; };
|
|
85
|
+
additionalFields?: { [key in string]: ______db.FieldAttribute; };
|
|
86
|
+
};
|
|
87
|
+
invitation?: {
|
|
88
|
+
modelName?: string;
|
|
89
|
+
fields?: { [key in keyof Omit<Invitation, "id">]?: string; };
|
|
90
|
+
additionalFields?: { [key in string]: ______db.FieldAttribute; };
|
|
91
|
+
};
|
|
92
|
+
team?: {
|
|
93
|
+
modelName?: string;
|
|
94
|
+
fields?: { [key in keyof Omit<Team, "id">]?: string; };
|
|
95
|
+
additionalFields?: { [key in string]: ______db.FieldAttribute; };
|
|
96
|
+
};
|
|
97
|
+
teamMember?: {
|
|
98
|
+
modelName?: string;
|
|
99
|
+
fields?: { [key in keyof Omit<_.TeamMember, "id">]?: string; };
|
|
100
|
+
};
|
|
101
|
+
} ? CO["$inferAuth"] : ((CO["$inferAuth"] extends {
|
|
71
102
|
options: any;
|
|
72
103
|
} ? CO["$inferAuth"] : {
|
|
73
104
|
options: {
|
|
@@ -116,7 +147,7 @@ declare const organizationClient: <CO extends OrganizationClientOptions>(options
|
|
|
116
147
|
modelName?: string;
|
|
117
148
|
fields?: { [key in keyof Omit<_.TeamMember, "id">]?: string; };
|
|
118
149
|
};
|
|
119
|
-
} | undefined ? S : undefined : undefined;
|
|
150
|
+
} | undefined ? S : undefined : undefined : undefined;
|
|
120
151
|
}>>;
|
|
121
152
|
getActions: ($fetch: _better_fetch_fetch.BetterFetch) => {
|
|
122
153
|
$Infer: {
|
|
@@ -3,8 +3,8 @@ import { atom } from 'nanostores';
|
|
|
3
3
|
import { AccessControl, Role, Statements } from '../../plugins/access/index.mjs';
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
6
|
-
import { organization, InferMember, InferInvitation, Team, Organization, Member, Invitation } from '../../plugins/organization/index.mjs';
|
|
7
|
-
import { h as BetterAuthPlugin, a4 as FieldAttribute, B as BetterAuthOptions } from '../../shared/better-auth.
|
|
6
|
+
import { OrganizationOptions, organization, InferMember, InferInvitation, Team, Organization, Member, Invitation } from '../../plugins/organization/index.mjs';
|
|
7
|
+
import { h as BetterAuthPlugin, a4 as FieldAttribute, B as BetterAuthOptions } from '../../shared/better-auth.Bwy0bLOT.mjs';
|
|
8
8
|
import { a as Prettify } from '../../shared/better-auth.ZSfSbnQT.mjs';
|
|
9
9
|
import { username } from '../../plugins/username/index.mjs';
|
|
10
10
|
import { Passkey, passkey } from '../../plugins/passkey/index.mjs';
|
|
@@ -17,10 +17,10 @@ import { genericOAuth } from '../../plugins/generic-oauth/index.mjs';
|
|
|
17
17
|
import { jwt } from '../../plugins/jwt/index.mjs';
|
|
18
18
|
import { multiSession } from '../../plugins/multi-session/index.mjs';
|
|
19
19
|
import { emailOTP } from '../../plugins/email-otp/index.mjs';
|
|
20
|
-
import { S as Store } from '../../shared/better-auth.
|
|
20
|
+
import { S as Store } from '../../shared/better-auth.BaBV1IcY.mjs';
|
|
21
21
|
import { sso } from '../../plugins/sso/index.mjs';
|
|
22
22
|
import { oidcProvider } from '../../plugins/oidc-provider/index.mjs';
|
|
23
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
23
|
+
import { a as apiKey } from '../../shared/better-auth.BhFAXOSo.mjs';
|
|
24
24
|
import { oneTimeToken } from '../../plugins/one-time-token/index.mjs';
|
|
25
25
|
export * from '@simplewebauthn/server';
|
|
26
26
|
export { global } from '@simplewebauthn/server';
|
|
@@ -28,7 +28,7 @@ import 'zod/v4';
|
|
|
28
28
|
import 'better-call';
|
|
29
29
|
import '../../plugins/organization/access/index.mjs';
|
|
30
30
|
import 'kysely';
|
|
31
|
-
import '../../shared/better-auth.
|
|
31
|
+
import '../../shared/better-auth.QdXfKtIf.mjs';
|
|
32
32
|
import 'jose';
|
|
33
33
|
import 'zod/v4/core';
|
|
34
34
|
import 'better-sqlite3';
|
|
@@ -46,7 +46,7 @@ interface OrganizationClientOptions {
|
|
|
46
46
|
options: {
|
|
47
47
|
plugins: BetterAuthPlugin[];
|
|
48
48
|
};
|
|
49
|
-
};
|
|
49
|
+
} | OrganizationOptions["schema"];
|
|
50
50
|
}
|
|
51
51
|
declare const organizationClient: <CO extends OrganizationClientOptions>(options?: CO) => {
|
|
52
52
|
id: "organization";
|
|
@@ -67,7 +67,38 @@ declare const organizationClient: <CO extends OrganizationClientOptions>(options
|
|
|
67
67
|
enabled: true;
|
|
68
68
|
} ? true : false;
|
|
69
69
|
};
|
|
70
|
-
schema:
|
|
70
|
+
schema: CO["$inferAuth"] extends Object ? CO["$inferAuth"] extends {
|
|
71
|
+
session?: {
|
|
72
|
+
fields?: {
|
|
73
|
+
activeOrganizationId?: string;
|
|
74
|
+
activeTeamId?: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
organization?: {
|
|
78
|
+
modelName?: string;
|
|
79
|
+
fields?: { [key in keyof Omit<Organization, "id">]?: string; };
|
|
80
|
+
additionalFields?: { [key in string]: ______db.FieldAttribute; };
|
|
81
|
+
};
|
|
82
|
+
member?: {
|
|
83
|
+
modelName?: string;
|
|
84
|
+
fields?: { [key in keyof Omit<Member, "id">]?: string; };
|
|
85
|
+
additionalFields?: { [key in string]: ______db.FieldAttribute; };
|
|
86
|
+
};
|
|
87
|
+
invitation?: {
|
|
88
|
+
modelName?: string;
|
|
89
|
+
fields?: { [key in keyof Omit<Invitation, "id">]?: string; };
|
|
90
|
+
additionalFields?: { [key in string]: ______db.FieldAttribute; };
|
|
91
|
+
};
|
|
92
|
+
team?: {
|
|
93
|
+
modelName?: string;
|
|
94
|
+
fields?: { [key in keyof Omit<Team, "id">]?: string; };
|
|
95
|
+
additionalFields?: { [key in string]: ______db.FieldAttribute; };
|
|
96
|
+
};
|
|
97
|
+
teamMember?: {
|
|
98
|
+
modelName?: string;
|
|
99
|
+
fields?: { [key in keyof Omit<_.TeamMember, "id">]?: string; };
|
|
100
|
+
};
|
|
101
|
+
} ? CO["$inferAuth"] : ((CO["$inferAuth"] extends {
|
|
71
102
|
options: any;
|
|
72
103
|
} ? CO["$inferAuth"] : {
|
|
73
104
|
options: {
|
|
@@ -116,7 +147,7 @@ declare const organizationClient: <CO extends OrganizationClientOptions>(options
|
|
|
116
147
|
modelName?: string;
|
|
117
148
|
fields?: { [key in keyof Omit<_.TeamMember, "id">]?: string; };
|
|
118
149
|
};
|
|
119
|
-
} | undefined ? S : undefined : undefined;
|
|
150
|
+
} | undefined ? S : undefined : undefined : undefined;
|
|
120
151
|
}>>;
|
|
121
152
|
getActions: ($fetch: _better_fetch_fetch.BetterFetch) => {
|
|
122
153
|
$Infer: {
|