better-auth 1.2.8-beta.1 → 1.2.8-beta.3
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 +10 -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 +11 -2
- package/dist/adapters/index.cjs +1 -1
- package/dist/adapters/index.d.cts +3 -3
- package/dist/adapters/index.d.mts +3 -3
- package/dist/adapters/index.d.ts +3 -3
- package/dist/adapters/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.d.cts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.mts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.ts +1 -1
- package/dist/adapters/prisma-adapter/index.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 +1 -1
- package/dist/adapters/test.d.mts +1 -1
- package/dist/adapters/test.d.ts +1 -1
- package/dist/api/index.cjs +1 -1
- package/dist/api/index.d.cts +1 -1
- package/dist/api/index.d.mts +1 -1
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.mjs +2 -2
- package/dist/client/index.d.cts +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/plugins/index.d.cts +2 -2
- package/dist/client/plugins/index.d.mts +2 -2
- package/dist/client/plugins/index.d.ts +2 -2
- package/dist/client/react/index.d.cts +1 -1
- package/dist/client/react/index.d.mts +1 -1
- package/dist/client/react/index.d.ts +1 -1
- package/dist/client/solid/index.d.cts +1 -1
- package/dist/client/solid/index.d.mts +1 -1
- package/dist/client/solid/index.d.ts +1 -1
- package/dist/client/svelte/index.d.cts +1 -1
- package/dist/client/svelte/index.d.mts +1 -1
- package/dist/client/svelte/index.d.ts +1 -1
- package/dist/client/vue/index.d.cts +1 -1
- package/dist/client/vue/index.d.mts +1 -1
- package/dist/client/vue/index.d.ts +1 -1
- package/dist/cookies/index.d.cts +1 -1
- package/dist/cookies/index.d.mts +1 -1
- package/dist/cookies/index.d.ts +1 -1
- package/dist/db/index.cjs +4 -4
- package/dist/db/index.d.cts +2 -2
- package/dist/db/index.d.mts +2 -2
- package/dist/db/index.d.ts +2 -2
- package/dist/db/index.mjs +4 -4
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +6 -6
- package/dist/integrations/next-js.cjs +2 -2
- package/dist/integrations/next-js.d.cts +1 -1
- package/dist/integrations/next-js.d.mts +1 -1
- package/dist/integrations/next-js.d.ts +1 -1
- package/dist/integrations/next-js.mjs +2 -2
- package/dist/integrations/node.d.cts +1 -1
- package/dist/integrations/node.d.mts +1 -1
- package/dist/integrations/node.d.ts +1 -1
- package/dist/integrations/react-start.cjs +2 -2
- package/dist/integrations/react-start.d.cts +1 -1
- package/dist/integrations/react-start.d.mts +1 -1
- package/dist/integrations/react-start.d.ts +1 -1
- package/dist/integrations/react-start.mjs +2 -2
- package/dist/integrations/svelte-kit.d.cts +1 -1
- package/dist/integrations/svelte-kit.d.mts +1 -1
- package/dist/integrations/svelte-kit.d.ts +1 -1
- package/dist/oauth2/index.d.cts +2 -2
- package/dist/oauth2/index.d.mts +2 -2
- package/dist/oauth2/index.d.ts +2 -2
- package/dist/plugins/admin/index.cjs +2 -2
- package/dist/plugins/admin/index.d.cts +1 -1
- package/dist/plugins/admin/index.d.mts +1 -1
- package/dist/plugins/admin/index.d.ts +1 -1
- package/dist/plugins/admin/index.mjs +2 -2
- package/dist/plugins/anonymous/index.cjs +1 -1
- package/dist/plugins/anonymous/index.d.cts +1 -1
- package/dist/plugins/anonymous/index.d.mts +1 -1
- package/dist/plugins/anonymous/index.d.ts +1 -1
- package/dist/plugins/anonymous/index.mjs +1 -1
- package/dist/plugins/bearer/index.cjs +1 -1
- package/dist/plugins/bearer/index.d.cts +1 -1
- package/dist/plugins/bearer/index.d.mts +1 -1
- package/dist/plugins/bearer/index.d.ts +1 -1
- package/dist/plugins/bearer/index.mjs +1 -1
- package/dist/plugins/captcha/index.d.cts +1 -1
- package/dist/plugins/captcha/index.d.mts +1 -1
- package/dist/plugins/captcha/index.d.ts +1 -1
- package/dist/plugins/custom-session/index.cjs +2 -2
- package/dist/plugins/custom-session/index.d.cts +2 -2
- package/dist/plugins/custom-session/index.d.mts +2 -2
- package/dist/plugins/custom-session/index.d.ts +2 -2
- package/dist/plugins/custom-session/index.mjs +2 -2
- package/dist/plugins/email-otp/index.cjs +1 -1
- package/dist/plugins/email-otp/index.d.cts +1 -1
- package/dist/plugins/email-otp/index.d.mts +1 -1
- package/dist/plugins/email-otp/index.d.ts +1 -1
- package/dist/plugins/email-otp/index.mjs +1 -1
- package/dist/plugins/generic-oauth/index.cjs +8 -14
- package/dist/plugins/generic-oauth/index.d.cts +2 -2
- package/dist/plugins/generic-oauth/index.d.mts +2 -2
- package/dist/plugins/generic-oauth/index.d.ts +2 -2
- package/dist/plugins/generic-oauth/index.mjs +8 -14
- package/dist/plugins/haveibeenpwned/index.cjs +1 -1
- package/dist/plugins/haveibeenpwned/index.d.cts +1 -1
- package/dist/plugins/haveibeenpwned/index.d.mts +1 -1
- package/dist/plugins/haveibeenpwned/index.d.ts +1 -1
- package/dist/plugins/haveibeenpwned/index.mjs +1 -1
- package/dist/plugins/index.cjs +3 -3
- 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 +4 -4
- package/dist/plugins/jwt/index.cjs +1 -1
- package/dist/plugins/jwt/index.d.cts +1 -1
- package/dist/plugins/jwt/index.d.mts +1 -1
- package/dist/plugins/jwt/index.d.ts +1 -1
- package/dist/plugins/jwt/index.mjs +1 -1
- package/dist/plugins/magic-link/index.cjs +1 -1
- package/dist/plugins/magic-link/index.mjs +1 -1
- package/dist/plugins/multi-session/index.cjs +1 -1
- package/dist/plugins/multi-session/index.d.cts +1 -1
- package/dist/plugins/multi-session/index.d.mts +1 -1
- package/dist/plugins/multi-session/index.d.ts +1 -1
- package/dist/plugins/multi-session/index.mjs +1 -1
- package/dist/plugins/oauth-proxy/index.cjs +1 -1
- package/dist/plugins/oauth-proxy/index.d.cts +1 -1
- package/dist/plugins/oauth-proxy/index.d.mts +1 -1
- package/dist/plugins/oauth-proxy/index.d.ts +1 -1
- package/dist/plugins/oauth-proxy/index.mjs +1 -1
- package/dist/plugins/oidc-provider/index.cjs +1 -1
- package/dist/plugins/oidc-provider/index.d.cts +1 -1
- package/dist/plugins/oidc-provider/index.d.mts +1 -1
- package/dist/plugins/oidc-provider/index.d.ts +1 -1
- package/dist/plugins/oidc-provider/index.mjs +1 -1
- package/dist/plugins/one-tap/index.cjs +1 -1
- package/dist/plugins/one-tap/index.mjs +1 -1
- package/dist/plugins/one-time-token/index.cjs +2 -2
- package/dist/plugins/one-time-token/index.d.cts +1 -1
- package/dist/plugins/one-time-token/index.d.mts +1 -1
- package/dist/plugins/one-time-token/index.d.ts +1 -1
- package/dist/plugins/one-time-token/index.mjs +2 -2
- package/dist/plugins/open-api/index.cjs +1 -1
- package/dist/plugins/open-api/index.d.cts +1 -1
- package/dist/plugins/open-api/index.d.mts +1 -1
- package/dist/plugins/open-api/index.d.ts +1 -1
- package/dist/plugins/open-api/index.mjs +1 -1
- package/dist/plugins/organization/index.cjs +2 -2
- package/dist/plugins/organization/index.d.cts +1 -1
- package/dist/plugins/organization/index.d.mts +1 -1
- package/dist/plugins/organization/index.d.ts +1 -1
- package/dist/plugins/organization/index.mjs +2 -2
- package/dist/plugins/passkey/index.cjs +2 -1
- package/dist/plugins/passkey/index.d.cts +1 -1
- package/dist/plugins/passkey/index.d.mts +1 -1
- package/dist/plugins/passkey/index.d.ts +1 -1
- package/dist/plugins/passkey/index.mjs +2 -1
- package/dist/plugins/phone-number/index.cjs +1 -1
- package/dist/plugins/phone-number/index.d.cts +1 -1
- package/dist/plugins/phone-number/index.d.mts +1 -1
- package/dist/plugins/phone-number/index.d.ts +1 -1
- package/dist/plugins/phone-number/index.mjs +1 -1
- package/dist/plugins/sso/index.cjs +2 -2
- package/dist/plugins/sso/index.d.cts +1 -1
- package/dist/plugins/sso/index.d.mts +1 -1
- package/dist/plugins/sso/index.d.ts +1 -1
- package/dist/plugins/sso/index.mjs +2 -2
- package/dist/plugins/two-factor/index.cjs +7 -5
- package/dist/plugins/two-factor/index.d.cts +1 -1
- package/dist/plugins/two-factor/index.d.mts +1 -1
- package/dist/plugins/two-factor/index.d.ts +1 -1
- package/dist/plugins/two-factor/index.mjs +7 -5
- package/dist/plugins/username/index.cjs +1 -1
- package/dist/plugins/username/index.d.cts +1 -1
- package/dist/plugins/username/index.d.mts +1 -1
- package/dist/plugins/username/index.d.ts +1 -1
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/shared/{better-auth.BKyK_ofH.d.mts → better-auth.BGbO1sDU.d.mts} +1 -1
- package/dist/shared/{better-auth.CVCo5Z2T.cjs → better-auth.BJiRPytD.cjs} +1 -1
- package/dist/shared/{better-auth.DjryM8pE.cjs → better-auth.BLnaKDpp.cjs} +1 -1
- package/dist/shared/{better-auth.-Dl1H7Rz.d.ts → better-auth.BRel8q6A.d.ts} +1 -1
- package/dist/shared/{better-auth.Dr138tsU.d.ts → better-auth.BqTWy4bR.d.ts} +1 -1
- package/dist/shared/{better-auth.UWJYhF5V.cjs → better-auth.BzlWwqx6.cjs} +1 -1
- package/dist/shared/{better-auth.CPDBY4hI.cjs → better-auth.C8liBIUN.cjs} +1 -1
- package/dist/shared/{better-auth.bolYzZ0S.d.cts → better-auth.C9h9IDuv.d.cts} +26 -1
- package/dist/shared/{better-auth.DURsStt9.mjs → better-auth.CkNopsdX.mjs} +1 -1
- package/dist/shared/{better-auth.RnGMlkGR.d.mts → better-auth.D05tOULo.d.mts} +1 -1
- package/dist/shared/{better-auth.DYoLD99C.cjs → better-auth.D7wPZeNW.cjs} +18 -2
- package/dist/shared/{better-auth.OXNpfBO8.d.cts → better-auth.DD23n9eA.d.cts} +1 -1
- package/dist/shared/{better-auth.1DR6suCQ.mjs → better-auth.DKF2BM5s.mjs} +1 -1
- package/dist/shared/{better-auth.xTHoeGxJ.d.cts → better-auth.DKG6z6wI.d.cts} +1 -1
- package/dist/shared/{better-auth.Bk5IMdhM.mjs → better-auth.DM4cRSFf.mjs} +18 -2
- package/dist/shared/{better-auth.rC5b9qdS.mjs → better-auth.DRnz6Qa6.mjs} +1 -1
- package/dist/shared/{better-auth.BzFIHfxT.d.cts → better-auth.DSaDbWe7.d.cts} +1 -1
- package/dist/shared/{better-auth.jNA-1f1K.d.ts → better-auth.DXuoyAUB.d.ts} +1 -1
- package/dist/shared/{better-auth.DvTP08Oe.mjs → better-auth.DZhGZ3hY.mjs} +18 -16
- package/dist/shared/{better-auth.ASptIaaI.d.mts → better-auth.DoH4g3oA.d.mts} +26 -1
- package/dist/shared/{better-auth.rSYJCd3o.mjs → better-auth.Du54XGQ5.mjs} +1 -1
- package/dist/shared/{better-auth.CCgUfvlh.d.mts → better-auth.E28-Tvud.d.mts} +1 -1
- package/dist/shared/{better-auth.b6379eQT.d.ts → better-auth.EetBIuJe.d.ts} +26 -1
- package/dist/shared/{better-auth.B0Si_s7N.mjs → better-auth.TuDfqYsl.mjs} +1 -1
- package/dist/shared/{better-auth.BfG24BjZ.cjs → better-auth.UARlElVH.cjs} +1 -1
- package/dist/shared/{better-auth.D7If6DrS.cjs → better-auth.zMvh8rLL.cjs} +18 -16
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +6 -3
package/dist/cookies/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { ar as BetterAuthCookies, aw as EligibleCookies, ap as createCookieGetter, au as deleteSessionCookie, ay as getCookieCache, aq as getCookies, ax as getSessionCookie, av as parseCookies, az as parseSetCookieHeader, as as setCookieCache, aA as setCookieToHeader, at as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { ar as BetterAuthCookies, aw as EligibleCookies, ap as createCookieGetter, au as deleteSessionCookie, ay as getCookieCache, aq as getCookies, ax as getSessionCookie, av as parseCookies, az as parseSetCookieHeader, as as setCookieCache, aA as setCookieToHeader, at as setSessionCookie } from '../shared/better-auth.C9h9IDuv.cjs';
|
|
3
3
|
import '../shared/better-auth.CYegVoq1.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../shared/better-auth.7QibuQ0I.cjs';
|
package/dist/cookies/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { ar as BetterAuthCookies, aw as EligibleCookies, ap as createCookieGetter, au as deleteSessionCookie, ay as getCookieCache, aq as getCookies, ax as getSessionCookie, av as parseCookies, az as parseSetCookieHeader, as as setCookieCache, aA as setCookieToHeader, at as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { ar as BetterAuthCookies, aw as EligibleCookies, ap as createCookieGetter, au as deleteSessionCookie, ay as getCookieCache, aq as getCookies, ax as getSessionCookie, av as parseCookies, az as parseSetCookieHeader, as as setCookieCache, aA as setCookieToHeader, at as setSessionCookie } from '../shared/better-auth.DoH4g3oA.mjs';
|
|
3
3
|
import '../shared/better-auth.CYegVoq1.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../shared/better-auth.C39-x5Oo.mjs';
|
package/dist/cookies/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { ar as BetterAuthCookies, aw as EligibleCookies, ap as createCookieGetter, au as deleteSessionCookie, ay as getCookieCache, aq as getCookies, ax as getSessionCookie, av as parseCookies, az as parseSetCookieHeader, as as setCookieCache, aA as setCookieToHeader, at as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { ar as BetterAuthCookies, aw as EligibleCookies, ap as createCookieGetter, au as deleteSessionCookie, ay as getCookieCache, aq as getCookies, ax as getSessionCookie, av as parseCookies, az as parseSetCookieHeader, as as setCookieCache, aA as setCookieToHeader, at as setSessionCookie } from '../shared/better-auth.EetBIuJe.js';
|
|
3
3
|
import '../shared/better-auth.CYegVoq1.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../shared/better-auth.CpEzqKmn.js';
|
package/dist/db/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const getMigration = require('../shared/better-auth.
|
|
3
|
+
const getMigration = require('../shared/better-auth.D7wPZeNW.cjs');
|
|
4
4
|
const getTables = require('../shared/better-auth.BEphVDyL.cjs');
|
|
5
5
|
const zod = require('zod');
|
|
6
6
|
const schema = require('../shared/better-auth.DcWKCjjf.cjs');
|
|
@@ -24,11 +24,11 @@ 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.BJiRPytD.cjs');
|
|
28
28
|
require('kysely');
|
|
29
|
-
require('../shared/better-auth.
|
|
29
|
+
require('../shared/better-auth.BLnaKDpp.cjs');
|
|
30
30
|
require('../shared/better-auth.CUdxApHl.cjs');
|
|
31
|
-
require('../shared/better-auth.
|
|
31
|
+
require('../shared/better-auth.UARlElVH.cjs');
|
|
32
32
|
|
|
33
33
|
const createFieldAttribute = (type, config) => {
|
|
34
34
|
return {
|
package/dist/db/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as Adapter, f as BetterAuthOptions, G as GenericEndpointContext, W as Where, F as FieldAttribute, Z as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { h as BetterAuthDbSchema, a0 as FieldAttributeConfig, a8 as InferFieldsFromOptions, a7 as InferFieldsFromPlugins, a4 as InferFieldsInput, a5 as InferFieldsInputClient, a3 as InferFieldsOutput, a2 as InferValueType, $ as InternalAdapter, a6 as PluginFieldAttribute, aa as accountSchema, a1 as createFieldAttribute, _ as createInternalAdapter, af as getAllFields, a9 as getAuthTables, ao as mergeSchema, am as parseAccountInput, ah as parseAccountOutput, al as parseAdditionalUserInput, aj as parseInputData, ae as parseOutputData, an as parseSessionInput, ai as parseSessionOutput, ak as parseUserInput, ag as parseUserOutput, ac as sessionSchema, ab as userSchema, ad as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { g as Adapter, f as BetterAuthOptions, G as GenericEndpointContext, W as Where, F as FieldAttribute, Z as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.C9h9IDuv.cjs';
|
|
2
|
+
export { h as BetterAuthDbSchema, a0 as FieldAttributeConfig, a8 as InferFieldsFromOptions, a7 as InferFieldsFromPlugins, a4 as InferFieldsInput, a5 as InferFieldsInputClient, a3 as InferFieldsOutput, a2 as InferValueType, $ as InternalAdapter, a6 as PluginFieldAttribute, aa as accountSchema, a1 as createFieldAttribute, _ as createInternalAdapter, af as getAllFields, a9 as getAuthTables, ao as mergeSchema, am as parseAccountInput, ah as parseAccountOutput, al as parseAdditionalUserInput, aj as parseInputData, ae as parseOutputData, an as parseSessionInput, ai as parseSessionOutput, ak as parseUserInput, ag as parseUserOutput, ac as sessionSchema, ab as userSchema, ad as verificationSchema } from '../shared/better-auth.C9h9IDuv.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '../shared/better-auth.CYegVoq1.cjs';
|
|
5
5
|
import '../shared/better-auth.7QibuQ0I.cjs';
|
package/dist/db/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as Adapter, f as BetterAuthOptions, G as GenericEndpointContext, W as Where, F as FieldAttribute, Z as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { h as BetterAuthDbSchema, a0 as FieldAttributeConfig, a8 as InferFieldsFromOptions, a7 as InferFieldsFromPlugins, a4 as InferFieldsInput, a5 as InferFieldsInputClient, a3 as InferFieldsOutput, a2 as InferValueType, $ as InternalAdapter, a6 as PluginFieldAttribute, aa as accountSchema, a1 as createFieldAttribute, _ as createInternalAdapter, af as getAllFields, a9 as getAuthTables, ao as mergeSchema, am as parseAccountInput, ah as parseAccountOutput, al as parseAdditionalUserInput, aj as parseInputData, ae as parseOutputData, an as parseSessionInput, ai as parseSessionOutput, ak as parseUserInput, ag as parseUserOutput, ac as sessionSchema, ab as userSchema, ad as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { g as Adapter, f as BetterAuthOptions, G as GenericEndpointContext, W as Where, F as FieldAttribute, Z as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.DoH4g3oA.mjs';
|
|
2
|
+
export { h as BetterAuthDbSchema, a0 as FieldAttributeConfig, a8 as InferFieldsFromOptions, a7 as InferFieldsFromPlugins, a4 as InferFieldsInput, a5 as InferFieldsInputClient, a3 as InferFieldsOutput, a2 as InferValueType, $ as InternalAdapter, a6 as PluginFieldAttribute, aa as accountSchema, a1 as createFieldAttribute, _ as createInternalAdapter, af as getAllFields, a9 as getAuthTables, ao as mergeSchema, am as parseAccountInput, ah as parseAccountOutput, al as parseAdditionalUserInput, aj as parseInputData, ae as parseOutputData, an as parseSessionInput, ai as parseSessionOutput, ak as parseUserInput, ag as parseUserOutput, ac as sessionSchema, ab as userSchema, ad as verificationSchema } from '../shared/better-auth.DoH4g3oA.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '../shared/better-auth.CYegVoq1.mjs';
|
|
5
5
|
import '../shared/better-auth.C39-x5Oo.mjs';
|
package/dist/db/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as Adapter, f as BetterAuthOptions, G as GenericEndpointContext, W as Where, F as FieldAttribute, Z as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { h as BetterAuthDbSchema, a0 as FieldAttributeConfig, a8 as InferFieldsFromOptions, a7 as InferFieldsFromPlugins, a4 as InferFieldsInput, a5 as InferFieldsInputClient, a3 as InferFieldsOutput, a2 as InferValueType, $ as InternalAdapter, a6 as PluginFieldAttribute, aa as accountSchema, a1 as createFieldAttribute, _ as createInternalAdapter, af as getAllFields, a9 as getAuthTables, ao as mergeSchema, am as parseAccountInput, ah as parseAccountOutput, al as parseAdditionalUserInput, aj as parseInputData, ae as parseOutputData, an as parseSessionInput, ai as parseSessionOutput, ak as parseUserInput, ag as parseUserOutput, ac as sessionSchema, ab as userSchema, ad as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { g as Adapter, f as BetterAuthOptions, G as GenericEndpointContext, W as Where, F as FieldAttribute, Z as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.EetBIuJe.js';
|
|
2
|
+
export { h as BetterAuthDbSchema, a0 as FieldAttributeConfig, a8 as InferFieldsFromOptions, a7 as InferFieldsFromPlugins, a4 as InferFieldsInput, a5 as InferFieldsInputClient, a3 as InferFieldsOutput, a2 as InferValueType, $ as InternalAdapter, a6 as PluginFieldAttribute, aa as accountSchema, a1 as createFieldAttribute, _ as createInternalAdapter, af as getAllFields, a9 as getAuthTables, ao as mergeSchema, am as parseAccountInput, ah as parseAccountOutput, al as parseAdditionalUserInput, aj as parseInputData, ae as parseOutputData, an as parseSessionInput, ai as parseSessionOutput, ak as parseUserInput, ag as parseUserOutput, ac as sessionSchema, ab as userSchema, ad as verificationSchema } from '../shared/better-auth.EetBIuJe.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '../shared/better-auth.CYegVoq1.js';
|
|
5
5
|
import '../shared/better-auth.CpEzqKmn.js';
|
package/dist/db/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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.DM4cRSFf.mjs';
|
|
2
2
|
export { g as getAuthTables } from '../shared/better-auth.DORkW_Ge.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
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.Cc72UxUH.mjs';
|
|
@@ -22,11 +22,11 @@ import '@noble/hashes/utils';
|
|
|
22
22
|
import '../shared/better-auth.B4Qoxdgc.mjs';
|
|
23
23
|
import '../shared/better-auth.Cqykj82J.mjs';
|
|
24
24
|
import '../shared/better-auth.DdzSJf-n.mjs';
|
|
25
|
-
import '../shared/better-auth.
|
|
25
|
+
import '../shared/better-auth.DKF2BM5s.mjs';
|
|
26
26
|
import 'kysely';
|
|
27
|
-
import '../shared/better-auth.
|
|
27
|
+
import '../shared/better-auth.Du54XGQ5.mjs';
|
|
28
28
|
import '../shared/better-auth.0TC26uRi.mjs';
|
|
29
|
-
import '../shared/better-auth.
|
|
29
|
+
import '../shared/better-auth.CkNopsdX.mjs';
|
|
30
30
|
|
|
31
31
|
const createFieldAttribute = (type, config) => {
|
|
32
32
|
return {
|
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.D7wPZeNW.cjs');
|
|
7
7
|
const getTables = require('./shared/better-auth.BEphVDyL.cjs');
|
|
8
8
|
require('zod');
|
|
9
9
|
require('./shared/better-auth.DcWKCjjf.cjs');
|
|
@@ -23,7 +23,7 @@ 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 refreshToken = require('./shared/better-auth.
|
|
26
|
+
const refreshToken = require('./shared/better-auth.zMvh8rLL.cjs');
|
|
27
27
|
const misc = require('./shared/better-auth.BLDOwz3i.cjs');
|
|
28
28
|
const state = require('./shared/better-auth.QbbyHMYf.cjs');
|
|
29
29
|
require('./shared/better-auth.B7cZ2juS.cjs');
|
|
@@ -34,11 +34,11 @@ 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.BJiRPytD.cjs');
|
|
38
38
|
require('kysely');
|
|
39
|
-
require('./shared/better-auth.
|
|
39
|
+
require('./shared/better-auth.BLnaKDpp.cjs');
|
|
40
40
|
require('./shared/better-auth.CUdxApHl.cjs');
|
|
41
|
-
require('./shared/better-auth.
|
|
41
|
+
require('./shared/better-auth.UARlElVH.cjs');
|
|
42
42
|
require('@better-auth/utils/hmac');
|
|
43
43
|
require('@better-fetch/fetch');
|
|
44
44
|
require('./shared/better-auth.Cm29ZKNJ.cjs');
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { x as Account, g as Adapter, z as AdapterInstance, i as AdapterSchemaCreation, u as AdditionalSessionFieldsInput, v as AdditionalSessionFieldsOutput, s as AdditionalUserFieldsInput, t as AdditionalUserFieldsOutput, k as Auth, l as AuthContext, A as AuthPluginSchema, f as BetterAuthOptions, B as BetterAuthPlugin, E as FilterActions, D as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, L as InferAPI, I as InferOptionSchema, a as InferPluginErrorCodes, w as InferPluginTypes, n as InferSession, J as InferSessionAPI, m as InferUser, T as LogHandlerParams, N as LogLevel, Q as Logger, M as Models, R as RateLimit, C as SecondaryStorage, S as Session, U as User, V as Verification, W as Where, q as WithJsDoc, r as betterAuth, X as createLogger, y as init, O as levels, Y as logger, P as shouldPublishLog } from './shared/better-auth.
|
|
1
|
+
export { x as Account, g as Adapter, z as AdapterInstance, i as AdapterSchemaCreation, u as AdditionalSessionFieldsInput, v as AdditionalSessionFieldsOutput, s as AdditionalUserFieldsInput, t as AdditionalUserFieldsOutput, k as Auth, l as AuthContext, A as AuthPluginSchema, f as BetterAuthOptions, B as BetterAuthPlugin, E as FilterActions, D as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, L as InferAPI, I as InferOptionSchema, a as InferPluginErrorCodes, w as InferPluginTypes, n as InferSession, J as InferSessionAPI, m as InferUser, T as LogHandlerParams, N as LogLevel, Q as Logger, M as Models, R as RateLimit, C as SecondaryStorage, S as Session, U as User, V as Verification, W as Where, q as WithJsDoc, r as betterAuth, X as createLogger, y as init, O as levels, Y as logger, P as shouldPublishLog } from './shared/better-auth.C9h9IDuv.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.DD23n9eA.cjs';
|
|
5
5
|
export * from 'better-call';
|
|
6
6
|
export * from 'zod';
|
|
7
7
|
export { D as DeepPartial, E as Expand, H as HasRequiredKeys, b as LiteralNumber, L as LiteralString, d as LiteralUnion, O as OmitId, c as PreserveJSDoc, P as Prettify, a as PrettifyDeep, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.CYegVoq1.cjs';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { x as Account, g as Adapter, z as AdapterInstance, i as AdapterSchemaCreation, u as AdditionalSessionFieldsInput, v as AdditionalSessionFieldsOutput, s as AdditionalUserFieldsInput, t as AdditionalUserFieldsOutput, k as Auth, l as AuthContext, A as AuthPluginSchema, f as BetterAuthOptions, B as BetterAuthPlugin, E as FilterActions, D as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, L as InferAPI, I as InferOptionSchema, a as InferPluginErrorCodes, w as InferPluginTypes, n as InferSession, J as InferSessionAPI, m as InferUser, T as LogHandlerParams, N as LogLevel, Q as Logger, M as Models, R as RateLimit, C as SecondaryStorage, S as Session, U as User, V as Verification, W as Where, q as WithJsDoc, r as betterAuth, X as createLogger, y as init, O as levels, Y as logger, P as shouldPublishLog } from './shared/better-auth.
|
|
1
|
+
export { x as Account, g as Adapter, z as AdapterInstance, i as AdapterSchemaCreation, u as AdditionalSessionFieldsInput, v as AdditionalSessionFieldsOutput, s as AdditionalUserFieldsInput, t as AdditionalUserFieldsOutput, k as Auth, l as AuthContext, A as AuthPluginSchema, f as BetterAuthOptions, B as BetterAuthPlugin, E as FilterActions, D as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, L as InferAPI, I as InferOptionSchema, a as InferPluginErrorCodes, w as InferPluginTypes, n as InferSession, J as InferSessionAPI, m as InferUser, T as LogHandlerParams, N as LogLevel, Q as Logger, M as Models, R as RateLimit, C as SecondaryStorage, S as Session, U as User, V as Verification, W as Where, q as WithJsDoc, r as betterAuth, X as createLogger, y as init, O as levels, Y as logger, P as shouldPublishLog } from './shared/better-auth.DoH4g3oA.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.BGbO1sDU.mjs';
|
|
5
5
|
export * from 'better-call';
|
|
6
6
|
export * from 'zod';
|
|
7
7
|
export { D as DeepPartial, E as Expand, H as HasRequiredKeys, b as LiteralNumber, L as LiteralString, d as LiteralUnion, O as OmitId, c as PreserveJSDoc, P as Prettify, a as PrettifyDeep, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.CYegVoq1.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { x as Account, g as Adapter, z as AdapterInstance, i as AdapterSchemaCreation, u as AdditionalSessionFieldsInput, v as AdditionalSessionFieldsOutput, s as AdditionalUserFieldsInput, t as AdditionalUserFieldsOutput, k as Auth, l as AuthContext, A as AuthPluginSchema, f as BetterAuthOptions, B as BetterAuthPlugin, E as FilterActions, D as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, L as InferAPI, I as InferOptionSchema, a as InferPluginErrorCodes, w as InferPluginTypes, n as InferSession, J as InferSessionAPI, m as InferUser, T as LogHandlerParams, N as LogLevel, Q as Logger, M as Models, R as RateLimit, C as SecondaryStorage, S as Session, U as User, V as Verification, W as Where, q as WithJsDoc, r as betterAuth, X as createLogger, y as init, O as levels, Y as logger, P as shouldPublishLog } from './shared/better-auth.
|
|
1
|
+
export { x as Account, g as Adapter, z as AdapterInstance, i as AdapterSchemaCreation, u as AdditionalSessionFieldsInput, v as AdditionalSessionFieldsOutput, s as AdditionalUserFieldsInput, t as AdditionalUserFieldsOutput, k as Auth, l as AuthContext, A as AuthPluginSchema, f as BetterAuthOptions, B as BetterAuthPlugin, E as FilterActions, D as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, L as InferAPI, I as InferOptionSchema, a as InferPluginErrorCodes, w as InferPluginTypes, n as InferSession, J as InferSessionAPI, m as InferUser, T as LogHandlerParams, N as LogLevel, Q as Logger, M as Models, R as RateLimit, C as SecondaryStorage, S as Session, U as User, V as Verification, W as Where, q as WithJsDoc, r as betterAuth, X as createLogger, y as init, O as levels, Y as logger, P as shouldPublishLog } from './shared/better-auth.EetBIuJe.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.DXuoyAUB.js';
|
|
5
5
|
export * from 'better-call';
|
|
6
6
|
export * from 'zod';
|
|
7
7
|
export { D as DeepPartial, E as Expand, H as HasRequiredKeys, b as LiteralNumber, L as LiteralString, d as LiteralUnion, O as OmitId, c as PreserveJSDoc, P as Prettify, a as PrettifyDeep, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.CYegVoq1.js';
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpoints, router } from './api/index.mjs';
|
|
2
2
|
import { defu } from 'defu';
|
|
3
3
|
import { v as verifyPassword, h as hashPassword } from './shared/better-auth.OT3XFeFk.mjs';
|
|
4
|
-
import { a as getAdapter, c as createInternalAdapter, e as getMigrations } from './shared/better-auth.
|
|
4
|
+
import { a as getAdapter, c as createInternalAdapter, e as getMigrations } from './shared/better-auth.DM4cRSFf.mjs';
|
|
5
5
|
import { g as getAuthTables } from './shared/better-auth.DORkW_Ge.mjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import './shared/better-auth.Cc72UxUH.mjs';
|
|
@@ -23,8 +23,8 @@ import { c as checkPassword } from './shared/better-auth.YwDQhoPc.mjs';
|
|
|
23
23
|
import { a as getBaseURL, g as getOrigin } from './shared/better-auth.VTXNLFMT.mjs';
|
|
24
24
|
import { B as BetterAuthError } from './shared/better-auth.DdzSJf-n.mjs';
|
|
25
25
|
export { M as MissingDependencyError } from './shared/better-auth.DdzSJf-n.mjs';
|
|
26
|
-
import { B as BASE_ERROR_CODES } from './shared/better-auth.
|
|
27
|
-
export { H as HIDE_METADATA } from './shared/better-auth.
|
|
26
|
+
import { B as BASE_ERROR_CODES } from './shared/better-auth.DZhGZ3hY.mjs';
|
|
27
|
+
export { H as HIDE_METADATA } from './shared/better-auth.DZhGZ3hY.mjs';
|
|
28
28
|
export { c as capitalizeFirstLetter } from './shared/better-auth.D-2CmEwz.mjs';
|
|
29
29
|
export { g as generateState, p as parseState } from './shared/better-auth.BdyOG_p4.mjs';
|
|
30
30
|
import './shared/better-auth.iKoUsdFE.mjs';
|
|
@@ -35,11 +35,11 @@ import '@noble/hashes/utils';
|
|
|
35
35
|
import './shared/better-auth.CW6D9eSx.mjs';
|
|
36
36
|
import './shared/better-auth.tB5eU6EY.mjs';
|
|
37
37
|
import '@better-auth/utils/random';
|
|
38
|
-
import './shared/better-auth.
|
|
38
|
+
import './shared/better-auth.DKF2BM5s.mjs';
|
|
39
39
|
import 'kysely';
|
|
40
|
-
import './shared/better-auth.
|
|
40
|
+
import './shared/better-auth.Du54XGQ5.mjs';
|
|
41
41
|
import './shared/better-auth.0TC26uRi.mjs';
|
|
42
|
-
import './shared/better-auth.
|
|
42
|
+
import './shared/better-auth.CkNopsdX.mjs';
|
|
43
43
|
import '@better-auth/utils/hmac';
|
|
44
44
|
import '@better-fetch/fetch';
|
|
45
45
|
import './shared/better-auth.DCVeP5-W.mjs';
|
|
@@ -6,9 +6,9 @@ require('@better-auth/utils/hmac');
|
|
|
6
6
|
const cookies_index = require('../cookies/index.cjs');
|
|
7
7
|
require('better-call');
|
|
8
8
|
require('zod');
|
|
9
|
-
const refreshToken = require('../shared/better-auth.
|
|
9
|
+
const refreshToken = require('../shared/better-auth.zMvh8rLL.cjs');
|
|
10
10
|
require('../shared/better-auth.DcWKCjjf.cjs');
|
|
11
|
-
require('../shared/better-auth.
|
|
11
|
+
require('../shared/better-auth.BzlWwqx6.cjs');
|
|
12
12
|
require('../plugins/organization/access/index.cjs');
|
|
13
13
|
require('../shared/better-auth.CYeOI8C-.cjs');
|
|
14
14
|
require('../shared/better-auth.GpOOav9x.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../shared/better-auth.C9h9IDuv.cjs';
|
|
3
3
|
import '../shared/better-auth.CYegVoq1.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../shared/better-auth.7QibuQ0I.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../shared/better-auth.DoH4g3oA.mjs';
|
|
3
3
|
import '../shared/better-auth.CYegVoq1.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../shared/better-auth.C39-x5Oo.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../shared/better-auth.EetBIuJe.js';
|
|
3
3
|
import '../shared/better-auth.CYegVoq1.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../shared/better-auth.CpEzqKmn.js';
|
|
@@ -4,9 +4,9 @@ import '@better-auth/utils/hmac';
|
|
|
4
4
|
import { parseSetCookieHeader } from '../cookies/index.mjs';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import { c as createAuthMiddleware } from '../shared/better-auth.
|
|
7
|
+
import { c as createAuthMiddleware } from '../shared/better-auth.DZhGZ3hY.mjs';
|
|
8
8
|
import '../shared/better-auth.Cc72UxUH.mjs';
|
|
9
|
-
import '../shared/better-auth.
|
|
9
|
+
import '../shared/better-auth.DRnz6Qa6.mjs';
|
|
10
10
|
import '../plugins/organization/access/index.mjs';
|
|
11
11
|
import '../shared/better-auth.B4Qoxdgc.mjs';
|
|
12
12
|
import '../shared/better-auth.Cqykj82J.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as http from 'http';
|
|
2
2
|
import { IncomingHttpHeaders } from 'http';
|
|
3
|
-
import { k as Auth } from '../shared/better-auth.
|
|
3
|
+
import { k as Auth } from '../shared/better-auth.C9h9IDuv.cjs';
|
|
4
4
|
import '../shared/better-auth.CYegVoq1.cjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../shared/better-auth.7QibuQ0I.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as http from 'http';
|
|
2
2
|
import { IncomingHttpHeaders } from 'http';
|
|
3
|
-
import { k as Auth } from '../shared/better-auth.
|
|
3
|
+
import { k as Auth } from '../shared/better-auth.DoH4g3oA.mjs';
|
|
4
4
|
import '../shared/better-auth.CYegVoq1.mjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../shared/better-auth.C39-x5Oo.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as http from 'http';
|
|
2
2
|
import { IncomingHttpHeaders } from 'http';
|
|
3
|
-
import { k as Auth } from '../shared/better-auth.
|
|
3
|
+
import { k as Auth } from '../shared/better-auth.EetBIuJe.js';
|
|
4
4
|
import '../shared/better-auth.CYegVoq1.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../shared/better-auth.CpEzqKmn.js';
|
|
@@ -6,9 +6,9 @@ require('@better-auth/utils/hmac');
|
|
|
6
6
|
const cookies_index = require('../cookies/index.cjs');
|
|
7
7
|
require('better-call');
|
|
8
8
|
require('zod');
|
|
9
|
-
const refreshToken = require('../shared/better-auth.
|
|
9
|
+
const refreshToken = require('../shared/better-auth.zMvh8rLL.cjs');
|
|
10
10
|
require('../shared/better-auth.DcWKCjjf.cjs');
|
|
11
|
-
require('../shared/better-auth.
|
|
11
|
+
require('../shared/better-auth.BzlWwqx6.cjs');
|
|
12
12
|
require('../plugins/organization/access/index.cjs');
|
|
13
13
|
require('../shared/better-auth.CYeOI8C-.cjs');
|
|
14
14
|
require('../shared/better-auth.GpOOav9x.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../shared/better-auth.C9h9IDuv.cjs';
|
|
3
3
|
import '../shared/better-auth.CYegVoq1.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../shared/better-auth.7QibuQ0I.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../shared/better-auth.DoH4g3oA.mjs';
|
|
3
3
|
import '../shared/better-auth.CYegVoq1.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../shared/better-auth.C39-x5Oo.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../shared/better-auth.EetBIuJe.js';
|
|
3
3
|
import '../shared/better-auth.CYegVoq1.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../shared/better-auth.CpEzqKmn.js';
|
|
@@ -4,9 +4,9 @@ import '@better-auth/utils/hmac';
|
|
|
4
4
|
import { parseSetCookieHeader } from '../cookies/index.mjs';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import { c as createAuthMiddleware } from '../shared/better-auth.
|
|
7
|
+
import { c as createAuthMiddleware } from '../shared/better-auth.DZhGZ3hY.mjs';
|
|
8
8
|
import '../shared/better-auth.Cc72UxUH.mjs';
|
|
9
|
-
import '../shared/better-auth.
|
|
9
|
+
import '../shared/better-auth.DRnz6Qa6.mjs';
|
|
10
10
|
import '../plugins/organization/access/index.mjs';
|
|
11
11
|
import '../shared/better-auth.B4Qoxdgc.mjs';
|
|
12
12
|
import '../shared/better-auth.Cqykj82J.mjs';
|
package/dist/oauth2/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.7QibuQ0I.cjs';
|
|
2
2
|
export { a as OAuthProvider } from '../shared/better-auth.7QibuQ0I.cjs';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
|
-
export { g as generateState, p as parseState } from '../shared/better-auth.
|
|
4
|
+
export { g as generateState, p as parseState } from '../shared/better-auth.DD23n9eA.cjs';
|
|
5
5
|
import '../shared/better-auth.CYegVoq1.cjs';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.C9h9IDuv.cjs';
|
|
8
8
|
import 'kysely';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'better-sqlite3';
|
package/dist/oauth2/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.C39-x5Oo.mjs';
|
|
2
2
|
export { a as OAuthProvider } from '../shared/better-auth.C39-x5Oo.mjs';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
|
-
export { g as generateState, p as parseState } from '../shared/better-auth.
|
|
4
|
+
export { g as generateState, p as parseState } from '../shared/better-auth.BGbO1sDU.mjs';
|
|
5
5
|
import '../shared/better-auth.CYegVoq1.mjs';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.DoH4g3oA.mjs';
|
|
8
8
|
import 'kysely';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'better-sqlite3';
|
package/dist/oauth2/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.CpEzqKmn.js';
|
|
2
2
|
export { a as OAuthProvider } from '../shared/better-auth.CpEzqKmn.js';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
|
-
export { g as generateState, p as parseState } from '../shared/better-auth.
|
|
4
|
+
export { g as generateState, p as parseState } from '../shared/better-auth.DXuoyAUB.js';
|
|
5
5
|
import '../shared/better-auth.CYegVoq1.js';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.EetBIuJe.js';
|
|
8
8
|
import 'kysely';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'better-sqlite3';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const admin = require('../../shared/better-auth.
|
|
3
|
+
const admin = require('../../shared/better-auth.C8liBIUN.cjs');
|
|
4
4
|
require('zod');
|
|
5
5
|
require('better-call');
|
|
6
|
-
require('../../shared/better-auth.
|
|
6
|
+
require('../../shared/better-auth.zMvh8rLL.cjs');
|
|
7
7
|
require('../../cookies/index.cjs');
|
|
8
8
|
require('../../shared/better-auth.ANpbi45u.cjs');
|
|
9
9
|
require('../../shared/better-auth.C1hdVENX.cjs');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AccessControl, Role, Statements } from '../access/index.cjs';
|
|
2
2
|
import * as better_call from 'better-call';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { I as InferOptionSchema, l as AuthContext, H as HookEndpointContext, S as Session, U as User } from '../../shared/better-auth.
|
|
4
|
+
import { I as InferOptionSchema, l as AuthContext, H as HookEndpointContext, S as Session, U as User } from '../../shared/better-auth.C9h9IDuv.cjs';
|
|
5
5
|
import '../../shared/better-auth.CYegVoq1.cjs';
|
|
6
6
|
import '../../shared/better-auth.7QibuQ0I.cjs';
|
|
7
7
|
import 'jose';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AccessControl, Role, Statements } from '../access/index.mjs';
|
|
2
2
|
import * as better_call from 'better-call';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { I as InferOptionSchema, l as AuthContext, H as HookEndpointContext, S as Session, U as User } from '../../shared/better-auth.
|
|
4
|
+
import { I as InferOptionSchema, l as AuthContext, H as HookEndpointContext, S as Session, U as User } from '../../shared/better-auth.DoH4g3oA.mjs';
|
|
5
5
|
import '../../shared/better-auth.CYegVoq1.mjs';
|
|
6
6
|
import '../../shared/better-auth.C39-x5Oo.mjs';
|
|
7
7
|
import 'jose';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AccessControl, Role, Statements } from '../access/index.js';
|
|
2
2
|
import * as better_call from 'better-call';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { I as InferOptionSchema, l as AuthContext, H as HookEndpointContext, S as Session, U as User } from '../../shared/better-auth.
|
|
4
|
+
import { I as InferOptionSchema, l as AuthContext, H as HookEndpointContext, S as Session, U as User } from '../../shared/better-auth.EetBIuJe.js';
|
|
5
5
|
import '../../shared/better-auth.CYegVoq1.js';
|
|
6
6
|
import '../../shared/better-auth.CpEzqKmn.js';
|
|
7
7
|
import 'jose';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { a as admin } from '../../shared/better-auth.
|
|
1
|
+
export { a as admin } from '../../shared/better-auth.TuDfqYsl.mjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'better-call';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.DZhGZ3hY.mjs';
|
|
5
5
|
import '../../cookies/index.mjs';
|
|
6
6
|
import '../../shared/better-auth.DdzSJf-n.mjs';
|
|
7
7
|
import '../../shared/better-auth.CW6D9eSx.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const betterCall = require('better-call');
|
|
4
|
-
const refreshToken = require('../../shared/better-auth.
|
|
4
|
+
const refreshToken = require('../../shared/better-auth.zMvh8rLL.cjs');
|
|
5
5
|
require('zod');
|
|
6
6
|
const cookies_index = require('../../cookies/index.cjs');
|
|
7
7
|
const schema$1 = require('../../shared/better-auth.DcWKCjjf.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { U as User, S as Session, I as InferOptionSchema, H as HookEndpointContext } from '../../shared/better-auth.
|
|
2
|
+
import { U as User, S as Session, I as InferOptionSchema, H as HookEndpointContext } from '../../shared/better-auth.C9h9IDuv.cjs';
|
|
3
3
|
import '../../shared/better-auth.CYegVoq1.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../shared/better-auth.7QibuQ0I.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { U as User, S as Session, I as InferOptionSchema, H as HookEndpointContext } from '../../shared/better-auth.
|
|
2
|
+
import { U as User, S as Session, I as InferOptionSchema, H as HookEndpointContext } from '../../shared/better-auth.DoH4g3oA.mjs';
|
|
3
3
|
import '../../shared/better-auth.CYegVoq1.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../shared/better-auth.C39-x5Oo.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { U as User, S as Session, I as InferOptionSchema, H as HookEndpointContext } from '../../shared/better-auth.
|
|
2
|
+
import { U as User, S as Session, I as InferOptionSchema, H as HookEndpointContext } from '../../shared/better-auth.EetBIuJe.js';
|
|
3
3
|
import '../../shared/better-auth.CYegVoq1.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../shared/better-auth.CpEzqKmn.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { APIError } from 'better-call';
|
|
2
|
-
import { c as createAuthMiddleware, a as createAuthEndpoint, g as getSessionFromCtx } from '../../shared/better-auth.
|
|
2
|
+
import { c as createAuthMiddleware, a as createAuthEndpoint, g as getSessionFromCtx } from '../../shared/better-auth.DZhGZ3hY.mjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import { parseSetCookieHeader, setSessionCookie } from '../../cookies/index.mjs';
|
|
5
5
|
import { m as mergeSchema } from '../../shared/better-auth.Cc72UxUH.mjs';
|
|
@@ -5,7 +5,7 @@ require('../../shared/better-auth.DiSjtgs9.cjs');
|
|
|
5
5
|
require('@better-auth/utils/base64');
|
|
6
6
|
const hmac = require('@better-auth/utils/hmac');
|
|
7
7
|
const cookies_index = require('../../cookies/index.cjs');
|
|
8
|
-
const refreshToken = require('../../shared/better-auth.
|
|
8
|
+
const refreshToken = require('../../shared/better-auth.zMvh8rLL.cjs');
|
|
9
9
|
require('zod');
|
|
10
10
|
require('../../shared/better-auth.DcWKCjjf.cjs');
|
|
11
11
|
require('../../shared/better-auth.GpOOav9x.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../../shared/better-auth.C9h9IDuv.cjs';
|
|
3
3
|
import '../../shared/better-auth.CYegVoq1.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../shared/better-auth.7QibuQ0I.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../../shared/better-auth.DoH4g3oA.mjs';
|
|
3
3
|
import '../../shared/better-auth.CYegVoq1.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../shared/better-auth.C39-x5Oo.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../../shared/better-auth.EetBIuJe.js';
|
|
3
3
|
import '../../shared/better-auth.CYegVoq1.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../shared/better-auth.CpEzqKmn.js';
|
|
@@ -3,7 +3,7 @@ import '../../shared/better-auth.8zoxzg-F.mjs';
|
|
|
3
3
|
import '@better-auth/utils/base64';
|
|
4
4
|
import { createHMAC } from '@better-auth/utils/hmac';
|
|
5
5
|
import { parseSetCookieHeader } from '../../cookies/index.mjs';
|
|
6
|
-
import { c as createAuthMiddleware } from '../../shared/better-auth.
|
|
6
|
+
import { c as createAuthMiddleware } from '../../shared/better-auth.DZhGZ3hY.mjs';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import '../../shared/better-auth.Cc72UxUH.mjs';
|
|
9
9
|
import '../../shared/better-auth.Cqykj82J.mjs';
|