better-auth 1.3.5 → 1.3.6-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 +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/index.d.cts +2 -2
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/index.d.ts +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/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/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/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/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 +1 -1
- 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 +2 -2
- 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.cjs +1 -3
- package/dist/client/plugins/index.d.cts +18 -5
- package/dist/client/plugins/index.d.mts +18 -5
- package/dist/client/plugins/index.d.ts +18 -5
- package/dist/client/plugins/index.mjs +1 -3
- package/dist/client/react/index.d.cts +8 -8
- package/dist/client/react/index.d.mts +8 -8
- package/dist/client/react/index.d.ts +8 -8
- 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 +2 -2
- package/dist/client/svelte/index.d.mts +2 -2
- package/dist/client/svelte/index.d.ts +2 -2
- 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/db/index.d.cts +2 -2
- package/dist/db/index.d.mts +2 -2
- package/dist/db/index.d.ts +2 -2
- package/dist/index.cjs +2 -4
- package/dist/index.d.cts +9 -9
- package/dist/index.d.mts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.mjs +2 -4
- package/dist/integrations/next-js.cjs +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/integrations/svelte-kit.cjs +1 -1
- 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 +1 -1
- package/dist/oauth2/index.cjs +1 -1
- 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 +1 -1
- package/dist/plugins/admin/index.cjs +2 -2
- package/dist/plugins/admin/index.d.cts +5 -5
- package/dist/plugins/admin/index.d.mts +5 -5
- package/dist/plugins/admin/index.d.ts +5 -5
- package/dist/plugins/admin/index.mjs +2 -2
- package/dist/plugins/anonymous/index.cjs +1 -1
- 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 +1 -1
- package/dist/plugins/bearer/index.cjs +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/plugins/email-otp/index.cjs +16 -15
- package/dist/plugins/email-otp/index.d.cts +4 -4
- package/dist/plugins/email-otp/index.d.mts +4 -4
- package/dist/plugins/email-otp/index.d.ts +4 -4
- package/dist/plugins/email-otp/index.mjs +16 -15
- package/dist/plugins/generic-oauth/index.cjs +1 -1
- 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 +1 -1
- package/dist/plugins/haveibeenpwned/index.cjs +1 -1
- 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 +1 -1
- package/dist/plugins/index.cjs +6 -6
- package/dist/plugins/index.d.cts +5 -5
- package/dist/plugins/index.d.mts +5 -5
- package/dist/plugins/index.d.ts +5 -5
- package/dist/plugins/index.mjs +8 -8
- package/dist/plugins/jwt/index.cjs +1 -1
- 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 +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 +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 +1 -1
- package/dist/plugins/oauth-proxy/index.cjs +1 -1
- 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 +1 -1
- package/dist/plugins/oidc-provider/index.cjs +2 -2
- 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 +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 +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 +3 -3
- package/dist/plugins/open-api/index.cjs +1 -1
- 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 +1 -1
- package/dist/plugins/organization/index.cjs +3 -3
- package/dist/plugins/organization/index.d.cts +6 -183
- package/dist/plugins/organization/index.d.mts +6 -183
- package/dist/plugins/organization/index.d.ts +6 -183
- package/dist/plugins/organization/index.mjs +3 -3
- package/dist/plugins/passkey/index.cjs +1 -1
- 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 +1 -1
- package/dist/plugins/phone-number/index.cjs +1 -1
- 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 +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 +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 +1 -1
- package/dist/plugins/two-factor/index.cjs +1 -1
- 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 +1 -1
- package/dist/plugins/username/index.cjs +1 -1
- package/dist/plugins/username/index.d.cts +3 -3
- package/dist/plugins/username/index.d.mts +3 -3
- package/dist/plugins/username/index.d.ts +3 -3
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/shared/{better-auth.Bv6xc9eQ.cjs → better-auth.3oHgUdBc.cjs} +1 -1
- package/dist/shared/{better-auth.Cz37zEtO.mjs → better-auth.BMerxQY0.mjs} +135 -130
- package/dist/shared/{better-auth.CpTWU-gb.d.ts → better-auth.BUnyEQuc.d.ts} +13 -1
- package/dist/shared/{better-auth.CCMYns0n.mjs → better-auth.BY1-gjw3.mjs} +110 -21
- package/dist/shared/{better-auth.BoBKsnVd.d.mts → better-auth.Ba48cL0L.d.mts} +1 -1
- package/dist/shared/{better-auth.Bx3RgYZf.cjs → better-auth.Bl-It_5c.cjs} +1 -1
- package/dist/shared/{better-auth.kvWPdS5e.cjs → better-auth.BlWIxee_.cjs} +135 -130
- package/dist/shared/{better-auth.CEtc1oG5.d.cts → better-auth.Bo7h6YI5.d.ts} +6 -6
- package/dist/shared/{better-auth.BCz4-QUh.cjs → better-auth.BtekRHFA.cjs} +111 -27
- package/dist/shared/{better-auth.DSYK4jT-.d.cts → better-auth.CAz9Cd5z.d.cts} +13 -1
- package/dist/shared/{better-auth.CX5ucYKP.cjs → better-auth.CKa-q341.cjs} +1 -1
- package/dist/shared/{better-auth.DWkfnOhB.d.ts → better-auth.CRHB8IT6.d.ts} +1 -1
- package/dist/shared/{better-auth.DXpowKDk.d.cts → better-auth.CcY3k9r5.d.cts} +1 -1
- package/dist/shared/{better-auth.DBscO_L1.cjs → better-auth.CdFBGG9K.cjs} +2 -2
- package/dist/shared/{better-auth.B96vZfh2.d.ts → better-auth.Cm-DsNnM.d.ts} +1 -1
- package/dist/shared/{better-auth.DKORdAr4.cjs → better-auth.D317Sdx8.cjs} +1 -1
- package/dist/shared/{better-auth.dA0rT0C-.mjs → better-auth.D7DBFMfx.mjs} +1 -1
- package/dist/shared/{better-auth.BTsdIaVL.d.cts → better-auth.DCaLQCEk.d.cts} +1 -1
- package/dist/shared/{better-auth.CCxr11mp.mjs → better-auth.DKBKIpqZ.mjs} +2 -2
- package/dist/shared/{better-auth.CW0oMVtF.mjs → better-auth.Da95z4LY.mjs} +1 -1
- package/dist/shared/{better-auth.DkcNzUEl.d.ts → better-auth.De59HW-u.d.cts} +6 -6
- package/dist/shared/{better-auth.DPF-nTOv.d.mts → better-auth.Df4VL-14.d.mts} +1 -1
- package/dist/shared/{better-auth.CStDZlxp.mjs → better-auth.DkJw4zNh.mjs} +1 -1
- package/dist/shared/{better-auth.jL_zqxTz.d.mts → better-auth.JJG-4rPJ.d.mts} +13 -1
- package/dist/shared/{better-auth.C3R00PmH.mjs → better-auth.fDN2zET_.mjs} +2 -2
- package/dist/shared/{better-auth.Bl8InMw5.d.mts → better-auth.fHc4138q.d.mts} +5 -5
- package/dist/social-providers/index.cjs +1 -1
- package/dist/social-providers/index.mjs +1 -1
- package/dist/test-utils/index.cjs +21 -22
- 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 +19 -20
- 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 +1 -1
|
@@ -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.CAz9Cd5z.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.JJG-4rPJ.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.BUnyEQuc.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
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.CAz9Cd5z.cjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.CAz9Cd5z.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.JJG-4rPJ.mjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.JJG-4rPJ.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.BUnyEQuc.js';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.BUnyEQuc.js';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
@@ -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.CAz9Cd5z.cjs';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.BDR52Rf2.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.JJG-4rPJ.mjs';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.BDR52Rf2.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.BUnyEQuc.js';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.BDR52Rf2.js';
|
|
@@ -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.CAz9Cd5z.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.JJG-4rPJ.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.BUnyEQuc.js';
|
|
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.CAz9Cd5z.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.JJG-4rPJ.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.BUnyEQuc.js';
|
|
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.CAz9Cd5z.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.JJG-4rPJ.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.BUnyEQuc.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
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,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.Bl-It_5c.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
1
|
import '../shared/better-auth.DSvLrleU.cjs';
|
|
2
|
-
export { l as AuthEndpoint, m as AuthMiddleware, bm as accountInfo, aQ as callbackOAuth, bd as changeEmail, b9 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b4 as createEmailVerificationToken, bb as deleteUser, bc as deleteUserCallback, be as error, b0 as forgetPassword, b2 as forgetPasswordCallback, aV as freshSessionMiddleware, bk as getAccessToken, aM as getEndpoints, aR as getSession, aS as getSessionFromCtx, bi as linkSocialAccount, aW as listSessions, bh as listUserAccounts, bf as ok, o as optionsMiddleware, bo as originCheck, bn as originCheckMiddleware, bl as refreshToken, aU as requestOnlySessionMiddleware, a$ as requestPasswordReset, b1 as requestPasswordResetCallback, b3 as resetPassword, aZ as revokeOtherSessions, aX as revokeSession, aY as revokeSessions, aN as router, b6 as sendVerificationEmail, b5 as sendVerificationEmailFn, aT as sessionMiddleware, ba as setPassword, aP as signInEmail, aO as signInSocial, a_ as signOut, bg as signUpEmail, bj as unlinkAccount, b8 as updateUser, b7 as verifyEmail } from '../shared/better-auth.
|
|
2
|
+
export { l as AuthEndpoint, m as AuthMiddleware, bm as accountInfo, aQ as callbackOAuth, bd as changeEmail, b9 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b4 as createEmailVerificationToken, bb as deleteUser, bc as deleteUserCallback, be as error, b0 as forgetPassword, b2 as forgetPasswordCallback, aV as freshSessionMiddleware, bk as getAccessToken, aM as getEndpoints, aR as getSession, aS as getSessionFromCtx, bi as linkSocialAccount, aW as listSessions, bh as listUserAccounts, bf as ok, o as optionsMiddleware, bo as originCheck, bn as originCheckMiddleware, bl as refreshToken, aU as requestOnlySessionMiddleware, a$ as requestPasswordReset, b1 as requestPasswordResetCallback, b3 as resetPassword, aZ as revokeOtherSessions, aX as revokeSession, aY as revokeSessions, aN as router, b6 as sendVerificationEmail, b5 as sendVerificationEmailFn, aT as sessionMiddleware, ba as setPassword, aP as signInEmail, aO as signInSocial, a_ as signOut, bg as signUpEmail, bj as unlinkAccount, b8 as updateUser, b7 as verifyEmail } from '../shared/better-auth.CAz9Cd5z.cjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.BDR52Rf2.cjs';
|
|
5
5
|
import 'zod/v4/core';
|
package/dist/api/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../shared/better-auth.BFod4hxi.mjs';
|
|
2
|
-
export { l as AuthEndpoint, m as AuthMiddleware, bm as accountInfo, aQ as callbackOAuth, bd as changeEmail, b9 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b4 as createEmailVerificationToken, bb as deleteUser, bc as deleteUserCallback, be as error, b0 as forgetPassword, b2 as forgetPasswordCallback, aV as freshSessionMiddleware, bk as getAccessToken, aM as getEndpoints, aR as getSession, aS as getSessionFromCtx, bi as linkSocialAccount, aW as listSessions, bh as listUserAccounts, bf as ok, o as optionsMiddleware, bo as originCheck, bn as originCheckMiddleware, bl as refreshToken, aU as requestOnlySessionMiddleware, a$ as requestPasswordReset, b1 as requestPasswordResetCallback, b3 as resetPassword, aZ as revokeOtherSessions, aX as revokeSession, aY as revokeSessions, aN as router, b6 as sendVerificationEmail, b5 as sendVerificationEmailFn, aT as sessionMiddleware, ba as setPassword, aP as signInEmail, aO as signInSocial, a_ as signOut, bg as signUpEmail, bj as unlinkAccount, b8 as updateUser, b7 as verifyEmail } from '../shared/better-auth.
|
|
2
|
+
export { l as AuthEndpoint, m as AuthMiddleware, bm as accountInfo, aQ as callbackOAuth, bd as changeEmail, b9 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b4 as createEmailVerificationToken, bb as deleteUser, bc as deleteUserCallback, be as error, b0 as forgetPassword, b2 as forgetPasswordCallback, aV as freshSessionMiddleware, bk as getAccessToken, aM as getEndpoints, aR as getSession, aS as getSessionFromCtx, bi as linkSocialAccount, aW as listSessions, bh as listUserAccounts, bf as ok, o as optionsMiddleware, bo as originCheck, bn as originCheckMiddleware, bl as refreshToken, aU as requestOnlySessionMiddleware, a$ as requestPasswordReset, b1 as requestPasswordResetCallback, b3 as resetPassword, aZ as revokeOtherSessions, aX as revokeSession, aY as revokeSessions, aN as router, b6 as sendVerificationEmail, b5 as sendVerificationEmailFn, aT as sessionMiddleware, ba as setPassword, aP as signInEmail, aO as signInSocial, a_ as signOut, bg as signUpEmail, bj as unlinkAccount, b8 as updateUser, b7 as verifyEmail } from '../shared/better-auth.JJG-4rPJ.mjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.BDR52Rf2.mjs';
|
|
5
5
|
import 'zod/v4/core';
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../shared/better-auth.B-pjewPT.js';
|
|
2
|
-
export { l as AuthEndpoint, m as AuthMiddleware, bm as accountInfo, aQ as callbackOAuth, bd as changeEmail, b9 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b4 as createEmailVerificationToken, bb as deleteUser, bc as deleteUserCallback, be as error, b0 as forgetPassword, b2 as forgetPasswordCallback, aV as freshSessionMiddleware, bk as getAccessToken, aM as getEndpoints, aR as getSession, aS as getSessionFromCtx, bi as linkSocialAccount, aW as listSessions, bh as listUserAccounts, bf as ok, o as optionsMiddleware, bo as originCheck, bn as originCheckMiddleware, bl as refreshToken, aU as requestOnlySessionMiddleware, a$ as requestPasswordReset, b1 as requestPasswordResetCallback, b3 as resetPassword, aZ as revokeOtherSessions, aX as revokeSession, aY as revokeSessions, aN as router, b6 as sendVerificationEmail, b5 as sendVerificationEmailFn, aT as sessionMiddleware, ba as setPassword, aP as signInEmail, aO as signInSocial, a_ as signOut, bg as signUpEmail, bj as unlinkAccount, b8 as updateUser, b7 as verifyEmail } from '../shared/better-auth.
|
|
2
|
+
export { l as AuthEndpoint, m as AuthMiddleware, bm as accountInfo, aQ as callbackOAuth, bd as changeEmail, b9 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b4 as createEmailVerificationToken, bb as deleteUser, bc as deleteUserCallback, be as error, b0 as forgetPassword, b2 as forgetPasswordCallback, aV as freshSessionMiddleware, bk as getAccessToken, aM as getEndpoints, aR as getSession, aS as getSessionFromCtx, bi as linkSocialAccount, aW as listSessions, bh as listUserAccounts, bf as ok, o as optionsMiddleware, bo as originCheck, bn as originCheckMiddleware, bl as refreshToken, aU as requestOnlySessionMiddleware, a$ as requestPasswordReset, b1 as requestPasswordResetCallback, b3 as resetPassword, aZ as revokeOtherSessions, aX as revokeSession, aY as revokeSessions, aN as router, b6 as sendVerificationEmail, b5 as sendVerificationEmailFn, aT as sessionMiddleware, ba as setPassword, aP as signInEmail, aO as signInSocial, a_ as signOut, bg as signUpEmail, bj as unlinkAccount, b8 as updateUser, b7 as verifyEmail } from '../shared/better-auth.BUnyEQuc.js';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.BDR52Rf2.js';
|
|
5
5
|
import 'zod/v4/core';
|
package/dist/api/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { APIError, createRouter } from 'better-call';
|
|
2
2
|
export { APIError } from 'better-call';
|
|
3
|
-
import { j as createAuthEndpoint, B as BASE_ERROR_CODES, t as createEmailVerificationToken, w as wildcardMatch, u as listSessions, x as updateUser, m as getSession, y as toAuthEndpoints, z as originCheckMiddleware, A as error, C as ok, D as accountInfo, E as getAccessToken, F as refreshToken, G as unlinkAccount, I as deleteUserCallback, J as listUserAccounts, K as linkSocialAccount, L as revokeOtherSessions, M as revokeSessions, N as revokeSession, O as requestPasswordResetCallback, P as requestPasswordReset, Q as forgetPasswordCallback, R as deleteUser, S as setPassword, T as changePassword, U as changeEmail, V as sendVerificationEmail, W as verifyEmail, X as resetPassword, Y as forgetPassword, Z as signInEmail, _ as signOut, $ as callbackOAuth, a0 as signInSocial } from '../shared/better-auth.
|
|
4
|
-
export { i as createAuthMiddleware, n as freshSessionMiddleware, k as getSessionFromCtx, q as optionsMiddleware, o as originCheck, a1 as requestOnlySessionMiddleware, a2 as sendVerificationEmailFn, l as sessionMiddleware } from '../shared/better-auth.
|
|
3
|
+
import { j as createAuthEndpoint, B as BASE_ERROR_CODES, t as createEmailVerificationToken, w as wildcardMatch, u as listSessions, x as updateUser, m as getSession, y as toAuthEndpoints, z as originCheckMiddleware, A as error, C as ok, D as accountInfo, E as getAccessToken, F as refreshToken, G as unlinkAccount, I as deleteUserCallback, J as listUserAccounts, K as linkSocialAccount, L as revokeOtherSessions, M as revokeSessions, N as revokeSession, O as requestPasswordResetCallback, P as requestPasswordReset, Q as forgetPasswordCallback, R as deleteUser, S as setPassword, T as changePassword, U as changeEmail, V as sendVerificationEmail, W as verifyEmail, X as resetPassword, Y as forgetPassword, Z as signInEmail, _ as signOut, $ as callbackOAuth, a0 as signInSocial } from '../shared/better-auth.fDN2zET_.mjs';
|
|
4
|
+
export { i as createAuthMiddleware, n as freshSessionMiddleware, k as getSessionFromCtx, q as optionsMiddleware, o as originCheck, a1 as requestOnlySessionMiddleware, a2 as sendVerificationEmailFn, l as sessionMiddleware } from '../shared/better-auth.fDN2zET_.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.CAz9Cd5z.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.DCaLQCEk.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.DCaLQCEk.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.JJG-4rPJ.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.Df4VL-14.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.Df4VL-14.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.BUnyEQuc.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.Cm-DsNnM.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.Cm-DsNnM.js';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
@@ -5,8 +5,9 @@ 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.BDR52Rf2.cjs';
|
|
8
|
-
import { J as FieldAttribute, B as BetterAuthOptions, 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.CAz9Cd5z.cjs';
|
|
9
9
|
import { username } from '../../plugins/username/index.cjs';
|
|
10
|
+
import { Session } from 'inspector';
|
|
10
11
|
import { Passkey, passkey } from '../../plugins/passkey/index.cjs';
|
|
11
12
|
export { twoFactorClient } from '../../plugins/two-factor/index.cjs';
|
|
12
13
|
import { magicLink } from '../../plugins/magic-link/index.cjs';
|
|
@@ -17,10 +18,10 @@ import { genericOAuth } from '../../plugins/generic-oauth/index.cjs';
|
|
|
17
18
|
import { jwt } from '../../plugins/jwt/index.cjs';
|
|
18
19
|
import { multiSession } from '../../plugins/multi-session/index.cjs';
|
|
19
20
|
import { emailOTP } from '../../plugins/email-otp/index.cjs';
|
|
20
|
-
import { S as Store } from '../../shared/better-auth.
|
|
21
|
+
import { S as Store } from '../../shared/better-auth.DCaLQCEk.cjs';
|
|
21
22
|
import { sso } from '../../plugins/sso/index.cjs';
|
|
22
23
|
import { oidcProvider } from '../../plugins/oidc-provider/index.cjs';
|
|
23
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
24
|
+
import { a as apiKey } from '../../shared/better-auth.De59HW-u.cjs';
|
|
24
25
|
import { oneTimeToken } from '../../plugins/one-time-token/index.cjs';
|
|
25
26
|
import { siwe } from '../../plugins/siwe/index.cjs';
|
|
26
27
|
export * from '@simplewebauthn/server';
|
|
@@ -346,7 +347,13 @@ declare const getPasskeyActions: ($fetch: BetterFetch, { $listPasskeys, }: {
|
|
|
346
347
|
status: number;
|
|
347
348
|
statusText: string;
|
|
348
349
|
};
|
|
349
|
-
} |
|
|
350
|
+
} | {
|
|
351
|
+
data: {
|
|
352
|
+
session: Session;
|
|
353
|
+
user: User;
|
|
354
|
+
};
|
|
355
|
+
error: null;
|
|
356
|
+
}>;
|
|
350
357
|
};
|
|
351
358
|
passkey: {
|
|
352
359
|
/**
|
|
@@ -405,7 +412,13 @@ declare const passkeyClient: () => {
|
|
|
405
412
|
status: number;
|
|
406
413
|
statusText: string;
|
|
407
414
|
};
|
|
408
|
-
} |
|
|
415
|
+
} | {
|
|
416
|
+
data: {
|
|
417
|
+
session: Session;
|
|
418
|
+
user: User;
|
|
419
|
+
};
|
|
420
|
+
error: null;
|
|
421
|
+
}>;
|
|
409
422
|
};
|
|
410
423
|
passkey: {
|
|
411
424
|
/**
|
|
@@ -5,8 +5,9 @@ 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.BDR52Rf2.mjs';
|
|
8
|
-
import { J as FieldAttribute, B as BetterAuthOptions, 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.JJG-4rPJ.mjs';
|
|
9
9
|
import { username } from '../../plugins/username/index.mjs';
|
|
10
|
+
import { Session } from 'inspector';
|
|
10
11
|
import { Passkey, passkey } from '../../plugins/passkey/index.mjs';
|
|
11
12
|
export { twoFactorClient } from '../../plugins/two-factor/index.mjs';
|
|
12
13
|
import { magicLink } from '../../plugins/magic-link/index.mjs';
|
|
@@ -17,10 +18,10 @@ import { genericOAuth } from '../../plugins/generic-oauth/index.mjs';
|
|
|
17
18
|
import { jwt } from '../../plugins/jwt/index.mjs';
|
|
18
19
|
import { multiSession } from '../../plugins/multi-session/index.mjs';
|
|
19
20
|
import { emailOTP } from '../../plugins/email-otp/index.mjs';
|
|
20
|
-
import { S as Store } from '../../shared/better-auth.
|
|
21
|
+
import { S as Store } from '../../shared/better-auth.Df4VL-14.mjs';
|
|
21
22
|
import { sso } from '../../plugins/sso/index.mjs';
|
|
22
23
|
import { oidcProvider } from '../../plugins/oidc-provider/index.mjs';
|
|
23
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
24
|
+
import { a as apiKey } from '../../shared/better-auth.fHc4138q.mjs';
|
|
24
25
|
import { oneTimeToken } from '../../plugins/one-time-token/index.mjs';
|
|
25
26
|
import { siwe } from '../../plugins/siwe/index.mjs';
|
|
26
27
|
export * from '@simplewebauthn/server';
|
|
@@ -346,7 +347,13 @@ declare const getPasskeyActions: ($fetch: BetterFetch, { $listPasskeys, }: {
|
|
|
346
347
|
status: number;
|
|
347
348
|
statusText: string;
|
|
348
349
|
};
|
|
349
|
-
} |
|
|
350
|
+
} | {
|
|
351
|
+
data: {
|
|
352
|
+
session: Session;
|
|
353
|
+
user: User;
|
|
354
|
+
};
|
|
355
|
+
error: null;
|
|
356
|
+
}>;
|
|
350
357
|
};
|
|
351
358
|
passkey: {
|
|
352
359
|
/**
|
|
@@ -405,7 +412,13 @@ declare const passkeyClient: () => {
|
|
|
405
412
|
status: number;
|
|
406
413
|
statusText: string;
|
|
407
414
|
};
|
|
408
|
-
} |
|
|
415
|
+
} | {
|
|
416
|
+
data: {
|
|
417
|
+
session: Session;
|
|
418
|
+
user: User;
|
|
419
|
+
};
|
|
420
|
+
error: null;
|
|
421
|
+
}>;
|
|
409
422
|
};
|
|
410
423
|
passkey: {
|
|
411
424
|
/**
|
|
@@ -5,8 +5,9 @@ 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.BDR52Rf2.js';
|
|
8
|
-
import { J as FieldAttribute, B as BetterAuthOptions, 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.BUnyEQuc.js';
|
|
9
9
|
import { username } from '../../plugins/username/index.js';
|
|
10
|
+
import { Session } from 'inspector';
|
|
10
11
|
import { Passkey, passkey } from '../../plugins/passkey/index.js';
|
|
11
12
|
export { twoFactorClient } from '../../plugins/two-factor/index.js';
|
|
12
13
|
import { magicLink } from '../../plugins/magic-link/index.js';
|
|
@@ -17,10 +18,10 @@ import { genericOAuth } from '../../plugins/generic-oauth/index.js';
|
|
|
17
18
|
import { jwt } from '../../plugins/jwt/index.js';
|
|
18
19
|
import { multiSession } from '../../plugins/multi-session/index.js';
|
|
19
20
|
import { emailOTP } from '../../plugins/email-otp/index.js';
|
|
20
|
-
import { S as Store } from '../../shared/better-auth.
|
|
21
|
+
import { S as Store } from '../../shared/better-auth.Cm-DsNnM.js';
|
|
21
22
|
import { sso } from '../../plugins/sso/index.js';
|
|
22
23
|
import { oidcProvider } from '../../plugins/oidc-provider/index.js';
|
|
23
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
24
|
+
import { a as apiKey } from '../../shared/better-auth.Bo7h6YI5.js';
|
|
24
25
|
import { oneTimeToken } from '../../plugins/one-time-token/index.js';
|
|
25
26
|
import { siwe } from '../../plugins/siwe/index.js';
|
|
26
27
|
export * from '@simplewebauthn/server';
|
|
@@ -346,7 +347,13 @@ declare const getPasskeyActions: ($fetch: BetterFetch, { $listPasskeys, }: {
|
|
|
346
347
|
status: number;
|
|
347
348
|
statusText: string;
|
|
348
349
|
};
|
|
349
|
-
} |
|
|
350
|
+
} | {
|
|
351
|
+
data: {
|
|
352
|
+
session: Session;
|
|
353
|
+
user: User;
|
|
354
|
+
};
|
|
355
|
+
error: null;
|
|
356
|
+
}>;
|
|
350
357
|
};
|
|
351
358
|
passkey: {
|
|
352
359
|
/**
|
|
@@ -405,7 +412,13 @@ declare const passkeyClient: () => {
|
|
|
405
412
|
status: number;
|
|
406
413
|
statusText: string;
|
|
407
414
|
};
|
|
408
|
-
} |
|
|
415
|
+
} | {
|
|
416
|
+
data: {
|
|
417
|
+
session: Session;
|
|
418
|
+
user: User;
|
|
419
|
+
};
|
|
420
|
+
error: null;
|
|
421
|
+
}>;
|
|
409
422
|
};
|
|
410
423
|
passkey: {
|
|
411
424
|
/**
|
|
@@ -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.DCaLQCEk.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.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.CAz9Cd5z.cjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
@@ -68,15 +68,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
68
68
|
data: InferClientAPI<Option> extends {
|
|
69
69
|
getSession: () => Promise<infer Res>;
|
|
70
70
|
} ? Res extends {
|
|
71
|
-
data: infer S;
|
|
72
|
-
error: null;
|
|
73
|
-
} | {
|
|
74
71
|
data: null;
|
|
75
72
|
error: {
|
|
76
73
|
message?: string | undefined;
|
|
77
74
|
status: number;
|
|
78
75
|
statusText: string;
|
|
79
76
|
};
|
|
77
|
+
} | {
|
|
78
|
+
data: infer S;
|
|
79
|
+
error: null;
|
|
80
80
|
} ? S : Res : never;
|
|
81
81
|
isPending: boolean;
|
|
82
82
|
error: BetterFetchError | null;
|
|
@@ -86,15 +86,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
86
86
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
87
87
|
getSession: () => Promise<infer Res>;
|
|
88
88
|
} ? Res extends {
|
|
89
|
-
data: infer S;
|
|
90
|
-
error: null;
|
|
91
|
-
} | {
|
|
92
89
|
data: null;
|
|
93
90
|
error: {
|
|
94
91
|
message?: string | undefined;
|
|
95
92
|
status: number;
|
|
96
93
|
statusText: string;
|
|
97
94
|
};
|
|
95
|
+
} | {
|
|
96
|
+
data: infer S;
|
|
97
|
+
error: null;
|
|
98
98
|
} ? S : Res : never>;
|
|
99
99
|
};
|
|
100
100
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -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.Df4VL-14.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.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.JJG-4rPJ.mjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
@@ -68,15 +68,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
68
68
|
data: InferClientAPI<Option> extends {
|
|
69
69
|
getSession: () => Promise<infer Res>;
|
|
70
70
|
} ? Res extends {
|
|
71
|
-
data: infer S;
|
|
72
|
-
error: null;
|
|
73
|
-
} | {
|
|
74
71
|
data: null;
|
|
75
72
|
error: {
|
|
76
73
|
message?: string | undefined;
|
|
77
74
|
status: number;
|
|
78
75
|
statusText: string;
|
|
79
76
|
};
|
|
77
|
+
} | {
|
|
78
|
+
data: infer S;
|
|
79
|
+
error: null;
|
|
80
80
|
} ? S : Res : never;
|
|
81
81
|
isPending: boolean;
|
|
82
82
|
error: BetterFetchError | null;
|
|
@@ -86,15 +86,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
86
86
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
87
87
|
getSession: () => Promise<infer Res>;
|
|
88
88
|
} ? Res extends {
|
|
89
|
-
data: infer S;
|
|
90
|
-
error: null;
|
|
91
|
-
} | {
|
|
92
89
|
data: null;
|
|
93
90
|
error: {
|
|
94
91
|
message?: string | undefined;
|
|
95
92
|
status: number;
|
|
96
93
|
statusText: string;
|
|
97
94
|
};
|
|
95
|
+
} | {
|
|
96
|
+
data: infer S;
|
|
97
|
+
error: null;
|
|
98
98
|
} ? S : Res : never>;
|
|
99
99
|
};
|
|
100
100
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -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.Cm-DsNnM.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.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.BUnyEQuc.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
@@ -68,15 +68,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
68
68
|
data: InferClientAPI<Option> extends {
|
|
69
69
|
getSession: () => Promise<infer Res>;
|
|
70
70
|
} ? Res extends {
|
|
71
|
-
data: infer S;
|
|
72
|
-
error: null;
|
|
73
|
-
} | {
|
|
74
71
|
data: null;
|
|
75
72
|
error: {
|
|
76
73
|
message?: string | undefined;
|
|
77
74
|
status: number;
|
|
78
75
|
statusText: string;
|
|
79
76
|
};
|
|
77
|
+
} | {
|
|
78
|
+
data: infer S;
|
|
79
|
+
error: null;
|
|
80
80
|
} ? S : Res : never;
|
|
81
81
|
isPending: boolean;
|
|
82
82
|
error: BetterFetchError | null;
|
|
@@ -86,15 +86,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
86
86
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
87
87
|
getSession: () => Promise<infer Res>;
|
|
88
88
|
} ? Res extends {
|
|
89
|
-
data: infer S;
|
|
90
|
-
error: null;
|
|
91
|
-
} | {
|
|
92
89
|
data: null;
|
|
93
90
|
error: {
|
|
94
91
|
message?: string | undefined;
|
|
95
92
|
status: number;
|
|
96
93
|
statusText: string;
|
|
97
94
|
};
|
|
95
|
+
} | {
|
|
96
|
+
data: infer S;
|
|
97
|
+
error: null;
|
|
98
98
|
} ? S : Res : never>;
|
|
99
99
|
};
|
|
100
100
|
$fetch: _better_fetch_fetch.BetterFetch<{
|