better-auth 1.4.0-beta.1 → 1.4.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/drizzle-adapter/index.d.cts +1 -1
- package/dist/adapters/drizzle-adapter/index.d.mts +1 -1
- package/dist/adapters/drizzle-adapter/index.d.ts +1 -1
- package/dist/adapters/index.d.cts +2 -2
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/index.d.ts +2 -2
- package/dist/adapters/kysely-adapter/index.d.cts +1 -1
- package/dist/adapters/kysely-adapter/index.d.mts +1 -1
- package/dist/adapters/kysely-adapter/index.d.ts +1 -1
- package/dist/adapters/memory-adapter/index.d.cts +1 -1
- package/dist/adapters/memory-adapter/index.d.mts +1 -1
- package/dist/adapters/memory-adapter/index.d.ts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.cts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.mts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.ts +1 -1
- package/dist/adapters/prisma-adapter/index.d.cts +1 -1
- package/dist/adapters/prisma-adapter/index.d.mts +1 -1
- package/dist/adapters/prisma-adapter/index.d.ts +1 -1
- package/dist/adapters/test.d.cts +1 -1
- package/dist/adapters/test.d.mts +1 -1
- package/dist/adapters/test.d.ts +1 -1
- package/dist/api/index.cjs +1 -1
- package/dist/api/index.d.cts +1 -1
- package/dist/api/index.d.mts +1 -1
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.mjs +2 -2
- package/dist/client/index.cjs +2 -2
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.mts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.mjs +2 -2
- package/dist/client/plugins/index.cjs +1 -4
- package/dist/client/plugins/index.d.cts +3 -5
- package/dist/client/plugins/index.d.mts +3 -5
- package/dist/client/plugins/index.d.ts +3 -5
- package/dist/client/plugins/index.mjs +1 -4
- package/dist/client/react/index.cjs +1 -1
- package/dist/client/react/index.d.cts +5 -5
- package/dist/client/react/index.d.mts +5 -5
- package/dist/client/react/index.d.ts +5 -5
- package/dist/client/react/index.mjs +1 -1
- package/dist/client/solid/index.cjs +1 -1
- package/dist/client/solid/index.d.cts +5 -5
- package/dist/client/solid/index.d.mts +5 -5
- package/dist/client/solid/index.d.ts +5 -5
- package/dist/client/solid/index.mjs +1 -1
- package/dist/client/svelte/index.cjs +1 -1
- package/dist/client/svelte/index.d.cts +5 -5
- package/dist/client/svelte/index.d.mts +5 -5
- package/dist/client/svelte/index.d.ts +5 -5
- package/dist/client/svelte/index.mjs +1 -1
- package/dist/client/vue/index.cjs +1 -1
- package/dist/client/vue/index.d.cts +5 -5
- package/dist/client/vue/index.d.mts +5 -5
- package/dist/client/vue/index.d.ts +5 -5
- package/dist/client/vue/index.mjs +1 -1
- package/dist/cookies/index.d.cts +1 -1
- package/dist/cookies/index.d.mts +1 -1
- package/dist/cookies/index.d.ts +1 -1
- package/dist/db/index.cjs +1 -1
- package/dist/db/index.d.cts +2 -2
- package/dist/db/index.d.mts +2 -2
- package/dist/db/index.d.ts +2 -2
- package/dist/db/index.mjs +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +3 -3
- package/dist/integrations/next-js.cjs +2 -2
- package/dist/integrations/next-js.d.cts +1 -1
- package/dist/integrations/next-js.d.mts +1 -1
- package/dist/integrations/next-js.d.ts +1 -1
- package/dist/integrations/next-js.mjs +2 -2
- package/dist/integrations/node.d.cts +1 -1
- package/dist/integrations/node.d.mts +1 -1
- package/dist/integrations/node.d.ts +1 -1
- package/dist/integrations/react-start.cjs +2 -2
- package/dist/integrations/react-start.d.cts +1 -1
- package/dist/integrations/react-start.d.mts +1 -1
- package/dist/integrations/react-start.d.ts +1 -1
- package/dist/integrations/react-start.mjs +2 -2
- package/dist/integrations/svelte-kit.cjs +1 -1
- package/dist/integrations/svelte-kit.d.cts +1 -1
- package/dist/integrations/svelte-kit.d.mts +1 -1
- package/dist/integrations/svelte-kit.d.ts +1 -1
- package/dist/integrations/svelte-kit.mjs +1 -1
- package/dist/oauth2/index.cjs +1 -1
- package/dist/oauth2/index.d.cts +2 -2
- package/dist/oauth2/index.d.mts +2 -2
- package/dist/oauth2/index.d.ts +2 -2
- package/dist/oauth2/index.mjs +1 -1
- package/dist/plugins/admin/index.cjs +2 -2
- package/dist/plugins/admin/index.d.cts +1 -1
- package/dist/plugins/admin/index.d.mts +1 -1
- package/dist/plugins/admin/index.d.ts +1 -1
- package/dist/plugins/admin/index.mjs +2 -2
- package/dist/plugins/anonymous/index.cjs +1 -1
- package/dist/plugins/anonymous/index.d.cts +1 -1
- package/dist/plugins/anonymous/index.d.mts +1 -1
- package/dist/plugins/anonymous/index.d.ts +1 -1
- package/dist/plugins/anonymous/index.mjs +1 -1
- package/dist/plugins/bearer/index.cjs +1 -1
- package/dist/plugins/bearer/index.d.cts +1 -1
- package/dist/plugins/bearer/index.d.mts +1 -1
- package/dist/plugins/bearer/index.d.ts +1 -1
- package/dist/plugins/bearer/index.mjs +1 -1
- package/dist/plugins/captcha/index.d.cts +1 -1
- package/dist/plugins/captcha/index.d.mts +1 -1
- package/dist/plugins/captcha/index.d.ts +1 -1
- package/dist/plugins/custom-session/index.cjs +1 -1
- package/dist/plugins/custom-session/index.d.cts +1 -1
- package/dist/plugins/custom-session/index.d.mts +1 -1
- package/dist/plugins/custom-session/index.d.ts +1 -1
- package/dist/plugins/custom-session/index.mjs +1 -1
- package/dist/plugins/device-authorization/index.d.cts +1 -1
- package/dist/plugins/device-authorization/index.d.mts +1 -1
- package/dist/plugins/device-authorization/index.d.ts +1 -1
- package/dist/plugins/email-otp/index.cjs +1 -1
- package/dist/plugins/email-otp/index.d.cts +1 -1
- package/dist/plugins/email-otp/index.d.mts +1 -1
- package/dist/plugins/email-otp/index.d.ts +1 -1
- package/dist/plugins/email-otp/index.mjs +1 -1
- package/dist/plugins/generic-oauth/index.cjs +1 -1
- package/dist/plugins/generic-oauth/index.d.cts +1 -1
- package/dist/plugins/generic-oauth/index.d.mts +1 -1
- package/dist/plugins/generic-oauth/index.d.ts +1 -1
- package/dist/plugins/generic-oauth/index.mjs +1 -1
- package/dist/plugins/haveibeenpwned/index.cjs +1 -1
- package/dist/plugins/haveibeenpwned/index.d.cts +1 -1
- package/dist/plugins/haveibeenpwned/index.d.mts +1 -1
- package/dist/plugins/haveibeenpwned/index.d.ts +1 -1
- package/dist/plugins/haveibeenpwned/index.mjs +1 -1
- package/dist/plugins/index.cjs +7 -6
- package/dist/plugins/index.d.cts +3 -3
- package/dist/plugins/index.d.mts +3 -3
- package/dist/plugins/index.d.ts +3 -3
- package/dist/plugins/index.mjs +8 -7
- package/dist/plugins/jwt/index.cjs +1 -1
- package/dist/plugins/jwt/index.d.cts +1 -1
- package/dist/plugins/jwt/index.d.mts +1 -1
- package/dist/plugins/jwt/index.d.ts +1 -1
- package/dist/plugins/jwt/index.mjs +1 -1
- package/dist/plugins/magic-link/index.cjs +1 -1
- package/dist/plugins/magic-link/index.mjs +1 -1
- package/dist/plugins/multi-session/index.cjs +1 -1
- package/dist/plugins/multi-session/index.d.cts +1 -1
- package/dist/plugins/multi-session/index.d.mts +1 -1
- package/dist/plugins/multi-session/index.d.ts +1 -1
- package/dist/plugins/multi-session/index.mjs +1 -1
- package/dist/plugins/oauth-proxy/index.cjs +1 -1
- package/dist/plugins/oauth-proxy/index.d.cts +1 -1
- package/dist/plugins/oauth-proxy/index.d.mts +1 -1
- package/dist/plugins/oauth-proxy/index.d.ts +1 -1
- package/dist/plugins/oauth-proxy/index.mjs +1 -1
- package/dist/plugins/oidc-provider/index.cjs +2 -2
- package/dist/plugins/oidc-provider/index.d.cts +1 -1
- package/dist/plugins/oidc-provider/index.d.mts +1 -1
- package/dist/plugins/oidc-provider/index.d.ts +1 -1
- package/dist/plugins/oidc-provider/index.mjs +2 -2
- package/dist/plugins/one-tap/index.cjs +1 -1
- package/dist/plugins/one-tap/index.mjs +1 -1
- package/dist/plugins/one-time-token/index.cjs +3 -3
- package/dist/plugins/one-time-token/index.d.cts +1 -1
- package/dist/plugins/one-time-token/index.d.mts +1 -1
- package/dist/plugins/one-time-token/index.d.ts +1 -1
- package/dist/plugins/one-time-token/index.mjs +3 -3
- package/dist/plugins/open-api/index.cjs +1 -1
- package/dist/plugins/open-api/index.d.cts +1 -1
- package/dist/plugins/open-api/index.d.mts +1 -1
- package/dist/plugins/open-api/index.d.ts +1 -1
- package/dist/plugins/open-api/index.mjs +1 -1
- package/dist/plugins/organization/index.cjs +3 -3
- package/dist/plugins/organization/index.d.cts +1 -1
- package/dist/plugins/organization/index.d.mts +1 -1
- package/dist/plugins/organization/index.d.ts +1 -1
- package/dist/plugins/organization/index.mjs +3 -3
- package/dist/plugins/passkey/index.cjs +4 -9
- package/dist/plugins/passkey/index.d.cts +3 -8
- package/dist/plugins/passkey/index.d.mts +3 -8
- package/dist/plugins/passkey/index.d.ts +3 -8
- package/dist/plugins/passkey/index.mjs +4 -9
- package/dist/plugins/phone-number/index.cjs +1 -1
- package/dist/plugins/phone-number/index.d.cts +1 -1
- package/dist/plugins/phone-number/index.d.mts +1 -1
- package/dist/plugins/phone-number/index.d.ts +1 -1
- package/dist/plugins/phone-number/index.mjs +1 -1
- package/dist/plugins/siwe/index.cjs +1 -1
- package/dist/plugins/siwe/index.d.cts +1 -1
- package/dist/plugins/siwe/index.d.mts +1 -1
- package/dist/plugins/siwe/index.d.ts +1 -1
- package/dist/plugins/siwe/index.mjs +1 -1
- package/dist/plugins/sso/index.cjs +1 -1
- package/dist/plugins/sso/index.d.cts +1 -1
- package/dist/plugins/sso/index.d.mts +1 -1
- package/dist/plugins/sso/index.d.ts +1 -1
- package/dist/plugins/sso/index.mjs +1 -1
- package/dist/plugins/two-factor/index.cjs +1 -1
- package/dist/plugins/two-factor/index.d.cts +1 -1
- package/dist/plugins/two-factor/index.d.mts +1 -1
- package/dist/plugins/two-factor/index.d.ts +1 -1
- package/dist/plugins/two-factor/index.mjs +1 -1
- package/dist/plugins/username/index.cjs +24 -3
- package/dist/plugins/username/index.d.cts +1 -1
- package/dist/plugins/username/index.d.mts +1 -1
- package/dist/plugins/username/index.d.ts +1 -1
- package/dist/plugins/username/index.mjs +24 -3
- package/dist/shared/{better-auth.DU-jrbrJ.mjs → better-auth.-8Mk4DBL.mjs} +1 -1
- package/dist/shared/{better-auth.CszjuPqX.cjs → better-auth.1YBeofpK.cjs} +2 -2
- package/dist/shared/{better-auth.C6XqSToF.mjs → better-auth.3naUdTMW.mjs} +1 -1
- package/dist/shared/{better-auth.Dp3TDU01.cjs → better-auth.B7A2AeSg.cjs} +2 -2
- package/dist/shared/{better-auth.C0eUWmDH.cjs → better-auth.BDdoXh_7.cjs} +6 -1
- package/dist/shared/{better-auth.CwXs-abq.d.ts → better-auth.BLORa3vY.d.ts} +1 -1
- package/dist/shared/{better-auth.BpnW3Y7U.d.ts → better-auth.BQv0wGSb.d.ts} +16 -12
- package/dist/shared/{better-auth.B3bZoclS.d.mts → better-auth.B_xbPKKL.d.mts} +16 -12
- package/dist/shared/{better-auth.DNOixpmw.d.mts → better-auth.Bbkp5JKM.d.mts} +1 -1
- package/dist/shared/{better-auth.4_1BfAo1.cjs → better-auth.BkcRiga0.cjs} +1 -1
- package/dist/shared/{better-auth.4EzI70WC.mjs → better-auth.C1TnI_Rz.mjs} +3 -1
- package/dist/shared/{better-auth.BIcpessK.d.cts → better-auth.CLmuULOM.d.cts} +16 -12
- package/dist/shared/{better-auth.DFFLg_0h.mjs → better-auth.CV6SLN2A.mjs} +1 -1
- package/dist/shared/{better-auth.BKhlUl4L.mjs → better-auth.CnD_hzZ_.mjs} +2 -2
- package/dist/shared/{better-auth.BK2FHZMq.d.mts → better-auth.CreeZQ__.d.mts} +1 -1
- package/dist/shared/{better-auth.B5_hCdeH.cjs → better-auth.CvVm_hFg.cjs} +1 -1
- package/dist/shared/{better-auth.BgUht1zc.cjs → better-auth.CveVqL58.cjs} +1 -1
- package/dist/shared/{better-auth.T_KylejJ.d.cts → better-auth.CxLMKBFr.d.cts} +1 -1
- package/dist/shared/{better-auth.BF7a6yeC.d.ts → better-auth.DBmu12iE.d.ts} +1 -1
- package/dist/shared/{better-auth.B_r2AcFE.cjs → better-auth.DIAGL28F.cjs} +1 -1
- package/dist/shared/{better-auth.PwYG2bh2.cjs → better-auth.DIPz2ymP.cjs} +3 -1
- package/dist/shared/{better-auth.SCAGFnmj.mjs → better-auth.DL8idXrv.mjs} +1 -1
- package/dist/shared/{better-auth.D2Ya06I8.mjs → better-auth.DWm9SJv0.mjs} +2 -2
- package/dist/shared/{better-auth.DFAe0eEY.d.mts → better-auth.DabBNJnG.d.mts} +1 -1
- package/dist/shared/{better-auth.Dfaw6tuq.d.cts → better-auth.DqKvGWll.d.cts} +1 -1
- package/dist/shared/{better-auth.C4cxDzG3.mjs → better-auth.DsRTWTq9.mjs} +6 -1
- package/dist/shared/{better-auth.CREk28fc.mjs → better-auth.Dx5-aWCB.mjs} +1 -1
- package/dist/shared/{better-auth.CT1UdMDg.d.ts → better-auth.XB1l7SdM.d.ts} +1 -1
- package/dist/shared/{better-auth.CVJiT-QN.mjs → better-auth.aytbwQG-.mjs} +31 -20
- package/dist/shared/{better-auth.BXsMSpax.cjs → better-auth.b3V1DCfW.cjs} +31 -20
- package/dist/shared/{better-auth.zNVyHBMf.d.cts → better-auth.gfiicitY.d.cts} +1 -1
- package/dist/shared/{better-auth.CTOuNmcf.cjs → better-auth.owJK4RTO.cjs} +1 -1
- package/dist/social-providers/index.cjs +1 -1
- package/dist/social-providers/index.mjs +1 -1
- package/dist/test-utils/index.cjs +6 -6
- package/dist/test-utils/index.d.cts +2 -2
- package/dist/test-utils/index.d.mts +2 -2
- package/dist/test-utils/index.d.ts +2 -2
- package/dist/test-utils/index.mjs +6 -6
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/plugins/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ export { adminAc, defaultAc, defaultRoles, defaultStatements, memberAc, ownerAc
|
|
|
3
3
|
export { TWO_FACTOR_ERROR_CODES, TwoFactorOptions, TwoFactorProvider, TwoFactorTable, UserWithTwoFactor, twoFactor, twoFactorClient } from './two-factor/index.js';
|
|
4
4
|
export { USERNAME_ERROR_CODES, UsernameOptions, username } from './username/index.js';
|
|
5
5
|
export { bearer } from './bearer/index.js';
|
|
6
|
-
import { G as GenericEndpointContext, B as BetterAuthOptions, d as AuthContext } from '../shared/better-auth.
|
|
7
|
-
export { z as AuthEndpoint, D as AuthMiddleware, v as AuthPluginSchema, n as BetterAuthPlugin, I as InferOptionSchema, p as InferPluginErrorCodes, y as createAuthEndpoint, x as createAuthMiddleware, w as optionsMiddleware } from '../shared/better-auth.
|
|
6
|
+
import { G as GenericEndpointContext, B as BetterAuthOptions, d as AuthContext } from '../shared/better-auth.BQv0wGSb.js';
|
|
7
|
+
export { z as AuthEndpoint, D as AuthMiddleware, v as AuthPluginSchema, n as BetterAuthPlugin, I as InferOptionSchema, p as InferPluginErrorCodes, y as createAuthEndpoint, x as createAuthMiddleware, w as optionsMiddleware } from '../shared/better-auth.BQv0wGSb.js';
|
|
8
8
|
export { H as HIDE_METADATA } from '../shared/better-auth.DEHJp1rk.js';
|
|
9
9
|
export { magicLink } from './magic-link/index.js';
|
|
10
10
|
export { PhoneNumberOptions, UserWithPhoneNumber, phoneNumber } from './phone-number/index.js';
|
|
@@ -21,7 +21,7 @@ export { OpenAPIOptions, Path, generator, openAPI } from './open-api/index.js';
|
|
|
21
21
|
import { OIDCOptions, OIDCMetadata, OAuthAccessToken } from './oidc-provider/index.js';
|
|
22
22
|
export { AuthorizationQuery, Client, CodeVerificationValue, TokenBody, getClient, getMetadata, oidcProvider } from './oidc-provider/index.js';
|
|
23
23
|
export { captcha } from './captcha/index.js';
|
|
24
|
-
export { A as API_KEY_TABLE_NAME, E as ERROR_CODES, a as apiKey, d as defaultKeyHasher } from '../shared/better-auth.
|
|
24
|
+
export { A as API_KEY_TABLE_NAME, E as ERROR_CODES, a as apiKey, d as defaultKeyHasher } from '../shared/better-auth.BLORa3vY.js';
|
|
25
25
|
export { HaveIBeenPwnedOptions, haveIBeenPwned } from './haveibeenpwned/index.js';
|
|
26
26
|
export { oneTimeToken } from './one-time-token/index.js';
|
|
27
27
|
import * as better_call from 'better-call';
|
package/dist/plugins/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { o as organization, p as parseRoles } from '../shared/better-auth.
|
|
1
|
+
export { o as organization, p as parseRoles } from '../shared/better-auth.aytbwQG-.mjs';
|
|
2
2
|
export { TWO_FACTOR_ERROR_CODES, twoFactor } from './two-factor/index.mjs';
|
|
3
3
|
export { USERNAME_ERROR_CODES, username } from './username/index.mjs';
|
|
4
4
|
export { bearer } from './bearer/index.mjs';
|
|
5
5
|
import { g as getSessionFromCtx, a as createAuthEndpoint, c as createAuthMiddleware } from '../shared/better-auth.CBY7cUGy.mjs';
|
|
6
6
|
export { o as optionsMiddleware } from '../shared/better-auth.CBY7cUGy.mjs';
|
|
7
|
-
export { H as HIDE_METADATA } from '../shared/better-auth.
|
|
7
|
+
export { H as HIDE_METADATA } from '../shared/better-auth.DsRTWTq9.mjs';
|
|
8
8
|
export { magicLink } from './magic-link/index.mjs';
|
|
9
9
|
export { phoneNumber } from './phone-number/index.mjs';
|
|
10
10
|
export { anonymous } from './anonymous/index.mjs';
|
|
11
|
-
export { a as admin } from '../shared/better-auth.
|
|
11
|
+
export { a as admin } from '../shared/better-auth.CV6SLN2A.mjs';
|
|
12
12
|
export { genericOAuth } from './generic-oauth/index.mjs';
|
|
13
13
|
export { jwt } from './jwt/index.mjs';
|
|
14
14
|
export { multiSession } from './multi-session/index.mjs';
|
|
@@ -17,10 +17,10 @@ export { oneTap } from './one-tap/index.mjs';
|
|
|
17
17
|
export { oAuthProxy } from './oauth-proxy/index.mjs';
|
|
18
18
|
export { customSession } from './custom-session/index.mjs';
|
|
19
19
|
export { openAPI } from './open-api/index.mjs';
|
|
20
|
-
import { o as oidcProvider, s as schema } from '../shared/better-auth.
|
|
21
|
-
export { g as getClient, a as getMetadata } from '../shared/better-auth.
|
|
20
|
+
import { o as oidcProvider, s as schema } from '../shared/better-auth.-8Mk4DBL.mjs';
|
|
21
|
+
export { g as getClient, a as getMetadata } from '../shared/better-auth.-8Mk4DBL.mjs';
|
|
22
22
|
export { captcha } from './captcha/index.mjs';
|
|
23
|
-
export { A as API_KEY_TABLE_NAME, E as ERROR_CODES, a as apiKey, d as defaultKeyHasher, o as oneTimeToken } from '../shared/better-auth.
|
|
23
|
+
export { A as API_KEY_TABLE_NAME, E as ERROR_CODES, a as apiKey, d as defaultKeyHasher, o as oneTimeToken } from '../shared/better-auth.DWm9SJv0.mjs';
|
|
24
24
|
export { haveIBeenPwned } from './haveibeenpwned/index.mjs';
|
|
25
25
|
import * as z from 'zod';
|
|
26
26
|
import { APIError } from 'better-call';
|
|
@@ -32,7 +32,7 @@ import { a as getBaseURL } from '../shared/better-auth.DxV4YGX3.mjs';
|
|
|
32
32
|
import '@better-auth/utils/binary';
|
|
33
33
|
import { p as parseSetCookieHeader } from '../shared/better-auth.fV_ra52g.mjs';
|
|
34
34
|
import '../shared/better-auth.Dlh8OCID.mjs';
|
|
35
|
-
import '../shared/better-auth.
|
|
35
|
+
import '../shared/better-auth.Dx5-aWCB.mjs';
|
|
36
36
|
import './organization/access/index.mjs';
|
|
37
37
|
import '@better-auth/utils/random';
|
|
38
38
|
import { createHash } from '@better-auth/utils/hash';
|
|
@@ -1004,6 +1004,7 @@ const mcp = (options) => {
|
|
|
1004
1004
|
return new Response(JSON.stringify(responseData), {
|
|
1005
1005
|
status: 201,
|
|
1006
1006
|
headers: {
|
|
1007
|
+
"Content-Type": "application/json",
|
|
1007
1008
|
"Cache-Control": "no-store",
|
|
1008
1009
|
Pragma: "no-cache"
|
|
1009
1010
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const sign = require('../../shared/better-auth.CMwM5enp.cjs');
|
|
4
4
|
const betterCall = require('better-call');
|
|
5
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.BDdoXh_7.cjs');
|
|
6
6
|
const session = require('../../shared/better-auth.CAcHGnwq.cjs');
|
|
7
7
|
const z = require('zod');
|
|
8
8
|
const index = require('../../shared/better-auth.ANpbi45u.cjs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { U as User, S as Session, I as InferOptionSchema, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.
|
|
3
|
+
import { U as User, S as Session, I as InferOptionSchema, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.CLmuULOM.cjs';
|
|
4
4
|
import * as jose from 'jose';
|
|
5
5
|
import { JWTPayload, JSONWebKeySet } from 'jose';
|
|
6
6
|
import { A as Awaitable } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { U as User, S as Session, I as InferOptionSchema, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.
|
|
3
|
+
import { U as User, S as Session, I as InferOptionSchema, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.B_xbPKKL.mjs';
|
|
4
4
|
import * as jose from 'jose';
|
|
5
5
|
import { JWTPayload, JSONWebKeySet } from 'jose';
|
|
6
6
|
import { A as Awaitable } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { U as User, S as Session, I as InferOptionSchema, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.
|
|
3
|
+
import { U as User, S as Session, I as InferOptionSchema, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.BQv0wGSb.js';
|
|
4
4
|
import * as jose from 'jose';
|
|
5
5
|
import { JWTPayload, JSONWebKeySet } from 'jose';
|
|
6
6
|
import { A as Awaitable } from '../../shared/better-auth.DTtXpZYr.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as getJwtToken, s as signJWT, a as getJwksAdapter, c as createJwk } from '../../shared/better-auth.DDuRjwGK.mjs';
|
|
2
2
|
export { b as generateExportedKeyPair } from '../../shared/better-auth.DDuRjwGK.mjs';
|
|
3
3
|
import { APIError } from 'better-call';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.DsRTWTq9.mjs';
|
|
5
5
|
import { c as createAuthMiddleware, a as createAuthEndpoint, s as sessionMiddleware } from '../../shared/better-auth.CBY7cUGy.mjs';
|
|
6
6
|
import * as z from 'zod';
|
|
7
7
|
import { B as BetterAuthError } from '../../shared/better-auth.DdzSJf-n.mjs';
|
|
@@ -13,7 +13,7 @@ require('@noble/hashes/scrypt.js');
|
|
|
13
13
|
require('@better-auth/utils/hex');
|
|
14
14
|
require('@noble/hashes/utils.js');
|
|
15
15
|
const random = require('../../shared/better-auth.CYeOI8C-.cjs');
|
|
16
|
-
const socialProviders_index = require('../../shared/better-auth.
|
|
16
|
+
const socialProviders_index = require('../../shared/better-auth.BDdoXh_7.cjs');
|
|
17
17
|
require('../../shared/better-auth.CX8orviF.cjs');
|
|
18
18
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
19
19
|
require('../../shared/better-auth.DTvRBuq4.cjs');
|
|
@@ -11,7 +11,7 @@ import '@noble/hashes/scrypt.js';
|
|
|
11
11
|
import '@better-auth/utils/hex';
|
|
12
12
|
import '@noble/hashes/utils.js';
|
|
13
13
|
import { g as generateRandomString } from '../../shared/better-auth.B4Qoxdgc.mjs';
|
|
14
|
-
import { o as originCheck } from '../../shared/better-auth.
|
|
14
|
+
import { o as originCheck } from '../../shared/better-auth.DsRTWTq9.mjs';
|
|
15
15
|
import '../../shared/better-auth.Dlh8OCID.mjs';
|
|
16
16
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
17
17
|
import '../../shared/better-auth.C4g12FAA.mjs';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const z = require('zod');
|
|
4
4
|
const betterCall = require('better-call');
|
|
5
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.BDdoXh_7.cjs');
|
|
6
6
|
const session = require('../../shared/better-auth.CAcHGnwq.cjs');
|
|
7
7
|
const cookies_index = require('../../shared/better-auth.CXM9s0dx.cjs');
|
|
8
8
|
require('../../shared/better-auth.CX8orviF.cjs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { S as Session, U as User, H as HookEndpointContext } from '../../shared/better-auth.
|
|
3
|
+
import { S as Session, U as User, H as HookEndpointContext } from '../../shared/better-auth.CLmuULOM.cjs';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.7zTmTxT4.cjs';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { S as Session, U as User, H as HookEndpointContext } from '../../shared/better-auth.
|
|
3
|
+
import { S as Session, U as User, H as HookEndpointContext } from '../../shared/better-auth.B_xbPKKL.mjs';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.BHPr8J54.mjs';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { S as Session, U as User, H as HookEndpointContext } from '../../shared/better-auth.
|
|
3
|
+
import { S as Session, U as User, H as HookEndpointContext } from '../../shared/better-auth.BQv0wGSb.js';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.C6qXK08w.js';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
import { APIError } from 'better-call';
|
|
3
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.DsRTWTq9.mjs';
|
|
4
4
|
import { c as createAuthMiddleware, a as createAuthEndpoint, s as sessionMiddleware } from '../../shared/better-auth.CBY7cUGy.mjs';
|
|
5
5
|
import { p as parseSetCookieHeader, a as parseCookies, s as setSessionCookie, d as deleteSessionCookie } from '../../shared/better-auth.fV_ra52g.mjs';
|
|
6
6
|
import '../../shared/better-auth.Dlh8OCID.mjs';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const z = require('zod');
|
|
4
4
|
require('better-call');
|
|
5
|
-
const socialProviders_index = require('../../shared/better-auth.
|
|
5
|
+
const socialProviders_index = require('../../shared/better-auth.BDdoXh_7.cjs');
|
|
6
6
|
const session = require('../../shared/better-auth.CAcHGnwq.cjs');
|
|
7
7
|
const env = require('../../shared/better-auth.B6fIklBU.cjs');
|
|
8
8
|
require('@better-auth/utils/base64');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as HookEndpointContext, d as AuthContext } from '../../shared/better-auth.
|
|
1
|
+
import { H as HookEndpointContext, d as AuthContext } from '../../shared/better-auth.CLmuULOM.cjs';
|
|
2
2
|
import * as better_call from 'better-call';
|
|
3
3
|
import * as z from 'zod';
|
|
4
4
|
import 'kysely';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as HookEndpointContext, d as AuthContext } from '../../shared/better-auth.
|
|
1
|
+
import { H as HookEndpointContext, d as AuthContext } from '../../shared/better-auth.B_xbPKKL.mjs';
|
|
2
2
|
import * as better_call from 'better-call';
|
|
3
3
|
import * as z from 'zod';
|
|
4
4
|
import 'kysely';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as HookEndpointContext, d as AuthContext } from '../../shared/better-auth.
|
|
1
|
+
import { H as HookEndpointContext, d as AuthContext } from '../../shared/better-auth.BQv0wGSb.js';
|
|
2
2
|
import * as better_call from 'better-call';
|
|
3
3
|
import * as z from 'zod';
|
|
4
4
|
import 'kysely';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
import 'better-call';
|
|
3
|
-
import { o as originCheck } from '../../shared/better-auth.
|
|
3
|
+
import { o as originCheck } from '../../shared/better-auth.DsRTWTq9.mjs';
|
|
4
4
|
import { c as createAuthMiddleware, a as createAuthEndpoint } from '../../shared/better-auth.CBY7cUGy.mjs';
|
|
5
5
|
import { e as env } from '../../shared/better-auth.CiuwFiHM.mjs';
|
|
6
6
|
import '@better-auth/utils/base64';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
require('zod');
|
|
4
4
|
require('jose');
|
|
5
5
|
require('better-call');
|
|
6
|
-
require('../../shared/better-auth.
|
|
6
|
+
require('../../shared/better-auth.BDdoXh_7.cjs');
|
|
7
7
|
require('../../shared/better-auth.CAcHGnwq.cjs');
|
|
8
8
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
9
9
|
require('@better-auth/utils/base64');
|
|
@@ -13,7 +13,7 @@ require('@better-auth/utils/binary');
|
|
|
13
13
|
require('../../shared/better-auth.CXM9s0dx.cjs');
|
|
14
14
|
require('../../shared/better-auth.CX8orviF.cjs');
|
|
15
15
|
require('../../crypto/index.cjs');
|
|
16
|
-
const plugins_oidcProvider_index = require('../../shared/better-auth.
|
|
16
|
+
const plugins_oidcProvider_index = require('../../shared/better-auth.DIAGL28F.cjs');
|
|
17
17
|
require('@better-auth/utils/hash');
|
|
18
18
|
require('../../shared/better-auth.CMwM5enp.cjs');
|
|
19
19
|
require('@better-auth/utils/random');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { U as User, I as InferOptionSchema, G as GenericEndpointContext } from '../../shared/better-auth.
|
|
3
|
+
import { U as User, I as InferOptionSchema, G as GenericEndpointContext } from '../../shared/better-auth.CLmuULOM.cjs';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.7zTmTxT4.cjs';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { U as User, I as InferOptionSchema, G as GenericEndpointContext } from '../../shared/better-auth.
|
|
3
|
+
import { U as User, I as InferOptionSchema, G as GenericEndpointContext } from '../../shared/better-auth.B_xbPKKL.mjs';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.BHPr8J54.mjs';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { U as User, I as InferOptionSchema, G as GenericEndpointContext } from '../../shared/better-auth.
|
|
3
|
+
import { U as User, I as InferOptionSchema, G as GenericEndpointContext } from '../../shared/better-auth.BQv0wGSb.js';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.C6qXK08w.js';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'zod';
|
|
2
2
|
import 'jose';
|
|
3
3
|
import 'better-call';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.DsRTWTq9.mjs';
|
|
5
5
|
import '../../shared/better-auth.CBY7cUGy.mjs';
|
|
6
6
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
7
7
|
import '@better-auth/utils/base64';
|
|
@@ -11,7 +11,7 @@ import '@better-auth/utils/binary';
|
|
|
11
11
|
import '../../shared/better-auth.fV_ra52g.mjs';
|
|
12
12
|
import '../../shared/better-auth.Dlh8OCID.mjs';
|
|
13
13
|
import '../../crypto/index.mjs';
|
|
14
|
-
export { g as getClient, a as getMetadata, o as oidcProvider } from '../../shared/better-auth.
|
|
14
|
+
export { g as getClient, a as getMetadata, o as oidcProvider } from '../../shared/better-auth.-8Mk4DBL.mjs';
|
|
15
15
|
import '@better-auth/utils/hash';
|
|
16
16
|
import '../../shared/better-auth.DDuRjwGK.mjs';
|
|
17
17
|
import '@better-auth/utils/random';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const z = require('zod');
|
|
4
4
|
const betterCall = require('better-call');
|
|
5
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.BDdoXh_7.cjs');
|
|
6
6
|
const session = require('../../shared/better-auth.CAcHGnwq.cjs');
|
|
7
7
|
const cookies_index = require('../../shared/better-auth.CXM9s0dx.cjs');
|
|
8
8
|
require('../../shared/better-auth.CX8orviF.cjs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
import { APIError } from 'better-call';
|
|
3
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.DsRTWTq9.mjs';
|
|
4
4
|
import { a as createAuthEndpoint } from '../../shared/better-auth.CBY7cUGy.mjs';
|
|
5
5
|
import { s as setSessionCookie } from '../../shared/better-auth.fV_ra52g.mjs';
|
|
6
6
|
import '../../shared/better-auth.Dlh8OCID.mjs';
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
require('zod');
|
|
4
4
|
require('better-call');
|
|
5
5
|
require('../../shared/better-auth.CAcHGnwq.cjs');
|
|
6
|
-
require('../../shared/better-auth.
|
|
6
|
+
require('../../shared/better-auth.BDdoXh_7.cjs');
|
|
7
7
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
8
8
|
require('@better-auth/utils/base64');
|
|
9
9
|
require('@better-auth/utils/hmac');
|
|
10
10
|
require('../../shared/better-auth.DTvRBuq4.cjs');
|
|
11
11
|
require('@better-auth/utils/binary');
|
|
12
12
|
require('../../shared/better-auth.CX8orviF.cjs');
|
|
13
|
-
require('../../shared/better-auth.
|
|
13
|
+
require('../../shared/better-auth.CveVqL58.cjs');
|
|
14
14
|
require('../organization/access/index.cjs');
|
|
15
15
|
require('@better-auth/utils/random');
|
|
16
16
|
require('@better-auth/utils/hash');
|
|
@@ -27,7 +27,7 @@ require('../admin/access/index.cjs');
|
|
|
27
27
|
require('@better-fetch/fetch');
|
|
28
28
|
require('@better-auth/utils');
|
|
29
29
|
require('../custom-session/index.cjs');
|
|
30
|
-
const plugins_oneTimeToken_index = require('../../shared/better-auth.
|
|
30
|
+
const plugins_oneTimeToken_index = require('../../shared/better-auth.1YBeofpK.cjs');
|
|
31
31
|
require('@noble/hashes/sha3.js');
|
|
32
32
|
require('../device-authorization/index.cjs');
|
|
33
33
|
require('../../shared/better-auth.C1hdVENX.cjs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { U as User, S as Session, G as GenericEndpointContext } from '../../shared/better-auth.
|
|
3
|
+
import { U as User, S as Session, G as GenericEndpointContext } from '../../shared/better-auth.CLmuULOM.cjs';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.7zTmTxT4.cjs';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { U as User, S as Session, G as GenericEndpointContext } from '../../shared/better-auth.
|
|
3
|
+
import { U as User, S as Session, G as GenericEndpointContext } from '../../shared/better-auth.B_xbPKKL.mjs';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.BHPr8J54.mjs';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { U as User, S as Session, G as GenericEndpointContext } from '../../shared/better-auth.
|
|
3
|
+
import { U as User, S as Session, G as GenericEndpointContext } from '../../shared/better-auth.BQv0wGSb.js';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.C6qXK08w.js';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import 'zod';
|
|
2
2
|
import 'better-call';
|
|
3
3
|
import '../../shared/better-auth.CBY7cUGy.mjs';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.DsRTWTq9.mjs';
|
|
5
5
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
6
6
|
import '@better-auth/utils/base64';
|
|
7
7
|
import '@better-auth/utils/hmac';
|
|
8
8
|
import '../../shared/better-auth.C4g12FAA.mjs';
|
|
9
9
|
import '@better-auth/utils/binary';
|
|
10
10
|
import '../../shared/better-auth.Dlh8OCID.mjs';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.Dx5-aWCB.mjs';
|
|
12
12
|
import '../organization/access/index.mjs';
|
|
13
13
|
import '@better-auth/utils/random';
|
|
14
14
|
import '@better-auth/utils/hash';
|
|
@@ -25,7 +25,7 @@ import '../admin/access/index.mjs';
|
|
|
25
25
|
import '@better-fetch/fetch';
|
|
26
26
|
import '@better-auth/utils';
|
|
27
27
|
import '../custom-session/index.mjs';
|
|
28
|
-
export { o as oneTimeToken } from '../../shared/better-auth.
|
|
28
|
+
export { o as oneTimeToken } from '../../shared/better-auth.DWm9SJv0.mjs';
|
|
29
29
|
import '@noble/hashes/sha3.js';
|
|
30
30
|
import '../device-authorization/index.mjs';
|
|
31
31
|
import '../../shared/better-auth.CW6D9eSx.mjs';
|
|
@@ -18,7 +18,7 @@ require('@noble/hashes/utils.js');
|
|
|
18
18
|
require('../../shared/better-auth.CYeOI8C-.cjs');
|
|
19
19
|
const getTables = require('../../shared/better-auth.DF_1VOmo.cjs');
|
|
20
20
|
require('kysely');
|
|
21
|
-
require('../../shared/better-auth.
|
|
21
|
+
require('../../shared/better-auth.BDdoXh_7.cjs');
|
|
22
22
|
const session = require('../../shared/better-auth.CAcHGnwq.cjs');
|
|
23
23
|
require('@better-auth/utils/hmac');
|
|
24
24
|
require('@better-auth/utils/binary');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import { OpenAPIParameter, OpenAPISchemaType } from 'better-call';
|
|
3
|
-
import { d as AuthContext, B as BetterAuthOptions, E as FieldType, J as FieldAttributeConfig } from '../../shared/better-auth.
|
|
3
|
+
import { d as AuthContext, B as BetterAuthOptions, E as FieldType, J as FieldAttributeConfig } from '../../shared/better-auth.CLmuULOM.cjs';
|
|
4
4
|
import { L as LiteralString } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import '../../shared/better-auth.7zTmTxT4.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import { OpenAPIParameter, OpenAPISchemaType } from 'better-call';
|
|
3
|
-
import { d as AuthContext, B as BetterAuthOptions, E as FieldType, J as FieldAttributeConfig } from '../../shared/better-auth.
|
|
3
|
+
import { d as AuthContext, B as BetterAuthOptions, E as FieldType, J as FieldAttributeConfig } from '../../shared/better-auth.B_xbPKKL.mjs';
|
|
4
4
|
import { L as LiteralString } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import '../../shared/better-auth.BHPr8J54.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import { OpenAPIParameter, OpenAPISchemaType } from 'better-call';
|
|
3
|
-
import { d as AuthContext, B as BetterAuthOptions, E as FieldType, J as FieldAttributeConfig } from '../../shared/better-auth.
|
|
3
|
+
import { d as AuthContext, B as BetterAuthOptions, E as FieldType, J as FieldAttributeConfig } from '../../shared/better-auth.BQv0wGSb.js';
|
|
4
4
|
import { L as LiteralString } from '../../shared/better-auth.DTtXpZYr.js';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import '../../shared/better-auth.C6qXK08w.js';
|
|
@@ -16,7 +16,7 @@ import '@noble/hashes/utils.js';
|
|
|
16
16
|
import '../../shared/better-auth.B4Qoxdgc.mjs';
|
|
17
17
|
import { g as getAuthTables } from '../../shared/better-auth.Cjw1GDsh.mjs';
|
|
18
18
|
import 'kysely';
|
|
19
|
-
import '../../shared/better-auth.
|
|
19
|
+
import '../../shared/better-auth.DsRTWTq9.mjs';
|
|
20
20
|
import { a as createAuthEndpoint } from '../../shared/better-auth.CBY7cUGy.mjs';
|
|
21
21
|
import '@better-auth/utils/hmac';
|
|
22
22
|
import '@better-auth/utils/binary';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const organization = require('../../shared/better-auth.
|
|
3
|
+
const organization = require('../../shared/better-auth.b3V1DCfW.cjs');
|
|
4
4
|
require('better-call');
|
|
5
5
|
require('zod');
|
|
6
6
|
require('../../shared/better-auth.CAcHGnwq.cjs');
|
|
@@ -14,7 +14,7 @@ require('../../shared/better-auth.DgMx7bVs.cjs');
|
|
|
14
14
|
require('../../shared/better-auth.DTvRBuq4.cjs');
|
|
15
15
|
require('../../shared/better-auth.DRmln2Nr.cjs');
|
|
16
16
|
require('@better-auth/utils/binary');
|
|
17
|
-
require('../../shared/better-auth.
|
|
17
|
+
require('../../shared/better-auth.BDdoXh_7.cjs');
|
|
18
18
|
require('@better-auth/utils/hash');
|
|
19
19
|
require('../../crypto/index.cjs');
|
|
20
20
|
require('@noble/ciphers/chacha.js');
|
|
@@ -31,7 +31,7 @@ require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
|
31
31
|
require('../../shared/better-auth.CX8orviF.cjs');
|
|
32
32
|
require('defu');
|
|
33
33
|
require('../../shared/better-auth.DhsGZ30Q.cjs');
|
|
34
|
-
require('../../shared/better-auth.
|
|
34
|
+
require('../../shared/better-auth.CveVqL58.cjs');
|
|
35
35
|
require('./access/index.cjs');
|
|
36
36
|
require('../access/index.cjs');
|
|
37
37
|
require('../../shared/better-auth.CqRypKVa.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { U as User, S as Session, d as AuthContext, L as FieldAttribute, X as InferAdditionalFieldsFromPluginOptions, G as GenericEndpointContext } from '../../shared/better-auth.
|
|
2
|
+
import { U as User, S as Session, d as AuthContext, L as FieldAttribute, X as InferAdditionalFieldsFromPluginOptions, G as GenericEndpointContext } from '../../shared/better-auth.CLmuULOM.cjs';
|
|
3
3
|
import { AccessControl, Role, Subset, Statements } from '../access/index.cjs';
|
|
4
4
|
import * as better_call from 'better-call';
|
|
5
5
|
import { Prettify } from 'better-call';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { U as User, S as Session, d as AuthContext, L as FieldAttribute, X as InferAdditionalFieldsFromPluginOptions, G as GenericEndpointContext } from '../../shared/better-auth.
|
|
2
|
+
import { U as User, S as Session, d as AuthContext, L as FieldAttribute, X as InferAdditionalFieldsFromPluginOptions, G as GenericEndpointContext } from '../../shared/better-auth.B_xbPKKL.mjs';
|
|
3
3
|
import { AccessControl, Role, Subset, Statements } from '../access/index.mjs';
|
|
4
4
|
import * as better_call from 'better-call';
|
|
5
5
|
import { Prettify } from 'better-call';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { U as User, S as Session, d as AuthContext, L as FieldAttribute, X as InferAdditionalFieldsFromPluginOptions, G as GenericEndpointContext } from '../../shared/better-auth.
|
|
2
|
+
import { U as User, S as Session, d as AuthContext, L as FieldAttribute, X as InferAdditionalFieldsFromPluginOptions, G as GenericEndpointContext } from '../../shared/better-auth.BQv0wGSb.js';
|
|
3
3
|
import { AccessControl, Role, Subset, Statements } from '../access/index.js';
|
|
4
4
|
import * as better_call from 'better-call';
|
|
5
5
|
import { Prettify } from 'better-call';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { o as organization, p as parseRoles } from '../../shared/better-auth.
|
|
1
|
+
export { o as organization, p as parseRoles } from '../../shared/better-auth.aytbwQG-.mjs';
|
|
2
2
|
import 'better-call';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../shared/better-auth.CBY7cUGy.mjs';
|
|
@@ -12,7 +12,7 @@ import '../../shared/better-auth.CvNZNAOW.mjs';
|
|
|
12
12
|
import '../../shared/better-auth.C4g12FAA.mjs';
|
|
13
13
|
import '../../shared/better-auth.DxV4YGX3.mjs';
|
|
14
14
|
import '@better-auth/utils/binary';
|
|
15
|
-
import '../../shared/better-auth.
|
|
15
|
+
import '../../shared/better-auth.DsRTWTq9.mjs';
|
|
16
16
|
import '@better-auth/utils/hash';
|
|
17
17
|
import '../../crypto/index.mjs';
|
|
18
18
|
import '@noble/ciphers/chacha.js';
|
|
@@ -29,7 +29,7 @@ import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
|
29
29
|
import '../../shared/better-auth.Dlh8OCID.mjs';
|
|
30
30
|
import 'defu';
|
|
31
31
|
import '../../shared/better-auth.ffWeg50w.mjs';
|
|
32
|
-
import '../../shared/better-auth.
|
|
32
|
+
import '../../shared/better-auth.Dx5-aWCB.mjs';
|
|
33
33
|
import './access/index.mjs';
|
|
34
34
|
import '../access/index.mjs';
|
|
35
35
|
import '../../shared/better-auth.DaEBQJp_.mjs';
|
|
@@ -5,7 +5,7 @@ const betterCall = require('better-call');
|
|
|
5
5
|
const random = require('../../shared/better-auth.CYeOI8C-.cjs');
|
|
6
6
|
const z = require('zod');
|
|
7
7
|
const session = require('../../shared/better-auth.CAcHGnwq.cjs');
|
|
8
|
-
require('../../shared/better-auth.
|
|
8
|
+
require('../../shared/better-auth.BDdoXh_7.cjs');
|
|
9
9
|
const cookies_index = require('../../shared/better-auth.CXM9s0dx.cjs');
|
|
10
10
|
const schema$1 = require('../../shared/better-auth.CX8orviF.cjs');
|
|
11
11
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
@@ -93,13 +93,13 @@ const passkey = (options) => {
|
|
|
93
93
|
parameters: {
|
|
94
94
|
query: {
|
|
95
95
|
authenticatorAttachment: {
|
|
96
|
-
description: `Type of authenticator to use for registration.
|
|
97
|
-
"platform" for device-specific authenticators,
|
|
96
|
+
description: `Type of authenticator to use for registration.
|
|
97
|
+
"platform" for device-specific authenticators,
|
|
98
98
|
"cross-platform" for authenticators that can be used across devices.`,
|
|
99
99
|
required: false
|
|
100
100
|
},
|
|
101
101
|
name: {
|
|
102
|
-
description: `Optional custom name for the passkey.
|
|
102
|
+
description: `Optional custom name for the passkey.
|
|
103
103
|
This can help identify the passkey when managing multiple credentials.`,
|
|
104
104
|
required: false
|
|
105
105
|
}
|
|
@@ -276,11 +276,6 @@ const passkey = (options) => {
|
|
|
276
276
|
"/passkey/generate-authenticate-options",
|
|
277
277
|
{
|
|
278
278
|
method: "POST",
|
|
279
|
-
body: z__namespace.object({
|
|
280
|
-
email: z__namespace.string().meta({
|
|
281
|
-
description: "The email address of the user"
|
|
282
|
-
}).optional()
|
|
283
|
-
}).optional(),
|
|
284
279
|
metadata: {
|
|
285
280
|
openapi: {
|
|
286
281
|
description: "Generate authentication options for a passkey",
|
|
@@ -2,7 +2,7 @@ import * as _simplewebauthn_server from '@simplewebauthn/server';
|
|
|
2
2
|
import { CredentialDeviceType, PublicKeyCredentialCreationOptionsJSON, AuthenticationResponseJSON } from '@simplewebauthn/server';
|
|
3
3
|
import * as better_call from 'better-call';
|
|
4
4
|
import * as z from 'zod';
|
|
5
|
-
import { I as InferOptionSchema } from '../../shared/better-auth.
|
|
5
|
+
import { I as InferOptionSchema } from '../../shared/better-auth.CLmuULOM.cjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import '../../shared/better-auth.7zTmTxT4.cjs';
|
|
8
8
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
@@ -33,7 +33,7 @@ interface PasskeyOptions {
|
|
|
33
33
|
* if this isn't provided. The client itself will
|
|
34
34
|
* pass this value.
|
|
35
35
|
*/
|
|
36
|
-
origin?: string | null;
|
|
36
|
+
origin?: string | string[] | null;
|
|
37
37
|
/**
|
|
38
38
|
* Allow customization of the authenticatorSelection options
|
|
39
39
|
* during passkey registration.
|
|
@@ -250,9 +250,7 @@ declare const passkey: (options?: PasskeyOptions) => {
|
|
|
250
250
|
};
|
|
251
251
|
generatePasskeyAuthenticationOptions: {
|
|
252
252
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0?: ({
|
|
253
|
-
body?:
|
|
254
|
-
email?: string | undefined;
|
|
255
|
-
} | undefined;
|
|
253
|
+
body?: undefined;
|
|
256
254
|
} & {
|
|
257
255
|
method?: "POST" | undefined;
|
|
258
256
|
} & {
|
|
@@ -277,9 +275,6 @@ declare const passkey: (options?: PasskeyOptions) => {
|
|
|
277
275
|
} : _simplewebauthn_server.PublicKeyCredentialRequestOptionsJSON>;
|
|
278
276
|
options: {
|
|
279
277
|
method: "POST";
|
|
280
|
-
body: z.ZodOptional<z.ZodObject<{
|
|
281
|
-
email: z.ZodOptional<z.ZodString>;
|
|
282
|
-
}, z.core.$strip>>;
|
|
283
278
|
metadata: {
|
|
284
279
|
openapi: {
|
|
285
280
|
description: string;
|