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
|
@@ -1,5 +1,5 @@
|
|
|
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.BQv0wGSb.js';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import '../shared/better-auth.C6qXK08w.js';
|
|
5
5
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
@@ -7,9 +7,9 @@ import { p as parseSetCookieHeader } from '../shared/better-auth.fV_ra52g.mjs';
|
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import { c as createAuthMiddleware } from '../shared/better-auth.CBY7cUGy.mjs';
|
|
10
|
-
import '../shared/better-auth.
|
|
10
|
+
import '../shared/better-auth.DsRTWTq9.mjs';
|
|
11
11
|
import '../shared/better-auth.Dlh8OCID.mjs';
|
|
12
|
-
import '../shared/better-auth.
|
|
12
|
+
import '../shared/better-auth.Dx5-aWCB.mjs';
|
|
13
13
|
import '../plugins/organization/access/index.mjs';
|
|
14
14
|
import '@better-auth/utils/random';
|
|
15
15
|
import '@better-auth/utils/hash';
|
|
@@ -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.BDdoXh_7.cjs');
|
|
5
5
|
const session = require('../shared/better-auth.CAcHGnwq.cjs');
|
|
6
6
|
require('zod');
|
|
7
7
|
require('../shared/better-auth.B6fIklBU.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
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.CLmuULOM.cjs';
|
|
3
3
|
import { RequestEvent } from '@sveltejs/kit';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../shared/better-auth.7zTmTxT4.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
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.B_xbPKKL.mjs';
|
|
3
3
|
import { RequestEvent } from '@sveltejs/kit';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../shared/better-auth.BHPr8J54.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
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.BQv0wGSb.js';
|
|
3
3
|
import { RequestEvent } from '@sveltejs/kit';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../shared/better-auth.C6qXK08w.js';
|
package/dist/oauth2/index.cjs
CHANGED
package/dist/oauth2/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.7zTmTxT4.cjs';
|
|
2
2
|
export { a as OAuth2UserInfo, b as OAuthProvider } from '../shared/better-auth.7zTmTxT4.cjs';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
|
-
import { d as AuthContext, G as GenericEndpointContext, U as User, af as Account } from '../shared/better-auth.
|
|
5
|
-
export { g as generateState, p as parseState } from '../shared/better-auth.
|
|
4
|
+
import { d as AuthContext, G as GenericEndpointContext, U as User, af as Account } from '../shared/better-auth.CLmuULOM.cjs';
|
|
5
|
+
export { g as generateState, p as parseState } from '../shared/better-auth.CxLMKBFr.cjs';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import 'kysely';
|
package/dist/oauth2/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.BHPr8J54.mjs';
|
|
2
2
|
export { a as OAuth2UserInfo, b as OAuthProvider } from '../shared/better-auth.BHPr8J54.mjs';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
|
-
import { d as AuthContext, G as GenericEndpointContext, U as User, af as Account } from '../shared/better-auth.
|
|
5
|
-
export { g as generateState, p as parseState } from '../shared/better-auth.
|
|
4
|
+
import { d as AuthContext, G as GenericEndpointContext, U as User, af as Account } from '../shared/better-auth.B_xbPKKL.mjs';
|
|
5
|
+
export { g as generateState, p as parseState } from '../shared/better-auth.CreeZQ__.mjs';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import 'kysely';
|
package/dist/oauth2/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.C6qXK08w.js';
|
|
2
2
|
export { a as OAuth2UserInfo, b as OAuthProvider } from '../shared/better-auth.C6qXK08w.js';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
|
-
import { d as AuthContext, G as GenericEndpointContext, U as User, af as Account } from '../shared/better-auth.
|
|
5
|
-
export { g as generateState, p as parseState } from '../shared/better-auth.
|
|
4
|
+
import { d as AuthContext, G as GenericEndpointContext, U as User, af as Account } from '../shared/better-auth.BQv0wGSb.js';
|
|
5
|
+
export { g as generateState, p as parseState } from '../shared/better-auth.XB1l7SdM.js';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
7
7
|
import 'zod';
|
|
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.DsRTWTq9.mjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import '../shared/better-auth.CBY7cUGy.mjs';
|
|
4
4
|
import 'better-call';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const admin = require('../../shared/better-auth.
|
|
3
|
+
const admin = require('../../shared/better-auth.owJK4RTO.cjs');
|
|
4
4
|
require('zod');
|
|
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.C1hdVENX.cjs');
|
|
9
9
|
require('../../shared/better-auth.CXM9s0dx.cjs');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AccessControl, Role, Statements } from '../access/index.cjs';
|
|
2
2
|
import * as better_call from 'better-call';
|
|
3
3
|
import * as z from 'zod';
|
|
4
|
-
import { I as InferOptionSchema, S as Session, U as User, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.
|
|
4
|
+
import { I as InferOptionSchema, S as Session, U as User, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.CLmuULOM.cjs';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import '../../shared/better-auth.7zTmTxT4.cjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AccessControl, Role, Statements } from '../access/index.mjs';
|
|
2
2
|
import * as better_call from 'better-call';
|
|
3
3
|
import * as z from 'zod';
|
|
4
|
-
import { I as InferOptionSchema, S as Session, U as User, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.
|
|
4
|
+
import { I as InferOptionSchema, S as Session, U as User, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.B_xbPKKL.mjs';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import '../../shared/better-auth.BHPr8J54.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AccessControl, Role, Statements } from '../access/index.js';
|
|
2
2
|
import * as better_call from 'better-call';
|
|
3
3
|
import * as z from 'zod';
|
|
4
|
-
import { I as InferOptionSchema, S as Session, U as User, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.
|
|
4
|
+
import { I as InferOptionSchema, S as Session, U as User, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.BQv0wGSb.js';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import '../../shared/better-auth.C6qXK08w.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { a as admin } from '../../shared/better-auth.
|
|
1
|
+
export { a as admin } from '../../shared/better-auth.CV6SLN2A.mjs';
|
|
2
2
|
import 'zod';
|
|
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.CW6D9eSx.mjs';
|
|
7
7
|
import '../../shared/better-auth.fV_ra52g.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const betterCall = require('better-call');
|
|
4
|
-
require('../../shared/better-auth.
|
|
4
|
+
require('../../shared/better-auth.BDdoXh_7.cjs');
|
|
5
5
|
const session = require('../../shared/better-auth.CAcHGnwq.cjs');
|
|
6
6
|
require('zod');
|
|
7
7
|
const cookies_index = require('../../shared/better-auth.CXM9s0dx.cjs');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as User, S as Session, d as AuthContext, I as InferOptionSchema, H as HookEndpointContext } from '../../shared/better-auth.
|
|
1
|
+
import { U as User, S as Session, d as AuthContext, I as InferOptionSchema, H as HookEndpointContext } from '../../shared/better-auth.CLmuULOM.cjs';
|
|
2
2
|
import * as better_call from 'better-call';
|
|
3
3
|
import { EndpointContext } from 'better-call';
|
|
4
4
|
import 'kysely';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as User, S as Session, d as AuthContext, I as InferOptionSchema, H as HookEndpointContext } from '../../shared/better-auth.
|
|
1
|
+
import { U as User, S as Session, d as AuthContext, I as InferOptionSchema, H as HookEndpointContext } from '../../shared/better-auth.B_xbPKKL.mjs';
|
|
2
2
|
import * as better_call from 'better-call';
|
|
3
3
|
import { EndpointContext } from 'better-call';
|
|
4
4
|
import 'kysely';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as User, S as Session, d as AuthContext, I as InferOptionSchema, H as HookEndpointContext } from '../../shared/better-auth.
|
|
1
|
+
import { U as User, S as Session, d as AuthContext, I as InferOptionSchema, H as HookEndpointContext } from '../../shared/better-auth.BQv0wGSb.js';
|
|
2
2
|
import * as better_call from 'better-call';
|
|
3
3
|
import { EndpointContext } from 'better-call';
|
|
4
4
|
import 'kysely';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { APIError } from 'better-call';
|
|
2
|
-
import '../../shared/better-auth.
|
|
2
|
+
import '../../shared/better-auth.DsRTWTq9.mjs';
|
|
3
3
|
import { c as createAuthMiddleware, a as createAuthEndpoint, g as getSessionFromCtx } from '../../shared/better-auth.CBY7cUGy.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import { p as parseSetCookieHeader, s as setSessionCookie } from '../../shared/better-auth.fV_ra52g.mjs';
|
|
@@ -7,7 +7,7 @@ const hmac = require('@better-auth/utils/hmac');
|
|
|
7
7
|
require('../../shared/better-auth.DTvRBuq4.cjs');
|
|
8
8
|
require('@better-auth/utils/binary');
|
|
9
9
|
const cookies_index = require('../../shared/better-auth.CXM9s0dx.cjs');
|
|
10
|
-
require('../../shared/better-auth.
|
|
10
|
+
require('../../shared/better-auth.BDdoXh_7.cjs');
|
|
11
11
|
const session = require('../../shared/better-auth.CAcHGnwq.cjs');
|
|
12
12
|
require('zod');
|
|
13
13
|
require('../../shared/better-auth.CX8orviF.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
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.CLmuULOM.cjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import '../../shared/better-auth.7zTmTxT4.cjs';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
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.B_xbPKKL.mjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import '../../shared/better-auth.BHPr8J54.mjs';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
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.BQv0wGSb.js';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import '../../shared/better-auth.C6qXK08w.js';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
@@ -5,7 +5,7 @@ import { createHMAC } from '@better-auth/utils/hmac';
|
|
|
5
5
|
import '../../shared/better-auth.C4g12FAA.mjs';
|
|
6
6
|
import '@better-auth/utils/binary';
|
|
7
7
|
import { p as parseSetCookieHeader } from '../../shared/better-auth.fV_ra52g.mjs';
|
|
8
|
-
import '../../shared/better-auth.
|
|
8
|
+
import '../../shared/better-auth.DsRTWTq9.mjs';
|
|
9
9
|
import { c as createAuthMiddleware } from '../../shared/better-auth.CBY7cUGy.mjs';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import '../../shared/better-auth.Dlh8OCID.mjs';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const z = require('zod');
|
|
4
4
|
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
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
8
8
|
require('@better-auth/utils/base64');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { B as BetterAuthOptions, e as InferUser, f as InferSession, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, e as InferUser, f as InferSession, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.CLmuULOM.cjs';
|
|
3
3
|
import * as z from 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.7zTmTxT4.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { B as BetterAuthOptions, e as InferUser, f as InferSession, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, e as InferUser, f as InferSession, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.B_xbPKKL.mjs';
|
|
3
3
|
import * as z from 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.BHPr8J54.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { B as BetterAuthOptions, e as InferUser, f as InferSession, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, e as InferUser, f as InferSession, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.BQv0wGSb.js';
|
|
3
3
|
import * as z from 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.C6qXK08w.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
import 'better-call';
|
|
3
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.DsRTWTq9.mjs';
|
|
4
4
|
import { a as createAuthEndpoint, c as createAuthMiddleware, b as getSession } from '../../shared/better-auth.CBY7cUGy.mjs';
|
|
5
5
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
6
6
|
import '@better-auth/utils/base64';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { I as InferOptionSchema } from '../../shared/better-auth.
|
|
3
|
+
import { I as InferOptionSchema } 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 { I as InferOptionSchema } from '../../shared/better-auth.
|
|
3
|
+
import { I as InferOptionSchema } 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 { I as InferOptionSchema } from '../../shared/better-auth.
|
|
3
|
+
import { I as InferOptionSchema } 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';
|
|
@@ -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,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { d as AuthContext, U as User, H as HookEndpointContext } from '../../shared/better-auth.
|
|
2
|
+
import { d as AuthContext, U as User, H as HookEndpointContext } from '../../shared/better-auth.CLmuULOM.cjs';
|
|
3
3
|
import * as z from 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.7zTmTxT4.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { d as AuthContext, U as User, H as HookEndpointContext } from '../../shared/better-auth.
|
|
2
|
+
import { d as AuthContext, U as User, H as HookEndpointContext } from '../../shared/better-auth.B_xbPKKL.mjs';
|
|
3
3
|
import * as z from 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.BHPr8J54.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { d as AuthContext, U as User, H as HookEndpointContext } from '../../shared/better-auth.
|
|
2
|
+
import { d as AuthContext, U as User, H as HookEndpointContext } from '../../shared/better-auth.BQv0wGSb.js';
|
|
3
3
|
import * as z from 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.C6qXK08w.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 { a as createAuthEndpoint, c as createAuthMiddleware } 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';
|
|
@@ -4,7 +4,7 @@ const fetch = require('@better-fetch/fetch');
|
|
|
4
4
|
const betterCall = require('better-call');
|
|
5
5
|
const jose = require('jose');
|
|
6
6
|
const z = require('zod');
|
|
7
|
-
const socialProviders_index = require('../../shared/better-auth.
|
|
7
|
+
const socialProviders_index = require('../../shared/better-auth.BDdoXh_7.cjs');
|
|
8
8
|
const session = require('../../shared/better-auth.CAcHGnwq.cjs');
|
|
9
9
|
const cookies_index = require('../../shared/better-auth.CXM9s0dx.cjs');
|
|
10
10
|
require('../../shared/better-auth.CX8orviF.cjs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import { O as OAuth2Tokens, a as OAuth2UserInfo, b as OAuthProvider, P as ProviderOptions } from '../../shared/better-auth.7zTmTxT4.cjs';
|
|
3
|
-
import { U as User, d as AuthContext } from '../../shared/better-auth.
|
|
3
|
+
import { U as User, d as AuthContext } from '../../shared/better-auth.CLmuULOM.cjs';
|
|
4
4
|
import * as z from 'zod';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
6
6
|
import 'kysely';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import { O as OAuth2Tokens, a as OAuth2UserInfo, b as OAuthProvider, P as ProviderOptions } from '../../shared/better-auth.BHPr8J54.mjs';
|
|
3
|
-
import { U as User, d as AuthContext } from '../../shared/better-auth.
|
|
3
|
+
import { U as User, d as AuthContext } from '../../shared/better-auth.B_xbPKKL.mjs';
|
|
4
4
|
import * as z from 'zod';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
6
6
|
import 'kysely';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import { O as OAuth2Tokens, a as OAuth2UserInfo, b as OAuthProvider, P as ProviderOptions } from '../../shared/better-auth.C6qXK08w.js';
|
|
3
|
-
import { U as User, d as AuthContext } from '../../shared/better-auth.
|
|
3
|
+
import { U as User, d as AuthContext } from '../../shared/better-auth.BQv0wGSb.js';
|
|
4
4
|
import * as z from 'zod';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
6
6
|
import 'kysely';
|
|
@@ -2,7 +2,7 @@ import { betterFetch } from '@better-fetch/fetch';
|
|
|
2
2
|
import { APIError } from 'better-call';
|
|
3
3
|
import { decodeJwt } from 'jose';
|
|
4
4
|
import * as z from 'zod';
|
|
5
|
-
import { g as generateState, c as createAuthorizationURL, p as parseState, v as validateAuthorizationCode, j as handleOAuthUserInfo, r as refreshAccessToken } from '../../shared/better-auth.
|
|
5
|
+
import { g as generateState, c as createAuthorizationURL, p as parseState, v as validateAuthorizationCode, j as handleOAuthUserInfo, r as refreshAccessToken } from '../../shared/better-auth.DsRTWTq9.mjs';
|
|
6
6
|
import { a as createAuthEndpoint, s as sessionMiddleware, B as BASE_ERROR_CODES } from '../../shared/better-auth.CBY7cUGy.mjs';
|
|
7
7
|
import { s as setSessionCookie } from '../../shared/better-auth.fV_ra52g.mjs';
|
|
8
8
|
import '../../shared/better-auth.Dlh8OCID.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const betterCall = require('better-call');
|
|
4
|
-
require('../../shared/better-auth.
|
|
4
|
+
require('../../shared/better-auth.BDdoXh_7.cjs');
|
|
5
5
|
require('../../shared/better-auth.CAcHGnwq.cjs');
|
|
6
6
|
require('zod');
|
|
7
7
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as AuthContext, g as checkPassword } from '../../shared/better-auth.
|
|
1
|
+
import { d as AuthContext, g as checkPassword } from '../../shared/better-auth.CLmuULOM.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import '../../shared/better-auth.7zTmTxT4.cjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as AuthContext, g as checkPassword } from '../../shared/better-auth.
|
|
1
|
+
import { d as AuthContext, g as checkPassword } from '../../shared/better-auth.B_xbPKKL.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import '../../shared/better-auth.BHPr8J54.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as AuthContext, g as checkPassword } from '../../shared/better-auth.
|
|
1
|
+
import { d as AuthContext, g as checkPassword } from '../../shared/better-auth.BQv0wGSb.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import '../../shared/better-auth.C6qXK08w.js';
|
package/dist/plugins/index.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const organization = require('../shared/better-auth.
|
|
3
|
+
const organization = require('../shared/better-auth.b3V1DCfW.cjs');
|
|
4
4
|
const plugins_twoFactor_index = require('./two-factor/index.cjs');
|
|
5
5
|
const plugins_username_index = require('./username/index.cjs');
|
|
6
6
|
const plugins_bearer_index = require('./bearer/index.cjs');
|
|
7
7
|
const session = require('../shared/better-auth.CAcHGnwq.cjs');
|
|
8
|
-
const socialProviders_index = require('../shared/better-auth.
|
|
8
|
+
const socialProviders_index = require('../shared/better-auth.BDdoXh_7.cjs');
|
|
9
9
|
const plugins_magicLink_index = require('./magic-link/index.cjs');
|
|
10
10
|
const plugins_phoneNumber_index = require('./phone-number/index.cjs');
|
|
11
11
|
const plugins_anonymous_index = require('./anonymous/index.cjs');
|
|
12
|
-
const admin = require('../shared/better-auth.
|
|
12
|
+
const admin = require('../shared/better-auth.owJK4RTO.cjs');
|
|
13
13
|
const plugins_genericOauth_index = require('./generic-oauth/index.cjs');
|
|
14
14
|
const plugins_jwt_index = require('./jwt/index.cjs');
|
|
15
15
|
const plugins_multiSession_index = require('./multi-session/index.cjs');
|
|
@@ -18,9 +18,9 @@ const plugins_oneTap_index = require('./one-tap/index.cjs');
|
|
|
18
18
|
const plugins_oauthProxy_index = require('./oauth-proxy/index.cjs');
|
|
19
19
|
const plugins_customSession_index = require('./custom-session/index.cjs');
|
|
20
20
|
const plugins_openApi_index = require('./open-api/index.cjs');
|
|
21
|
-
const plugins_oidcProvider_index = require('../shared/better-auth.
|
|
21
|
+
const plugins_oidcProvider_index = require('../shared/better-auth.DIAGL28F.cjs');
|
|
22
22
|
const plugins_captcha_index = require('./captcha/index.cjs');
|
|
23
|
-
const plugins_oneTimeToken_index = require('../shared/better-auth.
|
|
23
|
+
const plugins_oneTimeToken_index = require('../shared/better-auth.1YBeofpK.cjs');
|
|
24
24
|
const plugins_haveibeenpwned_index = require('./haveibeenpwned/index.cjs');
|
|
25
25
|
const z = require('zod');
|
|
26
26
|
const betterCall = require('better-call');
|
|
@@ -32,7 +32,7 @@ const url = require('../shared/better-auth.DRmln2Nr.cjs');
|
|
|
32
32
|
require('@better-auth/utils/binary');
|
|
33
33
|
const cookies_index = require('../shared/better-auth.CXM9s0dx.cjs');
|
|
34
34
|
require('../shared/better-auth.CX8orviF.cjs');
|
|
35
|
-
require('../shared/better-auth.
|
|
35
|
+
require('../shared/better-auth.CveVqL58.cjs');
|
|
36
36
|
require('./organization/access/index.cjs');
|
|
37
37
|
require('@better-auth/utils/random');
|
|
38
38
|
const hash = require('@better-auth/utils/hash');
|
|
@@ -1018,6 +1018,7 @@ const mcp = (options) => {
|
|
|
1018
1018
|
return new Response(JSON.stringify(responseData), {
|
|
1019
1019
|
status: 201,
|
|
1020
1020
|
headers: {
|
|
1021
|
+
"Content-Type": "application/json",
|
|
1021
1022
|
"Cache-Control": "no-store",
|
|
1022
1023
|
Pragma: "no-cache"
|
|
1023
1024
|
}
|
package/dist/plugins/index.d.cts
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.cjs';
|
|
4
4
|
export { USERNAME_ERROR_CODES, UsernameOptions, username } from './username/index.cjs';
|
|
5
5
|
export { bearer } from './bearer/index.cjs';
|
|
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.CLmuULOM.cjs';
|
|
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.CLmuULOM.cjs';
|
|
8
8
|
export { H as HIDE_METADATA } from '../shared/better-auth.DEHJp1rk.cjs';
|
|
9
9
|
export { magicLink } from './magic-link/index.cjs';
|
|
10
10
|
export { PhoneNumberOptions, UserWithPhoneNumber, phoneNumber } from './phone-number/index.cjs';
|
|
@@ -21,7 +21,7 @@ export { OpenAPIOptions, Path, generator, openAPI } from './open-api/index.cjs';
|
|
|
21
21
|
import { OIDCOptions, OIDCMetadata, OAuthAccessToken } from './oidc-provider/index.cjs';
|
|
22
22
|
export { AuthorizationQuery, Client, CodeVerificationValue, TokenBody, getClient, getMetadata, oidcProvider } from './oidc-provider/index.cjs';
|
|
23
23
|
export { captcha } from './captcha/index.cjs';
|
|
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.gfiicitY.cjs';
|
|
25
25
|
export { HaveIBeenPwnedOptions, haveIBeenPwned } from './haveibeenpwned/index.cjs';
|
|
26
26
|
export { oneTimeToken } from './one-time-token/index.cjs';
|
|
27
27
|
import * as better_call from 'better-call';
|
package/dist/plugins/index.d.mts
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.mjs';
|
|
4
4
|
export { USERNAME_ERROR_CODES, UsernameOptions, username } from './username/index.mjs';
|
|
5
5
|
export { bearer } from './bearer/index.mjs';
|
|
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.B_xbPKKL.mjs';
|
|
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.B_xbPKKL.mjs';
|
|
8
8
|
export { H as HIDE_METADATA } from '../shared/better-auth.DEHJp1rk.mjs';
|
|
9
9
|
export { magicLink } from './magic-link/index.mjs';
|
|
10
10
|
export { PhoneNumberOptions, UserWithPhoneNumber, phoneNumber } from './phone-number/index.mjs';
|
|
@@ -21,7 +21,7 @@ export { OpenAPIOptions, Path, generator, openAPI } from './open-api/index.mjs';
|
|
|
21
21
|
import { OIDCOptions, OIDCMetadata, OAuthAccessToken } from './oidc-provider/index.mjs';
|
|
22
22
|
export { AuthorizationQuery, Client, CodeVerificationValue, TokenBody, getClient, getMetadata, oidcProvider } from './oidc-provider/index.mjs';
|
|
23
23
|
export { captcha } from './captcha/index.mjs';
|
|
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.Bbkp5JKM.mjs';
|
|
25
25
|
export { HaveIBeenPwnedOptions, haveIBeenPwned } from './haveibeenpwned/index.mjs';
|
|
26
26
|
export { oneTimeToken } from './one-time-token/index.mjs';
|
|
27
27
|
import * as better_call from 'better-call';
|