better-auth 1.3.8-beta.6 → 1.3.8-beta.8
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 +2 -2
- package/dist/adapters/drizzle-adapter/index.d.mts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.ts +2 -2
- package/dist/adapters/index.d.cts +3 -3
- package/dist/adapters/index.d.mts +3 -3
- package/dist/adapters/index.d.ts +3 -3
- package/dist/adapters/kysely-adapter/index.d.cts +2 -2
- package/dist/adapters/kysely-adapter/index.d.mts +2 -2
- package/dist/adapters/kysely-adapter/index.d.ts +2 -2
- package/dist/adapters/memory-adapter/index.d.cts +2 -2
- package/dist/adapters/memory-adapter/index.d.mts +2 -2
- package/dist/adapters/memory-adapter/index.d.ts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.cts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.mts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.ts +2 -2
- package/dist/adapters/prisma-adapter/index.d.cts +2 -2
- package/dist/adapters/prisma-adapter/index.d.mts +2 -2
- package/dist/adapters/prisma-adapter/index.d.ts +2 -2
- package/dist/adapters/test.d.cts +27 -27
- package/dist/adapters/test.d.mts +27 -27
- package/dist/adapters/test.d.ts +27 -27
- package/dist/api/index.cjs +3 -3
- package/dist/api/index.d.cts +3 -3
- package/dist/api/index.d.mts +3 -3
- package/dist/api/index.d.ts +3 -3
- package/dist/api/index.mjs +5 -5
- package/dist/client/index.cjs +3 -3
- package/dist/client/index.d.cts +8 -6
- package/dist/client/index.d.mts +8 -6
- package/dist/client/index.d.ts +8 -6
- package/dist/client/index.mjs +3 -3
- package/dist/client/plugins/index.cjs +1 -1
- package/dist/client/plugins/index.d.cts +19 -11
- package/dist/client/plugins/index.d.mts +19 -11
- package/dist/client/plugins/index.d.ts +19 -11
- package/dist/client/plugins/index.mjs +1 -1
- package/dist/client/react/index.cjs +2 -2
- package/dist/client/react/index.d.cts +7 -5
- package/dist/client/react/index.d.mts +7 -5
- package/dist/client/react/index.d.ts +7 -5
- package/dist/client/react/index.mjs +2 -2
- package/dist/client/solid/index.cjs +2 -2
- package/dist/client/solid/index.d.cts +10 -10
- package/dist/client/solid/index.d.mts +10 -10
- package/dist/client/solid/index.d.ts +10 -10
- package/dist/client/solid/index.mjs +2 -2
- package/dist/client/svelte/index.cjs +2 -2
- package/dist/client/svelte/index.d.cts +4 -4
- package/dist/client/svelte/index.d.mts +4 -4
- package/dist/client/svelte/index.d.ts +4 -4
- package/dist/client/svelte/index.mjs +2 -2
- package/dist/client/vue/index.cjs +2 -2
- package/dist/client/vue/index.d.cts +13 -13
- package/dist/client/vue/index.d.mts +13 -13
- package/dist/client/vue/index.d.ts +13 -13
- package/dist/client/vue/index.mjs +2 -2
- package/dist/cookies/index.cjs +1 -1
- package/dist/cookies/index.d.cts +2 -2
- package/dist/cookies/index.d.mts +2 -2
- package/dist/cookies/index.d.ts +2 -2
- package/dist/cookies/index.mjs +1 -1
- package/dist/db/index.d.cts +3 -3
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.d.ts +3 -3
- package/dist/index.cjs +11 -10
- package/dist/index.d.cts +7 -6
- package/dist/index.d.mts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.mjs +10 -10
- package/dist/integrations/next-js.cjs +5 -4
- package/dist/integrations/next-js.d.cts +2 -2
- package/dist/integrations/next-js.d.mts +2 -2
- package/dist/integrations/next-js.d.ts +2 -2
- package/dist/integrations/next-js.mjs +5 -4
- package/dist/integrations/node.d.cts +2 -2
- package/dist/integrations/node.d.mts +2 -2
- package/dist/integrations/node.d.ts +2 -2
- package/dist/integrations/react-start.cjs +5 -4
- package/dist/integrations/react-start.d.cts +2 -2
- package/dist/integrations/react-start.d.mts +2 -2
- package/dist/integrations/react-start.d.ts +2 -2
- package/dist/integrations/react-start.mjs +5 -4
- package/dist/integrations/svelte-kit.cjs +3 -3
- package/dist/integrations/svelte-kit.d.cts +2 -2
- package/dist/integrations/svelte-kit.d.mts +2 -2
- package/dist/integrations/svelte-kit.d.ts +2 -2
- package/dist/integrations/svelte-kit.mjs +3 -3
- package/dist/oauth2/index.cjs +3 -3
- package/dist/oauth2/index.d.cts +4 -4
- package/dist/oauth2/index.d.mts +4 -4
- package/dist/oauth2/index.d.ts +4 -4
- package/dist/oauth2/index.mjs +3 -3
- package/dist/plugins/admin/index.cjs +4 -4
- package/dist/plugins/admin/index.d.cts +4 -4
- package/dist/plugins/admin/index.d.mts +4 -4
- package/dist/plugins/admin/index.d.ts +4 -4
- package/dist/plugins/admin/index.mjs +4 -4
- package/dist/plugins/anonymous/index.cjs +3 -3
- package/dist/plugins/anonymous/index.d.cts +2 -2
- package/dist/plugins/anonymous/index.d.mts +2 -2
- package/dist/plugins/anonymous/index.d.ts +2 -2
- package/dist/plugins/anonymous/index.mjs +3 -3
- package/dist/plugins/bearer/index.cjs +3 -3
- package/dist/plugins/bearer/index.d.cts +2 -2
- package/dist/plugins/bearer/index.d.mts +2 -2
- package/dist/plugins/bearer/index.d.ts +2 -2
- package/dist/plugins/bearer/index.mjs +3 -3
- package/dist/plugins/captcha/index.d.cts +2 -2
- package/dist/plugins/captcha/index.d.mts +2 -2
- package/dist/plugins/captcha/index.d.ts +2 -2
- package/dist/plugins/custom-session/index.cjs +20 -4
- package/dist/plugins/custom-session/index.d.cts +17 -3
- package/dist/plugins/custom-session/index.d.mts +17 -3
- package/dist/plugins/custom-session/index.d.ts +17 -3
- package/dist/plugins/custom-session/index.mjs +20 -4
- package/dist/plugins/device-authorization/index.cjs +9 -108
- package/dist/plugins/device-authorization/index.d.cts +5 -3
- package/dist/plugins/device-authorization/index.d.mts +5 -3
- package/dist/plugins/device-authorization/index.d.ts +5 -3
- package/dist/plugins/device-authorization/index.mjs +5 -104
- package/dist/plugins/email-otp/index.cjs +3 -3
- package/dist/plugins/email-otp/index.d.cts +2 -2
- package/dist/plugins/email-otp/index.d.mts +2 -2
- package/dist/plugins/email-otp/index.d.ts +2 -2
- package/dist/plugins/email-otp/index.mjs +3 -3
- package/dist/plugins/generic-oauth/index.cjs +3 -3
- package/dist/plugins/generic-oauth/index.d.cts +3 -3
- package/dist/plugins/generic-oauth/index.d.mts +3 -3
- package/dist/plugins/generic-oauth/index.d.ts +3 -3
- package/dist/plugins/generic-oauth/index.mjs +3 -3
- package/dist/plugins/haveibeenpwned/index.cjs +3 -3
- package/dist/plugins/haveibeenpwned/index.d.cts +2 -2
- package/dist/plugins/haveibeenpwned/index.d.mts +2 -2
- package/dist/plugins/haveibeenpwned/index.d.ts +2 -2
- package/dist/plugins/haveibeenpwned/index.mjs +3 -3
- package/dist/plugins/index.cjs +9 -9
- package/dist/plugins/index.d.cts +30 -5
- package/dist/plugins/index.d.mts +30 -5
- package/dist/plugins/index.d.ts +30 -5
- package/dist/plugins/index.mjs +11 -11
- package/dist/plugins/jwt/index.cjs +6 -6
- package/dist/plugins/jwt/index.d.cts +2 -2
- package/dist/plugins/jwt/index.d.mts +2 -2
- package/dist/plugins/jwt/index.d.ts +2 -2
- package/dist/plugins/jwt/index.mjs +7 -7
- package/dist/plugins/magic-link/index.cjs +3 -3
- package/dist/plugins/magic-link/index.mjs +3 -3
- package/dist/plugins/multi-session/index.cjs +3 -3
- package/dist/plugins/multi-session/index.d.cts +2 -2
- package/dist/plugins/multi-session/index.d.mts +2 -2
- package/dist/plugins/multi-session/index.d.ts +2 -2
- package/dist/plugins/multi-session/index.mjs +3 -3
- package/dist/plugins/oauth-proxy/index.cjs +3 -3
- package/dist/plugins/oauth-proxy/index.d.cts +2 -2
- package/dist/plugins/oauth-proxy/index.d.mts +2 -2
- package/dist/plugins/oauth-proxy/index.d.ts +2 -2
- package/dist/plugins/oauth-proxy/index.mjs +3 -3
- package/dist/plugins/oidc-provider/index.cjs +5 -5
- package/dist/plugins/oidc-provider/index.d.cts +56 -6
- package/dist/plugins/oidc-provider/index.d.mts +56 -6
- package/dist/plugins/oidc-provider/index.d.ts +56 -6
- package/dist/plugins/oidc-provider/index.mjs +5 -5
- package/dist/plugins/one-tap/index.cjs +3 -3
- package/dist/plugins/one-tap/index.mjs +3 -3
- package/dist/plugins/one-time-token/index.cjs +6 -5
- package/dist/plugins/one-time-token/index.d.cts +2 -2
- package/dist/plugins/one-time-token/index.d.mts +2 -2
- package/dist/plugins/one-time-token/index.d.ts +2 -2
- package/dist/plugins/one-time-token/index.mjs +6 -5
- package/dist/plugins/open-api/index.cjs +3 -3
- package/dist/plugins/open-api/index.d.cts +2 -2
- package/dist/plugins/open-api/index.d.mts +2 -2
- package/dist/plugins/open-api/index.d.ts +2 -2
- package/dist/plugins/open-api/index.mjs +3 -3
- package/dist/plugins/organization/index.cjs +5 -5
- package/dist/plugins/organization/index.d.cts +419 -40
- package/dist/plugins/organization/index.d.mts +419 -40
- package/dist/plugins/organization/index.d.ts +419 -40
- package/dist/plugins/organization/index.mjs +5 -5
- package/dist/plugins/passkey/index.cjs +3 -3
- package/dist/plugins/passkey/index.d.cts +2 -2
- package/dist/plugins/passkey/index.d.mts +2 -2
- package/dist/plugins/passkey/index.d.ts +2 -2
- package/dist/plugins/passkey/index.mjs +3 -3
- package/dist/plugins/phone-number/index.cjs +3 -3
- package/dist/plugins/phone-number/index.d.cts +2 -2
- package/dist/plugins/phone-number/index.d.mts +2 -2
- package/dist/plugins/phone-number/index.d.ts +2 -2
- package/dist/plugins/phone-number/index.mjs +3 -3
- package/dist/plugins/siwe/index.cjs +3 -3
- package/dist/plugins/siwe/index.d.cts +2 -2
- package/dist/plugins/siwe/index.d.mts +2 -2
- package/dist/plugins/siwe/index.d.ts +2 -2
- package/dist/plugins/siwe/index.mjs +3 -3
- package/dist/plugins/sso/index.cjs +3 -3
- package/dist/plugins/sso/index.d.cts +4 -4
- package/dist/plugins/sso/index.d.mts +4 -4
- package/dist/plugins/sso/index.d.ts +4 -4
- package/dist/plugins/sso/index.mjs +3 -3
- package/dist/plugins/two-factor/index.cjs +3 -3
- package/dist/plugins/two-factor/index.d.cts +2 -2
- package/dist/plugins/two-factor/index.d.mts +2 -2
- package/dist/plugins/two-factor/index.d.ts +2 -2
- package/dist/plugins/two-factor/index.mjs +3 -3
- package/dist/plugins/username/index.cjs +3 -3
- package/dist/plugins/username/index.d.cts +2 -2
- package/dist/plugins/username/index.d.mts +2 -2
- package/dist/plugins/username/index.d.ts +2 -2
- package/dist/plugins/username/index.mjs +3 -3
- package/dist/shared/{better-auth.BVPwsVUn.d.cts → better-auth.B4AfIoAe.d.cts} +1 -1
- package/dist/shared/{better-auth.CtToz4qL.cjs → better-auth.BEsywhdZ.cjs} +2 -8
- package/dist/shared/{better-auth.BttC_x9D.mjs → better-auth.BF0OhhL0.mjs} +57 -1
- package/dist/shared/{better-auth.CGGao4aY.mjs → better-auth.BI4JniQN.mjs} +2 -8
- package/dist/shared/{better-auth.DQINKBiT.d.cts → better-auth.BVRe9oUF.d.cts} +479 -6
- package/dist/shared/{better-auth.CV-4ifSd.cjs → better-auth.BYiXvdJQ.cjs} +2 -2
- package/dist/shared/{better-auth.CbBksUvo.cjs → better-auth.BZ1rl9jb.cjs} +3 -3
- package/dist/shared/{better-auth.z3V3mA_O.cjs → better-auth.BhdSraHG.cjs} +3 -3
- package/dist/shared/{better-auth.AeIHgLBF.cjs → better-auth.BvYLXwvp.cjs} +58 -2
- package/dist/shared/{better-auth.BwsH8S4P.d.mts → better-auth.BxhI-ev4.d.mts} +6 -2
- package/dist/shared/{better-auth.DDozCDMS.mjs → better-auth.CBOi2vmh.mjs} +472 -65
- package/dist/shared/{better-auth.Ba_pqY0l.mjs → better-auth.CG9DHk60.mjs} +2 -2
- package/dist/shared/{better-auth.Bco357J8.cjs → better-auth.CLv80Pwz.cjs} +1 -1
- package/dist/shared/{better-auth.B6V3vOfp.d.cts → better-auth.COmDGkw-.d.cts} +6 -2
- package/dist/shared/{better-auth.BsHw2sS5.d.ts → better-auth.CS5xXOXV.d.ts} +6 -2
- package/dist/shared/{better-auth.C7BLzxG2.d.mts → better-auth.CYdzDlsq.d.mts} +1 -1
- package/dist/shared/{better-auth.CmdI9lHT.cjs → better-auth.CZpfmhXT.cjs} +1 -1
- package/dist/shared/{better-auth.D_zuKEZs.d.ts → better-auth.CdcdinCF.d.ts} +59 -59
- package/dist/shared/{better-auth.Ck3n8bMC.cjs → better-auth.CgIMrxKr.cjs} +7 -3
- package/dist/shared/{better-auth.BKqT_ZVS.cjs → better-auth.Cm_V_J8I.cjs} +10 -28
- package/dist/shared/{better-auth.DI5tnNZs.d.ts → better-auth.CnJoIxG_.d.ts} +479 -6
- package/dist/shared/{better-auth.Bp6xdiY8.d.ts → better-auth.CnXw9Yrh.d.mts} +2 -2
- package/dist/shared/{better-auth.DxG__zXA.d.ts → better-auth.CnsUttgT.d.ts} +1 -1
- package/dist/shared/{better-auth.yHdubbkw.cjs → better-auth.CxKBteqV.cjs} +34 -9
- package/dist/shared/{better-auth.CGejYPX3.d.mts → better-auth.CzZpBsE1.d.cts} +2 -2
- package/dist/shared/{better-auth.l2-e84v_.cjs → better-auth.D5q0JUiv.cjs} +93 -164
- package/dist/shared/{better-auth.B1puuIwv.d.mts → better-auth.D75jtXt8.d.mts} +59 -59
- package/dist/shared/{better-auth.BCc3zPBF.mjs → better-auth.DV5EHeYG.mjs} +1 -1
- package/dist/shared/{better-auth.w5Mg3-u0.mjs → better-auth.DX9TcqCt.mjs} +3 -3
- package/dist/shared/{better-auth.DGJgCfAm.mjs → better-auth.DqbGTNEt.mjs} +34 -9
- package/dist/shared/{better-auth.DgX9nQ3e.mjs → better-auth.K0z8EJFS.mjs} +3 -3
- package/dist/shared/{better-auth.CWKgK_p2.d.cts → better-auth.Otfjue7Z.d.cts} +59 -59
- package/dist/shared/{better-auth.DF-MUmVw.mjs → better-auth.UfVWArIB.mjs} +93 -164
- package/dist/shared/{better-auth.BVF2_YJN.mjs → better-auth._2xnM2S3.mjs} +351 -24
- package/dist/shared/{better-auth.L_XZAIeN.cjs → better-auth._gj_Mjo_.cjs} +472 -65
- package/dist/shared/{better-auth.QB8jx8j0.d.mts → better-auth.efEqxJ3k.d.mts} +479 -6
- package/dist/shared/{better-auth.CiuRzSQH.cjs → better-auth.g2ow3cc2.cjs} +354 -23
- package/dist/shared/{better-auth.DVsI0DHa.mjs → better-auth.ifuaFFT6.mjs} +1 -1
- package/dist/shared/{better-auth.Buni1mmI.mjs → better-auth.kTs0zHGZ.mjs} +7 -3
- package/dist/shared/{better-auth.DAX7uGE1.mjs → better-auth.vI-5STVo.mjs} +10 -28
- package/dist/shared/{better-auth.BflsQmOZ.d.cts → better-auth.xipPt5at.d.ts} +2 -2
- package/dist/social-providers/index.cjs +7 -3
- package/dist/social-providers/index.d.cts +1 -1
- package/dist/social-providers/index.d.mts +1 -1
- package/dist/social-providers/index.d.ts +1 -1
- package/dist/social-providers/index.mjs +3 -3
- package/dist/test-utils/index.cjs +9 -8
- package/dist/test-utils/index.d.cts +94 -94
- package/dist/test-utils/index.d.mts +94 -94
- package/dist/test-utils/index.d.ts +94 -94
- package/dist/test-utils/index.mjs +9 -8
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/package.json +2 -1
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._gj_Mjo_.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
|
-
const session = require('../shared/better-auth.
|
|
8
|
-
const socialProviders_index = require('../shared/better-auth.
|
|
7
|
+
const session = require('../shared/better-auth.CLv80Pwz.cjs');
|
|
8
|
+
const socialProviders_index = require('../shared/better-auth.g2ow3cc2.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.BhdSraHG.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.CxKBteqV.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.Cm_V_J8I.cjs');
|
|
24
24
|
const plugins_haveibeenpwned_index = require('./haveibeenpwned/index.cjs');
|
|
25
25
|
const z = require('zod/v4');
|
|
26
26
|
const betterCall = require('better-call');
|
|
@@ -30,9 +30,9 @@ require('@better-auth/utils/hmac');
|
|
|
30
30
|
const logger = require('../shared/better-auth.B3274wGK.cjs');
|
|
31
31
|
const url = require('../shared/better-auth.DRmln2Nr.cjs');
|
|
32
32
|
require('@better-auth/utils/binary');
|
|
33
|
-
const cookies_index = require('../shared/better-auth.
|
|
33
|
+
const cookies_index = require('../shared/better-auth.D5q0JUiv.cjs');
|
|
34
34
|
require('../shared/better-auth.BIMq4RPW.cjs');
|
|
35
|
-
require('../shared/better-auth.
|
|
35
|
+
require('../shared/better-auth.BYiXvdJQ.cjs');
|
|
36
36
|
require('./organization/access/index.cjs');
|
|
37
37
|
require('@better-auth/utils/random');
|
|
38
38
|
const hash = require('@better-auth/utils/hash');
|
|
@@ -54,7 +54,7 @@ require('@noble/hashes/sha3');
|
|
|
54
54
|
const plugins_deviceAuthorization_index = require('./device-authorization/index.cjs');
|
|
55
55
|
const plugins_siwe_index = require('./siwe/index.cjs');
|
|
56
56
|
const client = require('../shared/better-auth.DnER2-iT.cjs');
|
|
57
|
-
const sign = require('../shared/better-auth.
|
|
57
|
+
const sign = require('../shared/better-auth.BvYLXwvp.cjs');
|
|
58
58
|
const client$1 = require('../shared/better-auth.BMgeJg3r.cjs');
|
|
59
59
|
require('../shared/better-auth.C1hdVENX.cjs');
|
|
60
60
|
require('../shared/better-auth.ANpbi45u.cjs');
|
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 } from '../shared/better-auth.
|
|
7
|
-
export { l as AuthEndpoint, m as AuthMiddleware, g as AuthPluginSchema, h as BetterAuthPlugin, I as InferOptionSchema, i as InferPluginErrorCodes, k as createAuthEndpoint, j as createAuthMiddleware, o as optionsMiddleware } from '../shared/better-auth.
|
|
6
|
+
import { G as GenericEndpointContext, B as BetterAuthOptions } from '../shared/better-auth.Otfjue7Z.cjs';
|
|
7
|
+
export { l as AuthEndpoint, m as AuthMiddleware, g as AuthPluginSchema, h as BetterAuthPlugin, I as InferOptionSchema, i as InferPluginErrorCodes, k as createAuthEndpoint, j as createAuthMiddleware, o as optionsMiddleware } from '../shared/better-auth.Otfjue7Z.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';
|
|
@@ -16,12 +16,12 @@ export { multiSession } from './multi-session/index.cjs';
|
|
|
16
16
|
export { EmailOTPOptions, emailOTP } from './email-otp/index.cjs';
|
|
17
17
|
export { oneTap } from './one-tap/index.cjs';
|
|
18
18
|
export { oAuthProxy } from './oauth-proxy/index.cjs';
|
|
19
|
-
export { customSession } from './custom-session/index.cjs';
|
|
19
|
+
export { CustomSessionPluginOptions, customSession } from './custom-session/index.cjs';
|
|
20
20
|
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.CzZpBsE1.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';
|
|
@@ -32,7 +32,7 @@ import './access/index.cjs';
|
|
|
32
32
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
33
33
|
import '@better-fetch/fetch';
|
|
34
34
|
import 'kysely';
|
|
35
|
-
import '../shared/better-auth.
|
|
35
|
+
import '../shared/better-auth.BVRe9oUF.cjs';
|
|
36
36
|
import 'jose';
|
|
37
37
|
import 'zod/v4/core';
|
|
38
38
|
import 'zod';
|
|
@@ -439,6 +439,11 @@ declare const mcp: (options: MCPOptions) => {
|
|
|
439
439
|
userId: {
|
|
440
440
|
type: "string";
|
|
441
441
|
required: false;
|
|
442
|
+
references: {
|
|
443
|
+
model: string;
|
|
444
|
+
field: string;
|
|
445
|
+
onDelete: "cascade";
|
|
446
|
+
};
|
|
442
447
|
};
|
|
443
448
|
createdAt: {
|
|
444
449
|
type: "date";
|
|
@@ -467,10 +472,20 @@ declare const mcp: (options: MCPOptions) => {
|
|
|
467
472
|
};
|
|
468
473
|
clientId: {
|
|
469
474
|
type: "string";
|
|
475
|
+
references: {
|
|
476
|
+
model: string;
|
|
477
|
+
field: string;
|
|
478
|
+
onDelete: "cascade";
|
|
479
|
+
};
|
|
470
480
|
};
|
|
471
481
|
userId: {
|
|
472
482
|
type: "string";
|
|
473
483
|
required: false;
|
|
484
|
+
references: {
|
|
485
|
+
model: string;
|
|
486
|
+
field: string;
|
|
487
|
+
onDelete: "cascade";
|
|
488
|
+
};
|
|
474
489
|
};
|
|
475
490
|
scopes: {
|
|
476
491
|
type: "string";
|
|
@@ -488,9 +503,19 @@ declare const mcp: (options: MCPOptions) => {
|
|
|
488
503
|
fields: {
|
|
489
504
|
clientId: {
|
|
490
505
|
type: "string";
|
|
506
|
+
references: {
|
|
507
|
+
model: string;
|
|
508
|
+
field: string;
|
|
509
|
+
onDelete: "cascade";
|
|
510
|
+
};
|
|
491
511
|
};
|
|
492
512
|
userId: {
|
|
493
513
|
type: "string";
|
|
514
|
+
references: {
|
|
515
|
+
model: string;
|
|
516
|
+
field: string;
|
|
517
|
+
onDelete: "cascade";
|
|
518
|
+
};
|
|
494
519
|
};
|
|
495
520
|
scopes: {
|
|
496
521
|
type: "string";
|
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 } from '../shared/better-auth.
|
|
7
|
-
export { l as AuthEndpoint, m as AuthMiddleware, g as AuthPluginSchema, h as BetterAuthPlugin, I as InferOptionSchema, i as InferPluginErrorCodes, k as createAuthEndpoint, j as createAuthMiddleware, o as optionsMiddleware } from '../shared/better-auth.
|
|
6
|
+
import { G as GenericEndpointContext, B as BetterAuthOptions } from '../shared/better-auth.D75jtXt8.mjs';
|
|
7
|
+
export { l as AuthEndpoint, m as AuthMiddleware, g as AuthPluginSchema, h as BetterAuthPlugin, I as InferOptionSchema, i as InferPluginErrorCodes, k as createAuthEndpoint, j as createAuthMiddleware, o as optionsMiddleware } from '../shared/better-auth.D75jtXt8.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';
|
|
@@ -16,12 +16,12 @@ export { multiSession } from './multi-session/index.mjs';
|
|
|
16
16
|
export { EmailOTPOptions, emailOTP } from './email-otp/index.mjs';
|
|
17
17
|
export { oneTap } from './one-tap/index.mjs';
|
|
18
18
|
export { oAuthProxy } from './oauth-proxy/index.mjs';
|
|
19
|
-
export { customSession } from './custom-session/index.mjs';
|
|
19
|
+
export { CustomSessionPluginOptions, customSession } from './custom-session/index.mjs';
|
|
20
20
|
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.CnXw9Yrh.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';
|
|
@@ -32,7 +32,7 @@ import './access/index.mjs';
|
|
|
32
32
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
33
33
|
import '@better-fetch/fetch';
|
|
34
34
|
import 'kysely';
|
|
35
|
-
import '../shared/better-auth.
|
|
35
|
+
import '../shared/better-auth.efEqxJ3k.mjs';
|
|
36
36
|
import 'jose';
|
|
37
37
|
import 'zod/v4/core';
|
|
38
38
|
import 'zod';
|
|
@@ -439,6 +439,11 @@ declare const mcp: (options: MCPOptions) => {
|
|
|
439
439
|
userId: {
|
|
440
440
|
type: "string";
|
|
441
441
|
required: false;
|
|
442
|
+
references: {
|
|
443
|
+
model: string;
|
|
444
|
+
field: string;
|
|
445
|
+
onDelete: "cascade";
|
|
446
|
+
};
|
|
442
447
|
};
|
|
443
448
|
createdAt: {
|
|
444
449
|
type: "date";
|
|
@@ -467,10 +472,20 @@ declare const mcp: (options: MCPOptions) => {
|
|
|
467
472
|
};
|
|
468
473
|
clientId: {
|
|
469
474
|
type: "string";
|
|
475
|
+
references: {
|
|
476
|
+
model: string;
|
|
477
|
+
field: string;
|
|
478
|
+
onDelete: "cascade";
|
|
479
|
+
};
|
|
470
480
|
};
|
|
471
481
|
userId: {
|
|
472
482
|
type: "string";
|
|
473
483
|
required: false;
|
|
484
|
+
references: {
|
|
485
|
+
model: string;
|
|
486
|
+
field: string;
|
|
487
|
+
onDelete: "cascade";
|
|
488
|
+
};
|
|
474
489
|
};
|
|
475
490
|
scopes: {
|
|
476
491
|
type: "string";
|
|
@@ -488,9 +503,19 @@ declare const mcp: (options: MCPOptions) => {
|
|
|
488
503
|
fields: {
|
|
489
504
|
clientId: {
|
|
490
505
|
type: "string";
|
|
506
|
+
references: {
|
|
507
|
+
model: string;
|
|
508
|
+
field: string;
|
|
509
|
+
onDelete: "cascade";
|
|
510
|
+
};
|
|
491
511
|
};
|
|
492
512
|
userId: {
|
|
493
513
|
type: "string";
|
|
514
|
+
references: {
|
|
515
|
+
model: string;
|
|
516
|
+
field: string;
|
|
517
|
+
onDelete: "cascade";
|
|
518
|
+
};
|
|
494
519
|
};
|
|
495
520
|
scopes: {
|
|
496
521
|
type: "string";
|
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 } from '../shared/better-auth.
|
|
7
|
-
export { l as AuthEndpoint, m as AuthMiddleware, g as AuthPluginSchema, h as BetterAuthPlugin, I as InferOptionSchema, i as InferPluginErrorCodes, k as createAuthEndpoint, j as createAuthMiddleware, o as optionsMiddleware } from '../shared/better-auth.
|
|
6
|
+
import { G as GenericEndpointContext, B as BetterAuthOptions } from '../shared/better-auth.CdcdinCF.js';
|
|
7
|
+
export { l as AuthEndpoint, m as AuthMiddleware, g as AuthPluginSchema, h as BetterAuthPlugin, I as InferOptionSchema, i as InferPluginErrorCodes, k as createAuthEndpoint, j as createAuthMiddleware, o as optionsMiddleware } from '../shared/better-auth.CdcdinCF.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';
|
|
@@ -16,12 +16,12 @@ export { multiSession } from './multi-session/index.js';
|
|
|
16
16
|
export { EmailOTPOptions, emailOTP } from './email-otp/index.js';
|
|
17
17
|
export { oneTap } from './one-tap/index.js';
|
|
18
18
|
export { oAuthProxy } from './oauth-proxy/index.js';
|
|
19
|
-
export { customSession } from './custom-session/index.js';
|
|
19
|
+
export { CustomSessionPluginOptions, customSession } from './custom-session/index.js';
|
|
20
20
|
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.xipPt5at.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';
|
|
@@ -32,7 +32,7 @@ import './access/index.js';
|
|
|
32
32
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
33
33
|
import '@better-fetch/fetch';
|
|
34
34
|
import 'kysely';
|
|
35
|
-
import '../shared/better-auth.
|
|
35
|
+
import '../shared/better-auth.CnJoIxG_.js';
|
|
36
36
|
import 'jose';
|
|
37
37
|
import 'zod/v4/core';
|
|
38
38
|
import 'zod';
|
|
@@ -439,6 +439,11 @@ declare const mcp: (options: MCPOptions) => {
|
|
|
439
439
|
userId: {
|
|
440
440
|
type: "string";
|
|
441
441
|
required: false;
|
|
442
|
+
references: {
|
|
443
|
+
model: string;
|
|
444
|
+
field: string;
|
|
445
|
+
onDelete: "cascade";
|
|
446
|
+
};
|
|
442
447
|
};
|
|
443
448
|
createdAt: {
|
|
444
449
|
type: "date";
|
|
@@ -467,10 +472,20 @@ declare const mcp: (options: MCPOptions) => {
|
|
|
467
472
|
};
|
|
468
473
|
clientId: {
|
|
469
474
|
type: "string";
|
|
475
|
+
references: {
|
|
476
|
+
model: string;
|
|
477
|
+
field: string;
|
|
478
|
+
onDelete: "cascade";
|
|
479
|
+
};
|
|
470
480
|
};
|
|
471
481
|
userId: {
|
|
472
482
|
type: "string";
|
|
473
483
|
required: false;
|
|
484
|
+
references: {
|
|
485
|
+
model: string;
|
|
486
|
+
field: string;
|
|
487
|
+
onDelete: "cascade";
|
|
488
|
+
};
|
|
474
489
|
};
|
|
475
490
|
scopes: {
|
|
476
491
|
type: "string";
|
|
@@ -488,9 +503,19 @@ declare const mcp: (options: MCPOptions) => {
|
|
|
488
503
|
fields: {
|
|
489
504
|
clientId: {
|
|
490
505
|
type: "string";
|
|
506
|
+
references: {
|
|
507
|
+
model: string;
|
|
508
|
+
field: string;
|
|
509
|
+
onDelete: "cascade";
|
|
510
|
+
};
|
|
491
511
|
};
|
|
492
512
|
userId: {
|
|
493
513
|
type: "string";
|
|
514
|
+
references: {
|
|
515
|
+
model: string;
|
|
516
|
+
field: string;
|
|
517
|
+
onDelete: "cascade";
|
|
518
|
+
};
|
|
494
519
|
};
|
|
495
520
|
scopes: {
|
|
496
521
|
type: "string";
|
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.CBOi2vmh.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
|
-
import { g as getSessionFromCtx, a as createAuthEndpoint, c as createAuthMiddleware } from '../shared/better-auth.
|
|
6
|
-
export { o as optionsMiddleware } from '../shared/better-auth.
|
|
7
|
-
export { H as HIDE_METADATA } from '../shared/better-auth.
|
|
5
|
+
import { g as getSessionFromCtx, a as createAuthEndpoint, c as createAuthMiddleware } from '../shared/better-auth.DV5EHeYG.mjs';
|
|
6
|
+
export { o as optionsMiddleware } from '../shared/better-auth.DV5EHeYG.mjs';
|
|
7
|
+
export { H as HIDE_METADATA } from '../shared/better-auth._2xnM2S3.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.DX9TcqCt.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.DqbGTNEt.mjs';
|
|
21
|
+
export { g as getClient, a as getMetadata } from '../shared/better-auth.DqbGTNEt.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.vI-5STVo.mjs';
|
|
24
24
|
export { haveIBeenPwned } from './haveibeenpwned/index.mjs';
|
|
25
25
|
import * as z from 'zod/v4';
|
|
26
26
|
import { APIError } from 'better-call';
|
|
@@ -30,9 +30,9 @@ import '@better-auth/utils/hmac';
|
|
|
30
30
|
import { a as logger } from '../shared/better-auth.BjBlybv-.mjs';
|
|
31
31
|
import { a as getBaseURL } from '../shared/better-auth.CuS_eDdK.mjs';
|
|
32
32
|
import '@better-auth/utils/binary';
|
|
33
|
-
import { p as parseSetCookieHeader } from '../shared/better-auth.
|
|
33
|
+
import { p as parseSetCookieHeader } from '../shared/better-auth.UfVWArIB.mjs';
|
|
34
34
|
import '../shared/better-auth.n2KFGwjY.mjs';
|
|
35
|
-
import '../shared/better-auth.
|
|
35
|
+
import '../shared/better-auth.CG9DHk60.mjs';
|
|
36
36
|
import './organization/access/index.mjs';
|
|
37
37
|
import '@better-auth/utils/random';
|
|
38
38
|
import { createHash } from '@better-auth/utils/hash';
|
|
@@ -54,7 +54,7 @@ import '@noble/hashes/sha3';
|
|
|
54
54
|
export { $deviceAuthorizationOptionsSchema, deviceAuthorization } from './device-authorization/index.mjs';
|
|
55
55
|
export { siwe } from './siwe/index.mjs';
|
|
56
56
|
export { t as twoFactorClient } from '../shared/better-auth.Ddw8bVyV.mjs';
|
|
57
|
-
export { c as createJwk, a as generateExportedKeyPair, g as getJwtToken } from '../shared/better-auth.
|
|
57
|
+
export { c as createJwk, a as generateExportedKeyPair, g as getJwtToken } from '../shared/better-auth.BF0OhhL0.mjs';
|
|
58
58
|
export { d as deviceAuthorizationClient } from '../shared/better-auth.BpA03GIs.mjs';
|
|
59
59
|
import '../shared/better-auth.CW6D9eSx.mjs';
|
|
60
60
|
import '../shared/better-auth.DdzSJf-n.mjs';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const sign = require('../../shared/better-auth.
|
|
3
|
+
const sign = require('../../shared/better-auth.BvYLXwvp.cjs');
|
|
4
4
|
const betterCall = require('better-call');
|
|
5
|
-
require('../../shared/better-auth.
|
|
6
|
-
const session = require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.g2ow3cc2.cjs');
|
|
6
|
+
const session = require('../../shared/better-auth.CLv80Pwz.cjs');
|
|
7
7
|
require('zod/v4');
|
|
8
8
|
const index = require('../../shared/better-auth.ANpbi45u.cjs');
|
|
9
9
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
@@ -25,11 +25,11 @@ require('@better-auth/utils/hex');
|
|
|
25
25
|
require('@noble/hashes/utils');
|
|
26
26
|
require('../../shared/better-auth.CYeOI8C-.cjs');
|
|
27
27
|
require('@better-auth/utils/random');
|
|
28
|
-
require('../../shared/better-auth.l2-e84v_.cjs');
|
|
29
28
|
require('../../shared/better-auth.C1hdVENX.cjs');
|
|
30
|
-
require('../../shared/better-auth.vPQBmXQL.cjs');
|
|
31
|
-
require('../../shared/better-auth.DRmln2Nr.cjs');
|
|
32
29
|
require('@better-fetch/fetch');
|
|
30
|
+
require('../../shared/better-auth.DRmln2Nr.cjs');
|
|
31
|
+
require('../../shared/better-auth.D5q0JUiv.cjs');
|
|
32
|
+
require('../../shared/better-auth.vPQBmXQL.cjs');
|
|
33
33
|
require('jose/errors');
|
|
34
34
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
35
35
|
require('defu');
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { U as User, S as Session, I as InferOptionSchema, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.
|
|
2
|
+
import { U as User, S as Session, I as InferOptionSchema, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.Otfjue7Z.cjs';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
4
|
import { JWTPayload, JSONWebKeySet } from 'jose';
|
|
5
5
|
import zod__default from 'zod';
|
|
6
6
|
import { A as Awaitable } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'zod/v4';
|
|
9
|
-
import '../../shared/better-auth.
|
|
9
|
+
import '../../shared/better-auth.BVRe9oUF.cjs';
|
|
10
10
|
import 'zod/v4/core';
|
|
11
11
|
import 'better-sqlite3';
|
|
12
12
|
import 'bun:sqlite';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { U as User, S as Session, I as InferOptionSchema, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.
|
|
2
|
+
import { U as User, S as Session, I as InferOptionSchema, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.D75jtXt8.mjs';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
4
|
import { JWTPayload, JSONWebKeySet } from 'jose';
|
|
5
5
|
import zod__default from 'zod';
|
|
6
6
|
import { A as Awaitable } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'zod/v4';
|
|
9
|
-
import '../../shared/better-auth.
|
|
9
|
+
import '../../shared/better-auth.efEqxJ3k.mjs';
|
|
10
10
|
import 'zod/v4/core';
|
|
11
11
|
import 'better-sqlite3';
|
|
12
12
|
import 'bun:sqlite';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { U as User, S as Session, I as InferOptionSchema, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.
|
|
2
|
+
import { U as User, S as Session, I as InferOptionSchema, G as GenericEndpointContext, H as HookEndpointContext } from '../../shared/better-auth.CdcdinCF.js';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
4
|
import { JWTPayload, JSONWebKeySet } from 'jose';
|
|
5
5
|
import zod__default from 'zod';
|
|
6
6
|
import { A as Awaitable } from '../../shared/better-auth.DTtXpZYr.js';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'zod/v4';
|
|
9
|
-
import '../../shared/better-auth.
|
|
9
|
+
import '../../shared/better-auth.CnJoIxG_.js';
|
|
10
10
|
import 'zod/v4/core';
|
|
11
11
|
import 'better-sqlite3';
|
|
12
12
|
import 'bun:sqlite';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as getJwtToken, s as signJWT, b as getJwksAdapter, c as createJwk } from '../../shared/better-auth.
|
|
2
|
-
export { a as generateExportedKeyPair } from '../../shared/better-auth.
|
|
1
|
+
import { g as getJwtToken, s as signJWT, b as getJwksAdapter, c as createJwk } from '../../shared/better-auth.BF0OhhL0.mjs';
|
|
2
|
+
export { a as generateExportedKeyPair } from '../../shared/better-auth.BF0OhhL0.mjs';
|
|
3
3
|
import { APIError } from 'better-call';
|
|
4
|
-
import '../../shared/better-auth.
|
|
5
|
-
import { c as createAuthMiddleware, a as createAuthEndpoint, s as sessionMiddleware } from '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth._2xnM2S3.mjs';
|
|
5
|
+
import { c as createAuthMiddleware, a as createAuthEndpoint, s as sessionMiddleware } from '../../shared/better-auth.DV5EHeYG.mjs';
|
|
6
6
|
import 'zod/v4';
|
|
7
7
|
import { B as BetterAuthError } from '../../shared/better-auth.DdzSJf-n.mjs';
|
|
8
8
|
import '../../shared/better-auth.CMQ3rA-I.mjs';
|
|
@@ -24,11 +24,11 @@ import '@better-auth/utils/hex';
|
|
|
24
24
|
import '@noble/hashes/utils';
|
|
25
25
|
import '../../shared/better-auth.B4Qoxdgc.mjs';
|
|
26
26
|
import '@better-auth/utils/random';
|
|
27
|
-
import '../../shared/better-auth.DF-MUmVw.mjs';
|
|
28
27
|
import '../../shared/better-auth.CW6D9eSx.mjs';
|
|
29
|
-
import '../../shared/better-auth.BZZKN1g7.mjs';
|
|
30
|
-
import '../../shared/better-auth.CuS_eDdK.mjs';
|
|
31
28
|
import '@better-fetch/fetch';
|
|
29
|
+
import '../../shared/better-auth.CuS_eDdK.mjs';
|
|
30
|
+
import '../../shared/better-auth.UfVWArIB.mjs';
|
|
31
|
+
import '../../shared/better-auth.BZZKN1g7.mjs';
|
|
32
32
|
import 'jose/errors';
|
|
33
33
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
34
34
|
import 'defu';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const z = require('zod/v4');
|
|
4
|
-
const session = require('../../shared/better-auth.
|
|
4
|
+
const session = require('../../shared/better-auth.CLv80Pwz.cjs');
|
|
5
5
|
const betterCall = require('better-call');
|
|
6
|
-
const cookies_index = require('../../shared/better-auth.
|
|
6
|
+
const cookies_index = require('../../shared/better-auth.D5q0JUiv.cjs');
|
|
7
7
|
const hash = require('@better-auth/utils/hash');
|
|
8
8
|
require('@noble/ciphers/chacha');
|
|
9
9
|
require('@noble/ciphers/utils');
|
|
@@ -15,7 +15,7 @@ require('@better-auth/utils');
|
|
|
15
15
|
require('@better-auth/utils/hex');
|
|
16
16
|
require('@noble/hashes/utils');
|
|
17
17
|
const random = require('../../shared/better-auth.CYeOI8C-.cjs');
|
|
18
|
-
const socialProviders_index = require('../../shared/better-auth.
|
|
18
|
+
const socialProviders_index = require('../../shared/better-auth.g2ow3cc2.cjs');
|
|
19
19
|
require('../../shared/better-auth.BIMq4RPW.cjs');
|
|
20
20
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
21
21
|
require('../../shared/better-auth.B3274wGK.cjs');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
|
-
import { a as createAuthEndpoint, B as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
2
|
+
import { a as createAuthEndpoint, B as BASE_ERROR_CODES } from '../../shared/better-auth.DV5EHeYG.mjs';
|
|
3
3
|
import { APIError } from 'better-call';
|
|
4
|
-
import { s as setSessionCookie } from '../../shared/better-auth.
|
|
4
|
+
import { s as setSessionCookie } from '../../shared/better-auth.UfVWArIB.mjs';
|
|
5
5
|
import { createHash } from '@better-auth/utils/hash';
|
|
6
6
|
import '@noble/ciphers/chacha';
|
|
7
7
|
import '@noble/ciphers/utils';
|
|
@@ -13,7 +13,7 @@ import '@better-auth/utils';
|
|
|
13
13
|
import '@better-auth/utils/hex';
|
|
14
14
|
import '@noble/hashes/utils';
|
|
15
15
|
import { g as generateRandomString } from '../../shared/better-auth.B4Qoxdgc.mjs';
|
|
16
|
-
import { o as originCheck } from '../../shared/better-auth.
|
|
16
|
+
import { o as originCheck } from '../../shared/better-auth._2xnM2S3.mjs';
|
|
17
17
|
import '../../shared/better-auth.n2KFGwjY.mjs';
|
|
18
18
|
import '../../shared/better-auth.CMQ3rA-I.mjs';
|
|
19
19
|
import '../../shared/better-auth.BjBlybv-.mjs';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
const z = require('zod/v4');
|
|
4
4
|
const betterCall = require('better-call');
|
|
5
|
-
require('../../shared/better-auth.
|
|
6
|
-
const session = require('../../shared/better-auth.
|
|
7
|
-
const cookies_index = require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.g2ow3cc2.cjs');
|
|
6
|
+
const session = require('../../shared/better-auth.CLv80Pwz.cjs');
|
|
7
|
+
const cookies_index = require('../../shared/better-auth.D5q0JUiv.cjs');
|
|
8
8
|
require('../../shared/better-auth.BIMq4RPW.cjs');
|
|
9
9
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
10
10
|
require('../../shared/better-auth.B3274wGK.cjs');
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod/v4';
|
|
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.Otfjue7Z.cjs';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.BVRe9oUF.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod/v4';
|
|
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.D75jtXt8.mjs';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.efEqxJ3k.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod/v4';
|
|
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.CdcdinCF.js';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.CnJoIxG_.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
2
|
import { APIError } from 'better-call';
|
|
3
|
-
import '../../shared/better-auth.
|
|
4
|
-
import { c as createAuthMiddleware, a as createAuthEndpoint, s as sessionMiddleware } from '../../shared/better-auth.
|
|
5
|
-
import { p as parseSetCookieHeader, a as parseCookies, s as setSessionCookie, d as deleteSessionCookie } from '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth._2xnM2S3.mjs';
|
|
4
|
+
import { c as createAuthMiddleware, a as createAuthEndpoint, s as sessionMiddleware } from '../../shared/better-auth.DV5EHeYG.mjs';
|
|
5
|
+
import { p as parseSetCookieHeader, a as parseCookies, s as setSessionCookie, d as deleteSessionCookie } from '../../shared/better-auth.UfVWArIB.mjs';
|
|
6
6
|
import '../../shared/better-auth.n2KFGwjY.mjs';
|
|
7
7
|
import '../../shared/better-auth.CMQ3rA-I.mjs';
|
|
8
8
|
import '../../shared/better-auth.BjBlybv-.mjs';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
const z = require('zod/v4');
|
|
4
4
|
require('better-call');
|
|
5
|
-
const socialProviders_index = require('../../shared/better-auth.
|
|
6
|
-
const session = require('../../shared/better-auth.
|
|
5
|
+
const socialProviders_index = require('../../shared/better-auth.g2ow3cc2.cjs');
|
|
6
|
+
const session = require('../../shared/better-auth.CLv80Pwz.cjs');
|
|
7
7
|
const env = require('../../shared/better-auth.B6fIklBU.cjs');
|
|
8
8
|
require('@better-auth/utils/base64');
|
|
9
9
|
require('@better-auth/utils/hmac');
|
|
@@ -25,7 +25,7 @@ require('@better-auth/utils/hex');
|
|
|
25
25
|
require('@noble/hashes/utils');
|
|
26
26
|
require('../../shared/better-auth.CYeOI8C-.cjs');
|
|
27
27
|
require('@better-auth/utils/random');
|
|
28
|
-
require('../../shared/better-auth.
|
|
28
|
+
require('../../shared/better-auth.D5q0JUiv.cjs');
|
|
29
29
|
require('../../shared/better-auth.ANpbi45u.cjs');
|
|
30
30
|
require('../../shared/better-auth.vPQBmXQL.cjs');
|
|
31
31
|
require('jose/errors');
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { H as HookEndpointContext, p as AuthContext } from '../../shared/better-auth.
|
|
1
|
+
import { H as HookEndpointContext, p as AuthContext } from '../../shared/better-auth.Otfjue7Z.cjs';
|
|
2
2
|
import * as better_call from 'better-call';
|
|
3
3
|
import * as z from 'zod/v4';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.BVRe9oUF.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|