better-auth 1.3.8-beta.3 → 1.3.8-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.cjs +2 -2
- package/dist/adapters/drizzle-adapter/index.d.cts +3 -2
- package/dist/adapters/drizzle-adapter/index.d.mts +3 -2
- package/dist/adapters/drizzle-adapter/index.d.ts +3 -2
- package/dist/adapters/drizzle-adapter/index.mjs +2 -2
- package/dist/adapters/index.cjs +2 -2
- package/dist/adapters/index.d.cts +4 -3
- package/dist/adapters/index.d.mts +4 -3
- package/dist/adapters/index.d.ts +4 -3
- package/dist/adapters/index.mjs +2 -2
- package/dist/adapters/kysely-adapter/index.cjs +3 -3
- package/dist/adapters/kysely-adapter/index.d.cts +3 -2
- package/dist/adapters/kysely-adapter/index.d.mts +3 -2
- package/dist/adapters/kysely-adapter/index.d.ts +3 -2
- package/dist/adapters/kysely-adapter/index.mjs +3 -3
- package/dist/adapters/memory-adapter/index.cjs +3 -3
- package/dist/adapters/memory-adapter/index.d.cts +3 -2
- package/dist/adapters/memory-adapter/index.d.mts +3 -2
- package/dist/adapters/memory-adapter/index.d.ts +3 -2
- package/dist/adapters/memory-adapter/index.mjs +3 -3
- package/dist/adapters/mongodb-adapter/index.cjs +3 -3
- package/dist/adapters/mongodb-adapter/index.d.cts +3 -2
- package/dist/adapters/mongodb-adapter/index.d.mts +3 -2
- package/dist/adapters/mongodb-adapter/index.d.ts +3 -2
- package/dist/adapters/mongodb-adapter/index.mjs +3 -3
- package/dist/adapters/prisma-adapter/index.cjs +2 -2
- package/dist/adapters/prisma-adapter/index.d.cts +3 -2
- package/dist/adapters/prisma-adapter/index.d.mts +3 -2
- package/dist/adapters/prisma-adapter/index.d.ts +3 -2
- package/dist/adapters/prisma-adapter/index.mjs +2 -2
- package/dist/adapters/test.d.cts +3 -2
- package/dist/adapters/test.d.mts +3 -2
- package/dist/adapters/test.d.ts +3 -2
- package/dist/api/index.cjs +3 -3
- package/dist/api/index.d.cts +3 -2
- package/dist/api/index.d.mts +3 -2
- package/dist/api/index.d.ts +3 -2
- package/dist/api/index.mjs +4 -4
- package/dist/client/index.d.cts +5 -4
- package/dist/client/index.d.mts +5 -4
- package/dist/client/index.d.ts +5 -4
- 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/react/index.d.cts +4 -3
- package/dist/client/react/index.d.mts +4 -3
- package/dist/client/react/index.d.ts +4 -3
- package/dist/client/solid/index.d.cts +4 -3
- package/dist/client/solid/index.d.mts +4 -3
- package/dist/client/solid/index.d.ts +4 -3
- package/dist/client/svelte/index.d.cts +4 -3
- package/dist/client/svelte/index.d.mts +4 -3
- package/dist/client/svelte/index.d.ts +4 -3
- package/dist/client/vue/index.d.cts +4 -3
- package/dist/client/vue/index.d.mts +4 -3
- package/dist/client/vue/index.d.ts +4 -3
- package/dist/cookies/index.d.cts +3 -2
- package/dist/cookies/index.d.mts +3 -2
- package/dist/cookies/index.d.ts +3 -2
- package/dist/db/index.cjs +5 -5
- package/dist/db/index.d.cts +4 -3
- package/dist/db/index.d.mts +4 -3
- package/dist/db/index.d.ts +4 -3
- package/dist/db/index.mjs +5 -5
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +12 -11
- package/dist/index.d.mts +12 -11
- package/dist/index.d.ts +12 -11
- package/dist/index.mjs +7 -7
- package/dist/integrations/next-js.cjs +2 -3
- package/dist/integrations/next-js.d.cts +3 -2
- package/dist/integrations/next-js.d.mts +3 -2
- package/dist/integrations/next-js.d.ts +3 -2
- package/dist/integrations/next-js.mjs +2 -3
- package/dist/integrations/node.d.cts +3 -2
- package/dist/integrations/node.d.mts +3 -2
- package/dist/integrations/node.d.ts +3 -2
- package/dist/integrations/react-start.cjs +2 -3
- package/dist/integrations/react-start.d.cts +3 -2
- package/dist/integrations/react-start.d.mts +3 -2
- package/dist/integrations/react-start.d.ts +3 -2
- package/dist/integrations/react-start.mjs +2 -3
- package/dist/integrations/svelte-kit.cjs +1 -1
- package/dist/integrations/svelte-kit.d.cts +9 -11
- package/dist/integrations/svelte-kit.d.mts +9 -11
- package/dist/integrations/svelte-kit.d.ts +9 -11
- package/dist/integrations/svelte-kit.mjs +1 -1
- package/dist/oauth2/index.cjs +1 -1
- package/dist/oauth2/index.d.cts +5 -4
- package/dist/oauth2/index.d.mts +5 -4
- package/dist/oauth2/index.d.ts +5 -4
- package/dist/oauth2/index.mjs +1 -1
- package/dist/plugins/admin/index.cjs +2 -2
- package/dist/plugins/admin/index.d.cts +5 -4
- package/dist/plugins/admin/index.d.mts +5 -4
- package/dist/plugins/admin/index.d.ts +5 -4
- package/dist/plugins/admin/index.mjs +2 -2
- package/dist/plugins/anonymous/index.cjs +1 -1
- package/dist/plugins/anonymous/index.d.cts +3 -2
- package/dist/plugins/anonymous/index.d.mts +3 -2
- package/dist/plugins/anonymous/index.d.ts +3 -2
- package/dist/plugins/anonymous/index.mjs +1 -1
- package/dist/plugins/bearer/index.cjs +1 -1
- package/dist/plugins/bearer/index.d.cts +3 -2
- package/dist/plugins/bearer/index.d.mts +3 -2
- package/dist/plugins/bearer/index.d.ts +3 -2
- package/dist/plugins/bearer/index.mjs +1 -1
- package/dist/plugins/captcha/index.d.cts +3 -2
- package/dist/plugins/captcha/index.d.mts +3 -2
- package/dist/plugins/captcha/index.d.ts +3 -2
- package/dist/plugins/custom-session/index.cjs +1 -1
- package/dist/plugins/custom-session/index.d.cts +3 -2
- package/dist/plugins/custom-session/index.d.mts +3 -2
- package/dist/plugins/custom-session/index.d.ts +3 -2
- package/dist/plugins/custom-session/index.mjs +1 -1
- package/dist/plugins/device-authorization/index.cjs +2 -2
- package/dist/plugins/device-authorization/index.d.cts +3 -2
- package/dist/plugins/device-authorization/index.d.mts +3 -2
- package/dist/plugins/device-authorization/index.d.ts +3 -2
- package/dist/plugins/device-authorization/index.mjs +2 -2
- package/dist/plugins/email-otp/index.cjs +1 -1
- package/dist/plugins/email-otp/index.d.cts +3 -2
- package/dist/plugins/email-otp/index.d.mts +3 -2
- package/dist/plugins/email-otp/index.d.ts +3 -2
- package/dist/plugins/email-otp/index.mjs +1 -1
- package/dist/plugins/generic-oauth/index.cjs +3 -3
- package/dist/plugins/generic-oauth/index.d.cts +3 -2
- package/dist/plugins/generic-oauth/index.d.mts +3 -2
- package/dist/plugins/generic-oauth/index.d.ts +3 -2
- package/dist/plugins/generic-oauth/index.mjs +3 -3
- package/dist/plugins/haveibeenpwned/index.cjs +1 -1
- package/dist/plugins/haveibeenpwned/index.d.cts +3 -2
- package/dist/plugins/haveibeenpwned/index.d.mts +3 -2
- package/dist/plugins/haveibeenpwned/index.d.ts +3 -2
- package/dist/plugins/haveibeenpwned/index.mjs +1 -1
- package/dist/plugins/index.cjs +11 -10
- package/dist/plugins/index.d.cts +8 -7
- package/dist/plugins/index.d.mts +8 -7
- package/dist/plugins/index.d.ts +8 -7
- package/dist/plugins/index.mjs +10 -10
- package/dist/plugins/jwt/index.cjs +46 -185
- package/dist/plugins/jwt/index.d.cts +66 -35
- package/dist/plugins/jwt/index.d.mts +66 -35
- package/dist/plugins/jwt/index.d.ts +66 -35
- package/dist/plugins/jwt/index.mjs +39 -178
- 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 +3 -2
- package/dist/plugins/multi-session/index.d.mts +3 -2
- package/dist/plugins/multi-session/index.d.ts +3 -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 +3 -2
- package/dist/plugins/oauth-proxy/index.d.mts +3 -2
- package/dist/plugins/oauth-proxy/index.d.ts +3 -2
- package/dist/plugins/oauth-proxy/index.mjs +1 -1
- package/dist/plugins/oidc-provider/index.cjs +5 -6
- package/dist/plugins/oidc-provider/index.d.cts +117 -6
- package/dist/plugins/oidc-provider/index.d.mts +117 -6
- package/dist/plugins/oidc-provider/index.d.ts +117 -6
- package/dist/plugins/oidc-provider/index.mjs +5 -6
- 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 -4
- package/dist/plugins/one-time-token/index.d.cts +3 -2
- package/dist/plugins/one-time-token/index.d.mts +3 -2
- package/dist/plugins/one-time-token/index.d.ts +3 -2
- package/dist/plugins/one-time-token/index.mjs +3 -4
- package/dist/plugins/open-api/index.cjs +2 -2
- package/dist/plugins/open-api/index.d.cts +3 -2
- package/dist/plugins/open-api/index.d.mts +3 -2
- package/dist/plugins/open-api/index.d.ts +3 -2
- package/dist/plugins/open-api/index.mjs +2 -2
- package/dist/plugins/organization/index.cjs +3 -3
- package/dist/plugins/organization/index.d.cts +3 -2
- package/dist/plugins/organization/index.d.mts +3 -2
- package/dist/plugins/organization/index.d.ts +3 -2
- package/dist/plugins/organization/index.mjs +3 -3
- package/dist/plugins/passkey/index.cjs +1 -1
- package/dist/plugins/passkey/index.d.cts +3 -2
- package/dist/plugins/passkey/index.d.mts +3 -2
- package/dist/plugins/passkey/index.d.ts +3 -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 +3 -2
- package/dist/plugins/phone-number/index.d.mts +3 -2
- package/dist/plugins/phone-number/index.d.ts +3 -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 +3 -2
- package/dist/plugins/siwe/index.d.mts +3 -2
- package/dist/plugins/siwe/index.d.ts +3 -2
- package/dist/plugins/siwe/index.mjs +1 -1
- package/dist/plugins/sso/index.cjs +1 -1
- package/dist/plugins/sso/index.d.cts +5 -4
- package/dist/plugins/sso/index.d.mts +5 -4
- package/dist/plugins/sso/index.d.ts +5 -4
- 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 +3 -2
- package/dist/plugins/two-factor/index.d.mts +3 -2
- package/dist/plugins/two-factor/index.d.ts +3 -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 +5 -4
- package/dist/plugins/username/index.d.mts +5 -4
- package/dist/plugins/username/index.d.ts +5 -4
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/shared/better-auth.AeIHgLBF.cjs +153 -0
- package/dist/shared/{better-auth.B29NjI62.d.cts → better-auth.B7MQmN7r.d.cts} +1 -1
- package/dist/shared/{better-auth.B548OOOk.mjs → better-auth.BHgyyrFr.mjs} +2 -3
- package/dist/shared/{better-auth.BNhZazTR.cjs → better-auth.BI9sTLIb.cjs} +2 -2
- package/dist/shared/{better-auth.C8Y2rhan.mjs → better-auth.BNczdx42.mjs} +2 -2
- package/dist/shared/{better-auth.CL4S7WA5.cjs → better-auth.BQZK-wJu.cjs} +1 -1
- package/dist/shared/{better-auth.CsvyivcG.mjs → better-auth.BT8cUF7T.mjs} +7 -5
- package/dist/shared/{better-auth.pXA_xs2e.cjs → better-auth.BUiElJM6.cjs} +2 -3
- package/dist/shared/{better-auth.DoFtnL_B.d.mts → better-auth.BeA5VIAP.d.mts} +1 -1
- package/dist/shared/{better-auth.DORkW_Ge.mjs → better-auth.BfEVD9iF.mjs} +6 -2
- package/dist/shared/{better-auth.DymB1NxW.d.mts → better-auth.BgBYBYNw.d.mts} +5 -5
- package/dist/shared/{better-auth.BEphVDyL.cjs → better-auth.Bt_3DcBl.cjs} +6 -2
- package/dist/shared/better-auth.BttC_x9D.mjs +147 -0
- package/dist/shared/{better-auth.B_3Nie7C.mjs → better-auth.CAew6LWO.mjs} +1 -1
- package/dist/shared/{better-auth.tDeNcGKy.d.ts → better-auth.CG1BaUDq.d.ts} +5 -5
- package/dist/shared/{better-auth.BblrvPZ3.cjs → better-auth.CGAZXf66.cjs} +1 -1
- package/dist/shared/{better-auth.oCjO5qEz.d.mts → better-auth.CHQjJhgG.d.mts} +22 -13
- package/dist/shared/{better-auth.B-xYKxwt.mjs → better-auth.CHS_bFaK.mjs} +4 -4
- package/dist/shared/{better-auth.DY8mXezF.mjs → better-auth.CI84ZLNV.mjs} +1 -1
- package/dist/shared/{better-auth.D96SwENp.mjs → better-auth.CLdWb3SL.mjs} +2 -2
- package/dist/shared/{better-auth.Bxn_1Cii.d.ts → better-auth.CYkDoFdW.d.ts} +22 -13
- package/dist/shared/{better-auth.CMnvkNNK.cjs → better-auth.Cc3_crZ-.cjs} +1 -1
- package/dist/shared/{better-auth.CR4J09bm.cjs → better-auth.Ceym6hBa.cjs} +1 -1
- package/dist/shared/{better-auth.BYJu3IQC.d.ts → better-auth.CfjjR3nO.d.ts} +1 -1
- package/dist/shared/{better-auth.BWfwO5vl.d.cts → better-auth.CkxRAus3.d.cts} +22 -13
- package/dist/shared/{better-auth.spuYC23a.cjs → better-auth.CpW8Jb6y.cjs} +3 -3
- package/dist/shared/{better-auth.BU9YW_qQ.d.cts → better-auth.Cv9uwNRT.d.cts} +5 -5
- package/dist/shared/{better-auth.CFZJKUMM.cjs → better-auth.D2zPwm_k.cjs} +4 -4
- package/dist/shared/{better-auth.BqrGtIt2.d.mts → better-auth.DBjOlY_t.d.mts} +1 -1
- package/dist/shared/{better-auth.BvN9j5Ap.d.ts → better-auth.DCqgE_iR.d.ts} +1 -1
- package/dist/shared/{better-auth.D4yr0Ou1.d.ts → better-auth.DI5tnNZs.d.ts} +546 -6
- package/dist/shared/{better-auth.Du7MKGKS.d.cts → better-auth.DQINKBiT.d.cts} +546 -6
- package/dist/shared/{better-auth.UmJlYEfa.cjs → better-auth.DRp9PWyh.cjs} +392 -5
- package/dist/shared/{better-auth.Cl1MyjEq.mjs → better-auth.Ddn-Kb43.mjs} +389 -6
- package/dist/shared/{better-auth.cBJ0kvYy.cjs → better-auth.DlH62fwB.cjs} +1 -1
- package/dist/shared/{better-auth.Dqe7GuxR.mjs → better-auth.DmODih0G.mjs} +3 -3
- package/dist/shared/{better-auth.BSGkasIG.mjs → better-auth.DqZkb8RK.mjs} +1 -1
- package/dist/shared/{better-auth.D2gg3ys1.d.cts → better-auth.DqkDf_wI.d.cts} +1 -1
- package/dist/shared/{better-auth.BQNzC8cU.mjs → better-auth.Duh5FRN2.mjs} +1 -1
- package/dist/shared/{better-auth.CKjaHNrP.cjs → better-auth.G4r7NeaH.cjs} +8 -6
- package/dist/shared/{better-auth.F1OUHOUm.d.mts → better-auth.QB8jx8j0.d.mts} +546 -6
- package/dist/shared/{better-auth.DZVMh_VM.mjs → better-auth.SIzsChC6.mjs} +1 -1
- package/dist/shared/{better-auth.BpptWVxZ.cjs → better-auth.xvxdjoSR.cjs} +2 -2
- package/dist/social-providers/index.cjs +5 -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 +15 -12
- package/dist/test-utils/index.d.cts +18 -17
- package/dist/test-utils/index.d.mts +18 -17
- package/dist/test-utils/index.d.ts +18 -17
- package/dist/test-utils/index.mjs +15 -12
- package/dist/types/index.d.cts +4 -3
- package/dist/types/index.d.mts +4 -3
- package/dist/types/index.d.ts +4 -3
- package/package.json +5 -6
- package/dist/shared/better-auth.CGrHn1Ih.mjs +0 -28
- package/dist/shared/better-auth.DI0OyFsZ.cjs +0 -44
package/dist/api/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../shared/better-auth.
|
|
2
|
-
export { l as AuthEndpoint, m as AuthMiddleware, bn as accountInfo, aQ as callbackOAuth, be as changeEmail, ba as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b5 as createEmailVerificationToken, bc as deleteUser, bd as deleteUserCallback, bf as error, b1 as forgetPassword, b3 as forgetPasswordCallback, aW as freshSessionMiddleware, bl as getAccessToken, aM as getEndpoints, aS as getSession, aT as getSessionFromCtx, aR as getSessionQuerySchema, bj as linkSocialAccount, aX as listSessions, bi as listUserAccounts, bg as ok, o as optionsMiddleware, bp as originCheck, bo as originCheckMiddleware, bm as refreshToken, aV as requestOnlySessionMiddleware, b0 as requestPasswordReset, b2 as requestPasswordResetCallback, b4 as resetPassword, a_ as revokeOtherSessions, aY as revokeSession, aZ as revokeSessions, aN as router, b7 as sendVerificationEmail, b6 as sendVerificationEmailFn, aU as sessionMiddleware, bb as setPassword, aP as signInEmail, aO as signInSocial, a$ as signOut, bh as signUpEmail, bk as unlinkAccount, b9 as updateUser, b8 as verifyEmail } from '../shared/better-auth.
|
|
1
|
+
import '../shared/better-auth.QB8jx8j0.mjs';
|
|
2
|
+
export { l as AuthEndpoint, m as AuthMiddleware, bn as accountInfo, aQ as callbackOAuth, be as changeEmail, ba as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b5 as createEmailVerificationToken, bc as deleteUser, bd as deleteUserCallback, bf as error, b1 as forgetPassword, b3 as forgetPasswordCallback, aW as freshSessionMiddleware, bl as getAccessToken, aM as getEndpoints, aS as getSession, aT as getSessionFromCtx, aR as getSessionQuerySchema, bj as linkSocialAccount, aX as listSessions, bi as listUserAccounts, bg as ok, o as optionsMiddleware, bp as originCheck, bo as originCheckMiddleware, bm as refreshToken, aV as requestOnlySessionMiddleware, b0 as requestPasswordReset, b2 as requestPasswordResetCallback, b4 as resetPassword, a_ as revokeOtherSessions, aY as revokeSession, aZ as revokeSessions, aN as router, b7 as sendVerificationEmail, b6 as sendVerificationEmailFn, aU as sessionMiddleware, bb as setPassword, aP as signInEmail, aO as signInSocial, a$ as signOut, bh as signUpEmail, bk as unlinkAccount, b9 as updateUser, b8 as verifyEmail } from '../shared/better-auth.CHQjJhgG.mjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
5
5
|
import 'zod/v4/core';
|
|
@@ -9,3 +9,4 @@ import 'jose';
|
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../shared/better-auth.
|
|
2
|
-
export { l as AuthEndpoint, m as AuthMiddleware, bn as accountInfo, aQ as callbackOAuth, be as changeEmail, ba as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b5 as createEmailVerificationToken, bc as deleteUser, bd as deleteUserCallback, bf as error, b1 as forgetPassword, b3 as forgetPasswordCallback, aW as freshSessionMiddleware, bl as getAccessToken, aM as getEndpoints, aS as getSession, aT as getSessionFromCtx, aR as getSessionQuerySchema, bj as linkSocialAccount, aX as listSessions, bi as listUserAccounts, bg as ok, o as optionsMiddleware, bp as originCheck, bo as originCheckMiddleware, bm as refreshToken, aV as requestOnlySessionMiddleware, b0 as requestPasswordReset, b2 as requestPasswordResetCallback, b4 as resetPassword, a_ as revokeOtherSessions, aY as revokeSession, aZ as revokeSessions, aN as router, b7 as sendVerificationEmail, b6 as sendVerificationEmailFn, aU as sessionMiddleware, bb as setPassword, aP as signInEmail, aO as signInSocial, a$ as signOut, bh as signUpEmail, bk as unlinkAccount, b9 as updateUser, b8 as verifyEmail } from '../shared/better-auth.
|
|
1
|
+
import '../shared/better-auth.DI5tnNZs.js';
|
|
2
|
+
export { l as AuthEndpoint, m as AuthMiddleware, bn as accountInfo, aQ as callbackOAuth, be as changeEmail, ba as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b5 as createEmailVerificationToken, bc as deleteUser, bd as deleteUserCallback, bf as error, b1 as forgetPassword, b3 as forgetPasswordCallback, aW as freshSessionMiddleware, bl as getAccessToken, aM as getEndpoints, aS as getSession, aT as getSessionFromCtx, aR as getSessionQuerySchema, bj as linkSocialAccount, aX as listSessions, bi as listUserAccounts, bg as ok, o as optionsMiddleware, bp as originCheck, bo as originCheckMiddleware, bm as refreshToken, aV as requestOnlySessionMiddleware, b0 as requestPasswordReset, b2 as requestPasswordResetCallback, b4 as resetPassword, a_ as revokeOtherSessions, aY as revokeSession, aZ as revokeSessions, aN as router, b7 as sendVerificationEmail, b6 as sendVerificationEmailFn, aU as sessionMiddleware, bb as setPassword, aP as signInEmail, aO as signInSocial, a$ as signOut, bh as signUpEmail, bk as unlinkAccount, b9 as updateUser, b8 as verifyEmail } from '../shared/better-auth.CYkDoFdW.js';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
5
5
|
import 'zod/v4/core';
|
|
@@ -9,3 +9,4 @@ import 'jose';
|
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
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.Ddn-Kb43.mjs';
|
|
4
|
+
export { o as originCheck, T as sendVerificationEmailFn } from '../shared/better-auth.Ddn-Kb43.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.BfeJWAMn.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.BfeJWAMn.mjs';
|
|
7
7
|
import * as z from 'zod/v4';
|
|
@@ -514,7 +514,7 @@ function getEndpoints(ctx, options) {
|
|
|
514
514
|
);
|
|
515
515
|
const middlewares = options.plugins?.map(
|
|
516
516
|
(plugin) => plugin.middlewares?.map((m) => {
|
|
517
|
-
const middleware = async (context) => {
|
|
517
|
+
const middleware = (async (context) => {
|
|
518
518
|
const authContext = await ctx;
|
|
519
519
|
return m.middleware({
|
|
520
520
|
...context,
|
|
@@ -523,7 +523,7 @@ function getEndpoints(ctx, options) {
|
|
|
523
523
|
...context.context
|
|
524
524
|
}
|
|
525
525
|
});
|
|
526
|
-
};
|
|
526
|
+
});
|
|
527
527
|
middleware.options = m.middleware.options;
|
|
528
528
|
return {
|
|
529
529
|
path: m.path,
|
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.CkxRAus3.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.B7MQmN7r.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.B7MQmN7r.cjs';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
@@ -11,12 +11,13 @@ 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.DQINKBiT.cjs';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
|
18
18
|
import 'better-sqlite3';
|
|
19
19
|
import 'bun:sqlite';
|
|
20
|
+
import 'node:sqlite';
|
|
20
21
|
|
|
21
22
|
type InferResolvedHooks<O extends ClientOptions> = O["plugins"] extends Array<infer Plugin> ? Plugin extends BetterAuthClientPlugin ? Plugin["getAtoms"] extends (fetch: any) => infer Atoms ? Atoms extends Record<string, any> ? {
|
|
22
23
|
[key in keyof Atoms as IsSignal<key> extends true ? never : key extends string ? `use${Capitalize<key>}` : never]: Atoms[key];
|
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.CHQjJhgG.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.BeA5VIAP.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.BeA5VIAP.mjs';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
@@ -11,12 +11,13 @@ 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.QB8jx8j0.mjs';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
|
18
18
|
import 'better-sqlite3';
|
|
19
19
|
import 'bun:sqlite';
|
|
20
|
+
import 'node:sqlite';
|
|
20
21
|
|
|
21
22
|
type InferResolvedHooks<O extends ClientOptions> = O["plugins"] extends Array<infer Plugin> ? Plugin extends BetterAuthClientPlugin ? Plugin["getAtoms"] extends (fetch: any) => infer Atoms ? Atoms extends Record<string, any> ? {
|
|
22
23
|
[key in keyof Atoms as IsSignal<key> extends true ? never : key extends string ? `use${Capitalize<key>}` : never]: Atoms[key];
|
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.CYkDoFdW.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.CfjjR3nO.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.CfjjR3nO.js';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
@@ -11,12 +11,13 @@ 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.DI5tnNZs.js';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
|
18
18
|
import 'better-sqlite3';
|
|
19
19
|
import 'bun:sqlite';
|
|
20
|
+
import 'node:sqlite';
|
|
20
21
|
|
|
21
22
|
type InferResolvedHooks<O extends ClientOptions> = O["plugins"] extends Array<infer Plugin> ? Plugin extends BetterAuthClientPlugin ? Plugin["getAtoms"] extends (fetch: any) => infer Atoms ? Atoms extends Record<string, any> ? {
|
|
22
23
|
[key in keyof Atoms as IsSignal<key> extends true ? never : key extends string ? `use${Capitalize<key>}` : never]: Atoms[key];
|
|
@@ -5,7 +5,7 @@ import { atom } from 'nanostores';
|
|
|
5
5
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
6
6
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
7
7
|
import { a as Prettify } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
8
|
-
import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
8
|
+
import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.CkxRAus3.cjs';
|
|
9
9
|
import { username } from '../../plugins/username/index.cjs';
|
|
10
10
|
import { Session } from 'inspector';
|
|
11
11
|
import { Passkey, passkey } from '../../plugins/passkey/index.cjs';
|
|
@@ -18,10 +18,10 @@ import { genericOAuth } from '../../plugins/generic-oauth/index.cjs';
|
|
|
18
18
|
import { jwt } from '../../plugins/jwt/index.cjs';
|
|
19
19
|
import { multiSession } from '../../plugins/multi-session/index.cjs';
|
|
20
20
|
import { emailOTP } from '../../plugins/email-otp/index.cjs';
|
|
21
|
-
import { S as Store } from '../../shared/better-auth.
|
|
21
|
+
import { S as Store } from '../../shared/better-auth.B7MQmN7r.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.Cv9uwNRT.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,12 +31,13 @@ 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.DQINKBiT.cjs';
|
|
35
35
|
import 'jose';
|
|
36
36
|
import 'zod/v4/core';
|
|
37
37
|
import 'zod';
|
|
38
38
|
import 'better-sqlite3';
|
|
39
39
|
import 'bun:sqlite';
|
|
40
|
+
import 'node:sqlite';
|
|
40
41
|
|
|
41
42
|
interface OrganizationClientOptions {
|
|
42
43
|
ac?: AccessControl;
|
|
@@ -5,7 +5,7 @@ import { atom } from 'nanostores';
|
|
|
5
5
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
6
6
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
7
7
|
import { a as Prettify } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
8
|
-
import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
8
|
+
import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.CHQjJhgG.mjs';
|
|
9
9
|
import { username } from '../../plugins/username/index.mjs';
|
|
10
10
|
import { Session } from 'inspector';
|
|
11
11
|
import { Passkey, passkey } from '../../plugins/passkey/index.mjs';
|
|
@@ -18,10 +18,10 @@ import { genericOAuth } from '../../plugins/generic-oauth/index.mjs';
|
|
|
18
18
|
import { jwt } from '../../plugins/jwt/index.mjs';
|
|
19
19
|
import { multiSession } from '../../plugins/multi-session/index.mjs';
|
|
20
20
|
import { emailOTP } from '../../plugins/email-otp/index.mjs';
|
|
21
|
-
import { S as Store } from '../../shared/better-auth.
|
|
21
|
+
import { S as Store } from '../../shared/better-auth.BeA5VIAP.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.BgBYBYNw.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,12 +31,13 @@ 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.QB8jx8j0.mjs';
|
|
35
35
|
import 'jose';
|
|
36
36
|
import 'zod/v4/core';
|
|
37
37
|
import 'zod';
|
|
38
38
|
import 'better-sqlite3';
|
|
39
39
|
import 'bun:sqlite';
|
|
40
|
+
import 'node:sqlite';
|
|
40
41
|
|
|
41
42
|
interface OrganizationClientOptions {
|
|
42
43
|
ac?: AccessControl;
|
|
@@ -5,7 +5,7 @@ import { atom } from 'nanostores';
|
|
|
5
5
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
6
6
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
7
7
|
import { a as Prettify } from '../../shared/better-auth.DTtXpZYr.js';
|
|
8
|
-
import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
8
|
+
import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.CYkDoFdW.js';
|
|
9
9
|
import { username } from '../../plugins/username/index.js';
|
|
10
10
|
import { Session } from 'inspector';
|
|
11
11
|
import { Passkey, passkey } from '../../plugins/passkey/index.js';
|
|
@@ -18,10 +18,10 @@ import { genericOAuth } from '../../plugins/generic-oauth/index.js';
|
|
|
18
18
|
import { jwt } from '../../plugins/jwt/index.js';
|
|
19
19
|
import { multiSession } from '../../plugins/multi-session/index.js';
|
|
20
20
|
import { emailOTP } from '../../plugins/email-otp/index.js';
|
|
21
|
-
import { S as Store } from '../../shared/better-auth.
|
|
21
|
+
import { S as Store } from '../../shared/better-auth.CfjjR3nO.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.CG1BaUDq.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,12 +31,13 @@ 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.DI5tnNZs.js';
|
|
35
35
|
import 'jose';
|
|
36
36
|
import 'zod/v4/core';
|
|
37
37
|
import 'zod';
|
|
38
38
|
import 'better-sqlite3';
|
|
39
39
|
import 'bun:sqlite';
|
|
40
|
+
import 'node:sqlite';
|
|
40
41
|
|
|
41
42
|
interface OrganizationClientOptions {
|
|
42
43
|
ac?: AccessControl;
|
|
@@ -4,19 +4,20 @@ 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.B7MQmN7r.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.CkxRAus3.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.DQINKBiT.cjs';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
|
18
18
|
import 'better-sqlite3';
|
|
19
19
|
import 'bun:sqlite';
|
|
20
|
+
import 'node:sqlite';
|
|
20
21
|
|
|
21
22
|
type StoreKeys<T> = T extends {
|
|
22
23
|
setKey: (k: infer K, v: any) => unknown;
|
|
@@ -4,19 +4,20 @@ 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.BeA5VIAP.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.CHQjJhgG.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.QB8jx8j0.mjs';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
|
18
18
|
import 'better-sqlite3';
|
|
19
19
|
import 'bun:sqlite';
|
|
20
|
+
import 'node:sqlite';
|
|
20
21
|
|
|
21
22
|
type StoreKeys<T> = T extends {
|
|
22
23
|
setKey: (k: infer K, v: any) => unknown;
|
|
@@ -4,19 +4,20 @@ 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.CfjjR3nO.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.CYkDoFdW.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.DI5tnNZs.js';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
|
18
18
|
import 'better-sqlite3';
|
|
19
19
|
import 'bun:sqlite';
|
|
20
|
+
import 'node:sqlite';
|
|
20
21
|
|
|
21
22
|
type StoreKeys<T> = T extends {
|
|
22
23
|
setKey: (k: infer K, v: any) => unknown;
|
|
@@ -1,20 +1,21 @@
|
|
|
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.B7MQmN7r.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.CkxRAus3.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.DQINKBiT.cjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'zod';
|
|
16
16
|
import 'better-sqlite3';
|
|
17
17
|
import 'bun:sqlite';
|
|
18
|
+
import 'node:sqlite';
|
|
18
19
|
|
|
19
20
|
type InferResolvedHooks<O extends ClientOptions> = O["plugins"] extends Array<infer Plugin> ? Plugin extends BetterAuthClientPlugin ? Plugin["getAtoms"] extends (fetch: any) => infer Atoms ? Atoms extends Record<string, any> ? {
|
|
20
21
|
[key in keyof Atoms as IsSignal<key> extends true ? never : key extends string ? `use${Capitalize<key>}` : never]: () => Accessor<ReturnType<Atoms[key]["get"]>>;
|
|
@@ -1,20 +1,21 @@
|
|
|
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.BeA5VIAP.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.CHQjJhgG.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.QB8jx8j0.mjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'zod';
|
|
16
16
|
import 'better-sqlite3';
|
|
17
17
|
import 'bun:sqlite';
|
|
18
|
+
import 'node:sqlite';
|
|
18
19
|
|
|
19
20
|
type InferResolvedHooks<O extends ClientOptions> = O["plugins"] extends Array<infer Plugin> ? Plugin extends BetterAuthClientPlugin ? Plugin["getAtoms"] extends (fetch: any) => infer Atoms ? Atoms extends Record<string, any> ? {
|
|
20
21
|
[key in keyof Atoms as IsSignal<key> extends true ? never : key extends string ? `use${Capitalize<key>}` : never]: () => Accessor<ReturnType<Atoms[key]["get"]>>;
|
|
@@ -1,20 +1,21 @@
|
|
|
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.CfjjR3nO.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.CYkDoFdW.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.DI5tnNZs.js';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'zod';
|
|
16
16
|
import 'better-sqlite3';
|
|
17
17
|
import 'bun:sqlite';
|
|
18
|
+
import 'node:sqlite';
|
|
18
19
|
|
|
19
20
|
type InferResolvedHooks<O extends ClientOptions> = O["plugins"] extends Array<infer Plugin> ? Plugin extends BetterAuthClientPlugin ? Plugin["getAtoms"] extends (fetch: any) => infer Atoms ? Atoms extends Record<string, any> ? {
|
|
20
21
|
[key in keyof Atoms as IsSignal<key> extends true ? never : key extends string ? `use${Capitalize<key>}` : never]: () => Accessor<ReturnType<Atoms[key]["get"]>>;
|
|
@@ -4,18 +4,19 @@ 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.B7MQmN7r.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.CkxRAus3.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.DQINKBiT.cjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
17
17
|
import 'better-sqlite3';
|
|
18
18
|
import 'bun:sqlite';
|
|
19
|
+
import 'node:sqlite';
|
|
19
20
|
|
|
20
21
|
type InferResolvedHooks<O extends ClientOptions> = O["plugins"] extends Array<infer Plugin> ? Plugin extends BetterAuthClientPlugin ? Plugin["getAtoms"] extends (fetch: any) => infer Atoms ? Atoms extends Record<string, any> ? {
|
|
21
22
|
[key in keyof Atoms as IsSignal<key> extends true ? never : key extends string ? `use${Capitalize<key>}` : never]: () => Atoms[key];
|
|
@@ -4,18 +4,19 @@ 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.BeA5VIAP.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.CHQjJhgG.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.QB8jx8j0.mjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
17
17
|
import 'better-sqlite3';
|
|
18
18
|
import 'bun:sqlite';
|
|
19
|
+
import 'node:sqlite';
|
|
19
20
|
|
|
20
21
|
type InferResolvedHooks<O extends ClientOptions> = O["plugins"] extends Array<infer Plugin> ? Plugin extends BetterAuthClientPlugin ? Plugin["getAtoms"] extends (fetch: any) => infer Atoms ? Atoms extends Record<string, any> ? {
|
|
21
22
|
[key in keyof Atoms as IsSignal<key> extends true ? never : key extends string ? `use${Capitalize<key>}` : never]: () => Atoms[key];
|
|
@@ -4,18 +4,19 @@ 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.CfjjR3nO.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.CYkDoFdW.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.DI5tnNZs.js';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
17
17
|
import 'better-sqlite3';
|
|
18
18
|
import 'bun:sqlite';
|
|
19
|
+
import 'node:sqlite';
|
|
19
20
|
|
|
20
21
|
type InferResolvedHooks<O extends ClientOptions> = O["plugins"] extends Array<infer Plugin> ? Plugin extends BetterAuthClientPlugin ? Plugin["getAtoms"] extends (fetch: any) => infer Atoms ? Atoms extends Record<string, any> ? {
|
|
21
22
|
[key in keyof Atoms as IsSignal<key> extends true ? never : key extends string ? `use${Capitalize<key>}` : never]: () => Atoms[key];
|
|
@@ -4,18 +4,19 @@ 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.B7MQmN7r.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.CkxRAus3.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.DQINKBiT.cjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
17
17
|
import 'better-sqlite3';
|
|
18
18
|
import 'bun:sqlite';
|
|
19
|
+
import 'node:sqlite';
|
|
19
20
|
|
|
20
21
|
type InferResolvedHooks<O extends ClientOptions> = O["plugins"] extends Array<infer Plugin> ? Plugin extends BetterAuthClientPlugin ? Plugin["getAtoms"] extends (fetch: any) => infer Atoms ? Atoms extends Record<string, any> ? {
|
|
21
22
|
[key in keyof Atoms as IsSignal<key> extends true ? never : key extends string ? `use${Capitalize<key>}` : never]: () => DeepReadonly<Ref<ReturnType<Atoms[key]["get"]>>>;
|
|
@@ -4,18 +4,19 @@ 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.BeA5VIAP.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.CHQjJhgG.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.QB8jx8j0.mjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
17
17
|
import 'better-sqlite3';
|
|
18
18
|
import 'bun:sqlite';
|
|
19
|
+
import 'node:sqlite';
|
|
19
20
|
|
|
20
21
|
type InferResolvedHooks<O extends ClientOptions> = O["plugins"] extends Array<infer Plugin> ? Plugin extends BetterAuthClientPlugin ? Plugin["getAtoms"] extends (fetch: any) => infer Atoms ? Atoms extends Record<string, any> ? {
|
|
21
22
|
[key in keyof Atoms as IsSignal<key> extends true ? never : key extends string ? `use${Capitalize<key>}` : never]: () => DeepReadonly<Ref<ReturnType<Atoms[key]["get"]>>>;
|
|
@@ -4,18 +4,19 @@ 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.CfjjR3nO.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.CYkDoFdW.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.DI5tnNZs.js';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
17
17
|
import 'better-sqlite3';
|
|
18
18
|
import 'bun:sqlite';
|
|
19
|
+
import 'node:sqlite';
|
|
19
20
|
|
|
20
21
|
type InferResolvedHooks<O extends ClientOptions> = O["plugins"] extends Array<infer Plugin> ? Plugin extends BetterAuthClientPlugin ? Plugin["getAtoms"] extends (fetch: any) => infer Atoms ? Atoms extends Record<string, any> ? {
|
|
21
22
|
[key in keyof Atoms as IsSignal<key> extends true ? never : key extends string ? `use${Capitalize<key>}` : never]: () => DeepReadonly<Ref<ReturnType<Atoms[key]["get"]>>>;
|
package/dist/cookies/index.d.cts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.CkxRAus3.cjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.DQINKBiT.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|
package/dist/cookies/index.d.mts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.CHQjJhgG.mjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.QB8jx8j0.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
|
12
|
+
import 'node:sqlite';
|