better-auth 1.3.9-beta.2 → 1.3.9-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 +5 -6
- package/dist/adapters/drizzle-adapter/index.d.cts +2 -3
- package/dist/adapters/drizzle-adapter/index.d.mts +2 -3
- package/dist/adapters/drizzle-adapter/index.d.ts +2 -3
- package/dist/adapters/drizzle-adapter/index.mjs +5 -6
- package/dist/adapters/index.cjs +5 -6
- package/dist/adapters/index.d.cts +3 -4
- package/dist/adapters/index.d.mts +3 -4
- package/dist/adapters/index.d.ts +3 -4
- package/dist/adapters/index.mjs +5 -6
- package/dist/adapters/kysely-adapter/index.cjs +6 -7
- package/dist/adapters/kysely-adapter/index.d.cts +2 -3
- package/dist/adapters/kysely-adapter/index.d.mts +2 -3
- package/dist/adapters/kysely-adapter/index.d.ts +2 -3
- package/dist/adapters/kysely-adapter/index.mjs +6 -7
- package/dist/adapters/memory-adapter/index.cjs +6 -7
- package/dist/adapters/memory-adapter/index.d.cts +2 -3
- package/dist/adapters/memory-adapter/index.d.mts +2 -3
- package/dist/adapters/memory-adapter/index.d.ts +2 -3
- package/dist/adapters/memory-adapter/index.mjs +6 -7
- package/dist/adapters/mongodb-adapter/index.cjs +6 -7
- package/dist/adapters/mongodb-adapter/index.d.cts +2 -3
- package/dist/adapters/mongodb-adapter/index.d.mts +2 -3
- package/dist/adapters/mongodb-adapter/index.d.ts +2 -3
- package/dist/adapters/mongodb-adapter/index.mjs +6 -7
- package/dist/adapters/prisma-adapter/index.cjs +5 -6
- package/dist/adapters/prisma-adapter/index.d.cts +2 -3
- package/dist/adapters/prisma-adapter/index.d.mts +2 -3
- package/dist/adapters/prisma-adapter/index.d.ts +2 -3
- package/dist/adapters/prisma-adapter/index.mjs +5 -6
- package/dist/adapters/test.cjs +4 -5
- package/dist/adapters/test.d.cts +2 -3
- package/dist/adapters/test.d.mts +2 -3
- package/dist/adapters/test.d.ts +2 -3
- package/dist/adapters/test.mjs +4 -5
- package/dist/api/index.cjs +23 -6
- package/dist/api/index.d.cts +2 -3
- package/dist/api/index.d.mts +2 -3
- package/dist/api/index.d.ts +2 -3
- package/dist/api/index.mjs +24 -7
- package/dist/client/index.d.cts +4 -5
- package/dist/client/index.d.mts +4 -5
- package/dist/client/index.d.ts +4 -5
- package/dist/client/plugins/index.cjs +6 -7
- package/dist/client/plugins/index.d.cts +5 -5
- package/dist/client/plugins/index.d.mts +5 -5
- package/dist/client/plugins/index.d.ts +5 -5
- package/dist/client/plugins/index.mjs +6 -7
- package/dist/client/react/index.d.cts +4 -5
- package/dist/client/react/index.d.mts +4 -5
- package/dist/client/react/index.d.ts +4 -5
- package/dist/client/solid/index.d.cts +3 -4
- package/dist/client/solid/index.d.mts +3 -4
- package/dist/client/solid/index.d.ts +3 -4
- package/dist/client/svelte/index.d.cts +3 -4
- package/dist/client/svelte/index.d.mts +3 -4
- package/dist/client/svelte/index.d.ts +3 -4
- package/dist/client/vue/index.d.cts +3 -4
- package/dist/client/vue/index.d.mts +3 -4
- package/dist/client/vue/index.d.ts +3 -4
- package/dist/cookies/index.d.cts +2 -3
- package/dist/cookies/index.d.mts +2 -3
- package/dist/cookies/index.d.ts +2 -3
- package/dist/crypto/index.cjs +12 -13
- package/dist/crypto/index.mjs +4 -5
- package/dist/db/index.cjs +8 -9
- package/dist/db/index.d.cts +3 -4
- package/dist/db/index.d.mts +3 -4
- package/dist/db/index.d.ts +3 -4
- package/dist/db/index.mjs +8 -9
- package/dist/index.cjs +10 -11
- package/dist/index.d.cts +10 -11
- package/dist/index.d.mts +10 -11
- package/dist/index.d.ts +10 -11
- package/dist/index.mjs +10 -11
- package/dist/integrations/next-js.cjs +7 -8
- package/dist/integrations/next-js.d.cts +2 -3
- package/dist/integrations/next-js.d.mts +2 -3
- package/dist/integrations/next-js.d.ts +2 -3
- package/dist/integrations/next-js.mjs +7 -8
- package/dist/integrations/node.d.cts +2 -3
- package/dist/integrations/node.d.mts +2 -3
- package/dist/integrations/node.d.ts +2 -3
- package/dist/integrations/react-start.cjs +7 -8
- package/dist/integrations/react-start.d.cts +2 -3
- package/dist/integrations/react-start.d.mts +2 -3
- package/dist/integrations/react-start.d.ts +2 -3
- package/dist/integrations/react-start.mjs +7 -8
- package/dist/integrations/svelte-kit.cjs +5 -6
- package/dist/integrations/svelte-kit.d.cts +2 -3
- package/dist/integrations/svelte-kit.d.mts +2 -3
- package/dist/integrations/svelte-kit.d.ts +2 -3
- package/dist/integrations/svelte-kit.mjs +5 -6
- package/dist/oauth2/index.cjs +5 -6
- 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 +5 -6
- package/dist/plugins/admin/index.cjs +6 -7
- package/dist/plugins/admin/index.d.cts +4 -5
- package/dist/plugins/admin/index.d.mts +4 -5
- package/dist/plugins/admin/index.d.ts +4 -5
- package/dist/plugins/admin/index.mjs +6 -7
- package/dist/plugins/anonymous/index.cjs +5 -6
- package/dist/plugins/anonymous/index.d.cts +2 -3
- package/dist/plugins/anonymous/index.d.mts +2 -3
- package/dist/plugins/anonymous/index.d.ts +2 -3
- package/dist/plugins/anonymous/index.mjs +5 -6
- package/dist/plugins/bearer/index.cjs +5 -6
- package/dist/plugins/bearer/index.d.cts +2 -3
- package/dist/plugins/bearer/index.d.mts +2 -3
- package/dist/plugins/bearer/index.d.ts +2 -3
- package/dist/plugins/bearer/index.mjs +5 -6
- package/dist/plugins/captcha/index.d.cts +2 -3
- package/dist/plugins/captcha/index.d.mts +2 -3
- package/dist/plugins/captcha/index.d.ts +2 -3
- package/dist/plugins/custom-session/index.cjs +5 -6
- package/dist/plugins/custom-session/index.d.cts +2 -3
- package/dist/plugins/custom-session/index.d.mts +2 -3
- package/dist/plugins/custom-session/index.d.ts +2 -3
- package/dist/plugins/custom-session/index.mjs +5 -6
- package/dist/plugins/device-authorization/index.cjs +4 -5
- package/dist/plugins/device-authorization/index.d.cts +2 -3
- package/dist/plugins/device-authorization/index.d.mts +2 -3
- package/dist/plugins/device-authorization/index.d.ts +2 -3
- package/dist/plugins/device-authorization/index.mjs +4 -5
- package/dist/plugins/email-otp/index.cjs +5 -6
- package/dist/plugins/email-otp/index.d.cts +2 -3
- package/dist/plugins/email-otp/index.d.mts +2 -3
- package/dist/plugins/email-otp/index.d.ts +2 -3
- package/dist/plugins/email-otp/index.mjs +5 -6
- package/dist/plugins/generic-oauth/index.cjs +5 -6
- package/dist/plugins/generic-oauth/index.d.cts +2 -3
- package/dist/plugins/generic-oauth/index.d.mts +2 -3
- package/dist/plugins/generic-oauth/index.d.ts +2 -3
- package/dist/plugins/generic-oauth/index.mjs +5 -6
- package/dist/plugins/haveibeenpwned/index.cjs +5 -6
- package/dist/plugins/haveibeenpwned/index.d.cts +2 -3
- package/dist/plugins/haveibeenpwned/index.d.mts +2 -3
- package/dist/plugins/haveibeenpwned/index.d.ts +2 -3
- package/dist/plugins/haveibeenpwned/index.mjs +5 -6
- package/dist/plugins/index.cjs +17 -16
- package/dist/plugins/index.d.cts +7 -7
- package/dist/plugins/index.d.mts +7 -7
- package/dist/plugins/index.d.ts +7 -7
- package/dist/plugins/index.mjs +18 -17
- package/dist/plugins/jwt/index.cjs +6 -7
- 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 +7 -8
- package/dist/plugins/magic-link/index.cjs +5 -6
- package/dist/plugins/magic-link/index.mjs +5 -6
- package/dist/plugins/multi-session/index.cjs +5 -6
- package/dist/plugins/multi-session/index.d.cts +2 -3
- package/dist/plugins/multi-session/index.d.mts +2 -3
- package/dist/plugins/multi-session/index.d.ts +2 -3
- package/dist/plugins/multi-session/index.mjs +5 -6
- package/dist/plugins/oauth-proxy/index.cjs +5 -6
- package/dist/plugins/oauth-proxy/index.d.cts +2 -3
- package/dist/plugins/oauth-proxy/index.d.mts +2 -3
- package/dist/plugins/oauth-proxy/index.d.ts +2 -3
- package/dist/plugins/oauth-proxy/index.mjs +5 -6
- package/dist/plugins/oidc-provider/index.cjs +7 -8
- package/dist/plugins/oidc-provider/index.d.cts +2 -3
- package/dist/plugins/oidc-provider/index.d.mts +2 -3
- package/dist/plugins/oidc-provider/index.d.ts +2 -3
- package/dist/plugins/oidc-provider/index.mjs +7 -8
- package/dist/plugins/one-tap/index.cjs +5 -6
- package/dist/plugins/one-tap/index.mjs +5 -6
- package/dist/plugins/one-time-token/index.cjs +8 -9
- package/dist/plugins/one-time-token/index.d.cts +2 -3
- package/dist/plugins/one-time-token/index.d.mts +2 -3
- package/dist/plugins/one-time-token/index.d.ts +2 -3
- package/dist/plugins/one-time-token/index.mjs +8 -9
- package/dist/plugins/open-api/index.cjs +44 -13
- package/dist/plugins/open-api/index.d.cts +2 -3
- package/dist/plugins/open-api/index.d.mts +2 -3
- package/dist/plugins/open-api/index.d.ts +2 -3
- package/dist/plugins/open-api/index.mjs +44 -13
- package/dist/plugins/organization/index.cjs +8 -9
- package/dist/plugins/organization/index.d.cts +2 -3
- package/dist/plugins/organization/index.d.mts +2 -3
- package/dist/plugins/organization/index.d.ts +2 -3
- package/dist/plugins/organization/index.mjs +8 -9
- package/dist/plugins/passkey/index.cjs +5 -6
- package/dist/plugins/passkey/index.d.cts +2 -3
- package/dist/plugins/passkey/index.d.mts +2 -3
- package/dist/plugins/passkey/index.d.ts +2 -3
- package/dist/plugins/passkey/index.mjs +5 -6
- package/dist/plugins/phone-number/index.cjs +5 -6
- package/dist/plugins/phone-number/index.d.cts +2 -3
- package/dist/plugins/phone-number/index.d.mts +2 -3
- package/dist/plugins/phone-number/index.d.ts +2 -3
- package/dist/plugins/phone-number/index.mjs +5 -6
- package/dist/plugins/siwe/index.cjs +7 -8
- package/dist/plugins/siwe/index.d.cts +2 -3
- package/dist/plugins/siwe/index.d.mts +2 -3
- package/dist/plugins/siwe/index.d.ts +2 -3
- package/dist/plugins/siwe/index.mjs +7 -8
- package/dist/plugins/sso/index.cjs +5 -6
- package/dist/plugins/sso/index.d.cts +2 -3
- package/dist/plugins/sso/index.d.mts +2 -3
- package/dist/plugins/sso/index.d.ts +2 -3
- package/dist/plugins/sso/index.mjs +5 -6
- package/dist/plugins/two-factor/index.cjs +5 -6
- package/dist/plugins/two-factor/index.d.cts +2 -3
- package/dist/plugins/two-factor/index.d.mts +2 -3
- package/dist/plugins/two-factor/index.d.ts +2 -3
- package/dist/plugins/two-factor/index.mjs +5 -6
- package/dist/plugins/username/index.cjs +20 -6
- package/dist/plugins/username/index.d.cts +19 -5
- package/dist/plugins/username/index.d.mts +19 -5
- package/dist/plugins/username/index.d.ts +19 -5
- package/dist/plugins/username/index.mjs +20 -6
- package/dist/shared/{better-auth.Ck4qhtF6.mjs → better-auth.5WTE-uUO.mjs} +5 -6
- package/dist/shared/{better-auth.DGuotwA1.d.cts → better-auth.6crrbXrP.d.cts} +308 -8
- package/dist/shared/{better-auth.gF8vGD5L.mjs → better-auth.7ZeACU2v.mjs} +5 -6
- package/dist/shared/{better-auth.CnIVrMwK.d.ts → better-auth.B-CitgLp.d.ts} +1 -1
- package/dist/shared/{better-auth.CXBi-DJc.cjs → better-auth.B-GguVp5.cjs} +7 -8
- package/dist/shared/{better-auth.CEc4wau_.d.cts → better-auth.B-V8R4q7.d.cts} +1 -1
- package/dist/shared/{better-auth.mA4L_-fq.d.ts → better-auth.B5FL4Q2B.d.ts} +2 -3
- package/dist/shared/{better-auth.EF9Iq11i.d.ts → better-auth.BAnyvLX6.d.ts} +1 -1
- package/dist/shared/{better-auth.C_gHVcnc.cjs → better-auth.BEYvND1Y.cjs} +1 -1
- package/dist/shared/{better-auth.TZOo7890.cjs → better-auth.BVUwL7ru.cjs} +1 -1
- package/dist/shared/{better-auth.BjjUH-Ka.mjs → better-auth.BWl2NB1B.mjs} +1 -1
- package/dist/shared/{better-auth.BlqpEUaH.mjs → better-auth.BZTBs9Yy.mjs} +7 -8
- package/dist/shared/{better-auth.CTMmErGI.d.cts → better-auth.BaMSx6K3.d.cts} +2 -3
- package/dist/shared/{better-auth.DXKgbji-.mjs → better-auth.BduPtJy8.mjs} +1 -1
- package/dist/shared/{better-auth.Dc0nj0we.cjs → better-auth.BlsHS68J.cjs} +22 -5
- package/dist/shared/{better-auth.Dyb4JEgv.cjs → better-auth.C5ZbY8Lo.cjs} +6 -7
- package/dist/shared/{better-auth.XP_NDvic.mjs → better-auth.C7KUdiwV.mjs} +1 -1
- package/dist/shared/{better-auth.BvYLXwvp.cjs → better-auth.CMwM5enp.cjs} +1 -0
- package/dist/shared/{better-auth.DtZRMuXL.cjs → better-auth.CRFFLEbh.cjs} +6 -7
- package/dist/shared/{better-auth.B3CPLvGC.mjs → better-auth.CSEecXfV.mjs} +22 -5
- package/dist/shared/{better-auth.DTV9hYzN.cjs → better-auth.CdLjcJ6z.cjs} +7 -8
- package/dist/shared/{better-auth.B8UjXTUa.mjs → better-auth.CtB1M_c7.mjs} +1 -1
- package/dist/shared/{better-auth.DFJOJkY1.cjs → better-auth.CtgUZb45.cjs} +7 -8
- package/dist/shared/{better-auth.3K3VNUn3.mjs → better-auth.D9PzlwY_.mjs} +6 -7
- package/dist/shared/{better-auth.CY7-Inqt.mjs → better-auth.DDuRjwGK.mjs} +1 -0
- package/dist/shared/{better-auth.B1yOWNP8.cjs → better-auth.DEKJQy4E.cjs} +1 -1
- package/dist/shared/{better-auth.DAUyNtx1.mjs → better-auth.DLsqH9Hw.mjs} +7 -8
- package/dist/shared/{better-auth.BuBqXPUp.mjs → better-auth.DOXaXTC6.mjs} +4 -5
- package/dist/shared/{better-auth.BWzwHY8m.cjs → better-auth.DPsIzckY.cjs} +5 -6
- package/dist/shared/{better-auth.DDDKwecE.mjs → better-auth.DQ6bmgix.mjs} +7 -8
- package/dist/shared/{better-auth.ChqAn6N0.d.mts → better-auth.DQLetyog.d.cts} +1 -1
- package/dist/shared/{better-auth.ZUo2dMO3.d.mts → better-auth.DR57bygo.d.mts} +2 -3
- package/dist/shared/{better-auth.fBcUR9cm.mjs → better-auth.DV0Lly8-.mjs} +6 -7
- package/dist/shared/{better-auth.WOu5GuAp.d.ts → better-auth.DtrrQDoO.d.ts} +5 -5
- package/dist/shared/{better-auth.aZPAhP-f.cjs → better-auth.QqWdVDmR.cjs} +5 -6
- package/dist/shared/{better-auth.DU2vRHKI.d.ts → better-auth.S3lnSz8Y.d.ts} +308 -8
- package/dist/shared/{better-auth.C9jfJUDF.cjs → better-auth.Szg-8evr.cjs} +4 -5
- package/dist/shared/{better-auth.llWU4_4y.d.cts → better-auth.UcasWcPe.d.cts} +5 -5
- package/dist/shared/{better-auth.YWGwdADP.cjs → better-auth.WyvofoOW.cjs} +1 -1
- package/dist/shared/{better-auth.f-bUldRg.d.mts → better-auth.YK5LQtFt.d.mts} +308 -8
- package/dist/shared/{better-auth.Df1_Wu_1.d.mts → better-auth.eYki6XKk.d.mts} +5 -5
- package/dist/shared/{better-auth.BZiffGTH.d.mts → better-auth.g9DlWOx7.d.mts} +1 -1
- package/dist/shared/{better-auth.D9BrVtBy.d.cts → better-auth.km36dqos.d.mts} +1 -1
- package/dist/social-providers/index.cjs +5 -6
- package/dist/social-providers/index.d.cts +1 -2
- package/dist/social-providers/index.d.mts +1 -2
- package/dist/social-providers/index.d.ts +1 -2
- package/dist/social-providers/index.mjs +5 -6
- package/dist/test-utils/index.cjs +13 -14
- package/dist/test-utils/index.d.cts +258 -4
- package/dist/test-utils/index.d.mts +258 -4
- package/dist/test-utils/index.d.ts +258 -4
- package/dist/test-utils/index.mjs +13 -14
- package/dist/types/index.d.cts +3 -4
- package/dist/types/index.d.mts +3 -4
- package/dist/types/index.d.ts +3 -4
- package/package.json +10 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, T as TelemetryContext, E as TelemetryEvent, J as FieldAttribute, M as Models } from './shared/better-auth.
|
|
2
|
-
export { O as Account, a as Adapter, Y as AdapterInstance, X as AdapterSchemaCreation, N as AdditionalSessionFieldsInput, m as AdditionalSessionFieldsOutput, q as AdditionalUserFieldsInput, n as AdditionalUserFieldsOutput, g as Auth, h as AuthContext, v as AuthPluginSchema, r as BetterAuthPlugin, F as FilterActions, _ as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, l as InferAPI, I as InferOptionSchema, t as InferPluginErrorCodes, s as InferPluginTypes, j as InferSession, $ as InferSessionAPI, i as InferUser, a5 as InternalLogger, a4 as LogHandlerParams, a0 as LogLevel, a3 as Logger, R as RateLimit, Z as SecondaryStorage, S as Session, U as User, V as Verification, Q as Where, W as WithJsDoc, L as betterAuth, a6 as createLogger, P as init, a1 as levels, a7 as logger, a2 as shouldPublishLog } from './shared/better-auth.
|
|
3
|
-
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, i as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, I as IsSignal, S as SessionQueryParams, e as Store } from './shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, T as TelemetryContext, E as TelemetryEvent, J as FieldAttribute, M as Models } from './shared/better-auth.S3lnSz8Y.js';
|
|
2
|
+
export { O as Account, a as Adapter, Y as AdapterInstance, X as AdapterSchemaCreation, N as AdditionalSessionFieldsInput, m as AdditionalSessionFieldsOutput, q as AdditionalUserFieldsInput, n as AdditionalUserFieldsOutput, g as Auth, h as AuthContext, v as AuthPluginSchema, r as BetterAuthPlugin, F as FilterActions, _ as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, l as InferAPI, I as InferOptionSchema, t as InferPluginErrorCodes, s as InferPluginTypes, j as InferSession, $ as InferSessionAPI, i as InferUser, a5 as InternalLogger, a4 as LogHandlerParams, a0 as LogLevel, a3 as Logger, R as RateLimit, Z as SecondaryStorage, S as Session, U as User, V as Verification, Q as Where, W as WithJsDoc, L as betterAuth, a6 as createLogger, P as init, a1 as levels, a7 as logger, a2 as shouldPublishLog } from './shared/better-auth.S3lnSz8Y.js';
|
|
3
|
+
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, i as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, I as IsSignal, S as SessionQueryParams, e as Store } from './shared/better-auth.BAnyvLX6.js';
|
|
4
4
|
export { H as HIDE_METADATA } from './shared/better-auth.DEHJp1rk.js';
|
|
5
|
-
export { g as generateState, p as parseState } from './shared/better-auth.
|
|
5
|
+
export { g as generateState, p as parseState } from './shared/better-auth.B-CitgLp.js';
|
|
6
6
|
export * from 'better-call';
|
|
7
7
|
export { APIError } from 'better-call';
|
|
8
8
|
export * from 'zod/v4';
|
|
9
9
|
export * from 'zod/v4/core';
|
|
10
10
|
import { b as LiteralUnion } from './shared/better-auth.DTtXpZYr.js';
|
|
11
11
|
export { A as Awaitable, D as DeepPartial, E as Expand, H as HasRequiredKeys, d as LiteralNumber, L as LiteralString, O as OmitId, e as PreserveJSDoc, a as Prettify, P as PrettifyDeep, c as Primitive, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.DTtXpZYr.js';
|
|
12
|
-
export { O as OAuth2Tokens, a as OAuth2UserInfo, b as OAuthProvider, P as ProviderOptions } from './shared/better-auth.
|
|
12
|
+
export { O as OAuth2Tokens, a as OAuth2UserInfo, b as OAuthProvider, P as ProviderOptions } from './shared/better-auth.B5FL4Q2B.js';
|
|
13
13
|
import 'kysely';
|
|
14
14
|
import 'zod';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -17,7 +17,6 @@ import 'bun:sqlite';
|
|
|
17
17
|
import 'node:sqlite';
|
|
18
18
|
import '@better-fetch/fetch';
|
|
19
19
|
import 'nanostores';
|
|
20
|
-
import 'jose';
|
|
21
20
|
|
|
22
21
|
declare function capitalizeFirstLetter(str: string): string;
|
|
23
22
|
|
|
@@ -84,7 +83,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
|
|
|
84
83
|
disableSignUp: boolean | undefined;
|
|
85
84
|
getUserInfo: boolean;
|
|
86
85
|
overrideUserInfoOnSignIn: boolean;
|
|
87
|
-
prompt: "
|
|
86
|
+
prompt: "select_account" | "consent" | "login" | "none" | "select_account consent" | undefined;
|
|
88
87
|
verifyIdToken: boolean;
|
|
89
88
|
scope: string[] | undefined;
|
|
90
89
|
refreshAccessToken: boolean;
|
|
@@ -92,7 +91,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
|
|
|
92
91
|
plugins: string[] | undefined;
|
|
93
92
|
user: {
|
|
94
93
|
modelName: string | undefined;
|
|
95
|
-
fields: Partial<Record<"
|
|
94
|
+
fields: Partial<Record<"name" | "emailVerified" | "email" | "image" | "createdAt" | "updatedAt", string>> | undefined;
|
|
96
95
|
additionalFields: {
|
|
97
96
|
[key: string]: FieldAttribute;
|
|
98
97
|
} | undefined;
|
|
@@ -117,7 +116,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
|
|
|
117
116
|
};
|
|
118
117
|
disableSessionRefresh: boolean | undefined;
|
|
119
118
|
expiresIn: number | undefined;
|
|
120
|
-
fields: Partial<Record<"
|
|
119
|
+
fields: Partial<Record<"token" | "createdAt" | "updatedAt" | "userId" | "expiresAt" | "ipAddress" | "userAgent", string>> | undefined;
|
|
121
120
|
freshAge: number | undefined;
|
|
122
121
|
preserveSessionInDatabase: boolean | undefined;
|
|
123
122
|
storeSessionInDatabase: boolean | undefined;
|
|
@@ -125,7 +124,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
|
|
|
125
124
|
};
|
|
126
125
|
account: {
|
|
127
126
|
modelName: string | undefined;
|
|
128
|
-
fields: Partial<Record<"
|
|
127
|
+
fields: Partial<Record<"scope" | "accessToken" | "refreshToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "idToken" | "createdAt" | "updatedAt" | "userId" | "providerId" | "accountId" | "password", string>> | undefined;
|
|
129
128
|
encryptOAuthTokens: boolean | undefined;
|
|
130
129
|
updateAccountOnSignIn: boolean | undefined;
|
|
131
130
|
accountLinking: {
|
|
@@ -165,7 +164,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
|
|
|
165
164
|
cookieAttributes: {
|
|
166
165
|
expires: Date | undefined;
|
|
167
166
|
secure: boolean | undefined;
|
|
168
|
-
sameSite: "lax" | "Strict" | "Lax" | "None" | "strict" |
|
|
167
|
+
sameSite: "none" | "lax" | "Strict" | "Lax" | "None" | "strict" | undefined;
|
|
169
168
|
domain: boolean;
|
|
170
169
|
path: string | undefined;
|
|
171
170
|
httpOnly: boolean | undefined;
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { b as betterAuth, c as createTelemetry, g as getTelemetryAuthConfig } from './shared/better-auth.
|
|
1
|
+
export { b as betterAuth, c as createTelemetry, g as getTelemetryAuthConfig } from './shared/better-auth.DLsqH9Hw.mjs';
|
|
2
2
|
export { B as BetterAuthError, M as MissingDependencyError } from './shared/better-auth.DdzSJf-n.mjs';
|
|
3
3
|
export { c as capitalizeFirstLetter } from './shared/better-auth.D-2CmEwz.mjs';
|
|
4
|
-
export { H as HIDE_METADATA, g as generateState, p as parseState } from './shared/better-auth.
|
|
4
|
+
export { H as HIDE_METADATA, g as generateState, p as parseState } from './shared/better-auth.CSEecXfV.mjs';
|
|
5
5
|
export { g as generateId } from './shared/better-auth.BUPPRXfK.mjs';
|
|
6
6
|
export { c as createLogger, l as levels, a as logger, s as shouldPublishLog } from './shared/better-auth.BjBlybv-.mjs';
|
|
7
7
|
export { APIError } from 'better-call';
|
|
@@ -21,22 +21,21 @@ import './shared/better-auth.O2VtDkDK.mjs';
|
|
|
21
21
|
import 'defu';
|
|
22
22
|
import './crypto/index.mjs';
|
|
23
23
|
import '@better-auth/utils/hash';
|
|
24
|
-
import '@noble/ciphers/chacha';
|
|
25
|
-
import '@noble/ciphers/utils';
|
|
26
|
-
import '@noble/ciphers/webcrypto';
|
|
24
|
+
import '@noble/ciphers/chacha.js';
|
|
25
|
+
import '@noble/ciphers/utils.js';
|
|
27
26
|
import 'jose';
|
|
28
|
-
import '@noble/hashes/scrypt';
|
|
27
|
+
import '@noble/hashes/scrypt.js';
|
|
29
28
|
import '@better-auth/utils';
|
|
30
29
|
import '@better-auth/utils/hex';
|
|
31
|
-
import '@noble/hashes/utils';
|
|
30
|
+
import '@noble/hashes/utils.js';
|
|
32
31
|
import './shared/better-auth.B4Qoxdgc.mjs';
|
|
33
32
|
import '@better-auth/utils/random';
|
|
34
|
-
import './shared/better-auth.
|
|
33
|
+
import './shared/better-auth.DV0Lly8-.mjs';
|
|
35
34
|
import './shared/better-auth.B_PTVODM.mjs';
|
|
36
|
-
import './shared/better-auth.
|
|
35
|
+
import './shared/better-auth.BduPtJy8.mjs';
|
|
37
36
|
import 'kysely';
|
|
38
|
-
import './shared/better-auth.
|
|
39
|
-
import './shared/better-auth.
|
|
37
|
+
import './shared/better-auth.DOXaXTC6.mjs';
|
|
38
|
+
import './shared/better-auth.7ZeACU2v.mjs';
|
|
40
39
|
import './shared/better-auth.YwDQhoPc.mjs';
|
|
41
40
|
import '@better-fetch/fetch';
|
|
42
41
|
import 'jose/errors';
|
|
@@ -9,20 +9,19 @@ const cookies_index = require('../shared/better-auth.D5q0JUiv.cjs');
|
|
|
9
9
|
require('better-call');
|
|
10
10
|
require('zod/v4');
|
|
11
11
|
const session = require('../shared/better-auth.CLv80Pwz.cjs');
|
|
12
|
-
require('../shared/better-auth.
|
|
12
|
+
require('../shared/better-auth.BlsHS68J.cjs');
|
|
13
13
|
require('../shared/better-auth.gN3g-znU.cjs');
|
|
14
|
-
require('../shared/better-auth.
|
|
14
|
+
require('../shared/better-auth.DPsIzckY.cjs');
|
|
15
15
|
require('../plugins/organization/access/index.cjs');
|
|
16
16
|
require('@better-auth/utils/random');
|
|
17
17
|
require('@better-auth/utils/hash');
|
|
18
|
-
require('@noble/ciphers/chacha');
|
|
19
|
-
require('@noble/ciphers/utils');
|
|
20
|
-
require('@noble/ciphers/webcrypto');
|
|
18
|
+
require('@noble/ciphers/chacha.js');
|
|
19
|
+
require('@noble/ciphers/utils.js');
|
|
21
20
|
require('jose');
|
|
22
|
-
require('@noble/hashes/scrypt');
|
|
21
|
+
require('@noble/hashes/scrypt.js');
|
|
23
22
|
require('@better-auth/utils');
|
|
24
23
|
require('@better-auth/utils/hex');
|
|
25
|
-
require('@noble/hashes/utils');
|
|
24
|
+
require('@noble/hashes/utils.js');
|
|
26
25
|
require('../shared/better-auth.CYeOI8C-.cjs');
|
|
27
26
|
require('kysely');
|
|
28
27
|
require('@better-auth/utils/otp');
|
|
@@ -30,7 +29,7 @@ require('../plugins/admin/access/index.cjs');
|
|
|
30
29
|
require('@better-fetch/fetch');
|
|
31
30
|
require('zod');
|
|
32
31
|
require('../plugins/custom-session/index.cjs');
|
|
33
|
-
require('@noble/hashes/sha3');
|
|
32
|
+
require('@noble/hashes/sha3.js');
|
|
34
33
|
require('../plugins/device-authorization/index.cjs');
|
|
35
34
|
require('../shared/better-auth.ANpbi45u.cjs');
|
|
36
35
|
require('../shared/better-auth.C1hdVENX.cjs');
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../shared/better-auth.6crrbXrP.cjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
7
|
-
import 'jose';
|
|
6
|
+
import '../shared/better-auth.BaMSx6K3.cjs';
|
|
8
7
|
import 'zod/v4/core';
|
|
9
8
|
import 'zod';
|
|
10
9
|
import 'better-sqlite3';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../shared/better-auth.YK5LQtFt.mjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
7
|
-
import 'jose';
|
|
6
|
+
import '../shared/better-auth.DR57bygo.mjs';
|
|
8
7
|
import 'zod/v4/core';
|
|
9
8
|
import 'zod';
|
|
10
9
|
import 'better-sqlite3';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../shared/better-auth.S3lnSz8Y.js';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
6
|
-
import '../shared/better-auth.
|
|
7
|
-
import 'jose';
|
|
6
|
+
import '../shared/better-auth.B5FL4Q2B.js';
|
|
8
7
|
import 'zod/v4/core';
|
|
9
8
|
import 'zod';
|
|
10
9
|
import 'better-sqlite3';
|
|
@@ -7,20 +7,19 @@ import { p as parseSetCookieHeader } from '../shared/better-auth.UfVWArIB.mjs';
|
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import 'zod/v4';
|
|
9
9
|
import { c as createAuthMiddleware } from '../shared/better-auth.DV5EHeYG.mjs';
|
|
10
|
-
import '../shared/better-auth.
|
|
10
|
+
import '../shared/better-auth.CSEecXfV.mjs';
|
|
11
11
|
import '../shared/better-auth.Dcv8PS7T.mjs';
|
|
12
|
-
import '../shared/better-auth.
|
|
12
|
+
import '../shared/better-auth.5WTE-uUO.mjs';
|
|
13
13
|
import '../plugins/organization/access/index.mjs';
|
|
14
14
|
import '@better-auth/utils/random';
|
|
15
15
|
import '@better-auth/utils/hash';
|
|
16
|
-
import '@noble/ciphers/chacha';
|
|
17
|
-
import '@noble/ciphers/utils';
|
|
18
|
-
import '@noble/ciphers/webcrypto';
|
|
16
|
+
import '@noble/ciphers/chacha.js';
|
|
17
|
+
import '@noble/ciphers/utils.js';
|
|
19
18
|
import 'jose';
|
|
20
|
-
import '@noble/hashes/scrypt';
|
|
19
|
+
import '@noble/hashes/scrypt.js';
|
|
21
20
|
import '@better-auth/utils';
|
|
22
21
|
import '@better-auth/utils/hex';
|
|
23
|
-
import '@noble/hashes/utils';
|
|
22
|
+
import '@noble/hashes/utils.js';
|
|
24
23
|
import '../shared/better-auth.B4Qoxdgc.mjs';
|
|
25
24
|
import 'kysely';
|
|
26
25
|
import '@better-auth/utils/otp';
|
|
@@ -28,7 +27,7 @@ import '../plugins/admin/access/index.mjs';
|
|
|
28
27
|
import '@better-fetch/fetch';
|
|
29
28
|
import 'zod';
|
|
30
29
|
import '../plugins/custom-session/index.mjs';
|
|
31
|
-
import '@noble/hashes/sha3';
|
|
30
|
+
import '@noble/hashes/sha3.js';
|
|
32
31
|
import '../plugins/device-authorization/index.mjs';
|
|
33
32
|
import '../shared/better-auth.DdzSJf-n.mjs';
|
|
34
33
|
import '../shared/better-auth.CW6D9eSx.mjs';
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import * as http from 'http';
|
|
2
2
|
import { IncomingHttpHeaders } from 'http';
|
|
3
|
-
import { g as Auth } from '../shared/better-auth.
|
|
3
|
+
import { g as Auth } from '../shared/better-auth.6crrbXrP.cjs';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import 'zod/v4';
|
|
7
7
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
8
|
-
import '../shared/better-auth.
|
|
9
|
-
import 'jose';
|
|
8
|
+
import '../shared/better-auth.BaMSx6K3.cjs';
|
|
10
9
|
import 'zod/v4/core';
|
|
11
10
|
import 'zod';
|
|
12
11
|
import 'better-sqlite3';
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import * as http from 'http';
|
|
2
2
|
import { IncomingHttpHeaders } from 'http';
|
|
3
|
-
import { g as Auth } from '../shared/better-auth.
|
|
3
|
+
import { g as Auth } from '../shared/better-auth.YK5LQtFt.mjs';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import 'zod/v4';
|
|
7
7
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
8
|
-
import '../shared/better-auth.
|
|
9
|
-
import 'jose';
|
|
8
|
+
import '../shared/better-auth.DR57bygo.mjs';
|
|
10
9
|
import 'zod/v4/core';
|
|
11
10
|
import 'zod';
|
|
12
11
|
import 'better-sqlite3';
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import * as http from 'http';
|
|
2
2
|
import { IncomingHttpHeaders } from 'http';
|
|
3
|
-
import { g as Auth } from '../shared/better-auth.
|
|
3
|
+
import { g as Auth } from '../shared/better-auth.S3lnSz8Y.js';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import 'zod/v4';
|
|
7
7
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
8
|
-
import '../shared/better-auth.
|
|
9
|
-
import 'jose';
|
|
8
|
+
import '../shared/better-auth.B5FL4Q2B.js';
|
|
10
9
|
import 'zod/v4/core';
|
|
11
10
|
import 'zod';
|
|
12
11
|
import 'better-sqlite3';
|
|
@@ -9,20 +9,19 @@ const cookies_index = require('../shared/better-auth.D5q0JUiv.cjs');
|
|
|
9
9
|
require('better-call');
|
|
10
10
|
require('zod/v4');
|
|
11
11
|
const session = require('../shared/better-auth.CLv80Pwz.cjs');
|
|
12
|
-
require('../shared/better-auth.
|
|
12
|
+
require('../shared/better-auth.BlsHS68J.cjs');
|
|
13
13
|
require('../shared/better-auth.gN3g-znU.cjs');
|
|
14
|
-
require('../shared/better-auth.
|
|
14
|
+
require('../shared/better-auth.DPsIzckY.cjs');
|
|
15
15
|
require('../plugins/organization/access/index.cjs');
|
|
16
16
|
require('@better-auth/utils/random');
|
|
17
17
|
require('@better-auth/utils/hash');
|
|
18
|
-
require('@noble/ciphers/chacha');
|
|
19
|
-
require('@noble/ciphers/utils');
|
|
20
|
-
require('@noble/ciphers/webcrypto');
|
|
18
|
+
require('@noble/ciphers/chacha.js');
|
|
19
|
+
require('@noble/ciphers/utils.js');
|
|
21
20
|
require('jose');
|
|
22
|
-
require('@noble/hashes/scrypt');
|
|
21
|
+
require('@noble/hashes/scrypt.js');
|
|
23
22
|
require('@better-auth/utils');
|
|
24
23
|
require('@better-auth/utils/hex');
|
|
25
|
-
require('@noble/hashes/utils');
|
|
24
|
+
require('@noble/hashes/utils.js');
|
|
26
25
|
require('../shared/better-auth.CYeOI8C-.cjs');
|
|
27
26
|
require('kysely');
|
|
28
27
|
require('@better-auth/utils/otp');
|
|
@@ -30,7 +29,7 @@ require('../plugins/admin/access/index.cjs');
|
|
|
30
29
|
require('@better-fetch/fetch');
|
|
31
30
|
require('zod');
|
|
32
31
|
require('../plugins/custom-session/index.cjs');
|
|
33
|
-
require('@noble/hashes/sha3');
|
|
32
|
+
require('@noble/hashes/sha3.js');
|
|
34
33
|
require('../plugins/device-authorization/index.cjs');
|
|
35
34
|
require('../shared/better-auth.ANpbi45u.cjs');
|
|
36
35
|
require('../shared/better-auth.C1hdVENX.cjs');
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../shared/better-auth.6crrbXrP.cjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
7
|
-
import 'jose';
|
|
6
|
+
import '../shared/better-auth.BaMSx6K3.cjs';
|
|
8
7
|
import 'zod/v4/core';
|
|
9
8
|
import 'zod';
|
|
10
9
|
import 'better-sqlite3';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../shared/better-auth.YK5LQtFt.mjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
7
|
-
import 'jose';
|
|
6
|
+
import '../shared/better-auth.DR57bygo.mjs';
|
|
8
7
|
import 'zod/v4/core';
|
|
9
8
|
import 'zod';
|
|
10
9
|
import 'better-sqlite3';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../shared/better-auth.S3lnSz8Y.js';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
6
|
-
import '../shared/better-auth.
|
|
7
|
-
import 'jose';
|
|
6
|
+
import '../shared/better-auth.B5FL4Q2B.js';
|
|
8
7
|
import 'zod/v4/core';
|
|
9
8
|
import 'zod';
|
|
10
9
|
import 'better-sqlite3';
|
|
@@ -7,20 +7,19 @@ import { p as parseSetCookieHeader } from '../shared/better-auth.UfVWArIB.mjs';
|
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import 'zod/v4';
|
|
9
9
|
import { c as createAuthMiddleware } from '../shared/better-auth.DV5EHeYG.mjs';
|
|
10
|
-
import '../shared/better-auth.
|
|
10
|
+
import '../shared/better-auth.CSEecXfV.mjs';
|
|
11
11
|
import '../shared/better-auth.Dcv8PS7T.mjs';
|
|
12
|
-
import '../shared/better-auth.
|
|
12
|
+
import '../shared/better-auth.5WTE-uUO.mjs';
|
|
13
13
|
import '../plugins/organization/access/index.mjs';
|
|
14
14
|
import '@better-auth/utils/random';
|
|
15
15
|
import '@better-auth/utils/hash';
|
|
16
|
-
import '@noble/ciphers/chacha';
|
|
17
|
-
import '@noble/ciphers/utils';
|
|
18
|
-
import '@noble/ciphers/webcrypto';
|
|
16
|
+
import '@noble/ciphers/chacha.js';
|
|
17
|
+
import '@noble/ciphers/utils.js';
|
|
19
18
|
import 'jose';
|
|
20
|
-
import '@noble/hashes/scrypt';
|
|
19
|
+
import '@noble/hashes/scrypt.js';
|
|
21
20
|
import '@better-auth/utils';
|
|
22
21
|
import '@better-auth/utils/hex';
|
|
23
|
-
import '@noble/hashes/utils';
|
|
22
|
+
import '@noble/hashes/utils.js';
|
|
24
23
|
import '../shared/better-auth.B4Qoxdgc.mjs';
|
|
25
24
|
import 'kysely';
|
|
26
25
|
import '@better-auth/utils/otp';
|
|
@@ -28,7 +27,7 @@ import '../plugins/admin/access/index.mjs';
|
|
|
28
27
|
import '@better-fetch/fetch';
|
|
29
28
|
import 'zod';
|
|
30
29
|
import '../plugins/custom-session/index.mjs';
|
|
31
|
-
import '@noble/hashes/sha3';
|
|
30
|
+
import '@noble/hashes/sha3.js';
|
|
32
31
|
import '../plugins/device-authorization/index.mjs';
|
|
33
32
|
import '../shared/better-auth.DdzSJf-n.mjs';
|
|
34
33
|
import '../shared/better-auth.CW6D9eSx.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('better-call');
|
|
4
|
-
require('../shared/better-auth.
|
|
4
|
+
require('../shared/better-auth.BlsHS68J.cjs');
|
|
5
5
|
const session = require('../shared/better-auth.CLv80Pwz.cjs');
|
|
6
6
|
require('zod/v4');
|
|
7
7
|
require('../shared/better-auth.B6fIklBU.cjs');
|
|
@@ -14,14 +14,13 @@ require('../shared/better-auth.gN3g-znU.cjs');
|
|
|
14
14
|
require('../shared/better-auth.C1hdVENX.cjs');
|
|
15
15
|
require('@better-auth/utils/hash');
|
|
16
16
|
require('../crypto/index.cjs');
|
|
17
|
-
require('@noble/ciphers/chacha');
|
|
18
|
-
require('@noble/ciphers/utils');
|
|
19
|
-
require('@noble/ciphers/webcrypto');
|
|
17
|
+
require('@noble/ciphers/chacha.js');
|
|
18
|
+
require('@noble/ciphers/utils.js');
|
|
20
19
|
require('jose');
|
|
21
|
-
require('@noble/hashes/scrypt');
|
|
20
|
+
require('@noble/hashes/scrypt.js');
|
|
22
21
|
require('@better-auth/utils');
|
|
23
22
|
require('@better-auth/utils/hex');
|
|
24
|
-
require('@noble/hashes/utils');
|
|
23
|
+
require('@noble/hashes/utils.js');
|
|
25
24
|
require('../shared/better-auth.ANpbi45u.cjs');
|
|
26
25
|
require('../shared/better-auth.CYeOI8C-.cjs');
|
|
27
26
|
require('@better-auth/utils/random');
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { B as BetterAuthOptions } from '../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions } from '../shared/better-auth.6crrbXrP.cjs';
|
|
3
3
|
import { RequestEvent } from '@sveltejs/kit';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
7
|
-
import '../shared/better-auth.
|
|
8
|
-
import 'jose';
|
|
7
|
+
import '../shared/better-auth.BaMSx6K3.cjs';
|
|
9
8
|
import 'zod/v4/core';
|
|
10
9
|
import 'zod';
|
|
11
10
|
import 'better-sqlite3';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { B as BetterAuthOptions } from '../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions } from '../shared/better-auth.YK5LQtFt.mjs';
|
|
3
3
|
import { RequestEvent } from '@sveltejs/kit';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
7
|
-
import '../shared/better-auth.
|
|
8
|
-
import 'jose';
|
|
7
|
+
import '../shared/better-auth.DR57bygo.mjs';
|
|
9
8
|
import 'zod/v4/core';
|
|
10
9
|
import 'zod';
|
|
11
10
|
import 'better-sqlite3';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { B as BetterAuthOptions } from '../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions } from '../shared/better-auth.S3lnSz8Y.js';
|
|
3
3
|
import { RequestEvent } from '@sveltejs/kit';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
7
|
-
import '../shared/better-auth.
|
|
8
|
-
import 'jose';
|
|
7
|
+
import '../shared/better-auth.B5FL4Q2B.js';
|
|
9
8
|
import 'zod/v4/core';
|
|
10
9
|
import 'zod';
|
|
11
10
|
import 'better-sqlite3';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
import '../shared/better-auth.
|
|
2
|
+
import '../shared/better-auth.CSEecXfV.mjs';
|
|
3
3
|
import { c as createAuthMiddleware } from '../shared/better-auth.DV5EHeYG.mjs';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.CMQ3rA-I.mjs';
|
|
@@ -12,14 +12,13 @@ import '../shared/better-auth.Dcv8PS7T.mjs';
|
|
|
12
12
|
import '../shared/better-auth.CW6D9eSx.mjs';
|
|
13
13
|
import '@better-auth/utils/hash';
|
|
14
14
|
import '../crypto/index.mjs';
|
|
15
|
-
import '@noble/ciphers/chacha';
|
|
16
|
-
import '@noble/ciphers/utils';
|
|
17
|
-
import '@noble/ciphers/webcrypto';
|
|
15
|
+
import '@noble/ciphers/chacha.js';
|
|
16
|
+
import '@noble/ciphers/utils.js';
|
|
18
17
|
import 'jose';
|
|
19
|
-
import '@noble/hashes/scrypt';
|
|
18
|
+
import '@noble/hashes/scrypt.js';
|
|
20
19
|
import '@better-auth/utils';
|
|
21
20
|
import '@better-auth/utils/hex';
|
|
22
|
-
import '@noble/hashes/utils';
|
|
21
|
+
import '@noble/hashes/utils.js';
|
|
23
22
|
import '../shared/better-auth.DdzSJf-n.mjs';
|
|
24
23
|
import '../shared/better-auth.B4Qoxdgc.mjs';
|
|
25
24
|
import '@better-auth/utils/random';
|
package/dist/oauth2/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const socialProviders_index = require('../shared/better-auth.
|
|
3
|
+
const socialProviders_index = require('../shared/better-auth.BlsHS68J.cjs');
|
|
4
4
|
require('zod/v4');
|
|
5
5
|
require('../shared/better-auth.CLv80Pwz.cjs');
|
|
6
6
|
require('better-call');
|
|
@@ -16,14 +16,13 @@ require('../shared/better-auth.DRmln2Nr.cjs');
|
|
|
16
16
|
require('@better-auth/utils/binary');
|
|
17
17
|
require('@better-auth/utils/hash');
|
|
18
18
|
require('../crypto/index.cjs');
|
|
19
|
-
require('@noble/ciphers/chacha');
|
|
20
|
-
require('@noble/ciphers/utils');
|
|
21
|
-
require('@noble/ciphers/webcrypto');
|
|
19
|
+
require('@noble/ciphers/chacha.js');
|
|
20
|
+
require('@noble/ciphers/utils.js');
|
|
22
21
|
require('jose');
|
|
23
|
-
require('@noble/hashes/scrypt');
|
|
22
|
+
require('@noble/hashes/scrypt.js');
|
|
24
23
|
require('@better-auth/utils');
|
|
25
24
|
require('@better-auth/utils/hex');
|
|
26
|
-
require('@noble/hashes/utils');
|
|
25
|
+
require('@noble/hashes/utils.js');
|
|
27
26
|
require('../shared/better-auth.CYeOI8C-.cjs');
|
|
28
27
|
require('@better-auth/utils/random');
|
|
29
28
|
require('@better-fetch/fetch');
|
package/dist/oauth2/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.
|
|
2
|
-
export { a as OAuth2UserInfo, b as OAuthProvider } from '../shared/better-auth.
|
|
1
|
+
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.BaMSx6K3.cjs';
|
|
2
|
+
export { a as OAuth2UserInfo, b as OAuthProvider } from '../shared/better-auth.BaMSx6K3.cjs';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
|
-
import { h as AuthContext, G as GenericEndpointContext, U as User, O as Account } from '../shared/better-auth.
|
|
5
|
-
export { g as generateState, p as parseState } from '../shared/better-auth.
|
|
4
|
+
import { h as AuthContext, G as GenericEndpointContext, U as User, O as Account } from '../shared/better-auth.6crrbXrP.cjs';
|
|
5
|
+
export { g as generateState, p as parseState } from '../shared/better-auth.DQLetyog.cjs';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
7
7
|
import 'zod/v4';
|
|
8
8
|
import 'kysely';
|
package/dist/oauth2/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.
|
|
2
|
-
export { a as OAuth2UserInfo, b as OAuthProvider } from '../shared/better-auth.
|
|
1
|
+
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.DR57bygo.mjs';
|
|
2
|
+
export { a as OAuth2UserInfo, b as OAuthProvider } from '../shared/better-auth.DR57bygo.mjs';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
|
-
import { h as AuthContext, G as GenericEndpointContext, U as User, O as Account } from '../shared/better-auth.
|
|
5
|
-
export { g as generateState, p as parseState } from '../shared/better-auth.
|
|
4
|
+
import { h as AuthContext, G as GenericEndpointContext, U as User, O as Account } from '../shared/better-auth.YK5LQtFt.mjs';
|
|
5
|
+
export { g as generateState, p as parseState } from '../shared/better-auth.km36dqos.mjs';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
7
7
|
import 'zod/v4';
|
|
8
8
|
import 'kysely';
|
package/dist/oauth2/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.
|
|
2
|
-
export { a as OAuth2UserInfo, b as OAuthProvider } from '../shared/better-auth.
|
|
1
|
+
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.B5FL4Q2B.js';
|
|
2
|
+
export { a as OAuth2UserInfo, b as OAuthProvider } from '../shared/better-auth.B5FL4Q2B.js';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
|
-
import { h as AuthContext, G as GenericEndpointContext, U as User, O as Account } from '../shared/better-auth.
|
|
5
|
-
export { g as generateState, p as parseState } from '../shared/better-auth.
|
|
4
|
+
import { h as AuthContext, G as GenericEndpointContext, U as User, O as Account } from '../shared/better-auth.S3lnSz8Y.js';
|
|
5
|
+
export { g as generateState, p as parseState } from '../shared/better-auth.B-CitgLp.js';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
7
7
|
import 'zod/v4';
|
|
8
8
|
import 'kysely';
|
package/dist/oauth2/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as createAuthorizationCodeRequest, c as createAuthorizationURL, d as createRefreshAccessTokenRequest, i as decryptOAuthToken, h as encodeOAuthParameter, e as generateCodeChallenge, g as generateState, f as getOAuth2Tokens, j as handleOAuthUserInfo, p as parseState, r as refreshAccessToken, s as setTokenUtil, v as validateAuthorizationCode, b as validateToken } from '../shared/better-auth.
|
|
1
|
+
export { a as createAuthorizationCodeRequest, c as createAuthorizationURL, d as createRefreshAccessTokenRequest, i as decryptOAuthToken, h as encodeOAuthParameter, e as generateCodeChallenge, g as generateState, f as getOAuth2Tokens, j as handleOAuthUserInfo, p as parseState, r as refreshAccessToken, s as setTokenUtil, v as validateAuthorizationCode, b as validateToken } from '../shared/better-auth.CSEecXfV.mjs';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import '../shared/better-auth.DV5EHeYG.mjs';
|
|
4
4
|
import 'better-call';
|
|
@@ -14,14 +14,13 @@ import '../shared/better-auth.CuS_eDdK.mjs';
|
|
|
14
14
|
import '@better-auth/utils/binary';
|
|
15
15
|
import '@better-auth/utils/hash';
|
|
16
16
|
import '../crypto/index.mjs';
|
|
17
|
-
import '@noble/ciphers/chacha';
|
|
18
|
-
import '@noble/ciphers/utils';
|
|
19
|
-
import '@noble/ciphers/webcrypto';
|
|
17
|
+
import '@noble/ciphers/chacha.js';
|
|
18
|
+
import '@noble/ciphers/utils.js';
|
|
20
19
|
import 'jose';
|
|
21
|
-
import '@noble/hashes/scrypt';
|
|
20
|
+
import '@noble/hashes/scrypt.js';
|
|
22
21
|
import '@better-auth/utils';
|
|
23
22
|
import '@better-auth/utils/hex';
|
|
24
|
-
import '@noble/hashes/utils';
|
|
23
|
+
import '@noble/hashes/utils.js';
|
|
25
24
|
import '../shared/better-auth.B4Qoxdgc.mjs';
|
|
26
25
|
import '@better-auth/utils/random';
|
|
27
26
|
import '@better-fetch/fetch';
|