better-auth 1.3.9-beta.2 → 1.3.9-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/drizzle-adapter/index.cjs +5 -6
- package/dist/adapters/drizzle-adapter/index.d.cts +2 -3
- package/dist/adapters/drizzle-adapter/index.d.mts +2 -3
- package/dist/adapters/drizzle-adapter/index.d.ts +2 -3
- package/dist/adapters/drizzle-adapter/index.mjs +5 -6
- package/dist/adapters/index.cjs +5 -6
- package/dist/adapters/index.d.cts +3 -4
- package/dist/adapters/index.d.mts +3 -4
- package/dist/adapters/index.d.ts +3 -4
- package/dist/adapters/index.mjs +5 -6
- package/dist/adapters/kysely-adapter/index.cjs +6 -7
- package/dist/adapters/kysely-adapter/index.d.cts +2 -3
- package/dist/adapters/kysely-adapter/index.d.mts +2 -3
- package/dist/adapters/kysely-adapter/index.d.ts +2 -3
- package/dist/adapters/kysely-adapter/index.mjs +6 -7
- package/dist/adapters/memory-adapter/index.cjs +6 -7
- package/dist/adapters/memory-adapter/index.d.cts +2 -3
- package/dist/adapters/memory-adapter/index.d.mts +2 -3
- package/dist/adapters/memory-adapter/index.d.ts +2 -3
- package/dist/adapters/memory-adapter/index.mjs +6 -7
- package/dist/adapters/mongodb-adapter/index.cjs +6 -7
- package/dist/adapters/mongodb-adapter/index.d.cts +2 -3
- package/dist/adapters/mongodb-adapter/index.d.mts +2 -3
- package/dist/adapters/mongodb-adapter/index.d.ts +2 -3
- package/dist/adapters/mongodb-adapter/index.mjs +6 -7
- package/dist/adapters/prisma-adapter/index.cjs +5 -6
- package/dist/adapters/prisma-adapter/index.d.cts +2 -3
- package/dist/adapters/prisma-adapter/index.d.mts +2 -3
- package/dist/adapters/prisma-adapter/index.d.ts +2 -3
- package/dist/adapters/prisma-adapter/index.mjs +5 -6
- package/dist/adapters/test.cjs +4 -5
- package/dist/adapters/test.d.cts +2 -3
- package/dist/adapters/test.d.mts +2 -3
- package/dist/adapters/test.d.ts +2 -3
- package/dist/adapters/test.mjs +4 -5
- package/dist/api/index.cjs +23 -6
- package/dist/api/index.d.cts +2 -3
- package/dist/api/index.d.mts +2 -3
- package/dist/api/index.d.ts +2 -3
- package/dist/api/index.mjs +24 -7
- package/dist/client/index.d.cts +4 -5
- package/dist/client/index.d.mts +4 -5
- package/dist/client/index.d.ts +4 -5
- package/dist/client/plugins/index.cjs +6 -7
- package/dist/client/plugins/index.d.cts +5 -5
- package/dist/client/plugins/index.d.mts +5 -5
- package/dist/client/plugins/index.d.ts +5 -5
- package/dist/client/plugins/index.mjs +6 -7
- package/dist/client/react/index.d.cts +4 -5
- package/dist/client/react/index.d.mts +4 -5
- package/dist/client/react/index.d.ts +4 -5
- package/dist/client/solid/index.d.cts +3 -4
- package/dist/client/solid/index.d.mts +3 -4
- package/dist/client/solid/index.d.ts +3 -4
- package/dist/client/svelte/index.d.cts +3 -4
- package/dist/client/svelte/index.d.mts +3 -4
- package/dist/client/svelte/index.d.ts +3 -4
- package/dist/client/vue/index.d.cts +3 -4
- package/dist/client/vue/index.d.mts +3 -4
- package/dist/client/vue/index.d.ts +3 -4
- package/dist/cookies/index.d.cts +2 -3
- package/dist/cookies/index.d.mts +2 -3
- package/dist/cookies/index.d.ts +2 -3
- package/dist/crypto/index.cjs +12 -13
- package/dist/crypto/index.mjs +4 -5
- package/dist/db/index.cjs +8 -9
- package/dist/db/index.d.cts +3 -4
- package/dist/db/index.d.mts +3 -4
- package/dist/db/index.d.ts +3 -4
- package/dist/db/index.mjs +8 -9
- package/dist/index.cjs +10 -11
- package/dist/index.d.cts +10 -11
- package/dist/index.d.mts +10 -11
- package/dist/index.d.ts +10 -11
- package/dist/index.mjs +10 -11
- package/dist/integrations/next-js.cjs +7 -8
- package/dist/integrations/next-js.d.cts +2 -3
- package/dist/integrations/next-js.d.mts +2 -3
- package/dist/integrations/next-js.d.ts +2 -3
- package/dist/integrations/next-js.mjs +7 -8
- package/dist/integrations/node.d.cts +2 -3
- package/dist/integrations/node.d.mts +2 -3
- package/dist/integrations/node.d.ts +2 -3
- package/dist/integrations/react-start.cjs +7 -8
- package/dist/integrations/react-start.d.cts +2 -3
- package/dist/integrations/react-start.d.mts +2 -3
- package/dist/integrations/react-start.d.ts +2 -3
- package/dist/integrations/react-start.mjs +7 -8
- package/dist/integrations/svelte-kit.cjs +5 -6
- package/dist/integrations/svelte-kit.d.cts +2 -3
- package/dist/integrations/svelte-kit.d.mts +2 -3
- package/dist/integrations/svelte-kit.d.ts +2 -3
- package/dist/integrations/svelte-kit.mjs +5 -6
- package/dist/oauth2/index.cjs +5 -6
- package/dist/oauth2/index.d.cts +4 -4
- package/dist/oauth2/index.d.mts +4 -4
- package/dist/oauth2/index.d.ts +4 -4
- package/dist/oauth2/index.mjs +5 -6
- package/dist/plugins/admin/index.cjs +6 -7
- package/dist/plugins/admin/index.d.cts +4 -5
- package/dist/plugins/admin/index.d.mts +4 -5
- package/dist/plugins/admin/index.d.ts +4 -5
- package/dist/plugins/admin/index.mjs +6 -7
- package/dist/plugins/anonymous/index.cjs +5 -6
- package/dist/plugins/anonymous/index.d.cts +2 -3
- package/dist/plugins/anonymous/index.d.mts +2 -3
- package/dist/plugins/anonymous/index.d.ts +2 -3
- package/dist/plugins/anonymous/index.mjs +5 -6
- package/dist/plugins/bearer/index.cjs +5 -6
- package/dist/plugins/bearer/index.d.cts +2 -3
- package/dist/plugins/bearer/index.d.mts +2 -3
- package/dist/plugins/bearer/index.d.ts +2 -3
- package/dist/plugins/bearer/index.mjs +5 -6
- package/dist/plugins/captcha/index.d.cts +2 -3
- package/dist/plugins/captcha/index.d.mts +2 -3
- package/dist/plugins/captcha/index.d.ts +2 -3
- package/dist/plugins/custom-session/index.cjs +5 -6
- package/dist/plugins/custom-session/index.d.cts +2 -3
- package/dist/plugins/custom-session/index.d.mts +2 -3
- package/dist/plugins/custom-session/index.d.ts +2 -3
- package/dist/plugins/custom-session/index.mjs +5 -6
- package/dist/plugins/device-authorization/index.cjs +4 -5
- package/dist/plugins/device-authorization/index.d.cts +2 -3
- package/dist/plugins/device-authorization/index.d.mts +2 -3
- package/dist/plugins/device-authorization/index.d.ts +2 -3
- package/dist/plugins/device-authorization/index.mjs +4 -5
- package/dist/plugins/email-otp/index.cjs +5 -6
- package/dist/plugins/email-otp/index.d.cts +2 -3
- package/dist/plugins/email-otp/index.d.mts +2 -3
- package/dist/plugins/email-otp/index.d.ts +2 -3
- package/dist/plugins/email-otp/index.mjs +5 -6
- package/dist/plugins/generic-oauth/index.cjs +5 -6
- package/dist/plugins/generic-oauth/index.d.cts +2 -3
- package/dist/plugins/generic-oauth/index.d.mts +2 -3
- package/dist/plugins/generic-oauth/index.d.ts +2 -3
- package/dist/plugins/generic-oauth/index.mjs +5 -6
- package/dist/plugins/haveibeenpwned/index.cjs +5 -6
- package/dist/plugins/haveibeenpwned/index.d.cts +2 -3
- package/dist/plugins/haveibeenpwned/index.d.mts +2 -3
- package/dist/plugins/haveibeenpwned/index.d.ts +2 -3
- package/dist/plugins/haveibeenpwned/index.mjs +5 -6
- package/dist/plugins/index.cjs +17 -16
- package/dist/plugins/index.d.cts +7 -7
- package/dist/plugins/index.d.mts +7 -7
- package/dist/plugins/index.d.ts +7 -7
- package/dist/plugins/index.mjs +18 -17
- package/dist/plugins/jwt/index.cjs +6 -7
- package/dist/plugins/jwt/index.d.cts +2 -2
- package/dist/plugins/jwt/index.d.mts +2 -2
- package/dist/plugins/jwt/index.d.ts +2 -2
- package/dist/plugins/jwt/index.mjs +7 -8
- package/dist/plugins/magic-link/index.cjs +5 -6
- package/dist/plugins/magic-link/index.mjs +5 -6
- package/dist/plugins/multi-session/index.cjs +5 -6
- package/dist/plugins/multi-session/index.d.cts +2 -3
- package/dist/plugins/multi-session/index.d.mts +2 -3
- package/dist/plugins/multi-session/index.d.ts +2 -3
- package/dist/plugins/multi-session/index.mjs +5 -6
- package/dist/plugins/oauth-proxy/index.cjs +5 -6
- package/dist/plugins/oauth-proxy/index.d.cts +2 -3
- package/dist/plugins/oauth-proxy/index.d.mts +2 -3
- package/dist/plugins/oauth-proxy/index.d.ts +2 -3
- package/dist/plugins/oauth-proxy/index.mjs +5 -6
- package/dist/plugins/oidc-provider/index.cjs +7 -8
- package/dist/plugins/oidc-provider/index.d.cts +2 -3
- package/dist/plugins/oidc-provider/index.d.mts +2 -3
- package/dist/plugins/oidc-provider/index.d.ts +2 -3
- package/dist/plugins/oidc-provider/index.mjs +7 -8
- package/dist/plugins/one-tap/index.cjs +5 -6
- package/dist/plugins/one-tap/index.mjs +5 -6
- package/dist/plugins/one-time-token/index.cjs +8 -9
- package/dist/plugins/one-time-token/index.d.cts +2 -3
- package/dist/plugins/one-time-token/index.d.mts +2 -3
- package/dist/plugins/one-time-token/index.d.ts +2 -3
- package/dist/plugins/one-time-token/index.mjs +8 -9
- package/dist/plugins/open-api/index.cjs +44 -13
- package/dist/plugins/open-api/index.d.cts +2 -3
- package/dist/plugins/open-api/index.d.mts +2 -3
- package/dist/plugins/open-api/index.d.ts +2 -3
- package/dist/plugins/open-api/index.mjs +44 -13
- package/dist/plugins/organization/index.cjs +8 -9
- package/dist/plugins/organization/index.d.cts +2 -3
- package/dist/plugins/organization/index.d.mts +2 -3
- package/dist/plugins/organization/index.d.ts +2 -3
- package/dist/plugins/organization/index.mjs +8 -9
- package/dist/plugins/passkey/index.cjs +5 -6
- package/dist/plugins/passkey/index.d.cts +2 -3
- package/dist/plugins/passkey/index.d.mts +2 -3
- package/dist/plugins/passkey/index.d.ts +2 -3
- package/dist/plugins/passkey/index.mjs +5 -6
- package/dist/plugins/phone-number/index.cjs +5 -6
- package/dist/plugins/phone-number/index.d.cts +2 -3
- package/dist/plugins/phone-number/index.d.mts +2 -3
- package/dist/plugins/phone-number/index.d.ts +2 -3
- package/dist/plugins/phone-number/index.mjs +5 -6
- package/dist/plugins/siwe/index.cjs +7 -8
- package/dist/plugins/siwe/index.d.cts +2 -3
- package/dist/plugins/siwe/index.d.mts +2 -3
- package/dist/plugins/siwe/index.d.ts +2 -3
- package/dist/plugins/siwe/index.mjs +7 -8
- package/dist/plugins/sso/index.cjs +5 -6
- package/dist/plugins/sso/index.d.cts +2 -3
- package/dist/plugins/sso/index.d.mts +2 -3
- package/dist/plugins/sso/index.d.ts +2 -3
- package/dist/plugins/sso/index.mjs +5 -6
- package/dist/plugins/two-factor/index.cjs +5 -6
- package/dist/plugins/two-factor/index.d.cts +2 -3
- package/dist/plugins/two-factor/index.d.mts +2 -3
- package/dist/plugins/two-factor/index.d.ts +2 -3
- package/dist/plugins/two-factor/index.mjs +5 -6
- package/dist/plugins/username/index.cjs +20 -6
- package/dist/plugins/username/index.d.cts +19 -5
- package/dist/plugins/username/index.d.mts +19 -5
- package/dist/plugins/username/index.d.ts +19 -5
- package/dist/plugins/username/index.mjs +20 -6
- package/dist/shared/{better-auth.Ck4qhtF6.mjs → better-auth.5WTE-uUO.mjs} +5 -6
- package/dist/shared/{better-auth.DGuotwA1.d.cts → better-auth.6crrbXrP.d.cts} +308 -8
- package/dist/shared/{better-auth.gF8vGD5L.mjs → better-auth.7ZeACU2v.mjs} +5 -6
- package/dist/shared/{better-auth.CnIVrMwK.d.ts → better-auth.B-CitgLp.d.ts} +1 -1
- package/dist/shared/{better-auth.CXBi-DJc.cjs → better-auth.B-GguVp5.cjs} +7 -8
- package/dist/shared/{better-auth.CEc4wau_.d.cts → better-auth.B-V8R4q7.d.cts} +1 -1
- package/dist/shared/{better-auth.mA4L_-fq.d.ts → better-auth.B5FL4Q2B.d.ts} +2 -3
- package/dist/shared/{better-auth.EF9Iq11i.d.ts → better-auth.BAnyvLX6.d.ts} +1 -1
- package/dist/shared/{better-auth.C_gHVcnc.cjs → better-auth.BEYvND1Y.cjs} +1 -1
- package/dist/shared/{better-auth.TZOo7890.cjs → better-auth.BVUwL7ru.cjs} +1 -1
- package/dist/shared/{better-auth.BjjUH-Ka.mjs → better-auth.BWl2NB1B.mjs} +1 -1
- package/dist/shared/{better-auth.BlqpEUaH.mjs → better-auth.BZTBs9Yy.mjs} +7 -8
- package/dist/shared/{better-auth.CTMmErGI.d.cts → better-auth.BaMSx6K3.d.cts} +2 -3
- package/dist/shared/{better-auth.DXKgbji-.mjs → better-auth.BduPtJy8.mjs} +1 -1
- package/dist/shared/{better-auth.Dc0nj0we.cjs → better-auth.BlsHS68J.cjs} +22 -5
- package/dist/shared/{better-auth.Dyb4JEgv.cjs → better-auth.C5ZbY8Lo.cjs} +6 -7
- package/dist/shared/{better-auth.XP_NDvic.mjs → better-auth.C7KUdiwV.mjs} +1 -1
- package/dist/shared/{better-auth.BvYLXwvp.cjs → better-auth.CMwM5enp.cjs} +1 -0
- package/dist/shared/{better-auth.DtZRMuXL.cjs → better-auth.CRFFLEbh.cjs} +6 -7
- package/dist/shared/{better-auth.B3CPLvGC.mjs → better-auth.CSEecXfV.mjs} +22 -5
- package/dist/shared/{better-auth.DTV9hYzN.cjs → better-auth.CdLjcJ6z.cjs} +7 -8
- package/dist/shared/{better-auth.B8UjXTUa.mjs → better-auth.CtB1M_c7.mjs} +1 -1
- package/dist/shared/{better-auth.DFJOJkY1.cjs → better-auth.CtgUZb45.cjs} +7 -8
- package/dist/shared/{better-auth.3K3VNUn3.mjs → better-auth.D9PzlwY_.mjs} +6 -7
- package/dist/shared/{better-auth.CY7-Inqt.mjs → better-auth.DDuRjwGK.mjs} +1 -0
- package/dist/shared/{better-auth.B1yOWNP8.cjs → better-auth.DEKJQy4E.cjs} +1 -1
- package/dist/shared/{better-auth.DAUyNtx1.mjs → better-auth.DLsqH9Hw.mjs} +7 -8
- package/dist/shared/{better-auth.BuBqXPUp.mjs → better-auth.DOXaXTC6.mjs} +4 -5
- package/dist/shared/{better-auth.BWzwHY8m.cjs → better-auth.DPsIzckY.cjs} +5 -6
- package/dist/shared/{better-auth.DDDKwecE.mjs → better-auth.DQ6bmgix.mjs} +7 -8
- package/dist/shared/{better-auth.ChqAn6N0.d.mts → better-auth.DQLetyog.d.cts} +1 -1
- package/dist/shared/{better-auth.ZUo2dMO3.d.mts → better-auth.DR57bygo.d.mts} +2 -3
- package/dist/shared/{better-auth.fBcUR9cm.mjs → better-auth.DV0Lly8-.mjs} +6 -7
- package/dist/shared/{better-auth.WOu5GuAp.d.ts → better-auth.DtrrQDoO.d.ts} +5 -5
- package/dist/shared/{better-auth.aZPAhP-f.cjs → better-auth.QqWdVDmR.cjs} +5 -6
- package/dist/shared/{better-auth.DU2vRHKI.d.ts → better-auth.S3lnSz8Y.d.ts} +308 -8
- package/dist/shared/{better-auth.C9jfJUDF.cjs → better-auth.Szg-8evr.cjs} +4 -5
- package/dist/shared/{better-auth.llWU4_4y.d.cts → better-auth.UcasWcPe.d.cts} +5 -5
- package/dist/shared/{better-auth.YWGwdADP.cjs → better-auth.WyvofoOW.cjs} +1 -1
- package/dist/shared/{better-auth.f-bUldRg.d.mts → better-auth.YK5LQtFt.d.mts} +308 -8
- package/dist/shared/{better-auth.Df1_Wu_1.d.mts → better-auth.eYki6XKk.d.mts} +5 -5
- package/dist/shared/{better-auth.BZiffGTH.d.mts → better-auth.g9DlWOx7.d.mts} +1 -1
- package/dist/shared/{better-auth.D9BrVtBy.d.cts → better-auth.km36dqos.d.mts} +1 -1
- package/dist/social-providers/index.cjs +5 -6
- package/dist/social-providers/index.d.cts +1 -2
- package/dist/social-providers/index.d.mts +1 -2
- package/dist/social-providers/index.d.ts +1 -2
- package/dist/social-providers/index.mjs +5 -6
- package/dist/test-utils/index.cjs +13 -14
- package/dist/test-utils/index.d.cts +258 -4
- package/dist/test-utils/index.d.mts +258 -4
- package/dist/test-utils/index.d.ts +258 -4
- package/dist/test-utils/index.mjs +13 -14
- package/dist/types/index.d.cts +3 -4
- package/dist/types/index.d.mts +3 -4
- package/dist/types/index.d.ts +3 -4
- package/package.json +10 -5
|
@@ -4,7 +4,7 @@ import { EndpointContext, InputContext, CookieOptions, Endpoint, Middleware } fr
|
|
|
4
4
|
import * as z from 'zod/v4';
|
|
5
5
|
import { ZodType } from 'zod/v4';
|
|
6
6
|
import { b as LiteralUnion, L as LiteralString, D as DeepPartial, U as UnionToIntersection, a as Prettify, S as StripEmptyObjects, O as OmitId, P as PrettifyDeep, E as Expand } from './better-auth.DTtXpZYr.cjs';
|
|
7
|
-
import { b as OAuthProvider, S as SocialProviders, c as SocialProviderList, O as OAuth2Tokens, a as OAuth2UserInfo } from './better-auth.
|
|
7
|
+
import { b as OAuthProvider, S as SocialProviders, c as SocialProviderList, O as OAuth2Tokens, a as OAuth2UserInfo } from './better-auth.BaMSx6K3.cjs';
|
|
8
8
|
import * as zod_v4_core from 'zod/v4/core';
|
|
9
9
|
import * as zod from 'zod';
|
|
10
10
|
import { Database } from 'better-sqlite3';
|
|
@@ -395,9 +395,8 @@ declare const createFieldAttribute: <T extends FieldType, C extends Omit<FieldAt
|
|
|
395
395
|
output?: (value: Primitive) => Primitive | Promise<Primitive>;
|
|
396
396
|
};
|
|
397
397
|
returned?: boolean;
|
|
398
|
+
fieldName?: string;
|
|
398
399
|
required?: boolean;
|
|
399
|
-
unique?: boolean;
|
|
400
|
-
defaultValue?: Primitive | (() => Primitive);
|
|
401
400
|
references?: {
|
|
402
401
|
/**
|
|
403
402
|
* The model to reference.
|
|
@@ -413,9 +412,10 @@ declare const createFieldAttribute: <T extends FieldType, C extends Omit<FieldAt
|
|
|
413
412
|
*/
|
|
414
413
|
onDelete?: "no action" | "restrict" | "cascade" | "set null" | "set default";
|
|
415
414
|
};
|
|
416
|
-
|
|
417
|
-
|
|
415
|
+
defaultValue?: Primitive | (() => Primitive);
|
|
416
|
+
unique?: boolean;
|
|
418
417
|
sortable?: boolean;
|
|
418
|
+
onUpdate?: () => Primitive;
|
|
419
419
|
validator?: {
|
|
420
420
|
input?: ZodType;
|
|
421
421
|
output?: ZodType;
|
|
@@ -1816,13 +1816,13 @@ type BetterAuthOptions = {
|
|
|
1816
1816
|
* The maximum number of requests allowed within the window.
|
|
1817
1817
|
*/
|
|
1818
1818
|
max: number;
|
|
1819
|
-
} | ((request: Request) => {
|
|
1819
|
+
} | false | ((request: Request) => {
|
|
1820
1820
|
window: number;
|
|
1821
1821
|
max: number;
|
|
1822
|
-
} | Promise<{
|
|
1822
|
+
} | false | Promise<{
|
|
1823
1823
|
window: number;
|
|
1824
1824
|
max: number;
|
|
1825
|
-
}>);
|
|
1825
|
+
} | false>);
|
|
1826
1826
|
};
|
|
1827
1827
|
/**
|
|
1828
1828
|
* Storage configuration
|
|
@@ -4864,6 +4864,21 @@ declare const changeEmail: {
|
|
|
4864
4864
|
};
|
|
4865
4865
|
};
|
|
4866
4866
|
};
|
|
4867
|
+
"422": {
|
|
4868
|
+
description: string;
|
|
4869
|
+
content: {
|
|
4870
|
+
"application/json": {
|
|
4871
|
+
schema: {
|
|
4872
|
+
type: "object";
|
|
4873
|
+
properties: {
|
|
4874
|
+
message: {
|
|
4875
|
+
type: string;
|
|
4876
|
+
};
|
|
4877
|
+
};
|
|
4878
|
+
};
|
|
4879
|
+
};
|
|
4880
|
+
};
|
|
4881
|
+
};
|
|
4867
4882
|
};
|
|
4868
4883
|
};
|
|
4869
4884
|
};
|
|
@@ -5098,6 +5113,21 @@ declare const signUpEmail: <O extends BetterAuthOptions>() => {
|
|
|
5098
5113
|
};
|
|
5099
5114
|
};
|
|
5100
5115
|
};
|
|
5116
|
+
"422": {
|
|
5117
|
+
description: string;
|
|
5118
|
+
content: {
|
|
5119
|
+
"application/json": {
|
|
5120
|
+
schema: {
|
|
5121
|
+
type: "object";
|
|
5122
|
+
properties: {
|
|
5123
|
+
message: {
|
|
5124
|
+
type: string;
|
|
5125
|
+
};
|
|
5126
|
+
};
|
|
5127
|
+
};
|
|
5128
|
+
};
|
|
5129
|
+
};
|
|
5130
|
+
};
|
|
5101
5131
|
};
|
|
5102
5132
|
};
|
|
5103
5133
|
};
|
|
@@ -5213,6 +5243,21 @@ declare const signUpEmail: <O extends BetterAuthOptions>() => {
|
|
|
5213
5243
|
};
|
|
5214
5244
|
};
|
|
5215
5245
|
};
|
|
5246
|
+
"422": {
|
|
5247
|
+
description: string;
|
|
5248
|
+
content: {
|
|
5249
|
+
"application/json": {
|
|
5250
|
+
schema: {
|
|
5251
|
+
type: "object";
|
|
5252
|
+
properties: {
|
|
5253
|
+
message: {
|
|
5254
|
+
type: string;
|
|
5255
|
+
};
|
|
5256
|
+
};
|
|
5257
|
+
};
|
|
5258
|
+
};
|
|
5259
|
+
};
|
|
5260
|
+
};
|
|
5216
5261
|
};
|
|
5217
5262
|
};
|
|
5218
5263
|
};
|
|
@@ -5353,6 +5398,21 @@ declare const signUpEmail: <O extends BetterAuthOptions>() => {
|
|
|
5353
5398
|
};
|
|
5354
5399
|
};
|
|
5355
5400
|
};
|
|
5401
|
+
"422": {
|
|
5402
|
+
description: string;
|
|
5403
|
+
content: {
|
|
5404
|
+
"application/json": {
|
|
5405
|
+
schema: {
|
|
5406
|
+
type: "object";
|
|
5407
|
+
properties: {
|
|
5408
|
+
message: {
|
|
5409
|
+
type: string;
|
|
5410
|
+
};
|
|
5411
|
+
};
|
|
5412
|
+
};
|
|
5413
|
+
};
|
|
5414
|
+
};
|
|
5415
|
+
};
|
|
5356
5416
|
};
|
|
5357
5417
|
};
|
|
5358
5418
|
};
|
|
@@ -5541,6 +5601,21 @@ declare const signUpEmail: <O extends BetterAuthOptions>() => {
|
|
|
5541
5601
|
};
|
|
5542
5602
|
};
|
|
5543
5603
|
};
|
|
5604
|
+
"422": {
|
|
5605
|
+
description: string;
|
|
5606
|
+
content: {
|
|
5607
|
+
"application/json": {
|
|
5608
|
+
schema: {
|
|
5609
|
+
type: "object";
|
|
5610
|
+
properties: {
|
|
5611
|
+
message: {
|
|
5612
|
+
type: string;
|
|
5613
|
+
};
|
|
5614
|
+
};
|
|
5615
|
+
};
|
|
5616
|
+
};
|
|
5617
|
+
};
|
|
5618
|
+
};
|
|
5544
5619
|
};
|
|
5545
5620
|
};
|
|
5546
5621
|
};
|
|
@@ -6792,6 +6867,21 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
6792
6867
|
};
|
|
6793
6868
|
};
|
|
6794
6869
|
};
|
|
6870
|
+
"422": {
|
|
6871
|
+
description: string;
|
|
6872
|
+
content: {
|
|
6873
|
+
"application/json": {
|
|
6874
|
+
schema: {
|
|
6875
|
+
type: "object";
|
|
6876
|
+
properties: {
|
|
6877
|
+
message: {
|
|
6878
|
+
type: string;
|
|
6879
|
+
};
|
|
6880
|
+
};
|
|
6881
|
+
};
|
|
6882
|
+
};
|
|
6883
|
+
};
|
|
6884
|
+
};
|
|
6795
6885
|
};
|
|
6796
6886
|
};
|
|
6797
6887
|
};
|
|
@@ -6907,6 +6997,21 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
6907
6997
|
};
|
|
6908
6998
|
};
|
|
6909
6999
|
};
|
|
7000
|
+
"422": {
|
|
7001
|
+
description: string;
|
|
7002
|
+
content: {
|
|
7003
|
+
"application/json": {
|
|
7004
|
+
schema: {
|
|
7005
|
+
type: "object";
|
|
7006
|
+
properties: {
|
|
7007
|
+
message: {
|
|
7008
|
+
type: string;
|
|
7009
|
+
};
|
|
7010
|
+
};
|
|
7011
|
+
};
|
|
7012
|
+
};
|
|
7013
|
+
};
|
|
7014
|
+
};
|
|
6910
7015
|
};
|
|
6911
7016
|
};
|
|
6912
7017
|
};
|
|
@@ -7047,6 +7152,21 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
7047
7152
|
};
|
|
7048
7153
|
};
|
|
7049
7154
|
};
|
|
7155
|
+
"422": {
|
|
7156
|
+
description: string;
|
|
7157
|
+
content: {
|
|
7158
|
+
"application/json": {
|
|
7159
|
+
schema: {
|
|
7160
|
+
type: "object";
|
|
7161
|
+
properties: {
|
|
7162
|
+
message: {
|
|
7163
|
+
type: string;
|
|
7164
|
+
};
|
|
7165
|
+
};
|
|
7166
|
+
};
|
|
7167
|
+
};
|
|
7168
|
+
};
|
|
7169
|
+
};
|
|
7050
7170
|
};
|
|
7051
7171
|
};
|
|
7052
7172
|
};
|
|
@@ -7235,6 +7355,21 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
7235
7355
|
};
|
|
7236
7356
|
};
|
|
7237
7357
|
};
|
|
7358
|
+
"422": {
|
|
7359
|
+
description: string;
|
|
7360
|
+
content: {
|
|
7361
|
+
"application/json": {
|
|
7362
|
+
schema: {
|
|
7363
|
+
type: "object";
|
|
7364
|
+
properties: {
|
|
7365
|
+
message: {
|
|
7366
|
+
type: string;
|
|
7367
|
+
};
|
|
7368
|
+
};
|
|
7369
|
+
};
|
|
7370
|
+
};
|
|
7371
|
+
};
|
|
7372
|
+
};
|
|
7238
7373
|
};
|
|
7239
7374
|
};
|
|
7240
7375
|
};
|
|
@@ -7851,6 +7986,21 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
|
|
|
7851
7986
|
};
|
|
7852
7987
|
};
|
|
7853
7988
|
};
|
|
7989
|
+
"422": {
|
|
7990
|
+
description: string;
|
|
7991
|
+
content: {
|
|
7992
|
+
"application/json": {
|
|
7993
|
+
schema: {
|
|
7994
|
+
type: "object";
|
|
7995
|
+
properties: {
|
|
7996
|
+
message: {
|
|
7997
|
+
type: string;
|
|
7998
|
+
};
|
|
7999
|
+
};
|
|
8000
|
+
};
|
|
8001
|
+
};
|
|
8002
|
+
};
|
|
8003
|
+
};
|
|
7854
8004
|
};
|
|
7855
8005
|
};
|
|
7856
8006
|
};
|
|
@@ -10409,6 +10559,21 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
10409
10559
|
};
|
|
10410
10560
|
};
|
|
10411
10561
|
};
|
|
10562
|
+
"422": {
|
|
10563
|
+
description: string;
|
|
10564
|
+
content: {
|
|
10565
|
+
"application/json": {
|
|
10566
|
+
schema: {
|
|
10567
|
+
type: "object";
|
|
10568
|
+
properties: {
|
|
10569
|
+
message: {
|
|
10570
|
+
type: string;
|
|
10571
|
+
};
|
|
10572
|
+
};
|
|
10573
|
+
};
|
|
10574
|
+
};
|
|
10575
|
+
};
|
|
10576
|
+
};
|
|
10412
10577
|
};
|
|
10413
10578
|
};
|
|
10414
10579
|
};
|
|
@@ -10524,6 +10689,21 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
10524
10689
|
};
|
|
10525
10690
|
};
|
|
10526
10691
|
};
|
|
10692
|
+
"422": {
|
|
10693
|
+
description: string;
|
|
10694
|
+
content: {
|
|
10695
|
+
"application/json": {
|
|
10696
|
+
schema: {
|
|
10697
|
+
type: "object";
|
|
10698
|
+
properties: {
|
|
10699
|
+
message: {
|
|
10700
|
+
type: string;
|
|
10701
|
+
};
|
|
10702
|
+
};
|
|
10703
|
+
};
|
|
10704
|
+
};
|
|
10705
|
+
};
|
|
10706
|
+
};
|
|
10527
10707
|
};
|
|
10528
10708
|
};
|
|
10529
10709
|
};
|
|
@@ -10664,6 +10844,21 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
10664
10844
|
};
|
|
10665
10845
|
};
|
|
10666
10846
|
};
|
|
10847
|
+
"422": {
|
|
10848
|
+
description: string;
|
|
10849
|
+
content: {
|
|
10850
|
+
"application/json": {
|
|
10851
|
+
schema: {
|
|
10852
|
+
type: "object";
|
|
10853
|
+
properties: {
|
|
10854
|
+
message: {
|
|
10855
|
+
type: string;
|
|
10856
|
+
};
|
|
10857
|
+
};
|
|
10858
|
+
};
|
|
10859
|
+
};
|
|
10860
|
+
};
|
|
10861
|
+
};
|
|
10667
10862
|
};
|
|
10668
10863
|
};
|
|
10669
10864
|
};
|
|
@@ -10852,6 +11047,21 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
10852
11047
|
};
|
|
10853
11048
|
};
|
|
10854
11049
|
};
|
|
11050
|
+
"422": {
|
|
11051
|
+
description: string;
|
|
11052
|
+
content: {
|
|
11053
|
+
"application/json": {
|
|
11054
|
+
schema: {
|
|
11055
|
+
type: "object";
|
|
11056
|
+
properties: {
|
|
11057
|
+
message: {
|
|
11058
|
+
type: string;
|
|
11059
|
+
};
|
|
11060
|
+
};
|
|
11061
|
+
};
|
|
11062
|
+
};
|
|
11063
|
+
};
|
|
11064
|
+
};
|
|
10855
11065
|
};
|
|
10856
11066
|
};
|
|
10857
11067
|
};
|
|
@@ -11468,6 +11678,21 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
|
|
|
11468
11678
|
};
|
|
11469
11679
|
};
|
|
11470
11680
|
};
|
|
11681
|
+
"422": {
|
|
11682
|
+
description: string;
|
|
11683
|
+
content: {
|
|
11684
|
+
"application/json": {
|
|
11685
|
+
schema: {
|
|
11686
|
+
type: "object";
|
|
11687
|
+
properties: {
|
|
11688
|
+
message: {
|
|
11689
|
+
type: string;
|
|
11690
|
+
};
|
|
11691
|
+
};
|
|
11692
|
+
};
|
|
11693
|
+
};
|
|
11694
|
+
};
|
|
11695
|
+
};
|
|
11471
11696
|
};
|
|
11472
11697
|
};
|
|
11473
11698
|
};
|
|
@@ -14051,6 +14276,21 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O & Record<neve
|
|
|
14051
14276
|
};
|
|
14052
14277
|
};
|
|
14053
14278
|
};
|
|
14279
|
+
"422": {
|
|
14280
|
+
description: string;
|
|
14281
|
+
content: {
|
|
14282
|
+
"application/json": {
|
|
14283
|
+
schema: {
|
|
14284
|
+
type: "object";
|
|
14285
|
+
properties: {
|
|
14286
|
+
message: {
|
|
14287
|
+
type: string;
|
|
14288
|
+
};
|
|
14289
|
+
};
|
|
14290
|
+
};
|
|
14291
|
+
};
|
|
14292
|
+
};
|
|
14293
|
+
};
|
|
14054
14294
|
};
|
|
14055
14295
|
};
|
|
14056
14296
|
};
|
|
@@ -14166,6 +14406,21 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O & Record<neve
|
|
|
14166
14406
|
};
|
|
14167
14407
|
};
|
|
14168
14408
|
};
|
|
14409
|
+
"422": {
|
|
14410
|
+
description: string;
|
|
14411
|
+
content: {
|
|
14412
|
+
"application/json": {
|
|
14413
|
+
schema: {
|
|
14414
|
+
type: "object";
|
|
14415
|
+
properties: {
|
|
14416
|
+
message: {
|
|
14417
|
+
type: string;
|
|
14418
|
+
};
|
|
14419
|
+
};
|
|
14420
|
+
};
|
|
14421
|
+
};
|
|
14422
|
+
};
|
|
14423
|
+
};
|
|
14169
14424
|
};
|
|
14170
14425
|
};
|
|
14171
14426
|
};
|
|
@@ -14306,6 +14561,21 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O & Record<neve
|
|
|
14306
14561
|
};
|
|
14307
14562
|
};
|
|
14308
14563
|
};
|
|
14564
|
+
"422": {
|
|
14565
|
+
description: string;
|
|
14566
|
+
content: {
|
|
14567
|
+
"application/json": {
|
|
14568
|
+
schema: {
|
|
14569
|
+
type: "object";
|
|
14570
|
+
properties: {
|
|
14571
|
+
message: {
|
|
14572
|
+
type: string;
|
|
14573
|
+
};
|
|
14574
|
+
};
|
|
14575
|
+
};
|
|
14576
|
+
};
|
|
14577
|
+
};
|
|
14578
|
+
};
|
|
14309
14579
|
};
|
|
14310
14580
|
};
|
|
14311
14581
|
};
|
|
@@ -14494,6 +14764,21 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O & Record<neve
|
|
|
14494
14764
|
};
|
|
14495
14765
|
};
|
|
14496
14766
|
};
|
|
14767
|
+
"422": {
|
|
14768
|
+
description: string;
|
|
14769
|
+
content: {
|
|
14770
|
+
"application/json": {
|
|
14771
|
+
schema: {
|
|
14772
|
+
type: "object";
|
|
14773
|
+
properties: {
|
|
14774
|
+
message: {
|
|
14775
|
+
type: string;
|
|
14776
|
+
};
|
|
14777
|
+
};
|
|
14778
|
+
};
|
|
14779
|
+
};
|
|
14780
|
+
};
|
|
14781
|
+
};
|
|
14497
14782
|
};
|
|
14498
14783
|
};
|
|
14499
14784
|
};
|
|
@@ -15110,6 +15395,21 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O & Record<neve
|
|
|
15110
15395
|
};
|
|
15111
15396
|
};
|
|
15112
15397
|
};
|
|
15398
|
+
"422": {
|
|
15399
|
+
description: string;
|
|
15400
|
+
content: {
|
|
15401
|
+
"application/json": {
|
|
15402
|
+
schema: {
|
|
15403
|
+
type: "object";
|
|
15404
|
+
properties: {
|
|
15405
|
+
message: {
|
|
15406
|
+
type: string;
|
|
15407
|
+
};
|
|
15408
|
+
};
|
|
15409
|
+
};
|
|
15410
|
+
};
|
|
15411
|
+
};
|
|
15412
|
+
};
|
|
15113
15413
|
};
|
|
15114
15414
|
};
|
|
15115
15415
|
};
|
|
@@ -2,18 +2,17 @@ import '@better-auth/utils/random';
|
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import '@better-auth/utils/hash';
|
|
5
|
-
import '@noble/ciphers/chacha';
|
|
6
|
-
import '@noble/ciphers/utils';
|
|
7
|
-
import '@noble/ciphers/webcrypto';
|
|
5
|
+
import '@noble/ciphers/chacha.js';
|
|
6
|
+
import '@noble/ciphers/utils.js';
|
|
8
7
|
import '@better-auth/utils/base64';
|
|
9
8
|
import 'jose';
|
|
10
|
-
import '@noble/hashes/scrypt';
|
|
9
|
+
import '@noble/hashes/scrypt.js';
|
|
11
10
|
import '@better-auth/utils';
|
|
12
11
|
import '@better-auth/utils/hex';
|
|
13
|
-
import '@noble/hashes/utils';
|
|
12
|
+
import '@noble/hashes/utils.js';
|
|
14
13
|
import './better-auth.B4Qoxdgc.mjs';
|
|
15
14
|
import { a as logger } from './better-auth.BjBlybv-.mjs';
|
|
16
|
-
import { c as createAdapter } from './better-auth.
|
|
15
|
+
import { c as createAdapter } from './better-auth.DOXaXTC6.mjs';
|
|
17
16
|
|
|
18
17
|
const memoryAdapter = (db, config) => createAdapter({
|
|
19
18
|
config: {
|
|
@@ -3,19 +3,18 @@
|
|
|
3
3
|
const api_index = require('../api/index.cjs');
|
|
4
4
|
const defu = require('defu');
|
|
5
5
|
const crypto_index = require('../crypto/index.cjs');
|
|
6
|
-
const getMigration = require('./better-auth.
|
|
6
|
+
const getMigration = require('./better-auth.C5ZbY8Lo.cjs');
|
|
7
7
|
const getTables = require('./better-auth.Byugpn9h.cjs');
|
|
8
8
|
require('zod/v4');
|
|
9
9
|
require('./better-auth.gN3g-znU.cjs');
|
|
10
10
|
const cookies_index = require('./better-auth.D5q0JUiv.cjs');
|
|
11
11
|
const logger = require('./better-auth.B3274wGK.cjs');
|
|
12
|
-
const socialProviders_index = require('./better-auth.
|
|
12
|
+
const socialProviders_index = require('./better-auth.BlsHS68J.cjs');
|
|
13
13
|
const id = require('./better-auth.Bg6iw3ig.cjs');
|
|
14
14
|
require('better-call');
|
|
15
15
|
require('@better-auth/utils/hash');
|
|
16
|
-
require('@noble/ciphers/chacha');
|
|
17
|
-
require('@noble/ciphers/utils');
|
|
18
|
-
require('@noble/ciphers/webcrypto');
|
|
16
|
+
require('@noble/ciphers/chacha.js');
|
|
17
|
+
require('@noble/ciphers/utils.js');
|
|
19
18
|
require('@better-auth/utils/base64');
|
|
20
19
|
require('jose');
|
|
21
20
|
require('./better-auth.CYeOI8C-.cjs');
|
|
@@ -23,13 +22,13 @@ const env = require('./better-auth.B6fIklBU.cjs');
|
|
|
23
22
|
const password = require('./better-auth.CDXNofOe.cjs');
|
|
24
23
|
const url = require('./better-auth.DRmln2Nr.cjs');
|
|
25
24
|
const index = require('./better-auth.ANpbi45u.cjs');
|
|
26
|
-
require('@noble/hashes/scrypt');
|
|
25
|
+
require('@noble/hashes/scrypt.js');
|
|
27
26
|
require('@better-auth/utils');
|
|
28
27
|
require('@better-auth/utils/hex');
|
|
29
|
-
require('@noble/hashes/utils');
|
|
28
|
+
require('@noble/hashes/utils.js');
|
|
30
29
|
const fetch = require('@better-fetch/fetch');
|
|
31
30
|
require('@better-auth/utils/random');
|
|
32
|
-
const kyselyAdapter = require('./better-auth.
|
|
31
|
+
const kyselyAdapter = require('./better-auth.WyvofoOW.cjs');
|
|
33
32
|
const session = require('./better-auth.CLv80Pwz.cjs');
|
|
34
33
|
|
|
35
34
|
const DEFAULT_SECRET = "better-auth-secret-123456789";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as BetterAuthPlugin, B as BetterAuthOptions, ag as InferFieldsInputClient, ae as InferFieldsOutput, U as User, S as Session, g as Auth } from './better-auth.
|
|
1
|
+
import { r as BetterAuthPlugin, B as BetterAuthOptions, ag as InferFieldsInputClient, ae as InferFieldsOutput, U as User, S as Session, g as Auth } from './better-auth.6crrbXrP.cjs';
|
|
2
2
|
import { BetterFetchOption, BetterFetchResponse, BetterFetch, BetterFetchPlugin } from '@better-fetch/fetch';
|
|
3
3
|
import { WritableAtom, Atom } from 'nanostores';
|
|
4
4
|
import { U as UnionToIntersection, H as HasRequiredKeys, a as Prettify, L as LiteralString, S as StripEmptyObjects } from './better-auth.DTtXpZYr.cjs';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { L as LiteralString } from './better-auth.DTtXpZYr.js';
|
|
2
|
-
import * as jose from 'jose';
|
|
3
2
|
import * as z from 'zod/v4';
|
|
4
3
|
|
|
5
4
|
interface OAuth2Tokens {
|
|
@@ -2579,7 +2578,7 @@ declare const cognito: (options: CognitoOptions) => {
|
|
|
2579
2578
|
} | null>;
|
|
2580
2579
|
options: CognitoOptions;
|
|
2581
2580
|
};
|
|
2582
|
-
declare const getCognitoPublicKey: (kid: string, region: string, userPoolId: string) => Promise<Uint8Array<ArrayBufferLike
|
|
2581
|
+
declare const getCognitoPublicKey: (kid: string, region: string, userPoolId: string) => Promise<CryptoKey | Uint8Array<ArrayBufferLike>>;
|
|
2583
2582
|
|
|
2584
2583
|
interface AtlassianProfile {
|
|
2585
2584
|
account_type?: string;
|
|
@@ -2741,7 +2740,7 @@ declare const apple: (options: AppleOptions) => {
|
|
|
2741
2740
|
} | null>;
|
|
2742
2741
|
options: AppleOptions;
|
|
2743
2742
|
};
|
|
2744
|
-
declare const getApplePublicKey: (kid: string) => Promise<Uint8Array<ArrayBufferLike
|
|
2743
|
+
declare const getApplePublicKey: (kid: string) => Promise<CryptoKey | Uint8Array<ArrayBufferLike>>;
|
|
2745
2744
|
|
|
2746
2745
|
declare const socialProviders: {
|
|
2747
2746
|
apple: (options: AppleOptions) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as BetterAuthPlugin, B as BetterAuthOptions, ag as InferFieldsInputClient, ae as InferFieldsOutput, U as User, S as Session, g as Auth } from './better-auth.
|
|
1
|
+
import { r as BetterAuthPlugin, B as BetterAuthOptions, ag as InferFieldsInputClient, ae as InferFieldsOutput, U as User, S as Session, g as Auth } from './better-auth.S3lnSz8Y.js';
|
|
2
2
|
import { BetterFetchOption, BetterFetchResponse, BetterFetch, BetterFetchPlugin } from '@better-fetch/fetch';
|
|
3
3
|
import { WritableAtom, Atom } from 'nanostores';
|
|
4
4
|
import { U as UnionToIntersection, H as HasRequiredKeys, a as Prettify, L as LiteralString, S as StripEmptyObjects } from './better-auth.DTtXpZYr.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const z = require('zod/v4');
|
|
4
4
|
const betterCall = require('better-call');
|
|
5
|
-
require('./better-auth.
|
|
5
|
+
require('./better-auth.BlsHS68J.cjs');
|
|
6
6
|
const session = require('./better-auth.CLv80Pwz.cjs');
|
|
7
7
|
const cookies_index = require('./better-auth.D5q0JUiv.cjs');
|
|
8
8
|
const schema$1 = require('./better-auth.gN3g-znU.cjs');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defaultRoles } from '../plugins/organization/access/index.mjs';
|
|
2
2
|
import * as z from 'zod/v4';
|
|
3
3
|
import { APIError } from 'better-call';
|
|
4
|
-
import './better-auth.
|
|
4
|
+
import './better-auth.CSEecXfV.mjs';
|
|
5
5
|
import './better-auth.DV5EHeYG.mjs';
|
|
6
6
|
import './better-auth.CMQ3rA-I.mjs';
|
|
7
7
|
import '@better-auth/utils/base64';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { APIError } from 'better-call';
|
|
2
2
|
import * as z from 'zod/v4';
|
|
3
3
|
import { a as createAuthEndpoint, g as getSessionFromCtx, s as sessionMiddleware, B as BASE_ERROR_CODES, i as requestOnlySessionMiddleware } from './better-auth.DV5EHeYG.mjs';
|
|
4
|
-
import './better-auth.
|
|
4
|
+
import './better-auth.CSEecXfV.mjs';
|
|
5
5
|
import './better-auth.CMQ3rA-I.mjs';
|
|
6
6
|
import '@better-auth/utils/base64';
|
|
7
7
|
import '@better-auth/utils/hmac';
|
|
@@ -11,20 +11,19 @@ import './better-auth.Dcv8PS7T.mjs';
|
|
|
11
11
|
import { g as getDate } from './better-auth.CW6D9eSx.mjs';
|
|
12
12
|
import { B as BetterAuthError } from './better-auth.DdzSJf-n.mjs';
|
|
13
13
|
import { p as parseJSON } from './better-auth.ffWeg50w.mjs';
|
|
14
|
-
import { o as orgMiddleware, a as orgSessionMiddleware, t as teamSchema } from './better-auth.
|
|
14
|
+
import { o as orgMiddleware, a as orgSessionMiddleware, t as teamSchema } from './better-auth.5WTE-uUO.mjs';
|
|
15
15
|
import { s as setSessionCookie } from './better-auth.UfVWArIB.mjs';
|
|
16
|
-
import { h as hasPermission } from './better-auth.
|
|
16
|
+
import { h as hasPermission } from './better-auth.BWl2NB1B.mjs';
|
|
17
17
|
import { t as toZodSchema } from './better-auth.DrJWSFx6.mjs';
|
|
18
18
|
import '@better-auth/utils/random';
|
|
19
19
|
import '@better-auth/utils/hash';
|
|
20
|
-
import '@noble/ciphers/chacha';
|
|
21
|
-
import '@noble/ciphers/utils';
|
|
22
|
-
import '@noble/ciphers/webcrypto';
|
|
20
|
+
import '@noble/ciphers/chacha.js';
|
|
21
|
+
import '@noble/ciphers/utils.js';
|
|
23
22
|
import 'jose';
|
|
24
|
-
import '@noble/hashes/scrypt';
|
|
23
|
+
import '@noble/hashes/scrypt.js';
|
|
25
24
|
import '@better-auth/utils';
|
|
26
25
|
import '@better-auth/utils/hex';
|
|
27
|
-
import '@noble/hashes/utils';
|
|
26
|
+
import '@noble/hashes/utils.js';
|
|
28
27
|
import './better-auth.B4Qoxdgc.mjs';
|
|
29
28
|
import 'kysely';
|
|
30
29
|
import { defaultRoles } from '../plugins/organization/access/index.mjs';
|