better-auth 1.3.9-beta.1 → 1.3.9-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.cjs +16 -0
- package/dist/adapters/drizzle-adapter/index.d.cts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.mts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.ts +2 -2
- package/dist/adapters/drizzle-adapter/index.mjs +17 -1
- package/dist/adapters/index.d.cts +3 -3
- package/dist/adapters/index.d.mts +3 -3
- package/dist/adapters/index.d.ts +3 -3
- package/dist/adapters/kysely-adapter/index.cjs +1 -1
- package/dist/adapters/kysely-adapter/index.d.cts +2 -2
- package/dist/adapters/kysely-adapter/index.d.mts +2 -2
- package/dist/adapters/kysely-adapter/index.d.ts +2 -2
- package/dist/adapters/kysely-adapter/index.mjs +1 -1
- package/dist/adapters/memory-adapter/index.cjs +1 -1
- package/dist/adapters/memory-adapter/index.d.cts +2 -2
- package/dist/adapters/memory-adapter/index.d.mts +2 -2
- package/dist/adapters/memory-adapter/index.d.ts +2 -2
- package/dist/adapters/memory-adapter/index.mjs +1 -1
- package/dist/adapters/mongodb-adapter/index.cjs +1 -1
- package/dist/adapters/mongodb-adapter/index.d.cts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.mts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.ts +2 -2
- package/dist/adapters/mongodb-adapter/index.mjs +1 -1
- package/dist/adapters/prisma-adapter/index.cjs +2 -0
- package/dist/adapters/prisma-adapter/index.d.cts +2 -2
- package/dist/adapters/prisma-adapter/index.d.mts +2 -2
- package/dist/adapters/prisma-adapter/index.d.ts +2 -2
- package/dist/adapters/prisma-adapter/index.mjs +2 -0
- package/dist/adapters/test.cjs +44 -0
- package/dist/adapters/test.d.cts +4 -2
- package/dist/adapters/test.d.mts +4 -2
- package/dist/adapters/test.d.ts +4 -2
- package/dist/adapters/test.mjs +44 -0
- package/dist/api/index.cjs +1 -1
- package/dist/api/index.d.cts +2 -2
- package/dist/api/index.d.mts +2 -2
- package/dist/api/index.d.ts +2 -2
- package/dist/api/index.mjs +2 -2
- package/dist/client/index.d.cts +4 -4
- package/dist/client/index.d.mts +4 -4
- package/dist/client/index.d.ts +4 -4
- package/dist/client/plugins/index.cjs +4 -3
- package/dist/client/plugins/index.d.cts +5 -4
- package/dist/client/plugins/index.d.mts +5 -4
- package/dist/client/plugins/index.d.ts +5 -4
- package/dist/client/plugins/index.mjs +4 -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 +3 -3
- package/dist/client/svelte/index.d.mts +3 -3
- package/dist/client/svelte/index.d.ts +3 -3
- 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 +2 -2
- package/dist/cookies/index.d.mts +2 -2
- package/dist/cookies/index.d.ts +2 -2
- package/dist/db/index.cjs +3 -3
- package/dist/db/index.d.cts +3 -3
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.d.ts +3 -3
- package/dist/db/index.mjs +3 -3
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +10 -10
- package/dist/index.d.mts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.mjs +5 -5
- package/dist/integrations/next-js.cjs +2 -2
- package/dist/integrations/next-js.d.cts +2 -2
- package/dist/integrations/next-js.d.mts +2 -2
- package/dist/integrations/next-js.d.ts +2 -2
- package/dist/integrations/next-js.mjs +2 -2
- package/dist/integrations/node.d.cts +2 -2
- package/dist/integrations/node.d.mts +2 -2
- package/dist/integrations/node.d.ts +2 -2
- package/dist/integrations/react-start.cjs +2 -2
- package/dist/integrations/react-start.d.cts +2 -2
- package/dist/integrations/react-start.d.mts +2 -2
- package/dist/integrations/react-start.d.ts +2 -2
- package/dist/integrations/react-start.mjs +2 -2
- package/dist/integrations/svelte-kit.cjs +1 -1
- package/dist/integrations/svelte-kit.d.cts +2 -2
- package/dist/integrations/svelte-kit.d.mts +2 -2
- package/dist/integrations/svelte-kit.d.ts +2 -2
- package/dist/integrations/svelte-kit.mjs +1 -1
- package/dist/oauth2/index.cjs +1 -1
- package/dist/oauth2/index.d.cts +4 -4
- package/dist/oauth2/index.d.mts +4 -4
- package/dist/oauth2/index.d.ts +4 -4
- package/dist/oauth2/index.mjs +1 -1
- package/dist/plugins/admin/index.cjs +2 -2
- package/dist/plugins/admin/index.d.cts +4 -4
- package/dist/plugins/admin/index.d.mts +4 -4
- package/dist/plugins/admin/index.d.ts +4 -4
- package/dist/plugins/admin/index.mjs +2 -2
- package/dist/plugins/anonymous/index.cjs +1 -1
- package/dist/plugins/anonymous/index.d.cts +2 -2
- package/dist/plugins/anonymous/index.d.mts +2 -2
- package/dist/plugins/anonymous/index.d.ts +2 -2
- package/dist/plugins/anonymous/index.mjs +1 -1
- package/dist/plugins/bearer/index.cjs +1 -1
- package/dist/plugins/bearer/index.d.cts +2 -2
- package/dist/plugins/bearer/index.d.mts +2 -2
- package/dist/plugins/bearer/index.d.ts +2 -2
- package/dist/plugins/bearer/index.mjs +1 -1
- package/dist/plugins/captcha/index.d.cts +2 -2
- package/dist/plugins/captcha/index.d.mts +2 -2
- package/dist/plugins/captcha/index.d.ts +2 -2
- package/dist/plugins/custom-session/index.cjs +1 -1
- package/dist/plugins/custom-session/index.d.cts +2 -2
- package/dist/plugins/custom-session/index.d.mts +2 -2
- package/dist/plugins/custom-session/index.d.ts +2 -2
- package/dist/plugins/custom-session/index.mjs +1 -1
- package/dist/plugins/device-authorization/index.d.cts +2 -2
- package/dist/plugins/device-authorization/index.d.mts +2 -2
- package/dist/plugins/device-authorization/index.d.ts +2 -2
- package/dist/plugins/email-otp/index.cjs +1 -1
- package/dist/plugins/email-otp/index.d.cts +2 -2
- package/dist/plugins/email-otp/index.d.mts +2 -2
- package/dist/plugins/email-otp/index.d.ts +2 -2
- package/dist/plugins/email-otp/index.mjs +1 -1
- package/dist/plugins/generic-oauth/index.cjs +1 -1
- package/dist/plugins/generic-oauth/index.d.cts +2 -2
- package/dist/plugins/generic-oauth/index.d.mts +2 -2
- package/dist/plugins/generic-oauth/index.d.ts +2 -2
- package/dist/plugins/generic-oauth/index.mjs +1 -1
- package/dist/plugins/haveibeenpwned/index.cjs +1 -1
- package/dist/plugins/haveibeenpwned/index.d.cts +2 -2
- package/dist/plugins/haveibeenpwned/index.d.mts +2 -2
- package/dist/plugins/haveibeenpwned/index.d.ts +2 -2
- package/dist/plugins/haveibeenpwned/index.mjs +1 -1
- package/dist/plugins/index.cjs +10 -10
- package/dist/plugins/index.d.cts +10 -9
- package/dist/plugins/index.d.mts +10 -9
- package/dist/plugins/index.d.ts +10 -9
- package/dist/plugins/index.mjs +11 -11
- package/dist/plugins/jwt/index.cjs +1 -1
- package/dist/plugins/jwt/index.d.cts +2 -2
- package/dist/plugins/jwt/index.d.mts +2 -2
- package/dist/plugins/jwt/index.d.ts +2 -2
- package/dist/plugins/jwt/index.mjs +1 -1
- package/dist/plugins/magic-link/index.cjs +1 -1
- package/dist/plugins/magic-link/index.mjs +1 -1
- package/dist/plugins/multi-session/index.cjs +1 -1
- package/dist/plugins/multi-session/index.d.cts +2 -2
- package/dist/plugins/multi-session/index.d.mts +2 -2
- package/dist/plugins/multi-session/index.d.ts +2 -2
- package/dist/plugins/multi-session/index.mjs +1 -1
- package/dist/plugins/oauth-proxy/index.cjs +1 -1
- package/dist/plugins/oauth-proxy/index.d.cts +2 -2
- package/dist/plugins/oauth-proxy/index.d.mts +2 -2
- package/dist/plugins/oauth-proxy/index.d.ts +2 -2
- package/dist/plugins/oauth-proxy/index.mjs +1 -1
- package/dist/plugins/oidc-provider/index.cjs +2 -2
- package/dist/plugins/oidc-provider/index.d.cts +6 -6
- package/dist/plugins/oidc-provider/index.d.mts +6 -6
- package/dist/plugins/oidc-provider/index.d.ts +6 -6
- package/dist/plugins/oidc-provider/index.mjs +2 -2
- package/dist/plugins/one-tap/index.cjs +1 -1
- package/dist/plugins/one-tap/index.mjs +1 -1
- package/dist/plugins/one-time-token/index.cjs +3 -3
- package/dist/plugins/one-time-token/index.d.cts +2 -2
- package/dist/plugins/one-time-token/index.d.mts +2 -2
- package/dist/plugins/one-time-token/index.d.ts +2 -2
- package/dist/plugins/one-time-token/index.mjs +3 -3
- package/dist/plugins/open-api/index.cjs +1 -1
- package/dist/plugins/open-api/index.d.cts +2 -2
- package/dist/plugins/open-api/index.d.mts +2 -2
- package/dist/plugins/open-api/index.d.ts +2 -2
- package/dist/plugins/open-api/index.mjs +1 -1
- package/dist/plugins/organization/index.cjs +4 -4
- package/dist/plugins/organization/index.d.cts +4 -4
- package/dist/plugins/organization/index.d.mts +4 -4
- package/dist/plugins/organization/index.d.ts +4 -4
- package/dist/plugins/organization/index.mjs +4 -4
- package/dist/plugins/passkey/index.cjs +1 -1
- package/dist/plugins/passkey/index.d.cts +2 -2
- package/dist/plugins/passkey/index.d.mts +2 -2
- package/dist/plugins/passkey/index.d.ts +2 -2
- package/dist/plugins/passkey/index.mjs +1 -1
- package/dist/plugins/phone-number/index.cjs +1 -1
- package/dist/plugins/phone-number/index.d.cts +2 -2
- package/dist/plugins/phone-number/index.d.mts +2 -2
- package/dist/plugins/phone-number/index.d.ts +2 -2
- package/dist/plugins/phone-number/index.mjs +1 -1
- package/dist/plugins/siwe/index.cjs +1 -1
- package/dist/plugins/siwe/index.d.cts +2 -2
- package/dist/plugins/siwe/index.d.mts +2 -2
- package/dist/plugins/siwe/index.d.ts +2 -2
- package/dist/plugins/siwe/index.mjs +1 -1
- package/dist/plugins/sso/index.cjs +1 -1
- package/dist/plugins/sso/index.d.cts +2 -2
- package/dist/plugins/sso/index.d.mts +2 -2
- package/dist/plugins/sso/index.d.ts +2 -2
- package/dist/plugins/sso/index.mjs +1 -1
- package/dist/plugins/two-factor/index.cjs +1 -1
- package/dist/plugins/two-factor/index.d.cts +2 -2
- package/dist/plugins/two-factor/index.d.mts +2 -2
- package/dist/plugins/two-factor/index.d.ts +2 -2
- package/dist/plugins/two-factor/index.mjs +1 -1
- package/dist/plugins/username/index.cjs +1 -1
- package/dist/plugins/username/index.d.cts +4 -4
- package/dist/plugins/username/index.d.mts +4 -4
- package/dist/plugins/username/index.d.ts +4 -4
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/shared/{better-auth.DIVj9vPt.mjs → better-auth.3K3VNUn3.mjs} +1 -1
- package/dist/shared/{better-auth.BAH6fCWD.cjs → better-auth.B1yOWNP8.cjs} +1 -1
- package/dist/shared/{better-auth.nqWf7zUe.mjs → better-auth.B3CPLvGC.mjs} +5 -2
- package/dist/shared/{better-auth.Cimd8aYY.mjs → better-auth.B8UjXTUa.mjs} +1 -1
- package/dist/shared/{better-auth.DQ0tJQPp.cjs → better-auth.BWzwHY8m.cjs} +1 -1
- package/dist/shared/{better-auth.BvPpgmwm.d.mts → better-auth.BZiffGTH.d.mts} +1 -1
- package/dist/shared/{better-auth.DQunmJlF.mjs → better-auth.BjjUH-Ka.mjs} +1 -1
- package/dist/shared/{better-auth.BYiVM63b.mjs → better-auth.BlqpEUaH.mjs} +4 -4
- package/dist/shared/{better-auth.D0Cg_Dub.d.cts → better-auth.CEc4wau_.d.cts} +1 -1
- package/dist/shared/{better-auth.BIJBY4I4.d.cts → better-auth.CTMmErGI.d.cts} +2 -2
- package/dist/shared/{better-auth.B3SLzOva.cjs → better-auth.CXBi-DJc.cjs} +3 -3
- package/dist/shared/{better-auth.B1-Ox-3r.cjs → better-auth.C_gHVcnc.cjs} +7 -0
- package/dist/shared/{better-auth.CVXEZBI2.d.mts → better-auth.ChqAn6N0.d.mts} +1 -1
- package/dist/shared/{better-auth.DVhkokI7.mjs → better-auth.Ck4qhtF6.mjs} +1 -1
- package/dist/shared/{better-auth.Bm9oWUTZ.d.ts → better-auth.CnIVrMwK.d.ts} +1 -1
- package/dist/shared/{better-auth.CitKqF5Y.d.cts → better-auth.D9BrVtBy.d.cts} +1 -1
- package/dist/shared/{better-auth.CUY1kA6n.mjs → better-auth.DAUyNtx1.mjs} +3 -3
- package/dist/shared/{better-auth.B-Ud-fSV.mjs → better-auth.DDDKwecE.mjs} +2 -2
- package/dist/shared/{better-auth.DlDZ0HYa.cjs → better-auth.DFJOJkY1.cjs} +4 -4
- package/dist/shared/{better-auth.Dx_xwMQj.d.cts → better-auth.DGuotwA1.d.cts} +10 -10
- package/dist/shared/{better-auth.DHFf2nZ9.cjs → better-auth.DTV9hYzN.cjs} +2 -2
- package/dist/shared/{better-auth.CSyGSTYy.d.ts → better-auth.DU2vRHKI.d.ts} +10 -10
- package/dist/shared/{better-auth.D7n3lwWd.mjs → better-auth.DXKgbji-.mjs} +7 -0
- package/dist/shared/{better-auth.PF4vmqR_.cjs → better-auth.Dc0nj0we.cjs} +5 -2
- package/dist/shared/{better-auth.DzJ_qpKi.d.mts → better-auth.Df1_Wu_1.d.mts} +5 -5
- package/dist/shared/{better-auth.CCB6dj0q.cjs → better-auth.DtZRMuXL.cjs} +1 -1
- package/dist/shared/{better-auth.Bi1ycR4E.cjs → better-auth.Dyb4JEgv.cjs} +2 -2
- package/dist/shared/{better-auth.DYRnWD9K.d.ts → better-auth.EF9Iq11i.d.ts} +1 -1
- package/dist/shared/{better-auth.C_hBDLi9.cjs → better-auth.TZOo7890.cjs} +1 -1
- package/dist/shared/{better-auth.Bd_cLehw.d.ts → better-auth.WOu5GuAp.d.ts} +5 -5
- package/dist/shared/{better-auth.DA6N5T2Z.mjs → better-auth.XP_NDvic.mjs} +7 -0
- package/dist/shared/{better-auth.DLwq0hcE.cjs → better-auth.YWGwdADP.cjs} +7 -0
- package/dist/shared/{better-auth.DUWKOO0N.d.mts → better-auth.ZUo2dMO3.d.mts} +2 -2
- package/dist/shared/{better-auth.Bb1FRSH5.cjs → better-auth.aZPAhP-f.cjs} +5 -0
- package/dist/shared/{better-auth.Bxp25EX8.d.mts → better-auth.f-bUldRg.d.mts} +10 -10
- package/dist/shared/{better-auth.BxYWwls6.mjs → better-auth.fBcUR9cm.mjs} +2 -2
- package/dist/shared/{better-auth.C7uhlcDq.mjs → better-auth.gF8vGD5L.mjs} +5 -0
- package/dist/shared/{better-auth.CBFaWfTf.d.cts → better-auth.llWU4_4y.d.cts} +5 -5
- package/dist/shared/{better-auth.DOq11zLi.d.ts → better-auth.mA4L_-fq.d.ts} +2 -2
- package/dist/social-providers/index.cjs +1 -1
- package/dist/social-providers/index.d.cts +1 -1
- package/dist/social-providers/index.d.mts +1 -1
- package/dist/social-providers/index.d.ts +1 -1
- package/dist/social-providers/index.mjs +1 -1
- package/dist/test-utils/index.cjs +7 -7
- package/dist/test-utils/index.d.cts +6 -6
- package/dist/test-utils/index.d.mts +6 -6
- package/dist/test-utils/index.d.ts +6 -6
- package/dist/test-utils/index.mjs +7 -7
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/api/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../shared/better-auth.
|
|
2
|
-
export { z as AuthEndpoint, D as AuthMiddleware, bp as accountInfo, aS as callbackOAuth, bg as changeEmail, bc as changePassword, aN as checkEndpointConflicts, y as createAuthEndpoint, x as createAuthMiddleware, b7 as createEmailVerificationToken, be as deleteUser, bf as deleteUserCallback, bh as error, b3 as forgetPassword, b5 as forgetPasswordCallback, aY as freshSessionMiddleware, bn as getAccessToken, aO as getEndpoints, aU as getSession, aV as getSessionFromCtx, aT as getSessionQuerySchema, bl as linkSocialAccount, aZ as listSessions, bk as listUserAccounts, bi as ok, w as optionsMiddleware, br as originCheck, bq as originCheckMiddleware, bo as refreshToken, aX as requestOnlySessionMiddleware, b2 as requestPasswordReset, b4 as requestPasswordResetCallback, b6 as resetPassword, b0 as revokeOtherSessions, a_ as revokeSession, a$ as revokeSessions, aP as router, b9 as sendVerificationEmail, b8 as sendVerificationEmailFn, aW as sessionMiddleware, bd as setPassword, aR as signInEmail, aQ as signInSocial, b1 as signOut, bj as signUpEmail, bm as unlinkAccount, bb as updateUser, ba as verifyEmail } from '../shared/better-auth.
|
|
1
|
+
import '../shared/better-auth.mA4L_-fq.js';
|
|
2
|
+
export { z as AuthEndpoint, D as AuthMiddleware, bp as accountInfo, aS as callbackOAuth, bg as changeEmail, bc as changePassword, aN as checkEndpointConflicts, y as createAuthEndpoint, x as createAuthMiddleware, b7 as createEmailVerificationToken, be as deleteUser, bf as deleteUserCallback, bh as error, b3 as forgetPassword, b5 as forgetPasswordCallback, aY as freshSessionMiddleware, bn as getAccessToken, aO as getEndpoints, aU as getSession, aV as getSessionFromCtx, aT as getSessionQuerySchema, bl as linkSocialAccount, aZ as listSessions, bk as listUserAccounts, bi as ok, w as optionsMiddleware, br as originCheck, bq as originCheckMiddleware, bo as refreshToken, aX as requestOnlySessionMiddleware, b2 as requestPasswordReset, b4 as requestPasswordResetCallback, b6 as resetPassword, b0 as revokeOtherSessions, a_ as revokeSession, a$ as revokeSessions, aP as router, b9 as sendVerificationEmail, b8 as sendVerificationEmailFn, aW as sessionMiddleware, bd as setPassword, aR as signInEmail, aQ as signInSocial, b1 as signOut, bj as signUpEmail, bm as unlinkAccount, bb as updateUser, ba as verifyEmail } from '../shared/better-auth.DU2vRHKI.js';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
5
5
|
import 'zod/v4/core';
|
package/dist/api/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { APIError, createRouter } from 'better-call';
|
|
2
2
|
export { APIError } from 'better-call';
|
|
3
|
-
import { k as createEmailVerificationToken, w as wildcardMatch, u as updateUser, t as toAuthEndpoints, l as originCheckMiddleware, m as error, n as ok, q as accountInfo, x as getAccessToken, y as refreshToken, z as unlinkAccount, A as deleteUserCallback, B as listUserAccounts, C as linkSocialAccount, D as requestPasswordResetCallback, E as requestPasswordReset, F as forgetPasswordCallback, G as deleteUser, I as setPassword, J as changePassword, K as changeEmail, L as sendVerificationEmail, M as verifyEmail, N as resetPassword, O as forgetPassword, P as signInEmail, Q as signOut, R as callbackOAuth, S as signInSocial } from '../shared/better-auth.
|
|
4
|
-
export { o as originCheck, T as sendVerificationEmailFn } from '../shared/better-auth.
|
|
3
|
+
import { k as createEmailVerificationToken, w as wildcardMatch, u as updateUser, t as toAuthEndpoints, l as originCheckMiddleware, m as error, n as ok, q as accountInfo, x as getAccessToken, y as refreshToken, z as unlinkAccount, A as deleteUserCallback, B as listUserAccounts, C as linkSocialAccount, D as requestPasswordResetCallback, E as requestPasswordReset, F as forgetPasswordCallback, G as deleteUser, I as setPassword, J as changePassword, K as changeEmail, L as sendVerificationEmail, M as verifyEmail, N as resetPassword, O as forgetPassword, P as signInEmail, Q as signOut, R as callbackOAuth, S as signInSocial } from '../shared/better-auth.B3CPLvGC.mjs';
|
|
4
|
+
export { o as originCheck, T as sendVerificationEmailFn } from '../shared/better-auth.B3CPLvGC.mjs';
|
|
5
5
|
import { a as createAuthEndpoint, B as BASE_ERROR_CODES, l as listSessions, b as getSession, r as revokeOtherSessions, d as revokeSessions, e as revokeSession } from '../shared/better-auth.DV5EHeYG.mjs';
|
|
6
6
|
export { c as createAuthMiddleware, f as freshSessionMiddleware, g as getSessionFromCtx, h as getSessionQuerySchema, o as optionsMiddleware, i as requestOnlySessionMiddleware, s as sessionMiddleware } from '../shared/better-auth.DV5EHeYG.mjs';
|
|
7
7
|
import * as z from 'zod/v4';
|
package/dist/client/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { f as BASE_ERROR_CODES, r as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.
|
|
1
|
+
import { f as BASE_ERROR_CODES, r as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.DGuotwA1.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, S as SessionQueryParams } from '../shared/better-auth.
|
|
6
|
-
export { A as AtomListener, i as InferAdditionalFromClient, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, e 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, S as SessionQueryParams } from '../shared/better-auth.CEc4wau_.cjs';
|
|
6
|
+
export { A as AtomListener, i as InferAdditionalFromClient, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, e as Store } from '../shared/better-auth.CEc4wau_.cjs';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
@@ -11,7 +11,7 @@ import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-au
|
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'better-call';
|
|
13
13
|
import 'zod/v4';
|
|
14
|
-
import '../shared/better-auth.
|
|
14
|
+
import '../shared/better-auth.CTMmErGI.cjs';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { f as BASE_ERROR_CODES, r as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.
|
|
1
|
+
import { f as BASE_ERROR_CODES, r as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.f-bUldRg.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, S as SessionQueryParams } from '../shared/better-auth.
|
|
6
|
-
export { A as AtomListener, i as InferAdditionalFromClient, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, e 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, S as SessionQueryParams } from '../shared/better-auth.BZiffGTH.mjs';
|
|
6
|
+
export { A as AtomListener, i as InferAdditionalFromClient, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, e as Store } from '../shared/better-auth.BZiffGTH.mjs';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
@@ -11,7 +11,7 @@ import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-au
|
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'better-call';
|
|
13
13
|
import 'zod/v4';
|
|
14
|
-
import '../shared/better-auth.
|
|
14
|
+
import '../shared/better-auth.ZUo2dMO3.mjs';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { f as BASE_ERROR_CODES, r as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.
|
|
1
|
+
import { f as BASE_ERROR_CODES, r as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.DU2vRHKI.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, S as SessionQueryParams } from '../shared/better-auth.
|
|
6
|
-
export { A as AtomListener, i as InferAdditionalFromClient, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, e 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, S as SessionQueryParams } from '../shared/better-auth.EF9Iq11i.js';
|
|
6
|
+
export { A as AtomListener, i as InferAdditionalFromClient, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, e as Store } from '../shared/better-auth.EF9Iq11i.js';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
@@ -11,7 +11,7 @@ import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-au
|
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'better-call';
|
|
13
13
|
import 'zod/v4';
|
|
14
|
-
import '../shared/better-auth.
|
|
14
|
+
import '../shared/better-auth.mA4L_-fq.js';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
|
@@ -5,14 +5,14 @@ require('@better-fetch/fetch');
|
|
|
5
5
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
6
6
|
const query = require('../../shared/better-auth.CYZmwTIS.cjs');
|
|
7
7
|
const plugins_organization_access_index = require('../../plugins/organization/access/index.cjs');
|
|
8
|
-
const hasPermission = require('../../shared/better-auth.
|
|
8
|
+
const hasPermission = require('../../shared/better-auth.B1yOWNP8.cjs');
|
|
9
9
|
const browser = require('@simplewebauthn/browser');
|
|
10
10
|
const client = require('../../shared/better-auth.DnER2-iT.cjs');
|
|
11
11
|
const plugins_admin_access_index = require('../../plugins/admin/access/index.cjs');
|
|
12
12
|
const hasPermission$1 = require('../../shared/better-auth.BW8BpneG.cjs');
|
|
13
13
|
require('zod/v4');
|
|
14
14
|
require('better-call');
|
|
15
|
-
require('../../shared/better-auth.
|
|
15
|
+
require('../../shared/better-auth.Dc0nj0we.cjs');
|
|
16
16
|
require('../../shared/better-auth.CLv80Pwz.cjs');
|
|
17
17
|
require('@better-auth/utils/base64');
|
|
18
18
|
require('@better-auth/utils/hmac');
|
|
@@ -112,7 +112,8 @@ const organizationClient = (options) => {
|
|
|
112
112
|
};
|
|
113
113
|
},
|
|
114
114
|
pathMethods: {
|
|
115
|
-
"/organization/get-full-organization": "GET"
|
|
115
|
+
"/organization/get-full-organization": "GET",
|
|
116
|
+
"/organization/list-user-teams": "GET"
|
|
116
117
|
},
|
|
117
118
|
atomListeners: [
|
|
118
119
|
{
|
|
@@ -2,9 +2,9 @@ import { organization, InferMember, InferInvitation, Team, Organization, Member,
|
|
|
2
2
|
import { AccessControl, Role, Statements } from '../../plugins/access/index.cjs';
|
|
3
3
|
import * as nanostores from 'nanostores';
|
|
4
4
|
import { atom } from 'nanostores';
|
|
5
|
-
import { J as FieldAttribute, B as BetterAuthOptions, U as User, r as BetterAuthPlugin } from '../../shared/better-auth.
|
|
5
|
+
import { J as FieldAttribute, B as BetterAuthOptions, U as User, r as BetterAuthPlugin } from '../../shared/better-auth.DGuotwA1.cjs';
|
|
6
6
|
import { a as Prettify } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
7
|
-
import { e as Store, C as ClientOptions, S as SessionQueryParams } from '../../shared/better-auth.
|
|
7
|
+
import { e as Store, C as ClientOptions, S as SessionQueryParams } from '../../shared/better-auth.CEc4wau_.cjs';
|
|
8
8
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
9
9
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
10
10
|
import { username } from '../../plugins/username/index.cjs';
|
|
@@ -21,7 +21,7 @@ import { multiSession } from '../../plugins/multi-session/index.cjs';
|
|
|
21
21
|
import { emailOTP } from '../../plugins/email-otp/index.cjs';
|
|
22
22
|
import { sso } from '../../plugins/sso/index.cjs';
|
|
23
23
|
import { oidcProvider } from '../../plugins/oidc-provider/index.cjs';
|
|
24
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
24
|
+
import { a as apiKey } from '../../shared/better-auth.llWU4_4y.cjs';
|
|
25
25
|
import { oneTimeToken } from '../../plugins/one-time-token/index.cjs';
|
|
26
26
|
import { siwe } from '../../plugins/siwe/index.cjs';
|
|
27
27
|
export { deviceAuthorizationClient } from '../../plugins/device-authorization/index.cjs';
|
|
@@ -31,7 +31,7 @@ import 'zod/v4';
|
|
|
31
31
|
import 'better-call';
|
|
32
32
|
import '../../plugins/organization/access/index.cjs';
|
|
33
33
|
import 'kysely';
|
|
34
|
-
import '../../shared/better-auth.
|
|
34
|
+
import '../../shared/better-auth.CTMmErGI.cjs';
|
|
35
35
|
import 'jose';
|
|
36
36
|
import 'zod/v4/core';
|
|
37
37
|
import 'zod';
|
|
@@ -253,6 +253,7 @@ declare const organizationClient: <CO extends OrganizationClientOptions>(options
|
|
|
253
253
|
};
|
|
254
254
|
pathMethods: {
|
|
255
255
|
"/organization/get-full-organization": "GET";
|
|
256
|
+
"/organization/list-user-teams": "GET";
|
|
256
257
|
};
|
|
257
258
|
atomListeners: ({
|
|
258
259
|
matcher(path: string): path is "/organization/create" | "/organization/update" | "/organization/delete";
|
|
@@ -2,9 +2,9 @@ import { organization, InferMember, InferInvitation, Team, Organization, Member,
|
|
|
2
2
|
import { AccessControl, Role, Statements } from '../../plugins/access/index.mjs';
|
|
3
3
|
import * as nanostores from 'nanostores';
|
|
4
4
|
import { atom } from 'nanostores';
|
|
5
|
-
import { J as FieldAttribute, B as BetterAuthOptions, U as User, r as BetterAuthPlugin } from '../../shared/better-auth.
|
|
5
|
+
import { J as FieldAttribute, B as BetterAuthOptions, U as User, r as BetterAuthPlugin } from '../../shared/better-auth.f-bUldRg.mjs';
|
|
6
6
|
import { a as Prettify } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
7
|
-
import { e as Store, C as ClientOptions, S as SessionQueryParams } from '../../shared/better-auth.
|
|
7
|
+
import { e as Store, C as ClientOptions, S as SessionQueryParams } from '../../shared/better-auth.BZiffGTH.mjs';
|
|
8
8
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
9
9
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
10
10
|
import { username } from '../../plugins/username/index.mjs';
|
|
@@ -21,7 +21,7 @@ import { multiSession } from '../../plugins/multi-session/index.mjs';
|
|
|
21
21
|
import { emailOTP } from '../../plugins/email-otp/index.mjs';
|
|
22
22
|
import { sso } from '../../plugins/sso/index.mjs';
|
|
23
23
|
import { oidcProvider } from '../../plugins/oidc-provider/index.mjs';
|
|
24
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
24
|
+
import { a as apiKey } from '../../shared/better-auth.Df1_Wu_1.mjs';
|
|
25
25
|
import { oneTimeToken } from '../../plugins/one-time-token/index.mjs';
|
|
26
26
|
import { siwe } from '../../plugins/siwe/index.mjs';
|
|
27
27
|
export { deviceAuthorizationClient } from '../../plugins/device-authorization/index.mjs';
|
|
@@ -31,7 +31,7 @@ import 'zod/v4';
|
|
|
31
31
|
import 'better-call';
|
|
32
32
|
import '../../plugins/organization/access/index.mjs';
|
|
33
33
|
import 'kysely';
|
|
34
|
-
import '../../shared/better-auth.
|
|
34
|
+
import '../../shared/better-auth.ZUo2dMO3.mjs';
|
|
35
35
|
import 'jose';
|
|
36
36
|
import 'zod/v4/core';
|
|
37
37
|
import 'zod';
|
|
@@ -253,6 +253,7 @@ declare const organizationClient: <CO extends OrganizationClientOptions>(options
|
|
|
253
253
|
};
|
|
254
254
|
pathMethods: {
|
|
255
255
|
"/organization/get-full-organization": "GET";
|
|
256
|
+
"/organization/list-user-teams": "GET";
|
|
256
257
|
};
|
|
257
258
|
atomListeners: ({
|
|
258
259
|
matcher(path: string): path is "/organization/create" | "/organization/update" | "/organization/delete";
|
|
@@ -2,9 +2,9 @@ import { organization, InferMember, InferInvitation, Team, Organization, Member,
|
|
|
2
2
|
import { AccessControl, Role, Statements } from '../../plugins/access/index.js';
|
|
3
3
|
import * as nanostores from 'nanostores';
|
|
4
4
|
import { atom } from 'nanostores';
|
|
5
|
-
import { J as FieldAttribute, B as BetterAuthOptions, U as User, r as BetterAuthPlugin } from '../../shared/better-auth.
|
|
5
|
+
import { J as FieldAttribute, B as BetterAuthOptions, U as User, r as BetterAuthPlugin } from '../../shared/better-auth.DU2vRHKI.js';
|
|
6
6
|
import { a as Prettify } from '../../shared/better-auth.DTtXpZYr.js';
|
|
7
|
-
import { e as Store, C as ClientOptions, S as SessionQueryParams } from '../../shared/better-auth.
|
|
7
|
+
import { e as Store, C as ClientOptions, S as SessionQueryParams } from '../../shared/better-auth.EF9Iq11i.js';
|
|
8
8
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
9
9
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
10
10
|
import { username } from '../../plugins/username/index.js';
|
|
@@ -21,7 +21,7 @@ import { multiSession } from '../../plugins/multi-session/index.js';
|
|
|
21
21
|
import { emailOTP } from '../../plugins/email-otp/index.js';
|
|
22
22
|
import { sso } from '../../plugins/sso/index.js';
|
|
23
23
|
import { oidcProvider } from '../../plugins/oidc-provider/index.js';
|
|
24
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
24
|
+
import { a as apiKey } from '../../shared/better-auth.WOu5GuAp.js';
|
|
25
25
|
import { oneTimeToken } from '../../plugins/one-time-token/index.js';
|
|
26
26
|
import { siwe } from '../../plugins/siwe/index.js';
|
|
27
27
|
export { deviceAuthorizationClient } from '../../plugins/device-authorization/index.js';
|
|
@@ -31,7 +31,7 @@ import 'zod/v4';
|
|
|
31
31
|
import 'better-call';
|
|
32
32
|
import '../../plugins/organization/access/index.js';
|
|
33
33
|
import 'kysely';
|
|
34
|
-
import '../../shared/better-auth.
|
|
34
|
+
import '../../shared/better-auth.mA4L_-fq.js';
|
|
35
35
|
import 'jose';
|
|
36
36
|
import 'zod/v4/core';
|
|
37
37
|
import 'zod';
|
|
@@ -253,6 +253,7 @@ declare const organizationClient: <CO extends OrganizationClientOptions>(options
|
|
|
253
253
|
};
|
|
254
254
|
pathMethods: {
|
|
255
255
|
"/organization/get-full-organization": "GET";
|
|
256
|
+
"/organization/list-user-teams": "GET";
|
|
256
257
|
};
|
|
257
258
|
atomListeners: ({
|
|
258
259
|
matcher(path: string): path is "/organization/create" | "/organization/update" | "/organization/delete";
|
|
@@ -3,14 +3,14 @@ import '@better-fetch/fetch';
|
|
|
3
3
|
import '../../shared/better-auth.CMQ3rA-I.mjs';
|
|
4
4
|
import { u as useAuthQuery } from '../../shared/better-auth.CkGsgrvv.mjs';
|
|
5
5
|
import { ownerAc, memberAc, adminAc } from '../../plugins/organization/access/index.mjs';
|
|
6
|
-
import { c as clientSideHasPermission } from '../../shared/better-auth.
|
|
6
|
+
import { c as clientSideHasPermission } from '../../shared/better-auth.BjjUH-Ka.mjs';
|
|
7
7
|
import { startRegistration, WebAuthnError, startAuthentication } from '@simplewebauthn/browser';
|
|
8
8
|
export { t as twoFactorClient } from '../../shared/better-auth.Ddw8bVyV.mjs';
|
|
9
9
|
import { userAc, adminAc as adminAc$1 } from '../../plugins/admin/access/index.mjs';
|
|
10
10
|
import { h as hasPermission } from '../../shared/better-auth.bkwPl2G4.mjs';
|
|
11
11
|
import 'zod/v4';
|
|
12
12
|
import 'better-call';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.B3CPLvGC.mjs';
|
|
14
14
|
import '../../shared/better-auth.DV5EHeYG.mjs';
|
|
15
15
|
import '@better-auth/utils/base64';
|
|
16
16
|
import '@better-auth/utils/hmac';
|
|
@@ -110,7 +110,8 @@ const organizationClient = (options) => {
|
|
|
110
110
|
};
|
|
111
111
|
},
|
|
112
112
|
pathMethods: {
|
|
113
|
-
"/organization/get-full-organization": "GET"
|
|
113
|
+
"/organization/get-full-organization": "GET",
|
|
114
|
+
"/organization/list-user-teams": "GET"
|
|
114
115
|
},
|
|
115
116
|
atomListeners: [
|
|
116
117
|
{
|
|
@@ -4,14 +4,14 @@ 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, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.CEc4wau_.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DGuotwA1.cjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
14
|
-
import '../../shared/better-auth.
|
|
14
|
+
import '../../shared/better-auth.CTMmErGI.cjs';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
|
@@ -4,14 +4,14 @@ 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, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.BZiffGTH.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.f-bUldRg.mjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
14
|
-
import '../../shared/better-auth.
|
|
14
|
+
import '../../shared/better-auth.ZUo2dMO3.mjs';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
|
@@ -4,14 +4,14 @@ 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, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.EF9Iq11i.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DU2vRHKI.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
14
|
-
import '../../shared/better-auth.
|
|
14
|
+
import '../../shared/better-auth.mA4L_-fq.js';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
|
@@ -1,15 +1,15 @@
|
|
|
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.CEc4wau_.cjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DGuotwA1.cjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'zod/v4';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.CTMmErGI.cjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'zod';
|
|
@@ -1,15 +1,15 @@
|
|
|
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.BZiffGTH.mjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.f-bUldRg.mjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'zod/v4';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.ZUo2dMO3.mjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'zod';
|
|
@@ -1,15 +1,15 @@
|
|
|
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.EF9Iq11i.js';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DU2vRHKI.js';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'zod/v4';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.mA4L_-fq.js';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'zod';
|
|
@@ -4,13 +4,13 @@ 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.CEc4wau_.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DGuotwA1.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.CTMmErGI.cjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -4,13 +4,13 @@ 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.BZiffGTH.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.f-bUldRg.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.ZUo2dMO3.mjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -4,13 +4,13 @@ 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.EF9Iq11i.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DU2vRHKI.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.mA4L_-fq.js';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -4,13 +4,13 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
4
4
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
5
5
|
export * from '@better-fetch/fetch';
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
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.CEc4wau_.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DGuotwA1.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.CTMmErGI.cjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -27,15 +27,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
27
27
|
data: InferClientAPI<Option> extends {
|
|
28
28
|
getSession: () => Promise<infer Res>;
|
|
29
29
|
} ? Res extends {
|
|
30
|
-
data: infer S;
|
|
31
|
-
error: null;
|
|
32
|
-
} | {
|
|
33
30
|
data: null;
|
|
34
31
|
error: {
|
|
35
32
|
message?: string | undefined;
|
|
36
33
|
status: number;
|
|
37
34
|
statusText: string;
|
|
38
35
|
};
|
|
36
|
+
} | {
|
|
37
|
+
data: infer S;
|
|
38
|
+
error: null;
|
|
39
39
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
40
40
|
isPending: boolean;
|
|
41
41
|
isRefetching: boolean;
|
|
@@ -45,15 +45,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
45
45
|
data: Ref<InferClientAPI<Option> extends {
|
|
46
46
|
getSession: () => Promise<infer Res>;
|
|
47
47
|
} ? Res extends {
|
|
48
|
-
data: infer S;
|
|
49
|
-
error: null;
|
|
50
|
-
} | {
|
|
51
48
|
data: null;
|
|
52
49
|
error: {
|
|
53
50
|
message?: string | undefined;
|
|
54
51
|
status: number;
|
|
55
52
|
statusText: string;
|
|
56
53
|
};
|
|
54
|
+
} | {
|
|
55
|
+
data: infer S;
|
|
56
|
+
error: null;
|
|
57
57
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
58
58
|
isPending: false;
|
|
59
59
|
error: Ref<{
|
|
@@ -67,15 +67,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
67
67
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
68
68
|
getSession: () => Promise<infer Res>;
|
|
69
69
|
} ? Res extends {
|
|
70
|
-
data: infer S;
|
|
71
|
-
error: null;
|
|
72
|
-
} | {
|
|
73
70
|
data: null;
|
|
74
71
|
error: {
|
|
75
72
|
message?: string | undefined;
|
|
76
73
|
status: number;
|
|
77
74
|
statusText: string;
|
|
78
75
|
};
|
|
76
|
+
} | {
|
|
77
|
+
data: infer S;
|
|
78
|
+
error: null;
|
|
79
79
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
80
80
|
};
|
|
81
81
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -4,13 +4,13 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
4
4
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
5
5
|
export * from '@better-fetch/fetch';
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
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.BZiffGTH.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.f-bUldRg.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.ZUo2dMO3.mjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -27,15 +27,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
27
27
|
data: InferClientAPI<Option> extends {
|
|
28
28
|
getSession: () => Promise<infer Res>;
|
|
29
29
|
} ? Res extends {
|
|
30
|
-
data: infer S;
|
|
31
|
-
error: null;
|
|
32
|
-
} | {
|
|
33
30
|
data: null;
|
|
34
31
|
error: {
|
|
35
32
|
message?: string | undefined;
|
|
36
33
|
status: number;
|
|
37
34
|
statusText: string;
|
|
38
35
|
};
|
|
36
|
+
} | {
|
|
37
|
+
data: infer S;
|
|
38
|
+
error: null;
|
|
39
39
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
40
40
|
isPending: boolean;
|
|
41
41
|
isRefetching: boolean;
|
|
@@ -45,15 +45,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
45
45
|
data: Ref<InferClientAPI<Option> extends {
|
|
46
46
|
getSession: () => Promise<infer Res>;
|
|
47
47
|
} ? Res extends {
|
|
48
|
-
data: infer S;
|
|
49
|
-
error: null;
|
|
50
|
-
} | {
|
|
51
48
|
data: null;
|
|
52
49
|
error: {
|
|
53
50
|
message?: string | undefined;
|
|
54
51
|
status: number;
|
|
55
52
|
statusText: string;
|
|
56
53
|
};
|
|
54
|
+
} | {
|
|
55
|
+
data: infer S;
|
|
56
|
+
error: null;
|
|
57
57
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
58
58
|
isPending: false;
|
|
59
59
|
error: Ref<{
|
|
@@ -67,15 +67,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
67
67
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
68
68
|
getSession: () => Promise<infer Res>;
|
|
69
69
|
} ? Res extends {
|
|
70
|
-
data: infer S;
|
|
71
|
-
error: null;
|
|
72
|
-
} | {
|
|
73
70
|
data: null;
|
|
74
71
|
error: {
|
|
75
72
|
message?: string | undefined;
|
|
76
73
|
status: number;
|
|
77
74
|
statusText: string;
|
|
78
75
|
};
|
|
76
|
+
} | {
|
|
77
|
+
data: infer S;
|
|
78
|
+
error: null;
|
|
79
79
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
80
80
|
};
|
|
81
81
|
$fetch: _better_fetch_fetch.BetterFetch<{
|