better-auth 1.2.5-beta.4 → 1.2.5-beta.6
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 +1 -1
- 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/drizzle-adapter/index.mjs +1 -1
- package/dist/adapters/kysely-adapter/index.cjs +2 -2
- 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/kysely-adapter/index.mjs +2 -2
- package/dist/adapters/memory-adapter/index.cjs +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/memory-adapter/index.mjs +2 -2
- package/dist/adapters/mongodb-adapter/index.cjs +1 -1
- 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/mongodb-adapter/index.mjs +1 -1
- package/dist/adapters/prisma-adapter/index.cjs +1 -1
- 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/prisma-adapter/index.mjs +1 -1
- package/dist/adapters/test.d.cts +2 -2
- package/dist/adapters/test.d.mts +2 -2
- package/dist/adapters/test.d.ts +2 -2
- package/dist/api/index.cjs +10 -5
- package/dist/api/index.d.cts +2 -2
- package/dist/api/index.d.mts +2 -2
- package/dist/api/index.d.ts +2 -2
- package/dist/api/index.mjs +11 -6
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +2 -2
- package/dist/client/index.d.mts +2 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/client/plugins/index.cjs +3 -1
- package/dist/client/plugins/index.d.cts +6 -4
- package/dist/client/plugins/index.d.mts +6 -4
- package/dist/client/plugins/index.d.ts +6 -4
- package/dist/client/plugins/index.mjs +3 -1
- package/dist/client/react/index.cjs +1 -1
- package/dist/client/react/index.d.cts +2 -2
- package/dist/client/react/index.d.mts +2 -2
- package/dist/client/react/index.d.ts +2 -2
- package/dist/client/react/index.mjs +1 -1
- package/dist/client/solid/index.cjs +1 -1
- package/dist/client/solid/index.d.cts +2 -2
- package/dist/client/solid/index.d.mts +2 -2
- package/dist/client/solid/index.d.ts +2 -2
- package/dist/client/solid/index.mjs +1 -1
- package/dist/client/svelte/index.cjs +1 -1
- package/dist/client/svelte/index.d.cts +2 -2
- package/dist/client/svelte/index.d.mts +2 -2
- package/dist/client/svelte/index.d.ts +2 -2
- package/dist/client/svelte/index.mjs +1 -1
- package/dist/client/vue/index.cjs +1 -1
- package/dist/client/vue/index.d.cts +2 -2
- package/dist/client/vue/index.d.mts +2 -2
- package/dist/client/vue/index.d.ts +2 -2
- package/dist/client/vue/index.mjs +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/db/index.cjs +4 -4
- 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/db/index.mjs +4 -4
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +8 -8
- package/dist/integrations/next-js.cjs +6 -6
- package/dist/integrations/next-js.d.cts +3 -11
- package/dist/integrations/next-js.d.mts +3 -11
- package/dist/integrations/next-js.d.ts +3 -11
- package/dist/integrations/next-js.mjs +6 -6
- 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/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/oauth2/index.cjs +2 -2
- package/dist/oauth2/index.d.cts +14 -6
- package/dist/oauth2/index.d.mts +14 -6
- package/dist/oauth2/index.d.ts +14 -6
- package/dist/oauth2/index.mjs +2 -2
- package/dist/plugins/admin/index.cjs +5 -5
- package/dist/plugins/admin/index.d.cts +615 -295
- package/dist/plugins/admin/index.d.mts +615 -295
- package/dist/plugins/admin/index.d.ts +615 -295
- package/dist/plugins/admin/index.mjs +5 -5
- package/dist/plugins/anonymous/index.cjs +5 -5
- package/dist/plugins/anonymous/index.d.cts +33 -23
- package/dist/plugins/anonymous/index.d.mts +33 -23
- package/dist/plugins/anonymous/index.d.ts +33 -23
- package/dist/plugins/anonymous/index.mjs +5 -5
- package/dist/plugins/bearer/index.cjs +4 -4
- package/dist/plugins/bearer/index.d.cts +4 -20
- package/dist/plugins/bearer/index.d.mts +4 -20
- package/dist/plugins/bearer/index.d.ts +4 -20
- package/dist/plugins/bearer/index.mjs +4 -4
- package/dist/plugins/custom-session/index.cjs +4 -4
- package/dist/plugins/custom-session/index.d.cts +22 -15
- package/dist/plugins/custom-session/index.d.mts +22 -15
- package/dist/plugins/custom-session/index.d.ts +22 -15
- package/dist/plugins/custom-session/index.mjs +4 -4
- package/dist/plugins/email-otp/index.cjs +4 -4
- package/dist/plugins/email-otp/index.d.cts +241 -95
- package/dist/plugins/email-otp/index.d.mts +241 -95
- package/dist/plugins/email-otp/index.d.ts +241 -95
- package/dist/plugins/email-otp/index.mjs +4 -4
- package/dist/plugins/generic-oauth/index.cjs +20 -17
- package/dist/plugins/generic-oauth/index.d.cts +129 -50
- package/dist/plugins/generic-oauth/index.d.mts +129 -50
- package/dist/plugins/generic-oauth/index.d.ts +129 -50
- package/dist/plugins/generic-oauth/index.mjs +20 -17
- package/dist/plugins/index.cjs +11 -11
- package/dist/plugins/index.d.cts +3 -3
- package/dist/plugins/index.d.mts +3 -3
- package/dist/plugins/index.d.ts +3 -3
- package/dist/plugins/index.mjs +12 -12
- package/dist/plugins/jwt/index.cjs +4 -4
- package/dist/plugins/jwt/index.d.cts +105 -44
- package/dist/plugins/jwt/index.d.mts +105 -44
- package/dist/plugins/jwt/index.d.ts +105 -44
- package/dist/plugins/jwt/index.mjs +4 -4
- package/dist/plugins/magic-link/index.cjs +4 -4
- package/dist/plugins/magic-link/index.d.cts +77 -33
- package/dist/plugins/magic-link/index.d.mts +77 -33
- package/dist/plugins/magic-link/index.d.ts +77 -33
- package/dist/plugins/magic-link/index.mjs +4 -4
- package/dist/plugins/multi-session/index.cjs +5 -5
- package/dist/plugins/multi-session/index.d.cts +123 -65
- package/dist/plugins/multi-session/index.d.mts +123 -65
- package/dist/plugins/multi-session/index.d.ts +123 -65
- package/dist/plugins/multi-session/index.mjs +5 -5
- package/dist/plugins/oauth-proxy/index.cjs +4 -4
- package/dist/plugins/oauth-proxy/index.d.cts +42 -41
- package/dist/plugins/oauth-proxy/index.d.mts +42 -41
- package/dist/plugins/oauth-proxy/index.d.ts +42 -41
- package/dist/plugins/oauth-proxy/index.mjs +4 -4
- package/dist/plugins/oidc-provider/index.cjs +17 -11
- package/dist/plugins/oidc-provider/index.d.cts +173 -117
- package/dist/plugins/oidc-provider/index.d.mts +173 -117
- package/dist/plugins/oidc-provider/index.d.ts +173 -117
- package/dist/plugins/oidc-provider/index.mjs +17 -11
- package/dist/plugins/one-tap/index.cjs +5 -5
- package/dist/plugins/one-tap/index.d.cts +39 -12
- package/dist/plugins/one-tap/index.d.mts +39 -12
- package/dist/plugins/one-tap/index.d.ts +39 -12
- package/dist/plugins/one-tap/index.mjs +5 -5
- package/dist/plugins/open-api/index.cjs +4 -4
- package/dist/plugins/open-api/index.d.cts +15 -26
- package/dist/plugins/open-api/index.d.mts +15 -26
- package/dist/plugins/open-api/index.d.ts +15 -26
- package/dist/plugins/open-api/index.mjs +4 -4
- package/dist/plugins/organization/index.cjs +5 -5
- package/dist/plugins/organization/index.d.cts +4277 -4932
- package/dist/plugins/organization/index.d.mts +4277 -4932
- package/dist/plugins/organization/index.d.ts +4277 -4932
- package/dist/plugins/organization/index.mjs +5 -5
- package/dist/plugins/passkey/index.cjs +4 -4
- package/dist/plugins/passkey/index.d.cts +449 -136
- package/dist/plugins/passkey/index.d.mts +449 -136
- package/dist/plugins/passkey/index.d.ts +449 -136
- package/dist/plugins/passkey/index.mjs +4 -4
- package/dist/plugins/phone-number/index.cjs +4 -4
- package/dist/plugins/phone-number/index.d.cts +164 -64
- package/dist/plugins/phone-number/index.d.mts +164 -64
- package/dist/plugins/phone-number/index.d.ts +164 -64
- package/dist/plugins/phone-number/index.mjs +4 -4
- package/dist/plugins/sso/index.cjs +4 -4
- package/dist/plugins/sso/index.d.cts +199 -49
- package/dist/plugins/sso/index.d.mts +199 -49
- package/dist/plugins/sso/index.d.ts +199 -49
- package/dist/plugins/sso/index.mjs +4 -4
- package/dist/plugins/two-factor/index.cjs +6 -6
- package/dist/plugins/two-factor/index.d.cts +731 -233
- package/dist/plugins/two-factor/index.d.mts +731 -233
- package/dist/plugins/two-factor/index.d.ts +731 -233
- package/dist/plugins/two-factor/index.mjs +6 -6
- package/dist/plugins/username/index.cjs +5 -5
- package/dist/plugins/username/index.d.cts +43 -23
- package/dist/plugins/username/index.d.mts +43 -23
- package/dist/plugins/username/index.d.ts +43 -23
- package/dist/plugins/username/index.mjs +5 -5
- package/dist/shared/{better-auth.DpK5DyQT.cjs → better-auth.1GtLBK1J.cjs} +5 -5
- package/dist/shared/{better-auth.Dz0hfDVL.d.cts → better-auth.2fbYHU01.d.mts} +186 -115
- package/dist/shared/{better-auth.xcEiilVu.d.ts → better-auth.Al7ra9Pe.d.cts} +186 -115
- package/dist/shared/{better-auth.BiRM8Fdy.cjs → better-auth.B3unKFue.cjs} +2 -2
- package/dist/shared/{better-auth.kkBzxQJx.d.ts → better-auth.BODzPfJo.d.ts} +10299 -11599
- package/dist/shared/{better-auth.CbXAPXob.mjs → better-auth.BdyOG_p4.mjs} +1 -1
- package/dist/shared/{better-auth.DWb95UJA.d.ts → better-auth.BjXInNL7.d.ts} +1 -1
- package/dist/shared/{better-auth.D26n-znb.d.cts → better-auth.BkL9ntGY.d.cts} +10299 -11599
- package/dist/shared/{better-auth.B36e4YUo.d.cts → better-auth.BkREA_U6.d.cts} +99 -18
- package/dist/shared/{better-auth.HHZU10im.mjs → better-auth.BnRFp-t0.mjs} +1 -1
- package/dist/shared/{better-auth.CHyZMcYK.cjs → better-auth.C5H9XEzZ.cjs} +2 -2
- package/dist/shared/{better-auth.C678re3w.d.mts → better-auth.C7O0617V.d.mts} +1 -1
- package/dist/shared/{better-auth.BJVJYVcJ.mjs → better-auth.CKCPM9Oy.mjs} +2 -2
- package/dist/shared/{better-auth.BgAsaHGJ.d.mts → better-auth.CV08HOs_.d.ts} +186 -115
- package/dist/shared/{better-auth.2gyOPXIw.d.ts → better-auth.CVEUIYlu.d.ts} +99 -18
- package/dist/shared/{better-auth.CUEbBDI6.mjs → better-auth.CbBX7Xla.mjs} +3 -3
- package/dist/shared/{better-auth.C24Bzw4w.mjs → better-auth.CepcSj5H.mjs} +2 -2
- package/dist/shared/{better-auth.C00ERbVB.cjs → better-auth.ChassmKE.cjs} +11 -4
- package/dist/shared/{better-auth.C7bUpbPE.d.mts → better-auth.CmWesETc.d.mts} +99 -18
- package/dist/shared/{better-auth.D8LeJoj0.mjs → better-auth.DC8JQbiE.mjs} +1 -1
- package/dist/shared/{better-auth.DZnoWLte.cjs → better-auth.DWHWPllD.cjs} +1 -1
- package/dist/shared/{better-auth.CSVqSIae.mjs → better-auth.DYm-YVE1.mjs} +1 -1
- package/dist/shared/{better-auth.BgoXd7dr.d.mts → better-auth.D_6ikAPh.d.mts} +10299 -11599
- package/dist/shared/{better-auth.DdjqxOIu.cjs → better-auth.DgXCgiHI.cjs} +22 -8
- package/dist/shared/{better-auth.D7syfoJW.mjs → better-auth.DiMBK1Ep.mjs} +22 -8
- package/dist/shared/{better-auth.lwzD09PV.cjs → better-auth.DqLjzBlO.cjs} +1 -1
- package/dist/shared/{better-auth.CHHC_PJT.cjs → better-auth.QbbyHMYf.cjs} +1 -1
- package/dist/shared/{better-auth.BN2jUYPL.cjs → better-auth.R2B_T2k0.cjs} +1 -1
- package/dist/shared/{better-auth.CPv7iscr.d.cts → better-auth.RZCibiKy.d.cts} +1 -1
- package/dist/shared/{better-auth.C6ZiueUc.mjs → better-auth.UO_GAdaM.mjs} +5 -5
- package/dist/shared/{better-auth.BddF2Yaz.cjs → better-auth.X0ynzeu1.cjs} +3 -3
- package/dist/shared/{better-auth.BdiSabiO.cjs → better-auth.aci1hpij.cjs} +11 -11
- package/dist/shared/{better-auth.CJ1_dCz5.mjs → better-auth.lijknCkI.mjs} +11 -11
- package/dist/shared/{better-auth.CrWUABzd.mjs → better-auth.vdKrG2Zp.mjs} +11 -4
- package/dist/social-providers/index.cjs +43 -18
- 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 +43 -18
- 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 +3 -3
|
@@ -11,7 +11,7 @@ export { twoFactorClient } from '../../plugins/two-factor/index.mjs';
|
|
|
11
11
|
import { magicLink } from '../../plugins/magic-link/index.mjs';
|
|
12
12
|
import { phoneNumber } from '../../plugins/phone-number/index.mjs';
|
|
13
13
|
import { anonymous } from '../../plugins/anonymous/index.mjs';
|
|
14
|
-
import { T as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.
|
|
14
|
+
import { T as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.D_6ikAPh.mjs';
|
|
15
15
|
import { admin } from '../../plugins/admin/index.mjs';
|
|
16
16
|
import { genericOAuth } from '../../plugins/generic-oauth/index.mjs';
|
|
17
17
|
import { jwt } from '../../plugins/jwt/index.mjs';
|
|
@@ -20,13 +20,13 @@ import { emailOTP } from '../../plugins/email-otp/index.mjs';
|
|
|
20
20
|
import { Store } from '../../types/index.mjs';
|
|
21
21
|
import { sso } from '../../plugins/sso/index.mjs';
|
|
22
22
|
import { oidcProvider } from '../../plugins/oidc-provider/index.mjs';
|
|
23
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
23
|
+
import { a as apiKey } from '../../shared/better-auth.2fbYHU01.mjs';
|
|
24
24
|
export * from '@simplewebauthn/server';
|
|
25
25
|
import 'zod';
|
|
26
26
|
import 'better-call';
|
|
27
27
|
import '../../plugins/organization/access/index.mjs';
|
|
28
28
|
import 'kysely';
|
|
29
|
-
import '../../shared/better-auth.
|
|
29
|
+
import '../../shared/better-auth.CmWesETc.mjs';
|
|
30
30
|
import 'jose';
|
|
31
31
|
import 'better-sqlite3';
|
|
32
32
|
|
|
@@ -87,7 +87,7 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
|
|
|
87
87
|
} & Record<string, any>;
|
|
88
88
|
Organization: Organization;
|
|
89
89
|
Invitation: InferInvitation<O>;
|
|
90
|
-
Member:
|
|
90
|
+
Member: InferMember<O>;
|
|
91
91
|
Team: Team;
|
|
92
92
|
};
|
|
93
93
|
organization: {
|
|
@@ -613,6 +613,8 @@ declare const apiKeyClient: () => {
|
|
|
613
613
|
$InferServerPlugin: ReturnType<typeof apiKey>;
|
|
614
614
|
pathMethods: {
|
|
615
615
|
"/api-key/create": "POST";
|
|
616
|
+
"/api-key/delete": "POST";
|
|
617
|
+
"/api-key/delete-all-expired-api-keys": "POST";
|
|
616
618
|
};
|
|
617
619
|
};
|
|
618
620
|
|
|
@@ -11,7 +11,7 @@ export { twoFactorClient } from '../../plugins/two-factor/index.js';
|
|
|
11
11
|
import { magicLink } from '../../plugins/magic-link/index.js';
|
|
12
12
|
import { phoneNumber } from '../../plugins/phone-number/index.js';
|
|
13
13
|
import { anonymous } from '../../plugins/anonymous/index.js';
|
|
14
|
-
import { T as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.
|
|
14
|
+
import { T as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.BODzPfJo.js';
|
|
15
15
|
import { admin } from '../../plugins/admin/index.js';
|
|
16
16
|
import { genericOAuth } from '../../plugins/generic-oauth/index.js';
|
|
17
17
|
import { jwt } from '../../plugins/jwt/index.js';
|
|
@@ -20,13 +20,13 @@ import { emailOTP } from '../../plugins/email-otp/index.js';
|
|
|
20
20
|
import { Store } from '../../types/index.js';
|
|
21
21
|
import { sso } from '../../plugins/sso/index.js';
|
|
22
22
|
import { oidcProvider } from '../../plugins/oidc-provider/index.js';
|
|
23
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
23
|
+
import { a as apiKey } from '../../shared/better-auth.CV08HOs_.js';
|
|
24
24
|
export * from '@simplewebauthn/server';
|
|
25
25
|
import 'zod';
|
|
26
26
|
import 'better-call';
|
|
27
27
|
import '../../plugins/organization/access/index.js';
|
|
28
28
|
import 'kysely';
|
|
29
|
-
import '../../shared/better-auth.
|
|
29
|
+
import '../../shared/better-auth.CVEUIYlu.js';
|
|
30
30
|
import 'jose';
|
|
31
31
|
import 'better-sqlite3';
|
|
32
32
|
|
|
@@ -87,7 +87,7 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
|
|
|
87
87
|
} & Record<string, any>;
|
|
88
88
|
Organization: Organization;
|
|
89
89
|
Invitation: InferInvitation<O>;
|
|
90
|
-
Member:
|
|
90
|
+
Member: InferMember<O>;
|
|
91
91
|
Team: Team;
|
|
92
92
|
};
|
|
93
93
|
organization: {
|
|
@@ -613,6 +613,8 @@ declare const apiKeyClient: () => {
|
|
|
613
613
|
$InferServerPlugin: ReturnType<typeof apiKey>;
|
|
614
614
|
pathMethods: {
|
|
615
615
|
"/api-key/create": "POST";
|
|
616
|
+
"/api-key/delete": "POST";
|
|
617
|
+
"/api-key/delete-all-expired-api-keys": "POST";
|
|
616
618
|
};
|
|
617
619
|
};
|
|
618
620
|
|
|
@@ -536,7 +536,9 @@ const apiKeyClient = () => {
|
|
|
536
536
|
id: "api-key",
|
|
537
537
|
$InferServerPlugin: {},
|
|
538
538
|
pathMethods: {
|
|
539
|
-
"/api-key/create": "POST"
|
|
539
|
+
"/api-key/create": "POST",
|
|
540
|
+
"/api-key/delete": "POST",
|
|
541
|
+
"/api-key/delete-all-expired-api-keys": "POST"
|
|
540
542
|
}
|
|
541
543
|
};
|
|
542
544
|
};
|
|
@@ -7,11 +7,11 @@ export * from '@better-fetch/fetch';
|
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.BkL9ntGY.cjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
13
|
import 'kysely';
|
|
14
|
-
import '../../shared/better-auth.
|
|
14
|
+
import '../../shared/better-auth.BkREA_U6.cjs';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'better-sqlite3';
|
|
17
17
|
|
|
@@ -7,11 +7,11 @@ export * from '@better-fetch/fetch';
|
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.D_6ikAPh.mjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
13
|
import 'kysely';
|
|
14
|
-
import '../../shared/better-auth.
|
|
14
|
+
import '../../shared/better-auth.CmWesETc.mjs';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'better-sqlite3';
|
|
17
17
|
|
|
@@ -7,11 +7,11 @@ export * from '@better-fetch/fetch';
|
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.js';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.BODzPfJo.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
13
|
import 'kysely';
|
|
14
|
-
import '../../shared/better-auth.
|
|
14
|
+
import '../../shared/better-auth.CVEUIYlu.js';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'better-sqlite3';
|
|
17
17
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
1
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.DYm-YVE1.mjs';
|
|
2
2
|
import { listenKeys } from 'nanostores';
|
|
3
3
|
import { useRef, useCallback, useSyncExternalStore } from 'react';
|
|
4
4
|
import '@better-fetch/fetch';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const proxy = require('../../shared/better-auth.
|
|
3
|
+
const proxy = require('../../shared/better-auth.R2B_T2k0.cjs');
|
|
4
4
|
const misc = require('../../shared/better-auth.BLDOwz3i.cjs');
|
|
5
5
|
const store = require('solid-js/store');
|
|
6
6
|
const solidJs = require('solid-js');
|
|
@@ -4,12 +4,12 @@ export * from '@better-fetch/fetch';
|
|
|
4
4
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.cjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
7
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.BkL9ntGY.cjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'kysely';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.BkREA_U6.cjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'better-sqlite3';
|
|
15
15
|
|
|
@@ -4,12 +4,12 @@ export * from '@better-fetch/fetch';
|
|
|
4
4
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.mjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
7
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.D_6ikAPh.mjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'kysely';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.CmWesETc.mjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'better-sqlite3';
|
|
15
15
|
|
|
@@ -4,12 +4,12 @@ export * from '@better-fetch/fetch';
|
|
|
4
4
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.js';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.js';
|
|
7
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.BODzPfJo.js';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'kysely';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.CVEUIYlu.js';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'better-sqlite3';
|
|
15
15
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
1
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.DYm-YVE1.mjs';
|
|
2
2
|
import { c as capitalizeFirstLetter } from '../../shared/better-auth.D-2CmEwz.mjs';
|
|
3
3
|
import { createStore, reconcile } from 'solid-js/store';
|
|
4
4
|
import { onCleanup } from 'solid-js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const proxy = require('../../shared/better-auth.
|
|
3
|
+
const proxy = require('../../shared/better-auth.R2B_T2k0.cjs');
|
|
4
4
|
const misc = require('../../shared/better-auth.BLDOwz3i.cjs');
|
|
5
5
|
require('@better-fetch/fetch');
|
|
6
6
|
require('../../shared/better-auth.C-R0J0n1.cjs');
|
|
@@ -6,11 +6,11 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
9
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.BkL9ntGY.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.BkREA_U6.cjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'better-sqlite3';
|
|
16
16
|
|
|
@@ -6,11 +6,11 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
9
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.D_6ikAPh.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.CmWesETc.mjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'better-sqlite3';
|
|
16
16
|
|
|
@@ -6,11 +6,11 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.js';
|
|
9
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.BODzPfJo.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.CVEUIYlu.js';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'better-sqlite3';
|
|
16
16
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
1
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.DYm-YVE1.mjs';
|
|
2
2
|
import { c as capitalizeFirstLetter } from '../../shared/better-auth.D-2CmEwz.mjs';
|
|
3
3
|
import '@better-fetch/fetch';
|
|
4
4
|
import '../../shared/better-auth.VTXNLFMT.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const vue = require('vue');
|
|
4
|
-
const proxy = require('../../shared/better-auth.
|
|
4
|
+
const proxy = require('../../shared/better-auth.R2B_T2k0.cjs');
|
|
5
5
|
const misc = require('../../shared/better-auth.BLDOwz3i.cjs');
|
|
6
6
|
require('@better-fetch/fetch');
|
|
7
7
|
require('../../shared/better-auth.C-R0J0n1.cjs');
|
|
@@ -6,11 +6,11 @@ export * from '@better-fetch/fetch';
|
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
9
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.BkL9ntGY.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.BkREA_U6.cjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'better-sqlite3';
|
|
16
16
|
|
|
@@ -6,11 +6,11 @@ export * from '@better-fetch/fetch';
|
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
9
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.D_6ikAPh.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.CmWesETc.mjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'better-sqlite3';
|
|
16
16
|
|
|
@@ -6,11 +6,11 @@ export * from '@better-fetch/fetch';
|
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.js';
|
|
9
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.BODzPfJo.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'kysely';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.CVEUIYlu.js';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'better-sqlite3';
|
|
16
16
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shallowRef, getCurrentScope, onScopeDispose, readonly, getCurrentInstance } from 'vue';
|
|
2
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
2
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.DYm-YVE1.mjs';
|
|
3
3
|
import { c as capitalizeFirstLetter } from '../../shared/better-auth.D-2CmEwz.mjs';
|
|
4
4
|
import '@better-fetch/fetch';
|
|
5
5
|
import '../../shared/better-auth.VTXNLFMT.mjs';
|
package/dist/cookies/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aq as BetterAuthCookies, av as EligibleCookies, ao as createCookieGetter, at as deleteSessionCookie, ax as getCookieCache, ap as getCookies, aw as getSessionCookie, au as parseCookies, ay as parseSetCookieHeader, ar as setCookieCache, az as setCookieToHeader, as as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aq as BetterAuthCookies, av as EligibleCookies, ao as createCookieGetter, at as deleteSessionCookie, ax as getCookieCache, ap as getCookies, aw as getSessionCookie, au as parseCookies, ay as parseSetCookieHeader, ar as setCookieCache, az as setCookieToHeader, as as setSessionCookie } from '../shared/better-auth.BkL9ntGY.cjs';
|
|
3
3
|
import '../shared/better-auth.Bi8FQwDD.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'kysely';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.BkREA_U6.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'better-sqlite3';
|
package/dist/cookies/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aq as BetterAuthCookies, av as EligibleCookies, ao as createCookieGetter, at as deleteSessionCookie, ax as getCookieCache, ap as getCookies, aw as getSessionCookie, au as parseCookies, ay as parseSetCookieHeader, ar as setCookieCache, az as setCookieToHeader, as as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aq as BetterAuthCookies, av as EligibleCookies, ao as createCookieGetter, at as deleteSessionCookie, ax as getCookieCache, ap as getCookies, aw as getSessionCookie, au as parseCookies, ay as parseSetCookieHeader, ar as setCookieCache, az as setCookieToHeader, as as setSessionCookie } from '../shared/better-auth.D_6ikAPh.mjs';
|
|
3
3
|
import '../shared/better-auth.Bi8FQwDD.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'kysely';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.CmWesETc.mjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'better-sqlite3';
|
package/dist/cookies/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aq as BetterAuthCookies, av as EligibleCookies, ao as createCookieGetter, at as deleteSessionCookie, ax as getCookieCache, ap as getCookies, aw as getSessionCookie, au as parseCookies, ay as parseSetCookieHeader, ar as setCookieCache, az as setCookieToHeader, as as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aq as BetterAuthCookies, av as EligibleCookies, ao as createCookieGetter, at as deleteSessionCookie, ax as getCookieCache, ap as getCookies, aw as getSessionCookie, au as parseCookies, ay as parseSetCookieHeader, ar as setCookieCache, az as setCookieToHeader, as as setSessionCookie } from '../shared/better-auth.BODzPfJo.js';
|
|
3
3
|
import '../shared/better-auth.Bi8FQwDD.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'kysely';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.CVEUIYlu.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'better-sqlite3';
|
package/dist/db/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const getMigration = require('../shared/better-auth.
|
|
3
|
+
const getMigration = require('../shared/better-auth.X0ynzeu1.cjs');
|
|
4
4
|
const getTables = require('../shared/better-auth.BEphVDyL.cjs');
|
|
5
5
|
const zod = require('zod');
|
|
6
|
-
const schema = require('../shared/better-auth.
|
|
6
|
+
const schema = require('../shared/better-auth.C5H9XEzZ.cjs');
|
|
7
7
|
require('../shared/better-auth.C1hdVENX.cjs');
|
|
8
8
|
require('../shared/better-auth.i9-25Ul9.cjs');
|
|
9
9
|
require('../shared/better-auth.DiSjtgs9.cjs');
|
|
@@ -24,10 +24,10 @@ require('@noble/hashes/utils');
|
|
|
24
24
|
require('../shared/better-auth.CYeOI8C-.cjs');
|
|
25
25
|
require('../shared/better-auth.GpOOav9x.cjs');
|
|
26
26
|
require('../shared/better-auth.ANpbi45u.cjs');
|
|
27
|
-
require('../shared/better-auth.
|
|
27
|
+
require('../shared/better-auth.DqLjzBlO.cjs');
|
|
28
28
|
require('kysely');
|
|
29
29
|
require('../shared/better-auth.CUdxApHl.cjs');
|
|
30
|
-
require('../shared/better-auth.
|
|
30
|
+
require('../shared/better-auth.DWHWPllD.cjs');
|
|
31
31
|
|
|
32
32
|
const createFieldAttribute = (type, config) => {
|
|
33
33
|
return {
|
package/dist/db/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { g as Adapter, f as BetterAuthOptions, G as GenericEndpointContext, W as Where, T as FieldAttribute, X as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { a7 as BetterAuthDbSchema, _ as FieldAttributeConfig, a6 as InferFieldsFromOptions, a5 as InferFieldsFromPlugins, a2 as InferFieldsInput, a3 as InferFieldsInputClient, a1 as InferFieldsOutput, a0 as InferValueType, Z as InternalAdapter, a4 as PluginFieldAttribute, a9 as accountSchema, $ as createFieldAttribute, Y as createInternalAdapter, ae as getAllFields, a8 as getAuthTables, an as mergeSchema, al as parseAccountInput, ag as parseAccountOutput, ak as parseAdditionalUserInput, ai as parseInputData, ad as parseOutputData, am as parseSessionInput, ah as parseSessionOutput, aj as parseUserInput, af as parseUserOutput, ab as sessionSchema, aa as userSchema, ac as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { g as Adapter, f as BetterAuthOptions, G as GenericEndpointContext, W as Where, T as FieldAttribute, X as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.BkL9ntGY.cjs';
|
|
2
|
+
export { a7 as BetterAuthDbSchema, _ as FieldAttributeConfig, a6 as InferFieldsFromOptions, a5 as InferFieldsFromPlugins, a2 as InferFieldsInput, a3 as InferFieldsInputClient, a1 as InferFieldsOutput, a0 as InferValueType, Z as InternalAdapter, a4 as PluginFieldAttribute, a9 as accountSchema, $ as createFieldAttribute, Y as createInternalAdapter, ae as getAllFields, a8 as getAuthTables, an as mergeSchema, al as parseAccountInput, ag as parseAccountOutput, ak as parseAdditionalUserInput, ai as parseInputData, ad as parseOutputData, am as parseSessionInput, ah as parseSessionOutput, aj as parseUserInput, af as parseUserOutput, ab as sessionSchema, aa as userSchema, ac as verificationSchema } from '../shared/better-auth.BkL9ntGY.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '../shared/better-auth.Bi8FQwDD.cjs';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.BkREA_U6.cjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'better-sqlite3';
|
|
10
10
|
|
package/dist/db/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { g as Adapter, f as BetterAuthOptions, G as GenericEndpointContext, W as Where, T as FieldAttribute, X as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { a7 as BetterAuthDbSchema, _ as FieldAttributeConfig, a6 as InferFieldsFromOptions, a5 as InferFieldsFromPlugins, a2 as InferFieldsInput, a3 as InferFieldsInputClient, a1 as InferFieldsOutput, a0 as InferValueType, Z as InternalAdapter, a4 as PluginFieldAttribute, a9 as accountSchema, $ as createFieldAttribute, Y as createInternalAdapter, ae as getAllFields, a8 as getAuthTables, an as mergeSchema, al as parseAccountInput, ag as parseAccountOutput, ak as parseAdditionalUserInput, ai as parseInputData, ad as parseOutputData, am as parseSessionInput, ah as parseSessionOutput, aj as parseUserInput, af as parseUserOutput, ab as sessionSchema, aa as userSchema, ac as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { g as Adapter, f as BetterAuthOptions, G as GenericEndpointContext, W as Where, T as FieldAttribute, X as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.D_6ikAPh.mjs';
|
|
2
|
+
export { a7 as BetterAuthDbSchema, _ as FieldAttributeConfig, a6 as InferFieldsFromOptions, a5 as InferFieldsFromPlugins, a2 as InferFieldsInput, a3 as InferFieldsInputClient, a1 as InferFieldsOutput, a0 as InferValueType, Z as InternalAdapter, a4 as PluginFieldAttribute, a9 as accountSchema, $ as createFieldAttribute, Y as createInternalAdapter, ae as getAllFields, a8 as getAuthTables, an as mergeSchema, al as parseAccountInput, ag as parseAccountOutput, ak as parseAdditionalUserInput, ai as parseInputData, ad as parseOutputData, am as parseSessionInput, ah as parseSessionOutput, aj as parseUserInput, af as parseUserOutput, ab as sessionSchema, aa as userSchema, ac as verificationSchema } from '../shared/better-auth.D_6ikAPh.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '../shared/better-auth.Bi8FQwDD.mjs';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.CmWesETc.mjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'better-sqlite3';
|
|
10
10
|
|
package/dist/db/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { g as Adapter, f as BetterAuthOptions, G as GenericEndpointContext, W as Where, T as FieldAttribute, X as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { a7 as BetterAuthDbSchema, _ as FieldAttributeConfig, a6 as InferFieldsFromOptions, a5 as InferFieldsFromPlugins, a2 as InferFieldsInput, a3 as InferFieldsInputClient, a1 as InferFieldsOutput, a0 as InferValueType, Z as InternalAdapter, a4 as PluginFieldAttribute, a9 as accountSchema, $ as createFieldAttribute, Y as createInternalAdapter, ae as getAllFields, a8 as getAuthTables, an as mergeSchema, al as parseAccountInput, ag as parseAccountOutput, ak as parseAdditionalUserInput, ai as parseInputData, ad as parseOutputData, am as parseSessionInput, ah as parseSessionOutput, aj as parseUserInput, af as parseUserOutput, ab as sessionSchema, aa as userSchema, ac as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { g as Adapter, f as BetterAuthOptions, G as GenericEndpointContext, W as Where, T as FieldAttribute, X as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.BODzPfJo.js';
|
|
2
|
+
export { a7 as BetterAuthDbSchema, _ as FieldAttributeConfig, a6 as InferFieldsFromOptions, a5 as InferFieldsFromPlugins, a2 as InferFieldsInput, a3 as InferFieldsInputClient, a1 as InferFieldsOutput, a0 as InferValueType, Z as InternalAdapter, a4 as PluginFieldAttribute, a9 as accountSchema, $ as createFieldAttribute, Y as createInternalAdapter, ae as getAllFields, a8 as getAuthTables, an as mergeSchema, al as parseAccountInput, ag as parseAccountOutput, ak as parseAdditionalUserInput, ai as parseInputData, ad as parseOutputData, am as parseSessionInput, ah as parseSessionOutput, aj as parseUserInput, af as parseUserOutput, ab as sessionSchema, aa as userSchema, ac as verificationSchema } from '../shared/better-auth.BODzPfJo.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '../shared/better-auth.Bi8FQwDD.js';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.CVEUIYlu.js';
|
|
8
8
|
import 'jose';
|
|
9
9
|
import 'better-sqlite3';
|
|
10
10
|
|
package/dist/db/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { d as convertFromDB, b as convertToDB, c as createInternalAdapter, a as getAdapter, e as getMigrations, f as getSchema, g as getWithHooks, m as matchType } from '../shared/better-auth.
|
|
1
|
+
export { d as convertFromDB, b as convertToDB, c as createInternalAdapter, a as getAdapter, e as getMigrations, f as getSchema, g as getWithHooks, m as matchType } from '../shared/better-auth.CbBX7Xla.mjs';
|
|
2
2
|
export { g as getAuthTables } from '../shared/better-auth.DORkW_Ge.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
export { a as accountSchema, g as getAllFields, m as mergeSchema, i as parseAccountInput, c as parseAccountOutput, h as parseAdditionalUserInput, e as parseInputData, p as parseOutputData, j as parseSessionInput, d as parseSessionOutput, f as parseUserInput, b as parseUserOutput, s as sessionSchema, u as userSchema, v as verificationSchema } from '../shared/better-auth.
|
|
4
|
+
export { a as accountSchema, g as getAllFields, m as mergeSchema, i as parseAccountInput, c as parseAccountOutput, h as parseAdditionalUserInput, e as parseInputData, p as parseOutputData, j as parseSessionInput, d as parseSessionOutput, f as parseUserInput, b as parseUserOutput, s as sessionSchema, u as userSchema, v as verificationSchema } from '../shared/better-auth.CepcSj5H.mjs';
|
|
5
5
|
import '../shared/better-auth.CW6D9eSx.mjs';
|
|
6
6
|
import '../shared/better-auth.DZGc_87_.mjs';
|
|
7
7
|
import '../shared/better-auth.8zoxzg-F.mjs';
|
|
@@ -22,10 +22,10 @@ import '@noble/hashes/utils';
|
|
|
22
22
|
import '../shared/better-auth.B4Qoxdgc.mjs';
|
|
23
23
|
import '../shared/better-auth.DH3YjMQH.mjs';
|
|
24
24
|
import '../shared/better-auth.DdzSJf-n.mjs';
|
|
25
|
-
import '../shared/better-auth.
|
|
25
|
+
import '../shared/better-auth.BnRFp-t0.mjs';
|
|
26
26
|
import 'kysely';
|
|
27
27
|
import '../shared/better-auth.0TC26uRi.mjs';
|
|
28
|
-
import '../shared/better-auth.
|
|
28
|
+
import '../shared/better-auth.DC8JQbiE.mjs';
|
|
29
29
|
|
|
30
30
|
const createFieldAttribute = (type, config) => {
|
|
31
31
|
return {
|
package/dist/index.cjs
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
const api_index = require('./api/index.cjs');
|
|
4
4
|
const defu = require('defu');
|
|
5
5
|
const password = require('./shared/better-auth.YUF6P-PB.cjs');
|
|
6
|
-
const getMigration = require('./shared/better-auth.
|
|
6
|
+
const getMigration = require('./shared/better-auth.X0ynzeu1.cjs');
|
|
7
7
|
const getTables = require('./shared/better-auth.BEphVDyL.cjs');
|
|
8
8
|
require('zod');
|
|
9
|
-
require('./shared/better-auth.
|
|
9
|
+
require('./shared/better-auth.C5H9XEzZ.cjs');
|
|
10
10
|
const cookies_index = require('./cookies/index.cjs');
|
|
11
11
|
const logger = require('./shared/better-auth.GpOOav9x.cjs');
|
|
12
12
|
const socialProviders_index = require('./social-providers/index.cjs');
|
|
@@ -23,9 +23,9 @@ const env = require('./shared/better-auth.DiSjtgs9.cjs');
|
|
|
23
23
|
const password$1 = require('./shared/better-auth.CDXNofOe.cjs');
|
|
24
24
|
const url = require('./shared/better-auth.C-R0J0n1.cjs');
|
|
25
25
|
const index = require('./shared/better-auth.ANpbi45u.cjs');
|
|
26
|
-
const account = require('./shared/better-auth.
|
|
26
|
+
const account = require('./shared/better-auth.ChassmKE.cjs');
|
|
27
27
|
const misc = require('./shared/better-auth.BLDOwz3i.cjs');
|
|
28
|
-
const state = require('./shared/better-auth.
|
|
28
|
+
const state = require('./shared/better-auth.QbbyHMYf.cjs');
|
|
29
29
|
require('./shared/better-auth.i9-25Ul9.cjs');
|
|
30
30
|
require('@noble/hashes/scrypt');
|
|
31
31
|
require('@better-auth/utils');
|
|
@@ -34,13 +34,13 @@ require('@noble/hashes/utils');
|
|
|
34
34
|
require('./shared/better-auth.C1hdVENX.cjs');
|
|
35
35
|
require('./shared/better-auth.D3mtHEZg.cjs');
|
|
36
36
|
require('@better-auth/utils/random');
|
|
37
|
-
require('./shared/better-auth.
|
|
37
|
+
require('./shared/better-auth.DqLjzBlO.cjs');
|
|
38
38
|
require('kysely');
|
|
39
39
|
require('./shared/better-auth.CUdxApHl.cjs');
|
|
40
|
-
require('./shared/better-auth.
|
|
40
|
+
require('./shared/better-auth.DWHWPllD.cjs');
|
|
41
41
|
require('@better-auth/utils/hmac');
|
|
42
42
|
require('@better-fetch/fetch');
|
|
43
|
-
require('./shared/better-auth.
|
|
43
|
+
require('./shared/better-auth.DgXCgiHI.cjs');
|
|
44
44
|
require('./shared/better-auth.BMYo0QR-.cjs');
|
|
45
45
|
require('jose/errors');
|
|
46
46
|
require('@better-auth/utils/binary');
|
package/dist/index.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { u as Account, g as Adapter, x as AdapterInstance, w as AdapterSchemaCreation, r as AdditionalSessionFieldsInput, s as AdditionalSessionFieldsOutput, p as AdditionalUserFieldsInput, q as AdditionalUserFieldsOutput, i as Auth, l as AuthContext, A as AuthPluginSchema, f as BetterAuthOptions, B as BetterAuthPlugin, z as FilterActions, F as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, D as InferAPI, I as InferOptionSchema, a as InferPluginErrorCodes, t as InferPluginTypes, k as InferSession, C as InferSessionAPI, j as InferUser, O as LogHandlerParams, L as LogLevel, N as Logger, M as Models, R as RateLimit, y as SecondaryStorage, S as Session, U as User, V as Verification, W as Where, m as WithJsDoc, n as betterAuth, P as createLogger, v as init, E as levels, Q as logger, J as shouldPublishLog } from './shared/better-auth.
|
|
1
|
+
export { u as Account, g as Adapter, x as AdapterInstance, w as AdapterSchemaCreation, r as AdditionalSessionFieldsInput, s as AdditionalSessionFieldsOutput, p as AdditionalUserFieldsInput, q as AdditionalUserFieldsOutput, i as Auth, l as AuthContext, A as AuthPluginSchema, f as BetterAuthOptions, B as BetterAuthPlugin, z as FilterActions, F as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, D as InferAPI, I as InferOptionSchema, a as InferPluginErrorCodes, t as InferPluginTypes, k as InferSession, C as InferSessionAPI, j as InferUser, O as LogHandlerParams, L as LogLevel, N as Logger, M as Models, R as RateLimit, y as SecondaryStorage, S as Session, U as User, V as Verification, W as Where, m as WithJsDoc, n as betterAuth, P as createLogger, v as init, E as levels, Q as logger, J as shouldPublishLog } from './shared/better-auth.BkL9ntGY.cjs';
|
|
2
2
|
export { AtomListener, BetterAuthClientPlugin, ClientOptions, InferActions, InferAdditionalFromClient, InferClientAPI, InferErrorCodes, InferPluginsFromClient, InferSessionFromClient, InferUserFromClient, IsSignal, Store } from './types/index.cjs';
|
|
3
3
|
export { H as HIDE_METADATA } from './shared/better-auth.DEHJp1rk.cjs';
|
|
4
|
-
export { g as generateState, p as parseState } from './shared/better-auth.
|
|
4
|
+
export { g as generateState, p as parseState } from './shared/better-auth.RZCibiKy.cjs';
|
|
5
5
|
export * from 'better-call';
|
|
6
6
|
export * from 'zod';
|
|
7
7
|
export { D as DeepPartial, E as Expand, H as HasRequiredKeys, a as LiteralNumber, L as LiteralString, d as LiteralUnion, O as OmitId, c as PreserveJSDoc, b as Prettify, P as PrettifyDeep, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.Bi8FQwDD.cjs';
|
|
8
8
|
import 'kysely';
|
|
9
|
-
import './shared/better-auth.
|
|
9
|
+
import './shared/better-auth.BkREA_U6.cjs';
|
|
10
10
|
import 'jose';
|
|
11
11
|
import 'better-sqlite3';
|
|
12
12
|
import '@better-fetch/fetch';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { u as Account, g as Adapter, x as AdapterInstance, w as AdapterSchemaCreation, r as AdditionalSessionFieldsInput, s as AdditionalSessionFieldsOutput, p as AdditionalUserFieldsInput, q as AdditionalUserFieldsOutput, i as Auth, l as AuthContext, A as AuthPluginSchema, f as BetterAuthOptions, B as BetterAuthPlugin, z as FilterActions, F as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, D as InferAPI, I as InferOptionSchema, a as InferPluginErrorCodes, t as InferPluginTypes, k as InferSession, C as InferSessionAPI, j as InferUser, O as LogHandlerParams, L as LogLevel, N as Logger, M as Models, R as RateLimit, y as SecondaryStorage, S as Session, U as User, V as Verification, W as Where, m as WithJsDoc, n as betterAuth, P as createLogger, v as init, E as levels, Q as logger, J as shouldPublishLog } from './shared/better-auth.
|
|
1
|
+
export { u as Account, g as Adapter, x as AdapterInstance, w as AdapterSchemaCreation, r as AdditionalSessionFieldsInput, s as AdditionalSessionFieldsOutput, p as AdditionalUserFieldsInput, q as AdditionalUserFieldsOutput, i as Auth, l as AuthContext, A as AuthPluginSchema, f as BetterAuthOptions, B as BetterAuthPlugin, z as FilterActions, F as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, D as InferAPI, I as InferOptionSchema, a as InferPluginErrorCodes, t as InferPluginTypes, k as InferSession, C as InferSessionAPI, j as InferUser, O as LogHandlerParams, L as LogLevel, N as Logger, M as Models, R as RateLimit, y as SecondaryStorage, S as Session, U as User, V as Verification, W as Where, m as WithJsDoc, n as betterAuth, P as createLogger, v as init, E as levels, Q as logger, J as shouldPublishLog } from './shared/better-auth.D_6ikAPh.mjs';
|
|
2
2
|
export { AtomListener, BetterAuthClientPlugin, ClientOptions, InferActions, InferAdditionalFromClient, InferClientAPI, InferErrorCodes, InferPluginsFromClient, InferSessionFromClient, InferUserFromClient, IsSignal, Store } from './types/index.mjs';
|
|
3
3
|
export { H as HIDE_METADATA } from './shared/better-auth.DEHJp1rk.mjs';
|
|
4
|
-
export { g as generateState, p as parseState } from './shared/better-auth.
|
|
4
|
+
export { g as generateState, p as parseState } from './shared/better-auth.C7O0617V.mjs';
|
|
5
5
|
export * from 'better-call';
|
|
6
6
|
export * from 'zod';
|
|
7
7
|
export { D as DeepPartial, E as Expand, H as HasRequiredKeys, a as LiteralNumber, L as LiteralString, d as LiteralUnion, O as OmitId, c as PreserveJSDoc, b as Prettify, P as PrettifyDeep, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.Bi8FQwDD.mjs';
|
|
8
8
|
import 'kysely';
|
|
9
|
-
import './shared/better-auth.
|
|
9
|
+
import './shared/better-auth.CmWesETc.mjs';
|
|
10
10
|
import 'jose';
|
|
11
11
|
import 'better-sqlite3';
|
|
12
12
|
import '@better-fetch/fetch';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { u as Account, g as Adapter, x as AdapterInstance, w as AdapterSchemaCreation, r as AdditionalSessionFieldsInput, s as AdditionalSessionFieldsOutput, p as AdditionalUserFieldsInput, q as AdditionalUserFieldsOutput, i as Auth, l as AuthContext, A as AuthPluginSchema, f as BetterAuthOptions, B as BetterAuthPlugin, z as FilterActions, F as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, D as InferAPI, I as InferOptionSchema, a as InferPluginErrorCodes, t as InferPluginTypes, k as InferSession, C as InferSessionAPI, j as InferUser, O as LogHandlerParams, L as LogLevel, N as Logger, M as Models, R as RateLimit, y as SecondaryStorage, S as Session, U as User, V as Verification, W as Where, m as WithJsDoc, n as betterAuth, P as createLogger, v as init, E as levels, Q as logger, J as shouldPublishLog } from './shared/better-auth.
|
|
1
|
+
export { u as Account, g as Adapter, x as AdapterInstance, w as AdapterSchemaCreation, r as AdditionalSessionFieldsInput, s as AdditionalSessionFieldsOutput, p as AdditionalUserFieldsInput, q as AdditionalUserFieldsOutput, i as Auth, l as AuthContext, A as AuthPluginSchema, f as BetterAuthOptions, B as BetterAuthPlugin, z as FilterActions, F as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, D as InferAPI, I as InferOptionSchema, a as InferPluginErrorCodes, t as InferPluginTypes, k as InferSession, C as InferSessionAPI, j as InferUser, O as LogHandlerParams, L as LogLevel, N as Logger, M as Models, R as RateLimit, y as SecondaryStorage, S as Session, U as User, V as Verification, W as Where, m as WithJsDoc, n as betterAuth, P as createLogger, v as init, E as levels, Q as logger, J as shouldPublishLog } from './shared/better-auth.BODzPfJo.js';
|
|
2
2
|
export { AtomListener, BetterAuthClientPlugin, ClientOptions, InferActions, InferAdditionalFromClient, InferClientAPI, InferErrorCodes, InferPluginsFromClient, InferSessionFromClient, InferUserFromClient, IsSignal, Store } from './types/index.js';
|
|
3
3
|
export { H as HIDE_METADATA } from './shared/better-auth.DEHJp1rk.js';
|
|
4
|
-
export { g as generateState, p as parseState } from './shared/better-auth.
|
|
4
|
+
export { g as generateState, p as parseState } from './shared/better-auth.BjXInNL7.js';
|
|
5
5
|
export * from 'better-call';
|
|
6
6
|
export * from 'zod';
|
|
7
7
|
export { D as DeepPartial, E as Expand, H as HasRequiredKeys, a as LiteralNumber, L as LiteralString, d as LiteralUnion, O as OmitId, c as PreserveJSDoc, b as Prettify, P as PrettifyDeep, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.Bi8FQwDD.js';
|
|
8
8
|
import 'kysely';
|
|
9
|
-
import './shared/better-auth.
|
|
9
|
+
import './shared/better-auth.CVEUIYlu.js';
|
|
10
10
|
import 'jose';
|
|
11
11
|
import 'better-sqlite3';
|
|
12
12
|
import '@better-fetch/fetch';
|