better-auth 1.4.0-beta.3 → 1.4.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/drizzle-adapter/index.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 +7 -6
- 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 +9 -8
- package/dist/client/index.cjs +3 -3
- 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 +3 -3
- package/dist/client/plugins/index.d.cts +3 -3
- package/dist/client/plugins/index.d.mts +3 -3
- package/dist/client/plugins/index.d.ts +3 -3
- package/dist/client/react/index.cjs +2 -2
- package/dist/client/react/index.d.cts +9 -9
- package/dist/client/react/index.d.mts +9 -9
- package/dist/client/react/index.d.ts +9 -9
- package/dist/client/react/index.mjs +2 -2
- package/dist/client/solid/index.cjs +2 -2
- package/dist/client/solid/index.d.cts +9 -9
- package/dist/client/solid/index.d.mts +9 -9
- package/dist/client/solid/index.d.ts +9 -9
- package/dist/client/solid/index.mjs +2 -2
- package/dist/client/svelte/index.cjs +2 -2
- package/dist/client/svelte/index.d.cts +3 -3
- package/dist/client/svelte/index.d.mts +3 -3
- package/dist/client/svelte/index.d.ts +3 -3
- package/dist/client/svelte/index.mjs +2 -2
- package/dist/client/vue/index.cjs +3 -3
- package/dist/client/vue/index.d.cts +3 -3
- package/dist/client/vue/index.d.mts +3 -3
- package/dist/client/vue/index.d.ts +3 -3
- package/dist/client/vue/index.mjs +3 -3
- package/dist/cookies/index.cjs +2 -2
- 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/cookies/index.mjs +2 -2
- 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 +7 -6
- package/dist/index.d.cts +9 -9
- package/dist/index.d.mts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.mjs +7 -6
- package/dist/integrations/next-js.cjs +6 -5
- 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 +6 -5
- 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 +6 -5
- 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 +6 -5
- package/dist/integrations/svelte-kit.cjs +5 -4
- 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 +5 -4
- package/dist/oauth2/index.cjs +5 -4
- 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 +5 -4
- package/dist/plugins/admin/index.cjs +6 -5
- package/dist/plugins/admin/index.d.cts +7 -6
- package/dist/plugins/admin/index.d.mts +7 -6
- package/dist/plugins/admin/index.d.ts +7 -6
- package/dist/plugins/admin/index.mjs +6 -5
- package/dist/plugins/anonymous/index.cjs +5 -4
- 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 +5 -4
- package/dist/plugins/bearer/index.cjs +5 -4
- 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 +5 -4
- package/dist/plugins/captcha/index.cjs +5 -4
- 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/captcha/index.mjs +5 -4
- package/dist/plugins/custom-session/index.cjs +11 -8
- 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 +11 -8
- package/dist/plugins/device-authorization/index.cjs +52 -19
- 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/device-authorization/index.mjs +52 -19
- package/dist/plugins/email-otp/index.cjs +62 -21
- 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 +62 -21
- package/dist/plugins/generic-oauth/index.cjs +44 -25
- 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 +44 -25
- package/dist/plugins/haveibeenpwned/index.cjs +5 -4
- 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 +5 -4
- package/dist/plugins/index.cjs +11 -10
- package/dist/plugins/index.d.cts +6 -6
- package/dist/plugins/index.d.mts +6 -6
- package/dist/plugins/index.d.ts +6 -6
- package/dist/plugins/index.mjs +13 -12
- package/dist/plugins/jwt/index.cjs +5 -4
- 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 +5 -4
- package/dist/plugins/magic-link/index.cjs +32 -21
- package/dist/plugins/magic-link/index.mjs +32 -21
- package/dist/plugins/multi-session/index.cjs +11 -6
- 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 +11 -6
- package/dist/plugins/oauth-proxy/index.cjs +11 -6
- 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 +11 -6
- package/dist/plugins/oidc-provider/index.cjs +6 -5
- package/dist/plugins/oidc-provider/index.d.cts +5 -5
- package/dist/plugins/oidc-provider/index.d.mts +5 -5
- package/dist/plugins/oidc-provider/index.d.ts +5 -5
- package/dist/plugins/oidc-provider/index.mjs +6 -5
- package/dist/plugins/one-tap/index.cjs +8 -7
- package/dist/plugins/one-tap/index.mjs +8 -7
- package/dist/plugins/one-time-token/index.cjs +7 -6
- 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 +7 -6
- package/dist/plugins/open-api/index.cjs +5 -4
- 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 +5 -4
- package/dist/plugins/organization/index.cjs +7 -6
- package/dist/plugins/organization/index.d.cts +9 -9
- package/dist/plugins/organization/index.d.mts +9 -9
- package/dist/plugins/organization/index.d.ts +9 -9
- package/dist/plugins/organization/index.mjs +7 -6
- package/dist/plugins/passkey/index.cjs +17 -12
- package/dist/plugins/passkey/index.d.cts +1 -1
- package/dist/plugins/passkey/index.d.mts +1 -1
- package/dist/plugins/passkey/index.d.ts +1 -1
- package/dist/plugins/passkey/index.mjs +17 -12
- package/dist/plugins/phone-number/index.cjs +41 -24
- 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 +41 -24
- package/dist/plugins/siwe/index.cjs +5 -4
- 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 +5 -4
- package/dist/plugins/sso/index.cjs +89 -62
- package/dist/plugins/sso/index.d.cts +3 -3
- package/dist/plugins/sso/index.d.mts +3 -3
- package/dist/plugins/sso/index.d.ts +3 -3
- package/dist/plugins/sso/index.mjs +89 -62
- package/dist/plugins/two-factor/index.cjs +50 -19
- 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 +50 -19
- package/dist/plugins/username/index.cjs +18 -11
- package/dist/plugins/username/index.d.cts +19 -19
- package/dist/plugins/username/index.d.mts +19 -19
- package/dist/plugins/username/index.d.ts +19 -19
- package/dist/plugins/username/index.mjs +18 -11
- package/dist/shared/{better-auth.CuyhlHls.cjs → better-auth.1iHKsGdY.cjs} +2 -2
- package/dist/shared/{better-auth.DyZUF2_t.d.ts → better-auth.3es9ZU_K.d.ts} +36 -37
- package/dist/shared/{better-auth.COdnr6eY.cjs → better-auth.B2Bmtu6f.cjs} +83 -47
- package/dist/shared/{better-auth.T3Ux10v9.mjs → better-auth.BAPVOPl3.mjs} +3 -3
- package/dist/shared/{better-auth.DxV4YGX3.mjs → better-auth.BAQSo96z.mjs} +6 -4
- package/dist/shared/{better-auth.cXemjp2M.mjs → better-auth.BHwIy11H.mjs} +83 -47
- package/dist/shared/{better-auth.B1Za4fb4.d.cts → better-auth.BLDIAFp8.d.cts} +5 -5
- package/dist/shared/{better-auth.DHiuXI9L.d.cts → better-auth.BOKSn3AP.d.cts} +36 -37
- package/dist/shared/{better-auth.ZC_QEMLv.d.cts → better-auth.BW0VS3vZ.d.cts} +1 -1
- package/dist/shared/{better-auth.DXd8qaHd.mjs → better-auth.Bc2H_kPB.mjs} +54 -28
- package/dist/shared/{better-auth.DhQzyejE.mjs → better-auth.BoY6Vo7c.mjs} +1 -1
- package/dist/shared/{better-auth.D1jaLDAW.mjs → better-auth.C-9OPnjJ.mjs} +151 -71
- package/dist/shared/{better-auth.A_lT_4ey.cjs → better-auth.C0WkvM-b.cjs} +151 -71
- package/dist/shared/{better-auth.iE8wqp5_.cjs → better-auth.C2xLgiCv.cjs} +1 -1
- package/dist/shared/{better-auth.Cdkx1UlR.cjs → better-auth.C4gSFtQb.cjs} +54 -28
- package/dist/shared/{better-auth.D3u5pPGf.d.ts → better-auth.CAc8m5ps.d.ts} +1 -1
- package/dist/shared/{better-auth.BUqsHDoX.d.ts → better-auth.CBpfh9gd.d.ts} +1 -1
- package/dist/shared/{better-auth.BUmFH1YH.d.mts → better-auth.CHakYG_s.d.mts} +5 -5
- package/dist/shared/{better-auth.Co88PbP3.mjs → better-auth.CIqzVuC5.mjs} +15 -9
- package/dist/shared/{better-auth.DL28hkwE.mjs → better-auth.CJk6lu9H.mjs} +5 -5
- package/dist/shared/{better-auth.wBgaxGEw.cjs → better-auth.CWoe8tep.cjs} +15 -9
- package/dist/shared/{better-auth.TQtfFmwt.mjs → better-auth.Cs4ObP2J.mjs} +246 -139
- package/dist/shared/{better-auth.BftmE2f4.mjs → better-auth.Cw2Wb5xl.mjs} +2 -2
- package/dist/shared/{better-auth.BTmQo2-r.mjs → better-auth.CyhdLtgz.mjs} +122 -54
- package/dist/shared/{better-auth.Cn3gHKIq.d.ts → better-auth.D1mfnXw8.d.ts} +5 -5
- package/dist/shared/better-auth.D2xndZ2p.mjs +5 -0
- package/dist/shared/{better-auth.LBYUF6qL.d.mts → better-auth.D63GoHoT.d.mts} +1 -1
- package/dist/shared/{better-auth.DrO1u8u7.cjs → better-auth.DVpUemsq.cjs} +49 -10
- package/dist/shared/{better-auth.CYRK2rir.cjs → better-auth.DcLnIy5M.cjs} +122 -54
- package/dist/shared/{better-auth.B-RhOtHf.cjs → better-auth.Df7v65t4.cjs} +3 -3
- package/dist/shared/{better-auth.g25nv4YL.mjs → better-auth.DpE8ZxDZ.mjs} +49 -10
- package/dist/shared/{better-auth.8am3GyvS.d.cts → better-auth.DqouI_5s.d.cts} +1 -1
- package/dist/shared/{better-auth.DRmln2Nr.cjs → better-auth.DxBcELEX.cjs} +6 -4
- package/dist/shared/{better-auth.BSU7i7gN.cjs → better-auth.Fhb5xDFB.cjs} +5 -5
- package/dist/shared/{better-auth.CNhgW39t.cjs → better-auth.W6wY8Xk1.cjs} +246 -139
- package/dist/shared/{better-auth.DIfV2UBl.cjs → better-auth.oHfRlmfe.cjs} +1 -1
- package/dist/shared/{better-auth.C3bLnul-.mjs → better-auth.pyHheoY8.mjs} +1 -1
- package/dist/shared/better-auth.uykCWCYS.cjs +7 -0
- package/dist/shared/{better-auth.DQBMcFsm.d.mts → better-auth.vNMd9aBC.d.mts} +36 -37
- package/dist/shared/{better-auth.BC_XVl81.d.mts → better-auth.x83uJ-Ru.d.mts} +1 -1
- package/dist/social-providers/index.cjs +5 -4
- package/dist/social-providers/index.mjs +5 -4
- package/dist/test-utils/index.cjs +10 -9
- package/dist/test-utils/index.d.cts +59 -57
- package/dist/test-utils/index.d.mts +59 -57
- package/dist/test-utils/index.d.ts +59 -57
- package/dist/test-utils/index.mjs +10 -9
- 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 +3 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
import 'better-call';
|
|
3
|
-
import { o as originCheck } from '../../shared/better-auth.
|
|
4
|
-
import { c as createAuthMiddleware, a as createAuthEndpoint } from '../../shared/better-auth.
|
|
3
|
+
import { o as originCheck } from '../../shared/better-auth.C-9OPnjJ.mjs';
|
|
4
|
+
import { c as createAuthMiddleware, a as createAuthEndpoint } from '../../shared/better-auth.CIqzVuC5.mjs';
|
|
5
5
|
import { e as env } from '../../shared/better-auth.CiuwFiHM.mjs';
|
|
6
6
|
import '@better-auth/utils/base64';
|
|
7
7
|
import '@better-auth/utils/hmac';
|
|
8
8
|
import '../../shared/better-auth.C4g12FAA.mjs';
|
|
9
|
-
import { g as getOrigin } from '../../shared/better-auth.
|
|
9
|
+
import { g as getOrigin } from '../../shared/better-auth.BAQSo96z.mjs';
|
|
10
10
|
import '@better-auth/utils/binary';
|
|
11
11
|
import '../../shared/better-auth.CJ2rnsDV.mjs';
|
|
12
12
|
import { symmetricEncrypt, symmetricDecrypt } from '../../crypto/index.mjs';
|
|
@@ -21,12 +21,13 @@ import '@better-auth/utils/hex';
|
|
|
21
21
|
import '@noble/hashes/utils.js';
|
|
22
22
|
import '../../shared/better-auth.B4Qoxdgc.mjs';
|
|
23
23
|
import '@better-auth/utils/random';
|
|
24
|
-
import '../../shared/better-auth.
|
|
24
|
+
import '../../shared/better-auth.pyHheoY8.mjs';
|
|
25
25
|
import '../../shared/better-auth.DdzSJf-n.mjs';
|
|
26
26
|
import '../../shared/better-auth.CvNZNAOW.mjs';
|
|
27
27
|
import 'jose/errors';
|
|
28
28
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
29
29
|
import 'defu';
|
|
30
|
+
import '../../shared/better-auth.D2xndZ2p.mjs';
|
|
30
31
|
|
|
31
32
|
function getVenderBaseURL() {
|
|
32
33
|
const vercel = env.VERCEL_URL ? `https://${env.VERCEL_URL}` : void 0;
|
|
@@ -52,8 +53,12 @@ const oAuthProxy = (opts) => {
|
|
|
52
53
|
{
|
|
53
54
|
method: "GET",
|
|
54
55
|
query: z.object({
|
|
55
|
-
callbackURL: z.string().
|
|
56
|
-
|
|
56
|
+
callbackURL: z.string().meta({
|
|
57
|
+
description: "The URL to redirect to after the proxy"
|
|
58
|
+
}),
|
|
59
|
+
cookies: z.string().meta({
|
|
60
|
+
description: "The cookies to set after the proxy"
|
|
61
|
+
})
|
|
57
62
|
}),
|
|
58
63
|
use: [originCheck((ctx) => ctx.query.callbackURL)],
|
|
59
64
|
metadata: {
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
require('zod');
|
|
4
4
|
require('jose');
|
|
5
5
|
require('better-call');
|
|
6
|
-
require('../../shared/better-auth.
|
|
7
|
-
require('../../shared/better-auth.
|
|
6
|
+
require('../../shared/better-auth.C0WkvM-b.cjs');
|
|
7
|
+
require('../../shared/better-auth.CWoe8tep.cjs');
|
|
8
8
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
9
9
|
require('@better-auth/utils/base64');
|
|
10
10
|
require('@better-auth/utils/hmac');
|
|
11
11
|
require('../../shared/better-auth.DTvRBuq4.cjs');
|
|
12
12
|
require('@better-auth/utils/binary');
|
|
13
|
-
require('../../shared/better-auth.
|
|
13
|
+
require('../../shared/better-auth.oHfRlmfe.cjs');
|
|
14
14
|
require('../../shared/better-auth.DcYLM7Us.cjs');
|
|
15
15
|
require('../../crypto/index.cjs');
|
|
16
|
-
const plugins_oidcProvider_index = require('../../shared/better-auth.
|
|
16
|
+
const plugins_oidcProvider_index = require('../../shared/better-auth.C4gSFtQb.cjs');
|
|
17
17
|
require('@better-auth/utils/hash');
|
|
18
18
|
require('../../shared/better-auth.CMwM5enp.cjs');
|
|
19
19
|
require('@better-auth/utils/random');
|
|
@@ -26,12 +26,13 @@ require('@noble/ciphers/utils.js');
|
|
|
26
26
|
require('@noble/hashes/scrypt.js');
|
|
27
27
|
require('@better-auth/utils/hex');
|
|
28
28
|
require('@noble/hashes/utils.js');
|
|
29
|
-
require('../../shared/better-auth.
|
|
29
|
+
require('../../shared/better-auth.DxBcELEX.cjs');
|
|
30
30
|
require('../../shared/better-auth.ANpbi45u.cjs');
|
|
31
31
|
require('jose/errors');
|
|
32
32
|
require('../../shared/better-auth.DgMx7bVs.cjs');
|
|
33
33
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
34
34
|
require('defu');
|
|
35
|
+
require('../../shared/better-auth.uykCWCYS.cjs');
|
|
35
36
|
require('@better-auth/utils');
|
|
36
37
|
|
|
37
38
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { U as User, I as InferOptionSchema, G as GenericEndpointContext } from '../../shared/better-auth.
|
|
3
|
+
import { U as User, I as InferOptionSchema, G as GenericEndpointContext } from '../../shared/better-auth.BOKSn3AP.cjs';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
@@ -1131,7 +1131,7 @@ declare const oidcProvider: (options: OIDCOptions) => {
|
|
|
1131
1131
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
1132
1132
|
body: {
|
|
1133
1133
|
redirect_uris: string[];
|
|
1134
|
-
token_endpoint_auth_method?: "none" | "
|
|
1134
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
1135
1135
|
grant_types?: ("password" | "refresh_token" | "authorization_code" | "implicit" | "client_credentials" | "urn:ietf:params:oauth:grant-type:jwt-bearer" | "urn:ietf:params:oauth:grant-type:saml2-bearer")[] | undefined;
|
|
1136
1136
|
response_types?: ("token" | "code")[] | undefined;
|
|
1137
1137
|
client_name?: string | undefined;
|
|
@@ -1172,7 +1172,7 @@ declare const oidcProvider: (options: OIDCOptions) => {
|
|
|
1172
1172
|
client_id_issued_at: number;
|
|
1173
1173
|
client_secret_expires_at: number;
|
|
1174
1174
|
redirect_uris: string[];
|
|
1175
|
-
token_endpoint_auth_method: "none" | "
|
|
1175
|
+
token_endpoint_auth_method: "none" | "client_secret_post" | "client_secret_basic";
|
|
1176
1176
|
grant_types: string[];
|
|
1177
1177
|
response_types: string[];
|
|
1178
1178
|
client_name: string | undefined;
|
|
@@ -1195,7 +1195,7 @@ declare const oidcProvider: (options: OIDCOptions) => {
|
|
|
1195
1195
|
client_id_issued_at: number;
|
|
1196
1196
|
client_secret_expires_at: number;
|
|
1197
1197
|
redirect_uris: string[];
|
|
1198
|
-
token_endpoint_auth_method: "none" | "
|
|
1198
|
+
token_endpoint_auth_method: "none" | "client_secret_post" | "client_secret_basic";
|
|
1199
1199
|
grant_types: string[];
|
|
1200
1200
|
response_types: string[];
|
|
1201
1201
|
client_name: string | undefined;
|
|
@@ -1220,8 +1220,8 @@ declare const oidcProvider: (options: OIDCOptions) => {
|
|
|
1220
1220
|
redirect_uris: z.ZodArray<z.ZodString>;
|
|
1221
1221
|
token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1222
1222
|
none: "none";
|
|
1223
|
-
client_secret_basic: "client_secret_basic";
|
|
1224
1223
|
client_secret_post: "client_secret_post";
|
|
1224
|
+
client_secret_basic: "client_secret_basic";
|
|
1225
1225
|
}>>>;
|
|
1226
1226
|
grant_types: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1227
1227
|
password: "password";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { U as User, I as InferOptionSchema, G as GenericEndpointContext } from '../../shared/better-auth.
|
|
3
|
+
import { U as User, I as InferOptionSchema, G as GenericEndpointContext } from '../../shared/better-auth.vNMd9aBC.mjs';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
@@ -1131,7 +1131,7 @@ declare const oidcProvider: (options: OIDCOptions) => {
|
|
|
1131
1131
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
1132
1132
|
body: {
|
|
1133
1133
|
redirect_uris: string[];
|
|
1134
|
-
token_endpoint_auth_method?: "none" | "
|
|
1134
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
1135
1135
|
grant_types?: ("password" | "refresh_token" | "authorization_code" | "implicit" | "client_credentials" | "urn:ietf:params:oauth:grant-type:jwt-bearer" | "urn:ietf:params:oauth:grant-type:saml2-bearer")[] | undefined;
|
|
1136
1136
|
response_types?: ("token" | "code")[] | undefined;
|
|
1137
1137
|
client_name?: string | undefined;
|
|
@@ -1172,7 +1172,7 @@ declare const oidcProvider: (options: OIDCOptions) => {
|
|
|
1172
1172
|
client_id_issued_at: number;
|
|
1173
1173
|
client_secret_expires_at: number;
|
|
1174
1174
|
redirect_uris: string[];
|
|
1175
|
-
token_endpoint_auth_method: "none" | "
|
|
1175
|
+
token_endpoint_auth_method: "none" | "client_secret_post" | "client_secret_basic";
|
|
1176
1176
|
grant_types: string[];
|
|
1177
1177
|
response_types: string[];
|
|
1178
1178
|
client_name: string | undefined;
|
|
@@ -1195,7 +1195,7 @@ declare const oidcProvider: (options: OIDCOptions) => {
|
|
|
1195
1195
|
client_id_issued_at: number;
|
|
1196
1196
|
client_secret_expires_at: number;
|
|
1197
1197
|
redirect_uris: string[];
|
|
1198
|
-
token_endpoint_auth_method: "none" | "
|
|
1198
|
+
token_endpoint_auth_method: "none" | "client_secret_post" | "client_secret_basic";
|
|
1199
1199
|
grant_types: string[];
|
|
1200
1200
|
response_types: string[];
|
|
1201
1201
|
client_name: string | undefined;
|
|
@@ -1220,8 +1220,8 @@ declare const oidcProvider: (options: OIDCOptions) => {
|
|
|
1220
1220
|
redirect_uris: z.ZodArray<z.ZodString>;
|
|
1221
1221
|
token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1222
1222
|
none: "none";
|
|
1223
|
-
client_secret_basic: "client_secret_basic";
|
|
1224
1223
|
client_secret_post: "client_secret_post";
|
|
1224
|
+
client_secret_basic: "client_secret_basic";
|
|
1225
1225
|
}>>>;
|
|
1226
1226
|
grant_types: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1227
1227
|
password: "password";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { U as User, I as InferOptionSchema, G as GenericEndpointContext } from '../../shared/better-auth.
|
|
3
|
+
import { U as User, I as InferOptionSchema, G as GenericEndpointContext } from '../../shared/better-auth.3es9ZU_K.js';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.4SXCyo06.js';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
@@ -1131,7 +1131,7 @@ declare const oidcProvider: (options: OIDCOptions) => {
|
|
|
1131
1131
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
1132
1132
|
body: {
|
|
1133
1133
|
redirect_uris: string[];
|
|
1134
|
-
token_endpoint_auth_method?: "none" | "
|
|
1134
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
1135
1135
|
grant_types?: ("password" | "refresh_token" | "authorization_code" | "implicit" | "client_credentials" | "urn:ietf:params:oauth:grant-type:jwt-bearer" | "urn:ietf:params:oauth:grant-type:saml2-bearer")[] | undefined;
|
|
1136
1136
|
response_types?: ("token" | "code")[] | undefined;
|
|
1137
1137
|
client_name?: string | undefined;
|
|
@@ -1172,7 +1172,7 @@ declare const oidcProvider: (options: OIDCOptions) => {
|
|
|
1172
1172
|
client_id_issued_at: number;
|
|
1173
1173
|
client_secret_expires_at: number;
|
|
1174
1174
|
redirect_uris: string[];
|
|
1175
|
-
token_endpoint_auth_method: "none" | "
|
|
1175
|
+
token_endpoint_auth_method: "none" | "client_secret_post" | "client_secret_basic";
|
|
1176
1176
|
grant_types: string[];
|
|
1177
1177
|
response_types: string[];
|
|
1178
1178
|
client_name: string | undefined;
|
|
@@ -1195,7 +1195,7 @@ declare const oidcProvider: (options: OIDCOptions) => {
|
|
|
1195
1195
|
client_id_issued_at: number;
|
|
1196
1196
|
client_secret_expires_at: number;
|
|
1197
1197
|
redirect_uris: string[];
|
|
1198
|
-
token_endpoint_auth_method: "none" | "
|
|
1198
|
+
token_endpoint_auth_method: "none" | "client_secret_post" | "client_secret_basic";
|
|
1199
1199
|
grant_types: string[];
|
|
1200
1200
|
response_types: string[];
|
|
1201
1201
|
client_name: string | undefined;
|
|
@@ -1220,8 +1220,8 @@ declare const oidcProvider: (options: OIDCOptions) => {
|
|
|
1220
1220
|
redirect_uris: z.ZodArray<z.ZodString>;
|
|
1221
1221
|
token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1222
1222
|
none: "none";
|
|
1223
|
-
client_secret_basic: "client_secret_basic";
|
|
1224
1223
|
client_secret_post: "client_secret_post";
|
|
1224
|
+
client_secret_basic: "client_secret_basic";
|
|
1225
1225
|
}>>>;
|
|
1226
1226
|
grant_types: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1227
1227
|
password: "password";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import 'zod';
|
|
2
2
|
import 'jose';
|
|
3
3
|
import 'better-call';
|
|
4
|
-
import '../../shared/better-auth.
|
|
5
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.C-9OPnjJ.mjs';
|
|
5
|
+
import '../../shared/better-auth.CIqzVuC5.mjs';
|
|
6
6
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
7
7
|
import '@better-auth/utils/base64';
|
|
8
8
|
import '@better-auth/utils/hmac';
|
|
9
9
|
import '../../shared/better-auth.C4g12FAA.mjs';
|
|
10
10
|
import '@better-auth/utils/binary';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.pyHheoY8.mjs';
|
|
12
12
|
import '../../shared/better-auth.CJ2rnsDV.mjs';
|
|
13
13
|
import '../../crypto/index.mjs';
|
|
14
|
-
export { g as getClient, a as getMetadata, o as oidcProvider } from '../../shared/better-auth.
|
|
14
|
+
export { g as getClient, a as getMetadata, o as oidcProvider } from '../../shared/better-auth.Bc2H_kPB.mjs';
|
|
15
15
|
import '@better-auth/utils/hash';
|
|
16
16
|
import '../../shared/better-auth.DDuRjwGK.mjs';
|
|
17
17
|
import '@better-auth/utils/random';
|
|
@@ -24,10 +24,11 @@ import '@noble/ciphers/utils.js';
|
|
|
24
24
|
import '@noble/hashes/scrypt.js';
|
|
25
25
|
import '@better-auth/utils/hex';
|
|
26
26
|
import '@noble/hashes/utils.js';
|
|
27
|
-
import '../../shared/better-auth.
|
|
27
|
+
import '../../shared/better-auth.BAQSo96z.mjs';
|
|
28
28
|
import '../../shared/better-auth.DdzSJf-n.mjs';
|
|
29
29
|
import 'jose/errors';
|
|
30
30
|
import '../../shared/better-auth.CvNZNAOW.mjs';
|
|
31
31
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
32
32
|
import 'defu';
|
|
33
|
+
import '../../shared/better-auth.D2xndZ2p.mjs';
|
|
33
34
|
import '@better-auth/utils';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
const z = require('zod');
|
|
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.C0WkvM-b.cjs');
|
|
6
|
+
const session = require('../../shared/better-auth.CWoe8tep.cjs');
|
|
7
|
+
const cookies_index = require('../../shared/better-auth.oHfRlmfe.cjs');
|
|
8
8
|
require('../../shared/better-auth.DcYLM7Us.cjs');
|
|
9
9
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
10
10
|
require('../../shared/better-auth.DTvRBuq4.cjs');
|
|
@@ -22,13 +22,14 @@ require('../../shared/better-auth.ANpbi45u.cjs');
|
|
|
22
22
|
require('../../shared/better-auth.CYeOI8C-.cjs');
|
|
23
23
|
require('@better-auth/utils/random');
|
|
24
24
|
require('@better-fetch/fetch');
|
|
25
|
-
require('../../shared/better-auth.
|
|
25
|
+
require('../../shared/better-auth.DxBcELEX.cjs');
|
|
26
26
|
require('jose/errors');
|
|
27
27
|
require('../../shared/better-auth.DgMx7bVs.cjs');
|
|
28
28
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
29
29
|
require('@better-auth/utils/hmac');
|
|
30
30
|
require('@better-auth/utils/binary');
|
|
31
31
|
require('defu');
|
|
32
|
+
require('../../shared/better-auth.uykCWCYS.cjs');
|
|
32
33
|
|
|
33
34
|
function _interopNamespaceCompat(e) {
|
|
34
35
|
if (e && typeof e === 'object' && 'default' in e) return e;
|
|
@@ -56,9 +57,9 @@ const oneTap = (options) => ({
|
|
|
56
57
|
{
|
|
57
58
|
method: "POST",
|
|
58
59
|
body: z__namespace.object({
|
|
59
|
-
idToken: z__namespace.string().
|
|
60
|
-
"Google ID token, which the client obtains from the One Tap API"
|
|
61
|
-
)
|
|
60
|
+
idToken: z__namespace.string().meta({
|
|
61
|
+
description: "Google ID token, which the client obtains from the One Tap API"
|
|
62
|
+
})
|
|
62
63
|
}),
|
|
63
64
|
metadata: {
|
|
64
65
|
openapi: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
import { APIError } from 'better-call';
|
|
3
|
-
import '../../shared/better-auth.
|
|
4
|
-
import { a as createAuthEndpoint } from '../../shared/better-auth.
|
|
5
|
-
import { s as setSessionCookie } from '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.C-9OPnjJ.mjs';
|
|
4
|
+
import { a as createAuthEndpoint } from '../../shared/better-auth.CIqzVuC5.mjs';
|
|
5
|
+
import { s as setSessionCookie } from '../../shared/better-auth.pyHheoY8.mjs';
|
|
6
6
|
import '../../shared/better-auth.CJ2rnsDV.mjs';
|
|
7
7
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
8
8
|
import '../../shared/better-auth.C4g12FAA.mjs';
|
|
@@ -20,13 +20,14 @@ import '../../shared/better-auth.DdzSJf-n.mjs';
|
|
|
20
20
|
import '../../shared/better-auth.B4Qoxdgc.mjs';
|
|
21
21
|
import '@better-auth/utils/random';
|
|
22
22
|
import '@better-fetch/fetch';
|
|
23
|
-
import '../../shared/better-auth.
|
|
23
|
+
import '../../shared/better-auth.BAQSo96z.mjs';
|
|
24
24
|
import 'jose/errors';
|
|
25
25
|
import '../../shared/better-auth.CvNZNAOW.mjs';
|
|
26
26
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
27
27
|
import '@better-auth/utils/hmac';
|
|
28
28
|
import '@better-auth/utils/binary';
|
|
29
29
|
import 'defu';
|
|
30
|
+
import '../../shared/better-auth.D2xndZ2p.mjs';
|
|
30
31
|
|
|
31
32
|
function toBoolean(value) {
|
|
32
33
|
return value === "true" || value === true;
|
|
@@ -40,9 +41,9 @@ const oneTap = (options) => ({
|
|
|
40
41
|
{
|
|
41
42
|
method: "POST",
|
|
42
43
|
body: z.object({
|
|
43
|
-
idToken: z.string().
|
|
44
|
-
"Google ID token, which the client obtains from the One Tap API"
|
|
45
|
-
)
|
|
44
|
+
idToken: z.string().meta({
|
|
45
|
+
description: "Google ID token, which the client obtains from the One Tap API"
|
|
46
|
+
})
|
|
46
47
|
}),
|
|
47
48
|
metadata: {
|
|
48
49
|
openapi: {
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
require('zod');
|
|
4
4
|
require('better-call');
|
|
5
|
-
require('../../shared/better-auth.
|
|
6
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.CWoe8tep.cjs');
|
|
6
|
+
require('../../shared/better-auth.C0WkvM-b.cjs');
|
|
7
7
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
8
8
|
require('@better-auth/utils/base64');
|
|
9
9
|
require('@better-auth/utils/hmac');
|
|
10
10
|
require('../../shared/better-auth.DTvRBuq4.cjs');
|
|
11
11
|
require('@better-auth/utils/binary');
|
|
12
12
|
require('../../shared/better-auth.DcYLM7Us.cjs');
|
|
13
|
-
require('../../shared/better-auth.
|
|
13
|
+
require('../../shared/better-auth.1iHKsGdY.cjs');
|
|
14
14
|
require('../organization/access/index.cjs');
|
|
15
15
|
require('@better-auth/utils/random');
|
|
16
16
|
require('@better-auth/utils/hash');
|
|
@@ -27,14 +27,15 @@ require('../admin/access/index.cjs');
|
|
|
27
27
|
require('@better-fetch/fetch');
|
|
28
28
|
require('@better-auth/utils');
|
|
29
29
|
require('../custom-session/index.cjs');
|
|
30
|
-
const plugins_oneTimeToken_index = require('../../shared/better-auth.
|
|
30
|
+
const plugins_oneTimeToken_index = require('../../shared/better-auth.B2Bmtu6f.cjs');
|
|
31
31
|
require('@noble/hashes/sha3.js');
|
|
32
32
|
require('../device-authorization/index.cjs');
|
|
33
33
|
require('../../shared/better-auth.C1hdVENX.cjs');
|
|
34
|
-
require('../../shared/better-auth.
|
|
34
|
+
require('../../shared/better-auth.oHfRlmfe.cjs');
|
|
35
35
|
require('../../shared/better-auth.ANpbi45u.cjs');
|
|
36
36
|
require('../../shared/better-auth.DgMx7bVs.cjs');
|
|
37
|
-
require('../../shared/better-auth.
|
|
37
|
+
require('../../shared/better-auth.DxBcELEX.cjs');
|
|
38
|
+
require('../../shared/better-auth.uykCWCYS.cjs');
|
|
38
39
|
require('../../crypto/index.cjs');
|
|
39
40
|
require('jose/errors');
|
|
40
41
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { U as User, S as Session, G as GenericEndpointContext } from '../../shared/better-auth.
|
|
3
|
+
import { U as User, S as Session, G as GenericEndpointContext } from '../../shared/better-auth.BOKSn3AP.cjs';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { U as User, S as Session, G as GenericEndpointContext } from '../../shared/better-auth.
|
|
3
|
+
import { U as User, S as Session, G as GenericEndpointContext } from '../../shared/better-auth.vNMd9aBC.mjs';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { U as User, S as Session, G as GenericEndpointContext } from '../../shared/better-auth.
|
|
3
|
+
import { U as User, S as Session, G as GenericEndpointContext } from '../../shared/better-auth.3es9ZU_K.js';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import '../../shared/better-auth.4SXCyo06.js';
|
|
6
6
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import 'zod';
|
|
2
2
|
import 'better-call';
|
|
3
|
-
import '../../shared/better-auth.
|
|
4
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.CIqzVuC5.mjs';
|
|
4
|
+
import '../../shared/better-auth.C-9OPnjJ.mjs';
|
|
5
5
|
import '../../shared/better-auth.CiuwFiHM.mjs';
|
|
6
6
|
import '@better-auth/utils/base64';
|
|
7
7
|
import '@better-auth/utils/hmac';
|
|
8
8
|
import '../../shared/better-auth.C4g12FAA.mjs';
|
|
9
9
|
import '@better-auth/utils/binary';
|
|
10
10
|
import '../../shared/better-auth.CJ2rnsDV.mjs';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.Cw2Wb5xl.mjs';
|
|
12
12
|
import '../organization/access/index.mjs';
|
|
13
13
|
import '@better-auth/utils/random';
|
|
14
14
|
import '@better-auth/utils/hash';
|
|
@@ -25,14 +25,15 @@ import '../admin/access/index.mjs';
|
|
|
25
25
|
import '@better-fetch/fetch';
|
|
26
26
|
import '@better-auth/utils';
|
|
27
27
|
import '../custom-session/index.mjs';
|
|
28
|
-
export { o as oneTimeToken } from '../../shared/better-auth.
|
|
28
|
+
export { o as oneTimeToken } from '../../shared/better-auth.BHwIy11H.mjs';
|
|
29
29
|
import '@noble/hashes/sha3.js';
|
|
30
30
|
import '../device-authorization/index.mjs';
|
|
31
31
|
import '../../shared/better-auth.CW6D9eSx.mjs';
|
|
32
|
-
import '../../shared/better-auth.
|
|
32
|
+
import '../../shared/better-auth.pyHheoY8.mjs';
|
|
33
33
|
import '../../shared/better-auth.DdzSJf-n.mjs';
|
|
34
34
|
import '../../shared/better-auth.CvNZNAOW.mjs';
|
|
35
|
-
import '../../shared/better-auth.
|
|
35
|
+
import '../../shared/better-auth.BAQSo96z.mjs';
|
|
36
|
+
import '../../shared/better-auth.D2xndZ2p.mjs';
|
|
36
37
|
import '../../crypto/index.mjs';
|
|
37
38
|
import 'jose/errors';
|
|
38
39
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
@@ -18,21 +18,22 @@ require('@noble/hashes/utils.js');
|
|
|
18
18
|
require('../../shared/better-auth.CYeOI8C-.cjs');
|
|
19
19
|
const getTables = require('../../shared/better-auth.DF_1VOmo.cjs');
|
|
20
20
|
require('kysely');
|
|
21
|
-
require('../../shared/better-auth.
|
|
22
|
-
const session = require('../../shared/better-auth.
|
|
21
|
+
require('../../shared/better-auth.C0WkvM-b.cjs');
|
|
22
|
+
const session = require('../../shared/better-auth.CWoe8tep.cjs');
|
|
23
23
|
require('@better-auth/utils/hmac');
|
|
24
24
|
require('@better-auth/utils/binary');
|
|
25
|
-
require('../../shared/better-auth.
|
|
25
|
+
require('../../shared/better-auth.oHfRlmfe.cjs');
|
|
26
26
|
require('../../shared/better-auth.ANpbi45u.cjs');
|
|
27
27
|
require('../../shared/better-auth.C1hdVENX.cjs');
|
|
28
28
|
require('../../shared/better-auth.DgMx7bVs.cjs');
|
|
29
|
-
require('../../shared/better-auth.
|
|
29
|
+
require('../../shared/better-auth.DxBcELEX.cjs');
|
|
30
30
|
require('../../shared/better-auth.DkbzbiTb.cjs');
|
|
31
31
|
require('../../crypto/index.cjs');
|
|
32
32
|
require('@better-fetch/fetch');
|
|
33
33
|
require('jose/errors');
|
|
34
34
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
35
35
|
require('defu');
|
|
36
|
+
require('../../shared/better-auth.uykCWCYS.cjs');
|
|
36
37
|
|
|
37
38
|
function _interopNamespaceCompat(e) {
|
|
38
39
|
if (e && typeof e === 'object' && 'default' in e) return e;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import { OpenAPIParameter, OpenAPISchemaType } from 'better-call';
|
|
3
|
-
import { d as AuthContext, B as BetterAuthOptions, E as FieldType, J as FieldAttributeConfig } from '../../shared/better-auth.
|
|
3
|
+
import { d as AuthContext, B as BetterAuthOptions, E as FieldType, J as FieldAttributeConfig } from '../../shared/better-auth.BOKSn3AP.cjs';
|
|
4
4
|
import { L as LiteralString } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import '../../shared/better-auth.v_lf-jeY.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import { OpenAPIParameter, OpenAPISchemaType } from 'better-call';
|
|
3
|
-
import { d as AuthContext, B as BetterAuthOptions, E as FieldType, J as FieldAttributeConfig } from '../../shared/better-auth.
|
|
3
|
+
import { d as AuthContext, B as BetterAuthOptions, E as FieldType, J as FieldAttributeConfig } from '../../shared/better-auth.vNMd9aBC.mjs';
|
|
4
4
|
import { L as LiteralString } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import '../../shared/better-auth.XefKa8DI.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
2
|
import { OpenAPIParameter, OpenAPISchemaType } from 'better-call';
|
|
3
|
-
import { d as AuthContext, B as BetterAuthOptions, E as FieldType, J as FieldAttributeConfig } from '../../shared/better-auth.
|
|
3
|
+
import { d as AuthContext, B as BetterAuthOptions, E as FieldType, J as FieldAttributeConfig } from '../../shared/better-auth.3es9ZU_K.js';
|
|
4
4
|
import { L as LiteralString } from '../../shared/better-auth.DTtXpZYr.js';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import '../../shared/better-auth.4SXCyo06.js';
|
|
@@ -16,21 +16,22 @@ import '@noble/hashes/utils.js';
|
|
|
16
16
|
import '../../shared/better-auth.B4Qoxdgc.mjs';
|
|
17
17
|
import { g as getAuthTables } from '../../shared/better-auth.Cjw1GDsh.mjs';
|
|
18
18
|
import 'kysely';
|
|
19
|
-
import '../../shared/better-auth.
|
|
20
|
-
import { a as createAuthEndpoint } from '../../shared/better-auth.
|
|
19
|
+
import '../../shared/better-auth.C-9OPnjJ.mjs';
|
|
20
|
+
import { a as createAuthEndpoint } from '../../shared/better-auth.CIqzVuC5.mjs';
|
|
21
21
|
import '@better-auth/utils/hmac';
|
|
22
22
|
import '@better-auth/utils/binary';
|
|
23
|
-
import '../../shared/better-auth.
|
|
23
|
+
import '../../shared/better-auth.pyHheoY8.mjs';
|
|
24
24
|
import '../../shared/better-auth.DdzSJf-n.mjs';
|
|
25
25
|
import '../../shared/better-auth.CW6D9eSx.mjs';
|
|
26
26
|
import '../../shared/better-auth.CvNZNAOW.mjs';
|
|
27
|
-
import '../../shared/better-auth.
|
|
27
|
+
import '../../shared/better-auth.BAQSo96z.mjs';
|
|
28
28
|
import '../../shared/better-auth.Cwj5CPkV.mjs';
|
|
29
29
|
import '../../crypto/index.mjs';
|
|
30
30
|
import '@better-fetch/fetch';
|
|
31
31
|
import 'jose/errors';
|
|
32
32
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
33
33
|
import 'defu';
|
|
34
|
+
import '../../shared/better-auth.D2xndZ2p.mjs';
|
|
34
35
|
|
|
35
36
|
const allowedType = /* @__PURE__ */ new Set(["string", "number", "boolean", "array", "object"]);
|
|
36
37
|
function getTypeFromZodType(zodType) {
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const organization = require('../../shared/better-auth.
|
|
3
|
+
const organization = require('../../shared/better-auth.W6wY8Xk1.cjs');
|
|
4
4
|
require('better-call');
|
|
5
5
|
require('zod');
|
|
6
|
-
require('../../shared/better-auth.
|
|
6
|
+
require('../../shared/better-auth.CWoe8tep.cjs');
|
|
7
7
|
require('../../shared/better-auth.C1hdVENX.cjs');
|
|
8
|
-
require('../../shared/better-auth.
|
|
8
|
+
require('../../shared/better-auth.oHfRlmfe.cjs');
|
|
9
9
|
require('../../shared/better-auth.ANpbi45u.cjs');
|
|
10
10
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
11
11
|
require('@better-auth/utils/base64');
|
|
12
12
|
require('@better-auth/utils/hmac');
|
|
13
13
|
require('../../shared/better-auth.DgMx7bVs.cjs');
|
|
14
14
|
require('../../shared/better-auth.DTvRBuq4.cjs');
|
|
15
|
-
require('../../shared/better-auth.
|
|
15
|
+
require('../../shared/better-auth.DxBcELEX.cjs');
|
|
16
16
|
require('@better-auth/utils/binary');
|
|
17
|
-
require('../../shared/better-auth.
|
|
17
|
+
require('../../shared/better-auth.uykCWCYS.cjs');
|
|
18
|
+
require('../../shared/better-auth.C0WkvM-b.cjs');
|
|
18
19
|
require('@better-auth/utils/hash');
|
|
19
20
|
require('../../crypto/index.cjs');
|
|
20
21
|
require('@noble/ciphers/chacha.js');
|
|
@@ -31,7 +32,7 @@ require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
|
31
32
|
require('../../shared/better-auth.DcYLM7Us.cjs');
|
|
32
33
|
require('defu');
|
|
33
34
|
require('../../shared/better-auth.DUNU0obG.cjs');
|
|
34
|
-
require('../../shared/better-auth.
|
|
35
|
+
require('../../shared/better-auth.1iHKsGdY.cjs');
|
|
35
36
|
require('./access/index.cjs');
|
|
36
37
|
require('../access/index.cjs');
|
|
37
38
|
require('../../shared/better-auth.CqRypKVa.cjs');
|