better-auth 1.3.0-beta.5 → 1.3.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/drizzle-adapter/index.d.cts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.mts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.ts +2 -2
- package/dist/adapters/index.d.cts +3 -3
- package/dist/adapters/index.d.mts +3 -3
- package/dist/adapters/index.d.ts +3 -3
- package/dist/adapters/kysely-adapter/index.d.cts +2 -2
- package/dist/adapters/kysely-adapter/index.d.mts +2 -2
- package/dist/adapters/kysely-adapter/index.d.ts +2 -2
- package/dist/adapters/memory-adapter/index.d.cts +2 -2
- package/dist/adapters/memory-adapter/index.d.mts +2 -2
- package/dist/adapters/memory-adapter/index.d.ts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.cts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.mts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.ts +2 -2
- package/dist/adapters/prisma-adapter/index.d.cts +2 -2
- package/dist/adapters/prisma-adapter/index.d.mts +2 -2
- package/dist/adapters/prisma-adapter/index.d.ts +2 -2
- package/dist/adapters/test.d.cts +2 -2
- package/dist/adapters/test.d.mts +2 -2
- package/dist/adapters/test.d.ts +2 -2
- package/dist/api/index.cjs +1 -1
- 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 +2 -2
- package/dist/chunks/index.cjs +905 -0
- package/dist/chunks/index.mjs +895 -0
- package/dist/client/index.d.cts +5 -9
- package/dist/client/index.d.mts +5 -9
- package/dist/client/index.d.ts +5 -9
- package/dist/client/plugins/index.d.cts +4 -4
- package/dist/client/plugins/index.d.mts +4 -4
- package/dist/client/plugins/index.d.ts +4 -4
- package/dist/client/react/index.d.cts +9 -9
- package/dist/client/react/index.d.mts +9 -9
- package/dist/client/react/index.d.ts +9 -9
- package/dist/client/solid/index.d.cts +9 -9
- package/dist/client/solid/index.d.mts +9 -9
- package/dist/client/solid/index.d.ts +9 -9
- package/dist/client/svelte/index.d.cts +3 -3
- package/dist/client/svelte/index.d.mts +3 -3
- package/dist/client/svelte/index.d.ts +3 -3
- package/dist/client/vue/index.d.cts +3 -3
- package/dist/client/vue/index.d.mts +3 -3
- package/dist/client/vue/index.d.ts +3 -3
- package/dist/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.d.cts +3 -3
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.d.ts +3 -3
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +2 -2
- package/dist/integrations/next-js.cjs +2 -2
- package/dist/integrations/next-js.d.cts +2 -2
- package/dist/integrations/next-js.d.mts +2 -2
- package/dist/integrations/next-js.d.ts +2 -2
- package/dist/integrations/next-js.mjs +2 -2
- package/dist/integrations/node.d.cts +2 -2
- package/dist/integrations/node.d.mts +2 -2
- package/dist/integrations/node.d.ts +2 -2
- package/dist/integrations/react-start.cjs +3 -3
- package/dist/integrations/react-start.d.cts +2 -2
- package/dist/integrations/react-start.d.mts +2 -2
- package/dist/integrations/react-start.d.ts +2 -2
- package/dist/integrations/react-start.mjs +3 -3
- package/dist/integrations/svelte-kit.cjs +1 -1
- package/dist/integrations/svelte-kit.d.cts +2 -2
- package/dist/integrations/svelte-kit.d.mts +2 -2
- package/dist/integrations/svelte-kit.d.ts +2 -2
- package/dist/integrations/svelte-kit.mjs +1 -1
- package/dist/oauth2/index.cjs +1 -1
- package/dist/oauth2/index.d.cts +4 -4
- package/dist/oauth2/index.d.mts +4 -4
- package/dist/oauth2/index.d.ts +4 -4
- package/dist/oauth2/index.mjs +1 -1
- package/dist/plugins/admin/index.cjs +2 -2
- package/dist/plugins/admin/index.d.cts +6 -5
- package/dist/plugins/admin/index.d.mts +6 -5
- package/dist/plugins/admin/index.d.ts +6 -5
- package/dist/plugins/admin/index.mjs +2 -2
- package/dist/plugins/anonymous/index.cjs +1 -1
- package/dist/plugins/anonymous/index.d.cts +2 -2
- package/dist/plugins/anonymous/index.d.mts +2 -2
- package/dist/plugins/anonymous/index.d.ts +2 -2
- package/dist/plugins/anonymous/index.mjs +1 -1
- package/dist/plugins/bearer/index.cjs +1 -1
- package/dist/plugins/bearer/index.d.cts +2 -2
- package/dist/plugins/bearer/index.d.mts +2 -2
- package/dist/plugins/bearer/index.d.ts +2 -2
- package/dist/plugins/bearer/index.mjs +1 -1
- package/dist/plugins/captcha/index.d.cts +2 -2
- package/dist/plugins/captcha/index.d.mts +2 -2
- package/dist/plugins/captcha/index.d.ts +2 -2
- package/dist/plugins/custom-session/index.cjs +1 -1
- 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 +1 -1
- package/dist/plugins/email-otp/index.cjs +213 -101
- package/dist/plugins/email-otp/index.d.cts +101 -72
- package/dist/plugins/email-otp/index.d.mts +101 -72
- package/dist/plugins/email-otp/index.d.ts +101 -72
- package/dist/plugins/email-otp/index.mjs +213 -101
- package/dist/plugins/generic-oauth/index.cjs +1 -1
- 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 +1 -1
- package/dist/plugins/haveibeenpwned/index.cjs +1 -1
- package/dist/plugins/haveibeenpwned/index.d.cts +2 -2
- package/dist/plugins/haveibeenpwned/index.d.mts +2 -2
- package/dist/plugins/haveibeenpwned/index.d.ts +2 -2
- package/dist/plugins/haveibeenpwned/index.mjs +1 -1
- package/dist/plugins/index.cjs +23 -1895
- package/dist/plugins/index.d.cts +4 -4
- package/dist/plugins/index.d.mts +4 -4
- package/dist/plugins/index.d.ts +4 -4
- package/dist/plugins/index.mjs +22 -1894
- package/dist/plugins/jwt/index.cjs +1 -1
- package/dist/plugins/jwt/index.d.cts +2 -2
- package/dist/plugins/jwt/index.d.mts +2 -2
- package/dist/plugins/jwt/index.d.ts +2 -2
- package/dist/plugins/jwt/index.mjs +1 -1
- package/dist/plugins/magic-link/index.cjs +39 -12
- package/dist/plugins/magic-link/index.d.cts +12 -2
- package/dist/plugins/magic-link/index.d.mts +12 -2
- package/dist/plugins/magic-link/index.d.ts +12 -2
- package/dist/plugins/magic-link/index.mjs +39 -12
- package/dist/plugins/multi-session/index.cjs +1 -1
- package/dist/plugins/multi-session/index.d.cts +2 -2
- package/dist/plugins/multi-session/index.d.mts +2 -2
- package/dist/plugins/multi-session/index.d.ts +2 -2
- package/dist/plugins/multi-session/index.mjs +1 -1
- package/dist/plugins/oauth-proxy/index.cjs +1 -1
- package/dist/plugins/oauth-proxy/index.d.cts +2 -2
- package/dist/plugins/oauth-proxy/index.d.mts +2 -2
- package/dist/plugins/oauth-proxy/index.d.ts +2 -2
- package/dist/plugins/oauth-proxy/index.mjs +1 -1
- package/dist/plugins/oidc-provider/index.cjs +2 -2
- package/dist/plugins/oidc-provider/index.d.cts +7 -7
- package/dist/plugins/oidc-provider/index.d.mts +7 -7
- package/dist/plugins/oidc-provider/index.d.ts +7 -7
- package/dist/plugins/oidc-provider/index.mjs +2 -2
- 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 +8 -77
- package/dist/plugins/one-time-token/index.d.cts +14 -4
- package/dist/plugins/one-time-token/index.d.mts +14 -4
- package/dist/plugins/one-time-token/index.d.ts +14 -4
- package/dist/plugins/one-time-token/index.mjs +6 -79
- package/dist/plugins/open-api/index.cjs +1 -1
- package/dist/plugins/open-api/index.d.cts +2 -2
- package/dist/plugins/open-api/index.d.mts +2 -2
- package/dist/plugins/open-api/index.d.ts +2 -2
- package/dist/plugins/open-api/index.mjs +1 -1
- package/dist/plugins/organization/index.cjs +2 -2
- package/dist/plugins/organization/index.d.cts +3 -2
- package/dist/plugins/organization/index.d.mts +3 -2
- package/dist/plugins/organization/index.d.ts +3 -2
- package/dist/plugins/organization/index.mjs +2 -2
- package/dist/plugins/passkey/index.cjs +1 -1
- package/dist/plugins/passkey/index.d.cts +2 -2
- package/dist/plugins/passkey/index.d.mts +2 -2
- package/dist/plugins/passkey/index.d.ts +2 -2
- package/dist/plugins/passkey/index.mjs +1 -1
- package/dist/plugins/phone-number/index.cjs +1 -1
- package/dist/plugins/phone-number/index.d.cts +2 -2
- package/dist/plugins/phone-number/index.d.mts +2 -2
- package/dist/plugins/phone-number/index.d.ts +2 -2
- package/dist/plugins/phone-number/index.mjs +1 -1
- package/dist/plugins/sso/index.cjs +1 -1
- package/dist/plugins/sso/index.d.cts +5 -5
- package/dist/plugins/sso/index.d.mts +5 -5
- package/dist/plugins/sso/index.d.ts +5 -5
- package/dist/plugins/sso/index.mjs +1 -1
- package/dist/plugins/two-factor/index.cjs +103 -18
- package/dist/plugins/two-factor/index.d.cts +23 -7
- package/dist/plugins/two-factor/index.d.mts +23 -7
- package/dist/plugins/two-factor/index.d.ts +23 -7
- package/dist/plugins/two-factor/index.mjs +103 -18
- package/dist/plugins/username/index.cjs +4 -2
- package/dist/plugins/username/index.d.cts +2 -2
- package/dist/plugins/username/index.d.mts +2 -2
- package/dist/plugins/username/index.d.ts +2 -2
- package/dist/plugins/username/index.mjs +4 -2
- package/dist/shared/{better-auth.CqTBLifU.d.cts → better-auth.1M3xAdJC.d.cts} +45 -38
- package/dist/shared/{better-auth.RTMLk2Ya.cjs → better-auth.B2zZl7qP.cjs} +1 -1
- package/dist/shared/{better-auth.C0cDbHJn.d.mts → better-auth.BJa1oqpN.d.cts} +1 -1
- package/dist/shared/{better-auth.GYpUAWrY.d.mts → better-auth.BYIMqSU0.d.mts} +2 -2
- package/dist/shared/{better-auth.BGfHbXlu.d.ts → better-auth.Bc-1Su7g.d.ts} +45 -38
- package/dist/shared/{better-auth.B7Dt9CoJ.cjs → better-auth.BjBe8STm.cjs} +11 -2
- package/dist/shared/{better-auth.ClyLnOjY.mjs → better-auth.BtyWISFt.mjs} +152 -75
- package/dist/shared/{better-auth.GAghsvQp.d.cts → better-auth.C1otFVHS.d.mts} +1 -1
- package/dist/shared/better-auth.C6VyAxGz.mjs +2001 -0
- package/dist/shared/{better-auth.CP_AmXSW.d.mts → better-auth.CJ2ZGyoL.d.mts} +7 -3
- package/dist/shared/{better-auth.CZ3qe2fL.d.ts → better-auth.CJb2R19P.d.ts} +2 -2
- package/dist/shared/{better-auth.CRISE-Is.mjs → better-auth.CQPOI-_E.mjs} +1 -1
- package/dist/shared/{better-auth.CJDmUUCz.d.cts → better-auth.CpSq0H3M.d.cts} +2 -2
- package/dist/shared/{better-auth.DBODKok7.mjs → better-auth.D7Si_1a9.mjs} +11 -2
- package/dist/shared/{better-auth.DFU4LGhu.d.ts → better-auth.D9z1x8va.d.ts} +99 -2
- package/dist/shared/{better-auth.B8vM3gli.d.mts → better-auth.DWRzwPcP.d.mts} +45 -38
- package/dist/shared/better-auth.DZBS14g0.cjs +2007 -0
- package/dist/shared/{better-auth.B9cT0y97.d.cts → better-auth.DcwXW4BB.d.cts} +7 -3
- package/dist/shared/{better-auth.69-aSQxn.d.ts → better-auth.Dde0tveQ.d.ts} +1 -1
- package/dist/shared/{better-auth.CBQcGOAy.mjs → better-auth.Dh9fsfY2.mjs} +3 -2
- package/dist/shared/{better-auth.Ds-w2spb.cjs → better-auth.HT3cSIq4.cjs} +152 -74
- package/dist/shared/{better-auth.D0zUlh1z.cjs → better-auth.I7OjQ-oc.cjs} +3 -2
- package/dist/shared/{better-auth.BnAeoMet.d.cts → better-auth.VwFr4owi.d.cts} +99 -2
- package/dist/shared/{better-auth.BK4bljal.cjs → better-auth.Y_QHVJcB.cjs} +1 -1
- package/dist/shared/{better-auth.BzWvuaI6.d.ts → better-auth.bHQlVztX.d.ts} +7 -3
- package/dist/shared/{better-auth.CpQAMo-G.d.mts → better-auth.kvIPfj9F.d.mts} +99 -2
- package/dist/shared/{better-auth.ZAqiQx_W.mjs → better-auth.tST9Caqi.mjs} +1 -1
- package/dist/social-providers/index.cjs +2 -1
- 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 +1 -1
- package/dist/test-utils/index.cjs +3 -3
- package/dist/test-utils/index.d.cts +76 -76
- package/dist/test-utils/index.d.mts +76 -76
- package/dist/test-utils/index.d.ts +76 -76
- package/dist/test-utils/index.mjs +3 -3
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/package.json +2 -2
package/dist/cookies/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { ay as BetterAuthCookies, aD as EligibleCookies, aw as createCookieGetter, aB as deleteSessionCookie, aF as getCookieCache, ax as getCookies, aE as getSessionCookie, aC as parseCookies, aG as parseSetCookieHeader, az as setCookieCache, D as setCookieToHeader, aA as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { ay as BetterAuthCookies, aD as EligibleCookies, aw as createCookieGetter, aB as deleteSessionCookie, aF as getCookieCache, ax as getCookies, aE as getSessionCookie, aC as parseCookies, aG as parseSetCookieHeader, az as setCookieCache, D as setCookieToHeader, aA as setSessionCookie } from '../shared/better-auth.1M3xAdJC.cjs';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.VwFr4owi.cjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'bun:sqlite';
|
package/dist/cookies/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { ay as BetterAuthCookies, aD as EligibleCookies, aw as createCookieGetter, aB as deleteSessionCookie, aF as getCookieCache, ax as getCookies, aE as getSessionCookie, aC as parseCookies, aG as parseSetCookieHeader, az as setCookieCache, D as setCookieToHeader, aA as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { ay as BetterAuthCookies, aD as EligibleCookies, aw as createCookieGetter, aB as deleteSessionCookie, aF as getCookieCache, ax as getCookies, aE as getSessionCookie, aC as parseCookies, aG as parseSetCookieHeader, az as setCookieCache, D as setCookieToHeader, aA as setSessionCookie } from '../shared/better-auth.DWRzwPcP.mjs';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.kvIPfj9F.mjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'bun:sqlite';
|
package/dist/cookies/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { ay as BetterAuthCookies, aD as EligibleCookies, aw as createCookieGetter, aB as deleteSessionCookie, aF as getCookieCache, ax as getCookies, aE as getSessionCookie, aC as parseCookies, aG as parseSetCookieHeader, az as setCookieCache, D as setCookieToHeader, aA as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { ay as BetterAuthCookies, aD as EligibleCookies, aw as createCookieGetter, aB as deleteSessionCookie, aF as getCookieCache, ax as getCookies, aE as getSessionCookie, aC as parseCookies, aG as parseSetCookieHeader, az as setCookieCache, D as setCookieToHeader, aA as setSessionCookie } from '../shared/better-auth.Bc-1Su7g.js';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.D9z1x8va.js';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'bun:sqlite';
|
package/dist/db/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { af as BetterAuthDbSchema, a8 as FieldAttributeConfig, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ae as PluginFieldAttribute, ah as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, am as getAllFields, ag as getAuthTables, av as mergeSchema, at as parseAccountInput, ao as parseAccountOutput, as as parseAdditionalUserInput, aq as parseInputData, al as parseOutputData, au as parseSessionInput, ap as parseSessionOutput, ar as parseUserInput, an as parseUserOutput, aj as sessionSchema, ai as userSchema, ak as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.1M3xAdJC.cjs';
|
|
2
|
+
export { af as BetterAuthDbSchema, a8 as FieldAttributeConfig, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ae as PluginFieldAttribute, ah as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, am as getAllFields, ag as getAuthTables, av as mergeSchema, at as parseAccountInput, ao as parseAccountOutput, as as parseAdditionalUserInput, aq as parseInputData, al as parseOutputData, au as parseSessionInput, ap as parseSessionOutput, ar as parseUserInput, an as parseUserOutput, aj as sessionSchema, ai as userSchema, ak as verificationSchema } from '../shared/better-auth.1M3xAdJC.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '../shared/better-auth.9XhOL8gb.cjs';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.VwFr4owi.cjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import 'better-sqlite3';
|
package/dist/db/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { af as BetterAuthDbSchema, a8 as FieldAttributeConfig, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ae as PluginFieldAttribute, ah as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, am as getAllFields, ag as getAuthTables, av as mergeSchema, at as parseAccountInput, ao as parseAccountOutput, as as parseAdditionalUserInput, aq as parseInputData, al as parseOutputData, au as parseSessionInput, ap as parseSessionOutput, ar as parseUserInput, an as parseUserOutput, aj as sessionSchema, ai as userSchema, ak as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.DWRzwPcP.mjs';
|
|
2
|
+
export { af as BetterAuthDbSchema, a8 as FieldAttributeConfig, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ae as PluginFieldAttribute, ah as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, am as getAllFields, ag as getAuthTables, av as mergeSchema, at as parseAccountInput, ao as parseAccountOutput, as as parseAdditionalUserInput, aq as parseInputData, al as parseOutputData, au as parseSessionInput, ap as parseSessionOutput, ar as parseUserInput, an as parseUserOutput, aj as sessionSchema, ai as userSchema, ak as verificationSchema } from '../shared/better-auth.DWRzwPcP.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '../shared/better-auth.9XhOL8gb.mjs';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.kvIPfj9F.mjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import 'better-sqlite3';
|
package/dist/db/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.
|
|
2
|
-
export { af as BetterAuthDbSchema, a8 as FieldAttributeConfig, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ae as PluginFieldAttribute, ah as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, am as getAllFields, ag as getAuthTables, av as mergeSchema, at as parseAccountInput, ao as parseAccountOutput, as as parseAdditionalUserInput, aq as parseInputData, al as parseOutputData, au as parseSessionInput, ap as parseSessionOutput, ar as parseUserInput, an as parseUserOutput, aj as sessionSchema, ai as userSchema, ak as verificationSchema } from '../shared/better-auth.
|
|
1
|
+
import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.Bc-1Su7g.js';
|
|
2
|
+
export { af as BetterAuthDbSchema, a8 as FieldAttributeConfig, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ae as PluginFieldAttribute, ah as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, am as getAllFields, ag as getAuthTables, av as mergeSchema, at as parseAccountInput, ao as parseAccountOutput, as as parseAdditionalUserInput, aq as parseInputData, al as parseOutputData, au as parseSessionInput, ap as parseSessionOutput, ar as parseUserInput, an as parseUserOutput, aj as sessionSchema, ai as userSchema, ak as verificationSchema } from '../shared/better-auth.Bc-1Su7g.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '../shared/better-auth.9XhOL8gb.js';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.D9z1x8va.js';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import 'better-sqlite3';
|
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const auth = require('./shared/better-auth.
|
|
3
|
+
const auth = require('./shared/better-auth.Y_QHVJcB.cjs');
|
|
4
4
|
const index = require('./shared/better-auth.ANpbi45u.cjs');
|
|
5
5
|
const misc = require('./shared/better-auth.BLDOwz3i.cjs');
|
|
6
|
-
const socialProviders_index = require('./shared/better-auth.
|
|
6
|
+
const socialProviders_index = require('./shared/better-auth.HT3cSIq4.cjs');
|
|
7
7
|
const logger = require('./shared/better-auth.CXhVNgXP.cjs');
|
|
8
8
|
require('./api/index.cjs');
|
|
9
9
|
require('better-call');
|
package/dist/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { L as Account, a as Adapter, Q as AdapterInstance, P as AdapterSchemaCreation, J as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, B as BetterAuthOptions, h as BetterAuthPlugin, F as FilterActions, X as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, Y as InferSessionAPI, q as InferUser, a1 as LogHandlerParams, Z as LogLevel, a0 as Logger, M as Models, R as RateLimit, T as SecondaryStorage, S as Session, U as User, V as Verification, O as Where, W as WithJsDoc, E as betterAuth, a2 as createLogger, N as init, _ as levels, a3 as logger, $ as shouldPublishLog } from './shared/better-auth.
|
|
2
|
-
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.
|
|
1
|
+
export { L as Account, a as Adapter, Q as AdapterInstance, P as AdapterSchemaCreation, J as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, B as BetterAuthOptions, h as BetterAuthPlugin, F as FilterActions, X as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, Y as InferSessionAPI, q as InferUser, a1 as LogHandlerParams, Z as LogLevel, a0 as Logger, M as Models, R as RateLimit, T as SecondaryStorage, S as Session, U as User, V as Verification, O as Where, W as WithJsDoc, E as betterAuth, a2 as createLogger, N as init, _ as levels, a3 as logger, $ as shouldPublishLog } from './shared/better-auth.1M3xAdJC.cjs';
|
|
2
|
+
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.DcwXW4BB.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.BJa1oqpN.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, a as Prettify, P as PrettifyDeep, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.9XhOL8gb.cjs';
|
|
8
|
-
export { O as OAuth2Tokens, a as OAuthProvider, P as ProviderOptions } from './shared/better-auth.
|
|
8
|
+
export { O as OAuth2Tokens, a as OAuthProvider, P as ProviderOptions } from './shared/better-auth.VwFr4owi.cjs';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { L as Account, a as Adapter, Q as AdapterInstance, P as AdapterSchemaCreation, J as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, B as BetterAuthOptions, h as BetterAuthPlugin, F as FilterActions, X as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, Y as InferSessionAPI, q as InferUser, a1 as LogHandlerParams, Z as LogLevel, a0 as Logger, M as Models, R as RateLimit, T as SecondaryStorage, S as Session, U as User, V as Verification, O as Where, W as WithJsDoc, E as betterAuth, a2 as createLogger, N as init, _ as levels, a3 as logger, $ as shouldPublishLog } from './shared/better-auth.
|
|
2
|
-
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.
|
|
1
|
+
export { L as Account, a as Adapter, Q as AdapterInstance, P as AdapterSchemaCreation, J as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, B as BetterAuthOptions, h as BetterAuthPlugin, F as FilterActions, X as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, Y as InferSessionAPI, q as InferUser, a1 as LogHandlerParams, Z as LogLevel, a0 as Logger, M as Models, R as RateLimit, T as SecondaryStorage, S as Session, U as User, V as Verification, O as Where, W as WithJsDoc, E as betterAuth, a2 as createLogger, N as init, _ as levels, a3 as logger, $ as shouldPublishLog } from './shared/better-auth.DWRzwPcP.mjs';
|
|
2
|
+
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.CJ2ZGyoL.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.C1otFVHS.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, a as Prettify, P as PrettifyDeep, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.9XhOL8gb.mjs';
|
|
8
|
-
export { O as OAuth2Tokens, a as OAuthProvider, P as ProviderOptions } from './shared/better-auth.
|
|
8
|
+
export { O as OAuth2Tokens, a as OAuthProvider, P as ProviderOptions } from './shared/better-auth.kvIPfj9F.mjs';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { L as Account, a as Adapter, Q as AdapterInstance, P as AdapterSchemaCreation, J as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, B as BetterAuthOptions, h as BetterAuthPlugin, F as FilterActions, X as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, Y as InferSessionAPI, q as InferUser, a1 as LogHandlerParams, Z as LogLevel, a0 as Logger, M as Models, R as RateLimit, T as SecondaryStorage, S as Session, U as User, V as Verification, O as Where, W as WithJsDoc, E as betterAuth, a2 as createLogger, N as init, _ as levels, a3 as logger, $ as shouldPublishLog } from './shared/better-auth.
|
|
2
|
-
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.
|
|
1
|
+
export { L as Account, a as Adapter, Q as AdapterInstance, P as AdapterSchemaCreation, J as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, B as BetterAuthOptions, h as BetterAuthPlugin, F as FilterActions, X as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, Y as InferSessionAPI, q as InferUser, a1 as LogHandlerParams, Z as LogLevel, a0 as Logger, M as Models, R as RateLimit, T as SecondaryStorage, S as Session, U as User, V as Verification, O as Where, W as WithJsDoc, E as betterAuth, a2 as createLogger, N as init, _ as levels, a3 as logger, $ as shouldPublishLog } from './shared/better-auth.Bc-1Su7g.js';
|
|
2
|
+
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.bHQlVztX.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.Dde0tveQ.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, a as Prettify, P as PrettifyDeep, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.9XhOL8gb.js';
|
|
8
|
-
export { O as OAuth2Tokens, a as OAuthProvider, P as ProviderOptions } from './shared/better-auth.
|
|
8
|
+
export { O as OAuth2Tokens, a as OAuthProvider, P as ProviderOptions } from './shared/better-auth.D9z1x8va.js';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-sqlite3';
|
|
11
11
|
import 'bun:sqlite';
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { b as betterAuth } from './shared/better-auth.
|
|
1
|
+
export { b as betterAuth } from './shared/better-auth.tST9Caqi.mjs';
|
|
2
2
|
export { B as BetterAuthError, M as MissingDependencyError } from './shared/better-auth.DdzSJf-n.mjs';
|
|
3
3
|
export { c as capitalizeFirstLetter } from './shared/better-auth.D-2CmEwz.mjs';
|
|
4
|
-
export { H as HIDE_METADATA, g as generateState, p as parseState } from './shared/better-auth.
|
|
4
|
+
export { H as HIDE_METADATA, g as generateState, p as parseState } from './shared/better-auth.BtyWISFt.mjs';
|
|
5
5
|
export { c as createLogger, g as generateId, l as levels, a as logger, s as shouldPublishLog } from './shared/better-auth.DBGfIDnh.mjs';
|
|
6
6
|
import './api/index.mjs';
|
|
7
7
|
import 'better-call';
|
|
@@ -7,9 +7,9 @@ require('@better-auth/utils/binary');
|
|
|
7
7
|
const cookies_index = require('../cookies/index.cjs');
|
|
8
8
|
require('better-call');
|
|
9
9
|
require('zod');
|
|
10
|
-
const socialProviders_index = require('../shared/better-auth.
|
|
10
|
+
const socialProviders_index = require('../shared/better-auth.HT3cSIq4.cjs');
|
|
11
11
|
require('../shared/better-auth.DcWKCjjf.cjs');
|
|
12
|
-
require('../shared/better-auth.
|
|
12
|
+
require('../shared/better-auth.I7OjQ-oc.cjs');
|
|
13
13
|
require('../plugins/organization/access/index.cjs');
|
|
14
14
|
require('../shared/better-auth.CYeOI8C-.cjs');
|
|
15
15
|
require('../shared/better-auth.CXhVNgXP.cjs');
|
|
@@ -1,8 +1,8 @@
|
|
|
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.1M3xAdJC.cjs';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.VwFr4owi.cjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'bun:sqlite';
|
|
@@ -1,8 +1,8 @@
|
|
|
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.DWRzwPcP.mjs';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.kvIPfj9F.mjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'bun:sqlite';
|
|
@@ -1,8 +1,8 @@
|
|
|
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.Bc-1Su7g.js';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.D9z1x8va.js';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'bun:sqlite';
|
|
@@ -5,9 +5,9 @@ import '@better-auth/utils/binary';
|
|
|
5
5
|
import { parseSetCookieHeader } from '../cookies/index.mjs';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'zod';
|
|
8
|
-
import { f as createAuthMiddleware } from '../shared/better-auth.
|
|
8
|
+
import { f as createAuthMiddleware } from '../shared/better-auth.BtyWISFt.mjs';
|
|
9
9
|
import '../shared/better-auth.Cc72UxUH.mjs';
|
|
10
|
-
import '../shared/better-auth.
|
|
10
|
+
import '../shared/better-auth.Dh9fsfY2.mjs';
|
|
11
11
|
import '../plugins/organization/access/index.mjs';
|
|
12
12
|
import '../shared/better-auth.B4Qoxdgc.mjs';
|
|
13
13
|
import '../shared/better-auth.DBGfIDnh.mjs';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as http from 'http';
|
|
2
2
|
import { IncomingHttpHeaders } from 'http';
|
|
3
|
-
import { n as Auth } from '../shared/better-auth.
|
|
3
|
+
import { n as Auth } from '../shared/better-auth.1M3xAdJC.cjs';
|
|
4
4
|
import '../shared/better-auth.9XhOL8gb.cjs';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.VwFr4owi.cjs';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-call';
|
|
9
9
|
import 'better-sqlite3';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as http from 'http';
|
|
2
2
|
import { IncomingHttpHeaders } from 'http';
|
|
3
|
-
import { n as Auth } from '../shared/better-auth.
|
|
3
|
+
import { n as Auth } from '../shared/better-auth.DWRzwPcP.mjs';
|
|
4
4
|
import '../shared/better-auth.9XhOL8gb.mjs';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.kvIPfj9F.mjs';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-call';
|
|
9
9
|
import 'better-sqlite3';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as http from 'http';
|
|
2
2
|
import { IncomingHttpHeaders } from 'http';
|
|
3
|
-
import { n as Auth } from '../shared/better-auth.
|
|
3
|
+
import { n as Auth } from '../shared/better-auth.Bc-1Su7g.js';
|
|
4
4
|
import '../shared/better-auth.9XhOL8gb.js';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.D9z1x8va.js';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-call';
|
|
9
9
|
import 'better-sqlite3';
|
|
@@ -7,9 +7,9 @@ require('@better-auth/utils/binary');
|
|
|
7
7
|
const cookies_index = require('../cookies/index.cjs');
|
|
8
8
|
require('better-call');
|
|
9
9
|
require('zod');
|
|
10
|
-
const socialProviders_index = require('../shared/better-auth.
|
|
10
|
+
const socialProviders_index = require('../shared/better-auth.HT3cSIq4.cjs');
|
|
11
11
|
require('../shared/better-auth.DcWKCjjf.cjs');
|
|
12
|
-
require('../shared/better-auth.
|
|
12
|
+
require('../shared/better-auth.I7OjQ-oc.cjs');
|
|
13
13
|
require('../plugins/organization/access/index.cjs');
|
|
14
14
|
require('../shared/better-auth.CYeOI8C-.cjs');
|
|
15
15
|
require('../shared/better-auth.CXhVNgXP.cjs');
|
|
@@ -57,7 +57,7 @@ const reactStartCookies = () => {
|
|
|
57
57
|
const setCookies = returned?.get("set-cookie");
|
|
58
58
|
if (!setCookies) return;
|
|
59
59
|
const parsed = cookies_index.parseSetCookieHeader(setCookies);
|
|
60
|
-
const { setCookie } = await import('
|
|
60
|
+
const { setCookie } = await import('../chunks/index.cjs');
|
|
61
61
|
parsed.forEach((value, key) => {
|
|
62
62
|
if (!key) return;
|
|
63
63
|
const opts = {
|
|
@@ -1,8 +1,8 @@
|
|
|
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.1M3xAdJC.cjs';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.VwFr4owi.cjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'bun:sqlite';
|
|
@@ -1,8 +1,8 @@
|
|
|
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.DWRzwPcP.mjs';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.kvIPfj9F.mjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'bun:sqlite';
|
|
@@ -1,8 +1,8 @@
|
|
|
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.Bc-1Su7g.js';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.D9z1x8va.js';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'bun:sqlite';
|
|
@@ -5,9 +5,9 @@ import '@better-auth/utils/binary';
|
|
|
5
5
|
import { parseSetCookieHeader } from '../cookies/index.mjs';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'zod';
|
|
8
|
-
import { f as createAuthMiddleware } from '../shared/better-auth.
|
|
8
|
+
import { f as createAuthMiddleware } from '../shared/better-auth.BtyWISFt.mjs';
|
|
9
9
|
import '../shared/better-auth.Cc72UxUH.mjs';
|
|
10
|
-
import '../shared/better-auth.
|
|
10
|
+
import '../shared/better-auth.Dh9fsfY2.mjs';
|
|
11
11
|
import '../plugins/organization/access/index.mjs';
|
|
12
12
|
import '../shared/better-auth.B4Qoxdgc.mjs';
|
|
13
13
|
import '../shared/better-auth.DBGfIDnh.mjs';
|
|
@@ -55,7 +55,7 @@ const reactStartCookies = () => {
|
|
|
55
55
|
const setCookies = returned?.get("set-cookie");
|
|
56
56
|
if (!setCookies) return;
|
|
57
57
|
const parsed = parseSetCookieHeader(setCookies);
|
|
58
|
-
const { setCookie } = await import('
|
|
58
|
+
const { setCookie } = await import('../chunks/index.mjs');
|
|
59
59
|
parsed.forEach((value, key) => {
|
|
60
60
|
if (!key) return;
|
|
61
61
|
const opts = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('better-call');
|
|
4
|
-
const socialProviders_index = require('../shared/better-auth.
|
|
4
|
+
const socialProviders_index = require('../shared/better-auth.HT3cSIq4.cjs');
|
|
5
5
|
require('zod');
|
|
6
6
|
require('../shared/better-auth.DiSjtgs9.cjs');
|
|
7
7
|
require('@better-auth/utils/base64');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { B as BetterAuthOptions } from '../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions } from '../shared/better-auth.1M3xAdJC.cjs';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.VwFr4owi.cjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'bun:sqlite';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { B as BetterAuthOptions } from '../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions } from '../shared/better-auth.DWRzwPcP.mjs';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.kvIPfj9F.mjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'bun:sqlite';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { B as BetterAuthOptions } from '../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions } from '../shared/better-auth.Bc-1Su7g.js';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.D9z1x8va.js';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'bun:sqlite';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
import { f as createAuthMiddleware } from '../shared/better-auth.
|
|
2
|
+
import { f as createAuthMiddleware } from '../shared/better-auth.BtyWISFt.mjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../shared/better-auth.8zoxzg-F.mjs';
|
|
5
5
|
import '@better-auth/utils/base64';
|
package/dist/oauth2/index.cjs
CHANGED
package/dist/oauth2/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.
|
|
2
|
-
export { a as OAuthProvider } from '../shared/better-auth.
|
|
1
|
+
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.VwFr4owi.cjs';
|
|
2
|
+
export { a as OAuthProvider } from '../shared/better-auth.VwFr4owi.cjs';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
|
-
export { g as generateState, p as parseState } from '../shared/better-auth.
|
|
5
|
-
import { G as GenericEndpointContext, U as User, L as Account } from '../shared/better-auth.
|
|
4
|
+
export { g as generateState, p as parseState } from '../shared/better-auth.BJa1oqpN.cjs';
|
|
5
|
+
import { G as GenericEndpointContext, U as User, L as Account } from '../shared/better-auth.1M3xAdJC.cjs';
|
|
6
6
|
import '../shared/better-auth.9XhOL8gb.cjs';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import 'kysely';
|
package/dist/oauth2/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.
|
|
2
|
-
export { a as OAuthProvider } from '../shared/better-auth.
|
|
1
|
+
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.kvIPfj9F.mjs';
|
|
2
|
+
export { a as OAuthProvider } from '../shared/better-auth.kvIPfj9F.mjs';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
|
-
export { g as generateState, p as parseState } from '../shared/better-auth.
|
|
5
|
-
import { G as GenericEndpointContext, U as User, L as Account } from '../shared/better-auth.
|
|
4
|
+
export { g as generateState, p as parseState } from '../shared/better-auth.C1otFVHS.mjs';
|
|
5
|
+
import { G as GenericEndpointContext, U as User, L as Account } from '../shared/better-auth.DWRzwPcP.mjs';
|
|
6
6
|
import '../shared/better-auth.9XhOL8gb.mjs';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import 'kysely';
|
package/dist/oauth2/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.
|
|
2
|
-
export { a as OAuthProvider } from '../shared/better-auth.
|
|
1
|
+
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.D9z1x8va.js';
|
|
2
|
+
export { a as OAuthProvider } from '../shared/better-auth.D9z1x8va.js';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
|
-
export { g as generateState, p as parseState } from '../shared/better-auth.
|
|
5
|
-
import { G as GenericEndpointContext, U as User, L as Account } from '../shared/better-auth.
|
|
4
|
+
export { g as generateState, p as parseState } from '../shared/better-auth.Dde0tveQ.js';
|
|
5
|
+
import { G as GenericEndpointContext, U as User, L as Account } from '../shared/better-auth.Bc-1Su7g.js';
|
|
6
6
|
import '../shared/better-auth.9XhOL8gb.js';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import 'kysely';
|
package/dist/oauth2/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as createAuthorizationURL, e as encodeOAuthParameter, b as generateCodeChallenge, g as generateState, d as getOAuth2Tokens, h as handleOAuthUserInfo, p as parseState, r as refreshAccessToken, v as validateAuthorizationCode, a as validateToken } from '../shared/better-auth.
|
|
1
|
+
export { c as createAuthorizationURL, e as encodeOAuthParameter, b as generateCodeChallenge, g as generateState, d as getOAuth2Tokens, h as handleOAuthUserInfo, p as parseState, r as refreshAccessToken, v as validateAuthorizationCode, a as validateToken } from '../shared/better-auth.BtyWISFt.mjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import '@better-auth/utils/hash';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const admin = require('../../shared/better-auth.
|
|
3
|
+
const admin = require('../../shared/better-auth.BjBe8STm.cjs');
|
|
4
4
|
require('zod');
|
|
5
5
|
require('better-call');
|
|
6
|
-
require('../../shared/better-auth.
|
|
6
|
+
require('../../shared/better-auth.HT3cSIq4.cjs');
|
|
7
7
|
require('@better-auth/utils/hash');
|
|
8
8
|
require('@better-auth/utils/base64');
|
|
9
9
|
require('@better-fetch/fetch');
|
|
@@ -1,9 +1,9 @@
|
|
|
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, G as GenericEndpointContext, H as HookEndpointContext, S as Session, U as User } from '../../shared/better-auth.
|
|
4
|
+
import { I as InferOptionSchema, G as GenericEndpointContext, H as HookEndpointContext, S as Session, U as User } from '../../shared/better-auth.1M3xAdJC.cjs';
|
|
5
5
|
import '../../shared/better-auth.9XhOL8gb.cjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.VwFr4owi.cjs';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
import 'bun:sqlite';
|
|
@@ -333,7 +333,7 @@ declare const admin: <O extends AdminOptions>(options?: O) => {
|
|
|
333
333
|
sortDirection?: "asc" | "desc" | undefined;
|
|
334
334
|
filterField?: string | undefined;
|
|
335
335
|
filterValue?: string | number | boolean | undefined;
|
|
336
|
-
filterOperator?: "
|
|
336
|
+
filterOperator?: "lt" | "eq" | "ne" | "lte" | "gt" | "gte" | "contains" | undefined;
|
|
337
337
|
};
|
|
338
338
|
} & {
|
|
339
339
|
params?: Record<string, any>;
|
|
@@ -398,7 +398,7 @@ declare const admin: <O extends AdminOptions>(options?: O) => {
|
|
|
398
398
|
sortDirection?: "asc" | "desc" | undefined;
|
|
399
399
|
filterField?: string | undefined;
|
|
400
400
|
filterValue?: string | number | boolean | undefined;
|
|
401
|
-
filterOperator?: "
|
|
401
|
+
filterOperator?: "lt" | "eq" | "ne" | "lte" | "gt" | "gte" | "contains" | undefined;
|
|
402
402
|
}, {
|
|
403
403
|
limit?: string | number | undefined;
|
|
404
404
|
offset?: string | number | undefined;
|
|
@@ -409,7 +409,7 @@ declare const admin: <O extends AdminOptions>(options?: O) => {
|
|
|
409
409
|
sortDirection?: "asc" | "desc" | undefined;
|
|
410
410
|
filterField?: string | undefined;
|
|
411
411
|
filterValue?: string | number | boolean | undefined;
|
|
412
|
-
filterOperator?: "
|
|
412
|
+
filterOperator?: "lt" | "eq" | "ne" | "lte" | "gt" | "gte" | "contains" | undefined;
|
|
413
413
|
}>;
|
|
414
414
|
metadata: {
|
|
415
415
|
openapi: {
|
|
@@ -1396,6 +1396,7 @@ declare const admin: <O extends AdminOptions>(options?: O) => {
|
|
|
1396
1396
|
};
|
|
1397
1397
|
};
|
|
1398
1398
|
};
|
|
1399
|
+
options: any;
|
|
1399
1400
|
};
|
|
1400
1401
|
declare const schema: {
|
|
1401
1402
|
user: {
|
|
@@ -1,9 +1,9 @@
|
|
|
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, G as GenericEndpointContext, H as HookEndpointContext, S as Session, U as User } from '../../shared/better-auth.
|
|
4
|
+
import { I as InferOptionSchema, G as GenericEndpointContext, H as HookEndpointContext, S as Session, U as User } from '../../shared/better-auth.DWRzwPcP.mjs';
|
|
5
5
|
import '../../shared/better-auth.9XhOL8gb.mjs';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.kvIPfj9F.mjs';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
import 'bun:sqlite';
|
|
@@ -333,7 +333,7 @@ declare const admin: <O extends AdminOptions>(options?: O) => {
|
|
|
333
333
|
sortDirection?: "asc" | "desc" | undefined;
|
|
334
334
|
filterField?: string | undefined;
|
|
335
335
|
filterValue?: string | number | boolean | undefined;
|
|
336
|
-
filterOperator?: "
|
|
336
|
+
filterOperator?: "lt" | "eq" | "ne" | "lte" | "gt" | "gte" | "contains" | undefined;
|
|
337
337
|
};
|
|
338
338
|
} & {
|
|
339
339
|
params?: Record<string, any>;
|
|
@@ -398,7 +398,7 @@ declare const admin: <O extends AdminOptions>(options?: O) => {
|
|
|
398
398
|
sortDirection?: "asc" | "desc" | undefined;
|
|
399
399
|
filterField?: string | undefined;
|
|
400
400
|
filterValue?: string | number | boolean | undefined;
|
|
401
|
-
filterOperator?: "
|
|
401
|
+
filterOperator?: "lt" | "eq" | "ne" | "lte" | "gt" | "gte" | "contains" | undefined;
|
|
402
402
|
}, {
|
|
403
403
|
limit?: string | number | undefined;
|
|
404
404
|
offset?: string | number | undefined;
|
|
@@ -409,7 +409,7 @@ declare const admin: <O extends AdminOptions>(options?: O) => {
|
|
|
409
409
|
sortDirection?: "asc" | "desc" | undefined;
|
|
410
410
|
filterField?: string | undefined;
|
|
411
411
|
filterValue?: string | number | boolean | undefined;
|
|
412
|
-
filterOperator?: "
|
|
412
|
+
filterOperator?: "lt" | "eq" | "ne" | "lte" | "gt" | "gte" | "contains" | undefined;
|
|
413
413
|
}>;
|
|
414
414
|
metadata: {
|
|
415
415
|
openapi: {
|
|
@@ -1396,6 +1396,7 @@ declare const admin: <O extends AdminOptions>(options?: O) => {
|
|
|
1396
1396
|
};
|
|
1397
1397
|
};
|
|
1398
1398
|
};
|
|
1399
|
+
options: any;
|
|
1399
1400
|
};
|
|
1400
1401
|
declare const schema: {
|
|
1401
1402
|
user: {
|