better-auth 1.3.5-beta.3 → 1.3.5-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/drizzle-adapter/index.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.d.cts +1 -1
- package/dist/api/index.d.mts +1 -1
- package/dist/api/index.d.ts +1 -1
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.mts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/plugins/index.d.cts +3 -3
- package/dist/client/plugins/index.d.mts +3 -3
- package/dist/client/plugins/index.d.ts +3 -3
- package/dist/client/react/index.d.cts +3 -3
- package/dist/client/react/index.d.mts +3 -3
- package/dist/client/react/index.d.ts +3 -3
- package/dist/client/solid/index.d.cts +3 -3
- package/dist/client/solid/index.d.mts +3 -3
- package/dist/client/solid/index.d.ts +3 -3
- package/dist/client/svelte/index.d.cts +9 -9
- package/dist/client/svelte/index.d.mts +9 -9
- package/dist/client/svelte/index.d.ts +9 -9
- package/dist/client/vue/index.d.cts +12 -12
- package/dist/client/vue/index.d.mts +12 -12
- package/dist/client/vue/index.d.ts +12 -12
- 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.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/integrations/next-js.d.cts +1 -1
- package/dist/integrations/next-js.d.mts +1 -1
- package/dist/integrations/next-js.d.ts +1 -1
- package/dist/integrations/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.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/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/oauth2/index.d.cts +2 -2
- package/dist/oauth2/index.d.mts +2 -2
- package/dist/oauth2/index.d.ts +2 -2
- package/dist/plugins/admin/index.d.cts +1 -1
- package/dist/plugins/admin/index.d.mts +1 -1
- package/dist/plugins/admin/index.d.ts +1 -1
- package/dist/plugins/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/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/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.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/email-otp/index.d.cts +1 -1
- package/dist/plugins/email-otp/index.d.mts +1 -1
- package/dist/plugins/email-otp/index.d.ts +1 -1
- package/dist/plugins/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.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/index.d.cts +3 -3
- package/dist/plugins/index.d.mts +3 -3
- package/dist/plugins/index.d.ts +3 -3
- 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/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/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/oidc-provider/index.d.cts +1 -1
- package/dist/plugins/oidc-provider/index.d.mts +1 -1
- package/dist/plugins/oidc-provider/index.d.ts +1 -1
- 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/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/organization/index.d.cts +1 -1
- package/dist/plugins/organization/index.d.mts +1 -1
- package/dist/plugins/organization/index.d.ts +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/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/sso/index.d.cts +1 -1
- package/dist/plugins/sso/index.d.mts +1 -1
- package/dist/plugins/sso/index.d.ts +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/username/index.d.cts +1 -1
- package/dist/plugins/username/index.d.mts +1 -1
- package/dist/plugins/username/index.d.ts +1 -1
- package/dist/shared/{better-auth.0hEyouaB.d.ts → better-auth.51I6PyRe.d.ts} +5 -5
- package/dist/shared/{better-auth.DXpjwdVc.d.ts → better-auth.7ZqqFe-j.d.ts} +1 -1
- package/dist/shared/{better-auth.DbUvEa58.d.cts → better-auth.AivIR4uh.d.cts} +1 -1
- package/dist/shared/{better-auth.D3_6O2e6.d.ts → better-auth.BqdN1NPg.d.ts} +1 -1
- package/dist/shared/{better-auth.B1T-C3qr.d.mts → better-auth.BrxRYy4n.d.cts} +1 -1
- package/dist/shared/{better-auth.C_KrCcsR.d.ts → better-auth.CCpE3e2i.d.ts} +1 -1
- package/dist/shared/{better-auth.DssI2nzL.d.cts → better-auth.DHGzyqAx.d.cts} +1 -1
- package/dist/shared/{better-auth.Ca-L85O0.d.cts → better-auth.DIg1bHEK.d.cts} +5 -5
- package/dist/shared/{better-auth.HlfiPjqB.d.mts → better-auth.DiA0wqiV.d.mts} +1 -1
- package/dist/shared/{better-auth.DFOoWEPZ.d.mts → better-auth.DsAm6IlA.d.mts} +5 -5
- package/dist/shared/{better-auth.CkY1OsjZ.d.mts → better-auth.DxNoyi6S.d.mts} +1 -1
- package/dist/shared/{better-auth.DgMwqu0c.d.cts → better-auth.xbK6ZE-f.d.mts} +1 -1
- 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/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.DIg1bHEK.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.DsAm6IlA.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.51I6PyRe.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.DIg1bHEK.cjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.DIg1bHEK.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.DsAm6IlA.mjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.DsAm6IlA.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.51I6PyRe.js';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.51I6PyRe.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.DIg1bHEK.cjs';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.ZSfSbnQT.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.DsAm6IlA.mjs';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.ZSfSbnQT.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.51I6PyRe.js';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.ZSfSbnQT.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.DIg1bHEK.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.DsAm6IlA.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.51I6PyRe.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.DIg1bHEK.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.DsAm6IlA.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.51I6PyRe.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.DIg1bHEK.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.DsAm6IlA.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.51I6PyRe.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.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../shared/better-auth.CQcLu79e.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.
|
|
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.DIg1bHEK.cjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.ZSfSbnQT.cjs';
|
|
5
5
|
import 'zod/v4/core';
|
package/dist/api/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../shared/better-auth.B07KCUM7.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.
|
|
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.DsAm6IlA.mjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.ZSfSbnQT.mjs';
|
|
5
5
|
import 'zod/v4/core';
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../shared/better-auth.D0jV1YvN.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.
|
|
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.51I6PyRe.js';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.ZSfSbnQT.js';
|
|
5
5
|
import 'zod/v4/core';
|
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.DIg1bHEK.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.DHGzyqAx.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.DHGzyqAx.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.DsAm6IlA.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.DxNoyi6S.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.DxNoyi6S.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.51I6PyRe.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.CCpE3e2i.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.CCpE3e2i.js';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
@@ -5,7 +5,7 @@ import { atom } from 'nanostores';
|
|
|
5
5
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
6
6
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
7
7
|
import { a as Prettify } from '../../shared/better-auth.ZSfSbnQT.cjs';
|
|
8
|
-
import { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
8
|
+
import { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.DIg1bHEK.cjs';
|
|
9
9
|
import { username } from '../../plugins/username/index.cjs';
|
|
10
10
|
import { Passkey, passkey } from '../../plugins/passkey/index.cjs';
|
|
11
11
|
export { twoFactorClient } from '../../plugins/two-factor/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.DHGzyqAx.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.AivIR4uh.cjs';
|
|
24
24
|
import { oneTimeToken } from '../../plugins/one-time-token/index.cjs';
|
|
25
25
|
import { siwe } from '../../plugins/siwe/index.cjs';
|
|
26
26
|
export * from '@simplewebauthn/server';
|
|
@@ -5,7 +5,7 @@ import { atom } from 'nanostores';
|
|
|
5
5
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
6
6
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
7
7
|
import { a as Prettify } from '../../shared/better-auth.ZSfSbnQT.mjs';
|
|
8
|
-
import { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
8
|
+
import { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.DsAm6IlA.mjs';
|
|
9
9
|
import { username } from '../../plugins/username/index.mjs';
|
|
10
10
|
import { Passkey, passkey } from '../../plugins/passkey/index.mjs';
|
|
11
11
|
export { twoFactorClient } from '../../plugins/two-factor/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.DxNoyi6S.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.DiA0wqiV.mjs';
|
|
24
24
|
import { oneTimeToken } from '../../plugins/one-time-token/index.mjs';
|
|
25
25
|
import { siwe } from '../../plugins/siwe/index.mjs';
|
|
26
26
|
export * from '@simplewebauthn/server';
|
|
@@ -5,7 +5,7 @@ import { atom } from 'nanostores';
|
|
|
5
5
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
6
6
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
7
7
|
import { a as Prettify } from '../../shared/better-auth.ZSfSbnQT.js';
|
|
8
|
-
import { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
8
|
+
import { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.51I6PyRe.js';
|
|
9
9
|
import { username } from '../../plugins/username/index.js';
|
|
10
10
|
import { Passkey, passkey } from '../../plugins/passkey/index.js';
|
|
11
11
|
export { twoFactorClient } from '../../plugins/two-factor/index.js';
|
|
@@ -17,10 +17,10 @@ import { genericOAuth } from '../../plugins/generic-oauth/index.js';
|
|
|
17
17
|
import { jwt } from '../../plugins/jwt/index.js';
|
|
18
18
|
import { multiSession } from '../../plugins/multi-session/index.js';
|
|
19
19
|
import { emailOTP } from '../../plugins/email-otp/index.js';
|
|
20
|
-
import { S as Store } from '../../shared/better-auth.
|
|
20
|
+
import { S as Store } from '../../shared/better-auth.CCpE3e2i.js';
|
|
21
21
|
import { sso } from '../../plugins/sso/index.js';
|
|
22
22
|
import { oidcProvider } from '../../plugins/oidc-provider/index.js';
|
|
23
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
23
|
+
import { a as apiKey } from '../../shared/better-auth.BqdN1NPg.js';
|
|
24
24
|
import { oneTimeToken } from '../../plugins/one-time-token/index.js';
|
|
25
25
|
import { siwe } from '../../plugins/siwe/index.js';
|
|
26
26
|
export * from '@simplewebauthn/server';
|
|
@@ -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.DHGzyqAx.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.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.DIg1bHEK.cjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
@@ -114,13 +114,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
114
114
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
115
115
|
};
|
|
116
116
|
})[];
|
|
117
|
-
redirect?: RequestRedirect | undefined;
|
|
118
117
|
method: string;
|
|
119
118
|
headers?: (HeadersInit & (HeadersInit | {
|
|
120
119
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
121
120
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
122
121
|
authorization: "Bearer" | "Basic";
|
|
123
122
|
})) | undefined;
|
|
123
|
+
redirect?: RequestRedirect | undefined;
|
|
124
124
|
cache?: RequestCache | undefined;
|
|
125
125
|
credentials?: RequestCredentials;
|
|
126
126
|
integrity?: string | undefined;
|
|
@@ -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.DxNoyi6S.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.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.DsAm6IlA.mjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
@@ -114,13 +114,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
114
114
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
115
115
|
};
|
|
116
116
|
})[];
|
|
117
|
-
redirect?: RequestRedirect | undefined;
|
|
118
117
|
method: string;
|
|
119
118
|
headers?: (HeadersInit & (HeadersInit | {
|
|
120
119
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
121
120
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
122
121
|
authorization: "Bearer" | "Basic";
|
|
123
122
|
})) | undefined;
|
|
123
|
+
redirect?: RequestRedirect | undefined;
|
|
124
124
|
cache?: RequestCache | undefined;
|
|
125
125
|
credentials?: RequestCredentials;
|
|
126
126
|
integrity?: string | undefined;
|
|
@@ -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.CCpE3e2i.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.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.51I6PyRe.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
@@ -114,13 +114,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
114
114
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
115
115
|
};
|
|
116
116
|
})[];
|
|
117
|
-
redirect?: RequestRedirect | undefined;
|
|
118
117
|
method: string;
|
|
119
118
|
headers?: (HeadersInit & (HeadersInit | {
|
|
120
119
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
121
120
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
122
121
|
authorization: "Bearer" | "Basic";
|
|
123
122
|
})) | undefined;
|
|
123
|
+
redirect?: RequestRedirect | undefined;
|
|
124
124
|
cache?: RequestCache | undefined;
|
|
125
125
|
credentials?: RequestCredentials;
|
|
126
126
|
integrity?: string | undefined;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
2
2
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
3
3
|
export * from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DHGzyqAx.cjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.cjs';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DIg1bHEK.cjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
@@ -70,13 +70,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
70
70
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
71
71
|
};
|
|
72
72
|
})[];
|
|
73
|
-
redirect?: RequestRedirect | undefined;
|
|
74
73
|
method: string;
|
|
75
74
|
headers?: (HeadersInit & (HeadersInit | {
|
|
76
75
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
77
76
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
78
77
|
authorization: "Bearer" | "Basic";
|
|
79
78
|
})) | undefined;
|
|
79
|
+
redirect?: RequestRedirect | undefined;
|
|
80
80
|
cache?: RequestCache | undefined;
|
|
81
81
|
credentials?: RequestCredentials;
|
|
82
82
|
integrity?: string | undefined;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
2
2
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
3
3
|
export * from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DxNoyi6S.mjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.mjs';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DsAm6IlA.mjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
@@ -70,13 +70,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
70
70
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
71
71
|
};
|
|
72
72
|
})[];
|
|
73
|
-
redirect?: RequestRedirect | undefined;
|
|
74
73
|
method: string;
|
|
75
74
|
headers?: (HeadersInit & (HeadersInit | {
|
|
76
75
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
77
76
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
78
77
|
authorization: "Bearer" | "Basic";
|
|
79
78
|
})) | undefined;
|
|
79
|
+
redirect?: RequestRedirect | undefined;
|
|
80
80
|
cache?: RequestCache | undefined;
|
|
81
81
|
credentials?: RequestCredentials;
|
|
82
82
|
integrity?: string | undefined;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
2
2
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
3
3
|
export * from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.CCpE3e2i.js';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.js';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.51I6PyRe.js';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
@@ -70,13 +70,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
70
70
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
71
71
|
};
|
|
72
72
|
})[];
|
|
73
|
-
redirect?: RequestRedirect | undefined;
|
|
74
73
|
method: string;
|
|
75
74
|
headers?: (HeadersInit & (HeadersInit | {
|
|
76
75
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
77
76
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
78
77
|
authorization: "Bearer" | "Basic";
|
|
79
78
|
})) | undefined;
|
|
79
|
+
redirect?: RequestRedirect | undefined;
|
|
80
80
|
cache?: RequestCache | undefined;
|
|
81
81
|
credentials?: RequestCredentials;
|
|
82
82
|
integrity?: string | undefined;
|
|
@@ -4,9 +4,9 @@ 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.DHGzyqAx.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DIg1bHEK.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
@@ -25,15 +25,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
25
25
|
data: InferClientAPI<Option> extends {
|
|
26
26
|
getSession: () => Promise<infer Res>;
|
|
27
27
|
} ? Res extends {
|
|
28
|
+
data: infer S;
|
|
29
|
+
error: null;
|
|
30
|
+
} | {
|
|
28
31
|
data: null;
|
|
29
32
|
error: {
|
|
30
33
|
message?: string | undefined;
|
|
31
34
|
status: number;
|
|
32
35
|
statusText: string;
|
|
33
36
|
};
|
|
34
|
-
} | {
|
|
35
|
-
data: infer S;
|
|
36
|
-
error: null;
|
|
37
37
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
38
38
|
error: BetterFetchError | null;
|
|
39
39
|
isPending: boolean;
|
|
@@ -56,13 +56,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
56
56
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
57
57
|
};
|
|
58
58
|
})[];
|
|
59
|
-
redirect?: RequestRedirect | undefined;
|
|
60
59
|
method: string;
|
|
61
60
|
headers?: (HeadersInit & (HeadersInit | {
|
|
62
61
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
63
62
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
64
63
|
authorization: "Bearer" | "Basic";
|
|
65
64
|
})) | undefined;
|
|
65
|
+
redirect?: RequestRedirect | undefined;
|
|
66
66
|
cache?: RequestCache | undefined;
|
|
67
67
|
credentials?: RequestCredentials;
|
|
68
68
|
integrity?: string | undefined;
|
|
@@ -113,15 +113,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
113
113
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
114
114
|
getSession: () => Promise<infer Res>;
|
|
115
115
|
} ? Res extends {
|
|
116
|
+
data: infer S;
|
|
117
|
+
error: null;
|
|
118
|
+
} | {
|
|
116
119
|
data: null;
|
|
117
120
|
error: {
|
|
118
121
|
message?: string | undefined;
|
|
119
122
|
status: number;
|
|
120
123
|
statusText: string;
|
|
121
124
|
};
|
|
122
|
-
} | {
|
|
123
|
-
data: infer S;
|
|
124
|
-
error: null;
|
|
125
125
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
126
126
|
};
|
|
127
127
|
$ERROR_CODES: PrettifyDeep<InferErrorCodes<Option> & typeof BASE_ERROR_CODES>;
|