better-auth 1.3.21 → 1.3.23
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/client/index.d.cts +4 -4
- package/dist/client/index.d.mts +4 -4
- package/dist/client/index.d.ts +4 -4
- 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 +10 -10
- package/dist/client/react/index.d.mts +10 -10
- package/dist/client/react/index.d.ts +10 -10
- package/dist/client/solid/index.d.cts +4 -4
- package/dist/client/solid/index.d.mts +4 -4
- package/dist/client/solid/index.d.ts +4 -4
- package/dist/client/svelte/index.d.cts +10 -10
- package/dist/client/svelte/index.d.mts +10 -10
- package/dist/client/svelte/index.d.ts +10 -10
- package/dist/client/vue/index.d.cts +4 -4
- package/dist/client/vue/index.d.mts +4 -4
- package/dist/client/vue/index.d.ts +4 -4
- 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 +5 -5
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- 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 +2 -2
- 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 +2 -2
- 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 +4 -4
- package/dist/plugins/admin/index.d.mts +4 -4
- package/dist/plugins/admin/index.d.ts +4 -4
- 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/device-authorization/index.d.cts +2 -2
- package/dist/plugins/device-authorization/index.d.mts +2 -2
- package/dist/plugins/device-authorization/index.d.ts +2 -2
- package/dist/plugins/email-otp/index.cjs +1 -1
- package/dist/plugins/email-otp/index.d.cts +2 -2
- package/dist/plugins/email-otp/index.d.mts +2 -2
- package/dist/plugins/email-otp/index.d.ts +2 -2
- package/dist/plugins/email-otp/index.mjs +1 -1
- 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 +6 -6
- 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 +7 -7
- 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 +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 +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 +6 -6
- package/dist/plugins/oidc-provider/index.d.mts +6 -6
- package/dist/plugins/oidc-provider/index.d.ts +6 -6
- 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 +3 -3
- package/dist/plugins/one-time-token/index.d.cts +2 -2
- package/dist/plugins/one-time-token/index.d.mts +2 -2
- package/dist/plugins/one-time-token/index.d.ts +2 -2
- package/dist/plugins/one-time-token/index.mjs +3 -3
- 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 +3 -3
- package/dist/plugins/organization/index.d.cts +10 -10
- package/dist/plugins/organization/index.d.mts +10 -10
- package/dist/plugins/organization/index.d.ts +10 -10
- package/dist/plugins/organization/index.mjs +3 -3
- 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/siwe/index.cjs +1 -1
- package/dist/plugins/siwe/index.d.cts +2 -2
- package/dist/plugins/siwe/index.d.mts +2 -2
- package/dist/plugins/siwe/index.d.ts +2 -2
- package/dist/plugins/siwe/index.mjs +1 -1
- package/dist/plugins/sso/index.cjs +1 -1
- package/dist/plugins/sso/index.d.cts +4 -4
- package/dist/plugins/sso/index.d.mts +4 -4
- package/dist/plugins/sso/index.d.ts +4 -4
- package/dist/plugins/sso/index.mjs +1 -1
- package/dist/plugins/two-factor/index.cjs +1 -1
- package/dist/plugins/two-factor/index.d.cts +2 -2
- package/dist/plugins/two-factor/index.d.mts +2 -2
- package/dist/plugins/two-factor/index.d.ts +2 -2
- package/dist/plugins/two-factor/index.mjs +1 -1
- package/dist/plugins/username/index.cjs +1 -1
- 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 +1 -1
- package/dist/shared/{better-auth.C6qXK08w.d.ts → better-auth.4SXCyo06.d.ts} +2 -2
- package/dist/shared/{better-auth.BCkf9FZU.d.cts → better-auth.7ixzXnnQ.d.cts} +1 -1
- package/dist/shared/{better-auth.B7HelsAr.d.mts → better-auth.B8Yk6B-c.d.mts} +1 -1
- package/dist/shared/{better-auth.CbhDVqJv.d.ts → better-auth.BNc3SDTX.d.ts} +1 -1
- package/dist/shared/{better-auth.CEyNnJh7.cjs → better-auth.BQvT5jPC.cjs} +1 -1
- package/dist/shared/{better-auth.nTGSkBy-.d.ts → better-auth.BYvWEjMc.d.ts} +9 -9
- package/dist/shared/{better-auth.v8jPhtpB.mjs → better-auth.BdecEc2O.mjs} +1 -1
- package/dist/shared/{better-auth.BkVhzNer.d.cts → better-auth.Boih1e_N.d.cts} +1 -1
- package/dist/shared/{better-auth.DkTnb5Io.mjs → better-auth.BtbGT670.mjs} +2 -2
- package/dist/shared/{better-auth.AFdKV9lT.d.ts → better-auth.BzWKH_Lm.d.mts} +2 -2
- package/dist/shared/{better-auth.DHp6DNTP.mjs → better-auth.C84XtErM.mjs} +1 -1
- package/dist/shared/{better-auth.BWSNYlLl.mjs → better-auth.CAJUiXTA.mjs} +1 -1
- package/dist/shared/{better-auth.Br4Wfx0Y.cjs → better-auth.CB248hqi.cjs} +1 -1
- package/dist/shared/{better-auth.BFegHNjn.d.mts → better-auth.CFtgxZkB.d.mts} +9 -9
- package/dist/shared/{better-auth.DWgVanF-.d.mts → better-auth.CHtMWaN8.d.ts} +2 -2
- package/dist/shared/{better-auth.CKHG0ATr.cjs → better-auth.CXBPmam_.cjs} +1 -1
- package/dist/shared/{better-auth.p1cIDE6Y.d.ts → better-auth.CYEJMfBK.d.ts} +1 -1
- package/dist/shared/{better-auth.CCPxTWHv.mjs → better-auth.Cppf38DI.mjs} +2 -2
- package/dist/shared/{better-auth.DAXvGuBK.mjs → better-auth.DGV8LtRu.mjs} +10 -2
- package/dist/shared/{better-auth.DdoZ2a-L.cjs → better-auth.DHAY0xdm.cjs} +2 -2
- package/dist/shared/{better-auth._WE9Fhqj.d.cts → better-auth.DImZeRKY.d.cts} +9 -9
- package/dist/shared/{better-auth.BiEbNlTO.cjs → better-auth.DfaynrsJ.cjs} +2 -2
- package/dist/shared/{better-auth.BsV61G-v.cjs → better-auth.Fn0ZCxWT.cjs} +1 -1
- package/dist/shared/{better-auth.BGDp9pBQ.d.cts → better-auth.N3ys23iz.d.cts} +1 -1
- package/dist/shared/{better-auth.BA4t8YCt.cjs → better-auth.RAAuA8D-.cjs} +10 -2
- package/dist/shared/{better-auth.BHPr8J54.d.mts → better-auth.XefKa8DI.d.mts} +2 -2
- package/dist/shared/{better-auth.HsL9NWdo.d.mts → better-auth.bvByA6N5.d.mts} +1 -1
- package/dist/shared/{better-auth.D2NikySY.mjs → better-auth.dKMb7G3x.mjs} +1 -1
- package/dist/shared/{better-auth.7zTmTxT4.d.cts → better-auth.v_lf-jeY.d.cts} +2 -2
- package/dist/social-providers/index.cjs +1 -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 +3 -3
- package/dist/test-utils/index.d.mts +3 -3
- package/dist/test-utils/index.d.ts +3 -3
- 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 +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as BetterAuthPlugin, B as BetterAuthOptions, ah as InferFieldsInputClient, af as InferFieldsOutput, U as User, S as Session, c as Auth } from './better-auth.
|
|
1
|
+
import { n as BetterAuthPlugin, B as BetterAuthOptions, ah as InferFieldsInputClient, af as InferFieldsOutput, U as User, S as Session, c as Auth } from './better-auth.DImZeRKY.cjs';
|
|
2
2
|
import { BetterFetchOption, BetterFetchResponse, BetterFetch, BetterFetchPlugin } from '@better-fetch/fetch';
|
|
3
3
|
import { WritableAtom, Atom } from 'nanostores';
|
|
4
4
|
import { U as UnionToIntersection, H as HasRequiredKeys, a as Prettify, L as LiteralString, S as StripEmptyObjects } from './better-auth.DTtXpZYr.cjs';
|
|
@@ -683,7 +683,12 @@ async function generateState(c, link) {
|
|
|
683
683
|
maxAge: 5 * 60 * 1e3
|
|
684
684
|
// 5 minutes
|
|
685
685
|
});
|
|
686
|
-
c.
|
|
686
|
+
await c.setSignedCookie(
|
|
687
|
+
stateCookie.name,
|
|
688
|
+
state,
|
|
689
|
+
c.context.secret,
|
|
690
|
+
stateCookie.attributes
|
|
691
|
+
);
|
|
687
692
|
const data = JSON.stringify({
|
|
688
693
|
callbackURL,
|
|
689
694
|
codeVerifier,
|
|
@@ -745,7 +750,10 @@ async function parseState(c) {
|
|
|
745
750
|
parsedData.errorURL = `${c.context.baseURL}/error`;
|
|
746
751
|
}
|
|
747
752
|
const stateCookie = c.context.createAuthCookie("state");
|
|
748
|
-
const stateCookieValue = c.
|
|
753
|
+
const stateCookieValue = await c.getSignedCookie(
|
|
754
|
+
stateCookie.name,
|
|
755
|
+
c.context.secret
|
|
756
|
+
);
|
|
749
757
|
if (!stateCookieValue || stateCookieValue !== state) {
|
|
750
758
|
const errorURL = c.context.options.onAPIError?.errorURL || `${c.context.baseURL}/error`;
|
|
751
759
|
throw c.redirect(`${errorURL}?error=state_mismatch`);
|
|
@@ -2611,7 +2611,7 @@ declare const cognito: (options: CognitoOptions) => {
|
|
|
2611
2611
|
} | null>;
|
|
2612
2612
|
options: CognitoOptions;
|
|
2613
2613
|
};
|
|
2614
|
-
declare const getCognitoPublicKey: (kid: string, region: string, userPoolId: string) => Promise<
|
|
2614
|
+
declare const getCognitoPublicKey: (kid: string, region: string, userPoolId: string) => Promise<Uint8Array<ArrayBufferLike> | CryptoKey>;
|
|
2615
2615
|
|
|
2616
2616
|
interface AtlassianProfile {
|
|
2617
2617
|
account_type?: string;
|
|
@@ -2775,7 +2775,7 @@ declare const apple: (options: AppleOptions) => {
|
|
|
2775
2775
|
} | null>;
|
|
2776
2776
|
options: AppleOptions;
|
|
2777
2777
|
};
|
|
2778
|
-
declare const getApplePublicKey: (kid: string) => Promise<
|
|
2778
|
+
declare const getApplePublicKey: (kid: string) => Promise<Uint8Array<ArrayBufferLike> | CryptoKey>;
|
|
2779
2779
|
|
|
2780
2780
|
declare const socialProviders: {
|
|
2781
2781
|
apple: (options: AppleOptions) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as BetterAuthPlugin, B as BetterAuthOptions, ah as InferFieldsInputClient, af as InferFieldsOutput, U as User, S as Session, c as Auth } from './better-auth.
|
|
1
|
+
import { n as BetterAuthPlugin, B as BetterAuthOptions, ah as InferFieldsInputClient, af as InferFieldsOutput, U as User, S as Session, c as Auth } from './better-auth.CFtgxZkB.mjs';
|
|
2
2
|
import { BetterFetchOption, BetterFetchResponse, BetterFetch, BetterFetchPlugin } from '@better-fetch/fetch';
|
|
3
3
|
import { WritableAtom, Atom } from 'nanostores';
|
|
4
4
|
import { U as UnionToIntersection, H as HasRequiredKeys, a as Prettify, L as LiteralString, S as StripEmptyObjects } from './better-auth.DTtXpZYr.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
import { SignJWT } from 'jose';
|
|
3
3
|
import { APIError } from 'better-call';
|
|
4
|
-
import './better-auth.
|
|
4
|
+
import './better-auth.DGV8LtRu.mjs';
|
|
5
5
|
import { g as getSessionFromCtx, a as createAuthEndpoint, c as createAuthMiddleware, s as sessionMiddleware } from './better-auth.CIqzVuC5.mjs';
|
|
6
6
|
import './better-auth.CiuwFiHM.mjs';
|
|
7
7
|
import { base64Url, base64 } from '@better-auth/utils/base64';
|
|
@@ -2611,7 +2611,7 @@ declare const cognito: (options: CognitoOptions) => {
|
|
|
2611
2611
|
} | null>;
|
|
2612
2612
|
options: CognitoOptions;
|
|
2613
2613
|
};
|
|
2614
|
-
declare const getCognitoPublicKey: (kid: string, region: string, userPoolId: string) => Promise<
|
|
2614
|
+
declare const getCognitoPublicKey: (kid: string, region: string, userPoolId: string) => Promise<Uint8Array<ArrayBufferLike> | CryptoKey>;
|
|
2615
2615
|
|
|
2616
2616
|
interface AtlassianProfile {
|
|
2617
2617
|
account_type?: string;
|
|
@@ -2775,7 +2775,7 @@ declare const apple: (options: AppleOptions) => {
|
|
|
2775
2775
|
} | null>;
|
|
2776
2776
|
options: AppleOptions;
|
|
2777
2777
|
};
|
|
2778
|
-
declare const getApplePublicKey: (kid: string) => Promise<
|
|
2778
|
+
declare const getApplePublicKey: (kid: string) => Promise<Uint8Array<ArrayBufferLike> | CryptoKey>;
|
|
2779
2779
|
|
|
2780
2780
|
declare const socialProviders: {
|
|
2781
2781
|
apple: (options: AppleOptions) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('zod');
|
|
4
|
-
const socialProviders_index = require('../shared/better-auth.
|
|
4
|
+
const socialProviders_index = require('../shared/better-auth.RAAuA8D-.cjs');
|
|
5
5
|
require('../shared/better-auth.CWoe8tep.cjs');
|
|
6
6
|
require('better-call');
|
|
7
7
|
require('../shared/better-auth.C1hdVENX.cjs');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { at as AccountStatus, g as AppleNonConformUser, h as AppleOptions, A as AppleProfile, l as AtlassianOptions, k as AtlassianProfile, n as CognitoOptions, C as CognitoProfile, q as DiscordOptions, D as DiscordProfile, u as DropboxOptions, t as DropboxProfile, w as FacebookOptions, F as FacebookProfile, z as FigmaOptions, y as FigmaProfile, E as GithubOptions, G as GithubProfile, R as GitlabOptions, Q as GitlabProfile, V as GoogleOptions, U as GoogleProfile, aA as HuggingFaceOptions, az as HuggingFaceProfile, aG as KakaoOptions, aF as KakaoProfile, Y as KickOptions, X as KickProfile, aL as LineIdTokenPayload, aN as LineOptions, aM as LineUserInfo, I as LinearOptions, L as LinearProfile, M as LinkedInOptions, K as LinkedInProfile, as as LoginType, _ as MicrosoftEntraIDProfile, $ as MicrosoftOptions, aJ as NaverOptions, aI as NaverProfile, a2 as NotionOptions, a1 as NotionProfile, aR as PayPalOptions, aP as PayPalProfile, aQ as PayPalTokenResponse, av as PhoneNumber, au as PronounOption, a5 as RedditOptions, a4 as RedditProfile, a8 as RobloxOptions, a7 as RobloxProfile, ab as SalesforceOptions, aa as SalesforceProfile, aD as SlackOptions, aC as SlackProfile, f as SocialProvider, c as SocialProviderList, e as SocialProviderListEnum, S as SocialProviders, ae as SpotifyOptions, ad as SpotifyProfile, ah as TiktokOptions, ag as TiktokProfile, ak as TwitchOptions, aj as TwitchProfile, an as TwitterOption, am as TwitterProfile, aq as VkOption, ap as VkProfile, ax as ZoomOptions, aw as ZoomProfile, i as apple, m as atlassian, o as cognito, r as discord, v as dropbox, x as facebook, B as figma, j as getApplePublicKey, p as getCognitoPublicKey, H as github, T as gitlab, W as google, aB as huggingface, aH as kakao, Z as kick, aO as line, J as linear, N as linkedin, a0 as microsoft, aK as naver, a3 as notion, aS as paypal, a6 as reddit, a9 as roblox, ac as salesforce, aE as slack, d as socialProviderList, s as socialProviders, af as spotify, ai as tiktok, al as twitch, ao as twitter, ar as vk, ay as zoom } from '../shared/better-auth.
|
|
1
|
+
export { at as AccountStatus, g as AppleNonConformUser, h as AppleOptions, A as AppleProfile, l as AtlassianOptions, k as AtlassianProfile, n as CognitoOptions, C as CognitoProfile, q as DiscordOptions, D as DiscordProfile, u as DropboxOptions, t as DropboxProfile, w as FacebookOptions, F as FacebookProfile, z as FigmaOptions, y as FigmaProfile, E as GithubOptions, G as GithubProfile, R as GitlabOptions, Q as GitlabProfile, V as GoogleOptions, U as GoogleProfile, aA as HuggingFaceOptions, az as HuggingFaceProfile, aG as KakaoOptions, aF as KakaoProfile, Y as KickOptions, X as KickProfile, aL as LineIdTokenPayload, aN as LineOptions, aM as LineUserInfo, I as LinearOptions, L as LinearProfile, M as LinkedInOptions, K as LinkedInProfile, as as LoginType, _ as MicrosoftEntraIDProfile, $ as MicrosoftOptions, aJ as NaverOptions, aI as NaverProfile, a2 as NotionOptions, a1 as NotionProfile, aR as PayPalOptions, aP as PayPalProfile, aQ as PayPalTokenResponse, av as PhoneNumber, au as PronounOption, a5 as RedditOptions, a4 as RedditProfile, a8 as RobloxOptions, a7 as RobloxProfile, ab as SalesforceOptions, aa as SalesforceProfile, aD as SlackOptions, aC as SlackProfile, f as SocialProvider, c as SocialProviderList, e as SocialProviderListEnum, S as SocialProviders, ae as SpotifyOptions, ad as SpotifyProfile, ah as TiktokOptions, ag as TiktokProfile, ak as TwitchOptions, aj as TwitchProfile, an as TwitterOption, am as TwitterProfile, aq as VkOption, ap as VkProfile, ax as ZoomOptions, aw as ZoomProfile, i as apple, m as atlassian, o as cognito, r as discord, v as dropbox, x as facebook, B as figma, j as getApplePublicKey, p as getCognitoPublicKey, H as github, T as gitlab, W as google, aB as huggingface, aH as kakao, Z as kick, aO as line, J as linear, N as linkedin, a0 as microsoft, aK as naver, a3 as notion, aS as paypal, a6 as reddit, a9 as roblox, ac as salesforce, aE as slack, d as socialProviderList, s as socialProviders, af as spotify, ai as tiktok, al as twitch, ao as twitter, ar as vk, ay as zoom } from '../shared/better-auth.v_lf-jeY.cjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { at as AccountStatus, g as AppleNonConformUser, h as AppleOptions, A as AppleProfile, l as AtlassianOptions, k as AtlassianProfile, n as CognitoOptions, C as CognitoProfile, q as DiscordOptions, D as DiscordProfile, u as DropboxOptions, t as DropboxProfile, w as FacebookOptions, F as FacebookProfile, z as FigmaOptions, y as FigmaProfile, E as GithubOptions, G as GithubProfile, R as GitlabOptions, Q as GitlabProfile, V as GoogleOptions, U as GoogleProfile, aA as HuggingFaceOptions, az as HuggingFaceProfile, aG as KakaoOptions, aF as KakaoProfile, Y as KickOptions, X as KickProfile, aL as LineIdTokenPayload, aN as LineOptions, aM as LineUserInfo, I as LinearOptions, L as LinearProfile, M as LinkedInOptions, K as LinkedInProfile, as as LoginType, _ as MicrosoftEntraIDProfile, $ as MicrosoftOptions, aJ as NaverOptions, aI as NaverProfile, a2 as NotionOptions, a1 as NotionProfile, aR as PayPalOptions, aP as PayPalProfile, aQ as PayPalTokenResponse, av as PhoneNumber, au as PronounOption, a5 as RedditOptions, a4 as RedditProfile, a8 as RobloxOptions, a7 as RobloxProfile, ab as SalesforceOptions, aa as SalesforceProfile, aD as SlackOptions, aC as SlackProfile, f as SocialProvider, c as SocialProviderList, e as SocialProviderListEnum, S as SocialProviders, ae as SpotifyOptions, ad as SpotifyProfile, ah as TiktokOptions, ag as TiktokProfile, ak as TwitchOptions, aj as TwitchProfile, an as TwitterOption, am as TwitterProfile, aq as VkOption, ap as VkProfile, ax as ZoomOptions, aw as ZoomProfile, i as apple, m as atlassian, o as cognito, r as discord, v as dropbox, x as facebook, B as figma, j as getApplePublicKey, p as getCognitoPublicKey, H as github, T as gitlab, W as google, aB as huggingface, aH as kakao, Z as kick, aO as line, J as linear, N as linkedin, a0 as microsoft, aK as naver, a3 as notion, aS as paypal, a6 as reddit, a9 as roblox, ac as salesforce, aE as slack, d as socialProviderList, s as socialProviders, af as spotify, ai as tiktok, al as twitch, ao as twitter, ar as vk, ay as zoom } from '../shared/better-auth.
|
|
1
|
+
export { at as AccountStatus, g as AppleNonConformUser, h as AppleOptions, A as AppleProfile, l as AtlassianOptions, k as AtlassianProfile, n as CognitoOptions, C as CognitoProfile, q as DiscordOptions, D as DiscordProfile, u as DropboxOptions, t as DropboxProfile, w as FacebookOptions, F as FacebookProfile, z as FigmaOptions, y as FigmaProfile, E as GithubOptions, G as GithubProfile, R as GitlabOptions, Q as GitlabProfile, V as GoogleOptions, U as GoogleProfile, aA as HuggingFaceOptions, az as HuggingFaceProfile, aG as KakaoOptions, aF as KakaoProfile, Y as KickOptions, X as KickProfile, aL as LineIdTokenPayload, aN as LineOptions, aM as LineUserInfo, I as LinearOptions, L as LinearProfile, M as LinkedInOptions, K as LinkedInProfile, as as LoginType, _ as MicrosoftEntraIDProfile, $ as MicrosoftOptions, aJ as NaverOptions, aI as NaverProfile, a2 as NotionOptions, a1 as NotionProfile, aR as PayPalOptions, aP as PayPalProfile, aQ as PayPalTokenResponse, av as PhoneNumber, au as PronounOption, a5 as RedditOptions, a4 as RedditProfile, a8 as RobloxOptions, a7 as RobloxProfile, ab as SalesforceOptions, aa as SalesforceProfile, aD as SlackOptions, aC as SlackProfile, f as SocialProvider, c as SocialProviderList, e as SocialProviderListEnum, S as SocialProviders, ae as SpotifyOptions, ad as SpotifyProfile, ah as TiktokOptions, ag as TiktokProfile, ak as TwitchOptions, aj as TwitchProfile, an as TwitterOption, am as TwitterProfile, aq as VkOption, ap as VkProfile, ax as ZoomOptions, aw as ZoomProfile, i as apple, m as atlassian, o as cognito, r as discord, v as dropbox, x as facebook, B as figma, j as getApplePublicKey, p as getCognitoPublicKey, H as github, T as gitlab, W as google, aB as huggingface, aH as kakao, Z as kick, aO as line, J as linear, N as linkedin, a0 as microsoft, aK as naver, a3 as notion, aS as paypal, a6 as reddit, a9 as roblox, ac as salesforce, aE as slack, d as socialProviderList, s as socialProviders, af as spotify, ai as tiktok, al as twitch, ao as twitter, ar as vk, ay as zoom } from '../shared/better-auth.XefKa8DI.mjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { at as AccountStatus, g as AppleNonConformUser, h as AppleOptions, A as AppleProfile, l as AtlassianOptions, k as AtlassianProfile, n as CognitoOptions, C as CognitoProfile, q as DiscordOptions, D as DiscordProfile, u as DropboxOptions, t as DropboxProfile, w as FacebookOptions, F as FacebookProfile, z as FigmaOptions, y as FigmaProfile, E as GithubOptions, G as GithubProfile, R as GitlabOptions, Q as GitlabProfile, V as GoogleOptions, U as GoogleProfile, aA as HuggingFaceOptions, az as HuggingFaceProfile, aG as KakaoOptions, aF as KakaoProfile, Y as KickOptions, X as KickProfile, aL as LineIdTokenPayload, aN as LineOptions, aM as LineUserInfo, I as LinearOptions, L as LinearProfile, M as LinkedInOptions, K as LinkedInProfile, as as LoginType, _ as MicrosoftEntraIDProfile, $ as MicrosoftOptions, aJ as NaverOptions, aI as NaverProfile, a2 as NotionOptions, a1 as NotionProfile, aR as PayPalOptions, aP as PayPalProfile, aQ as PayPalTokenResponse, av as PhoneNumber, au as PronounOption, a5 as RedditOptions, a4 as RedditProfile, a8 as RobloxOptions, a7 as RobloxProfile, ab as SalesforceOptions, aa as SalesforceProfile, aD as SlackOptions, aC as SlackProfile, f as SocialProvider, c as SocialProviderList, e as SocialProviderListEnum, S as SocialProviders, ae as SpotifyOptions, ad as SpotifyProfile, ah as TiktokOptions, ag as TiktokProfile, ak as TwitchOptions, aj as TwitchProfile, an as TwitterOption, am as TwitterProfile, aq as VkOption, ap as VkProfile, ax as ZoomOptions, aw as ZoomProfile, i as apple, m as atlassian, o as cognito, r as discord, v as dropbox, x as facebook, B as figma, j as getApplePublicKey, p as getCognitoPublicKey, H as github, T as gitlab, W as google, aB as huggingface, aH as kakao, Z as kick, aO as line, J as linear, N as linkedin, a0 as microsoft, aK as naver, a3 as notion, aS as paypal, a6 as reddit, a9 as roblox, ac as salesforce, aE as slack, d as socialProviderList, s as socialProviders, af as spotify, ai as tiktok, al as twitch, ao as twitter, ar as vk, ay as zoom } from '../shared/better-auth.
|
|
1
|
+
export { at as AccountStatus, g as AppleNonConformUser, h as AppleOptions, A as AppleProfile, l as AtlassianOptions, k as AtlassianProfile, n as CognitoOptions, C as CognitoProfile, q as DiscordOptions, D as DiscordProfile, u as DropboxOptions, t as DropboxProfile, w as FacebookOptions, F as FacebookProfile, z as FigmaOptions, y as FigmaProfile, E as GithubOptions, G as GithubProfile, R as GitlabOptions, Q as GitlabProfile, V as GoogleOptions, U as GoogleProfile, aA as HuggingFaceOptions, az as HuggingFaceProfile, aG as KakaoOptions, aF as KakaoProfile, Y as KickOptions, X as KickProfile, aL as LineIdTokenPayload, aN as LineOptions, aM as LineUserInfo, I as LinearOptions, L as LinearProfile, M as LinkedInOptions, K as LinkedInProfile, as as LoginType, _ as MicrosoftEntraIDProfile, $ as MicrosoftOptions, aJ as NaverOptions, aI as NaverProfile, a2 as NotionOptions, a1 as NotionProfile, aR as PayPalOptions, aP as PayPalProfile, aQ as PayPalTokenResponse, av as PhoneNumber, au as PronounOption, a5 as RedditOptions, a4 as RedditProfile, a8 as RobloxOptions, a7 as RobloxProfile, ab as SalesforceOptions, aa as SalesforceProfile, aD as SlackOptions, aC as SlackProfile, f as SocialProvider, c as SocialProviderList, e as SocialProviderListEnum, S as SocialProviders, ae as SpotifyOptions, ad as SpotifyProfile, ah as TiktokOptions, ag as TiktokProfile, ak as TwitchOptions, aj as TwitchProfile, an as TwitterOption, am as TwitterProfile, aq as VkOption, ap as VkProfile, ax as ZoomOptions, aw as ZoomProfile, i as apple, m as atlassian, o as cognito, r as discord, v as dropbox, x as facebook, B as figma, j as getApplePublicKey, p as getCognitoPublicKey, H as github, T as gitlab, W as google, aB as huggingface, aH as kakao, Z as kick, aO as line, J as linear, N as linkedin, a0 as microsoft, aK as naver, a3 as notion, aS as paypal, a6 as reddit, a9 as roblox, ac as salesforce, aE as slack, d as socialProviderList, s as socialProviders, af as spotify, ai as tiktok, al as twitch, ao as twitter, ar as vk, ay as zoom } from '../shared/better-auth.4SXCyo06.js';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'zod';
|
|
2
|
-
export { W as SocialProviderListEnum, X as apple, Z as atlassian, _ as cognito, a0 as discord, a1 as dropbox, a2 as facebook, a3 as figma, Y as getApplePublicKey, $ as getCognitoPublicKey, a4 as github, a7 as gitlab, a8 as google, al as huggingface, an as kakao, a9 as kick, ap as line, a5 as linear, a6 as linkedin, aa as microsoft, ao as naver, ab as notion, aq as paypal, ac as reddit, ad as roblox, ae as salesforce, am as slack, V as socialProviderList, U as socialProviders, af as spotify, ag as tiktok, ah as twitch, ai as twitter, aj as vk, ak as zoom } from '../shared/better-auth.
|
|
2
|
+
export { W as SocialProviderListEnum, X as apple, Z as atlassian, _ as cognito, a0 as discord, a1 as dropbox, a2 as facebook, a3 as figma, Y as getApplePublicKey, $ as getCognitoPublicKey, a4 as github, a7 as gitlab, a8 as google, al as huggingface, an as kakao, a9 as kick, ap as line, a5 as linear, a6 as linkedin, aa as microsoft, ao as naver, ab as notion, aq as paypal, ac as reddit, ad as roblox, ae as salesforce, am as slack, V as socialProviderList, U as socialProviders, af as spotify, ag as tiktok, ah as twitch, ai as twitter, aj as vk, ak as zoom } from '../shared/better-auth.DGV8LtRu.mjs';
|
|
3
3
|
import '../shared/better-auth.CIqzVuC5.mjs';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../shared/better-auth.CW6D9eSx.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const vitest = require('vitest');
|
|
4
|
-
const auth = require('../shared/better-auth.
|
|
4
|
+
const auth = require('../shared/better-auth.CXBPmam_.cjs');
|
|
5
5
|
const vanilla = require('../shared/better-auth.C2xLgiCv.cjs');
|
|
6
6
|
const getMigration = require('../shared/better-auth.ZUJMxXV3.cjs');
|
|
7
7
|
require('../shared/better-auth.B6fIklBU.cjs');
|
|
@@ -32,9 +32,9 @@ const require$$0$a = require('url');
|
|
|
32
32
|
require('better-call');
|
|
33
33
|
require('zod');
|
|
34
34
|
require('../shared/better-auth.CWoe8tep.cjs');
|
|
35
|
-
require('../shared/better-auth.
|
|
35
|
+
require('../shared/better-auth.RAAuA8D-.cjs');
|
|
36
36
|
require('../shared/better-auth.C0qxpMUS.cjs');
|
|
37
|
-
require('../shared/better-auth.
|
|
37
|
+
require('../shared/better-auth.Fn0ZCxWT.cjs');
|
|
38
38
|
require('../plugins/organization/access/index.cjs');
|
|
39
39
|
require('@better-auth/utils/random');
|
|
40
40
|
require('@better-auth/utils/hash');
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as nanostores from 'nanostores';
|
|
2
2
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
3
3
|
import { SuccessContext } from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, d as InferRoute, c as InferErrorCodes } from '../shared/better-auth.
|
|
5
|
-
import { B as BetterAuthOptions, U as User, h as InferAPI, a as Adapter, i as AdditionalSessionFieldsOutput, c as Auth, j as AdditionalUserFieldsOutput, k as InferFieldsFromPlugins, l as InferFieldsFromOptions, m as AdditionalUserFieldsInput, n as BetterAuthPlugin, d as AuthContext, o as InferPluginTypes, p as InferPluginErrorCodes, F as FilterActions, S as Session, s as setCookieToHeader } from '../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, d as InferRoute, c as InferErrorCodes } from '../shared/better-auth.N3ys23iz.cjs';
|
|
5
|
+
import { B as BetterAuthOptions, U as User, h as InferAPI, a as Adapter, i as AdditionalSessionFieldsOutput, c as Auth, j as AdditionalUserFieldsOutput, k as InferFieldsFromPlugins, l as InferFieldsFromOptions, m as AdditionalUserFieldsInput, n as BetterAuthPlugin, d as AuthContext, o as InferPluginTypes, p as InferPluginErrorCodes, F as FilterActions, S as Session, s as setCookieToHeader } from '../shared/better-auth.DImZeRKY.cjs';
|
|
6
6
|
import * as z from 'zod';
|
|
7
7
|
import * as better_call from 'better-call';
|
|
8
8
|
import { U as UnionToIntersection, S as StripEmptyObjects, a as Prettify } from '../shared/better-auth.DTtXpZYr.cjs';
|
|
9
9
|
import * as zod_v4_core from 'zod/v4/core';
|
|
10
|
-
import { O as OAuth2Tokens, a as OAuth2UserInfo } from '../shared/better-auth.
|
|
10
|
+
import { O as OAuth2Tokens, a as OAuth2UserInfo } from '../shared/better-auth.v_lf-jeY.cjs';
|
|
11
11
|
import { Kysely } from 'kysely';
|
|
12
12
|
import 'better-sqlite3';
|
|
13
13
|
import 'bun:sqlite';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as nanostores from 'nanostores';
|
|
2
2
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
3
3
|
import { SuccessContext } from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, d as InferRoute, c as InferErrorCodes } from '../shared/better-auth.
|
|
5
|
-
import { B as BetterAuthOptions, U as User, h as InferAPI, a as Adapter, i as AdditionalSessionFieldsOutput, c as Auth, j as AdditionalUserFieldsOutput, k as InferFieldsFromPlugins, l as InferFieldsFromOptions, m as AdditionalUserFieldsInput, n as BetterAuthPlugin, d as AuthContext, o as InferPluginTypes, p as InferPluginErrorCodes, F as FilterActions, S as Session, s as setCookieToHeader } from '../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, d as InferRoute, c as InferErrorCodes } from '../shared/better-auth.bvByA6N5.mjs';
|
|
5
|
+
import { B as BetterAuthOptions, U as User, h as InferAPI, a as Adapter, i as AdditionalSessionFieldsOutput, c as Auth, j as AdditionalUserFieldsOutput, k as InferFieldsFromPlugins, l as InferFieldsFromOptions, m as AdditionalUserFieldsInput, n as BetterAuthPlugin, d as AuthContext, o as InferPluginTypes, p as InferPluginErrorCodes, F as FilterActions, S as Session, s as setCookieToHeader } from '../shared/better-auth.CFtgxZkB.mjs';
|
|
6
6
|
import * as z from 'zod';
|
|
7
7
|
import * as better_call from 'better-call';
|
|
8
8
|
import { U as UnionToIntersection, S as StripEmptyObjects, a as Prettify } from '../shared/better-auth.DTtXpZYr.mjs';
|
|
9
9
|
import * as zod_v4_core from 'zod/v4/core';
|
|
10
|
-
import { O as OAuth2Tokens, a as OAuth2UserInfo } from '../shared/better-auth.
|
|
10
|
+
import { O as OAuth2Tokens, a as OAuth2UserInfo } from '../shared/better-auth.XefKa8DI.mjs';
|
|
11
11
|
import { Kysely } from 'kysely';
|
|
12
12
|
import 'better-sqlite3';
|
|
13
13
|
import 'bun:sqlite';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as nanostores from 'nanostores';
|
|
2
2
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
3
3
|
import { SuccessContext } from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, d as InferRoute, c as InferErrorCodes } from '../shared/better-auth.
|
|
5
|
-
import { B as BetterAuthOptions, U as User, h as InferAPI, a as Adapter, i as AdditionalSessionFieldsOutput, c as Auth, j as AdditionalUserFieldsOutput, k as InferFieldsFromPlugins, l as InferFieldsFromOptions, m as AdditionalUserFieldsInput, n as BetterAuthPlugin, d as AuthContext, o as InferPluginTypes, p as InferPluginErrorCodes, F as FilterActions, S as Session, s as setCookieToHeader } from '../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, d as InferRoute, c as InferErrorCodes } from '../shared/better-auth.CYEJMfBK.js';
|
|
5
|
+
import { B as BetterAuthOptions, U as User, h as InferAPI, a as Adapter, i as AdditionalSessionFieldsOutput, c as Auth, j as AdditionalUserFieldsOutput, k as InferFieldsFromPlugins, l as InferFieldsFromOptions, m as AdditionalUserFieldsInput, n as BetterAuthPlugin, d as AuthContext, o as InferPluginTypes, p as InferPluginErrorCodes, F as FilterActions, S as Session, s as setCookieToHeader } from '../shared/better-auth.BYvWEjMc.js';
|
|
6
6
|
import * as z from 'zod';
|
|
7
7
|
import * as better_call from 'better-call';
|
|
8
8
|
import { U as UnionToIntersection, S as StripEmptyObjects, a as Prettify } from '../shared/better-auth.DTtXpZYr.js';
|
|
9
9
|
import * as zod_v4_core from 'zod/v4/core';
|
|
10
|
-
import { O as OAuth2Tokens, a as OAuth2UserInfo } from '../shared/better-auth.
|
|
10
|
+
import { O as OAuth2Tokens, a as OAuth2UserInfo } from '../shared/better-auth.4SXCyo06.js';
|
|
11
11
|
import { Kysely } from 'kysely';
|
|
12
12
|
import 'better-sqlite3';
|
|
13
13
|
import 'bun:sqlite';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { afterAll } from 'vitest';
|
|
2
|
-
import { b as betterAuth } from '../shared/better-auth.
|
|
2
|
+
import { b as betterAuth } from '../shared/better-auth.C84XtErM.mjs';
|
|
3
3
|
import { c as createAuthClient } from '../shared/better-auth.BoY6Vo7c.mjs';
|
|
4
4
|
import { e as getMigrations, a as getAdapter } from '../shared/better-auth.Bb80Qhal.mjs';
|
|
5
5
|
import '../shared/better-auth.CiuwFiHM.mjs';
|
|
@@ -30,9 +30,9 @@ import require$$0$a from 'url';
|
|
|
30
30
|
import 'better-call';
|
|
31
31
|
import 'zod';
|
|
32
32
|
import '../shared/better-auth.CIqzVuC5.mjs';
|
|
33
|
-
import '../shared/better-auth.
|
|
33
|
+
import '../shared/better-auth.DGV8LtRu.mjs';
|
|
34
34
|
import '../shared/better-auth.Dlx1jCB2.mjs';
|
|
35
|
-
import '../shared/better-auth.
|
|
35
|
+
import '../shared/better-auth.CAJUiXTA.mjs';
|
|
36
36
|
import '../plugins/organization/access/index.mjs';
|
|
37
37
|
import '@better-auth/utils/random';
|
|
38
38
|
import '@better-auth/utils/hash';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { Q as Account, a as Adapter, $ as AdapterInstance, _ as AdapterSchemaCreation, P as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, d as AuthContext, v as AuthPluginSchema, B as BetterAuthOptions, n as BetterAuthPlugin, F as FilterActions, a1 as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, a2 as InferSessionAPI, e as InferUser, N as Models, R as RateLimit, a0 as SecondaryStorage, S as Session, Z as TransactionAdapter, U as User, V as Verification, Y as Where, X as init } from '../shared/better-auth.
|
|
2
|
-
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, i as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, I as IsSignal, S as SessionQueryParams, e as Store } from '../shared/better-auth.
|
|
1
|
+
export { Q as Account, a as Adapter, $ as AdapterInstance, _ as AdapterSchemaCreation, P as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, d as AuthContext, v as AuthPluginSchema, B as BetterAuthOptions, n as BetterAuthPlugin, F as FilterActions, a1 as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, a2 as InferSessionAPI, e as InferUser, N as Models, R as RateLimit, a0 as SecondaryStorage, S as Session, Z as TransactionAdapter, U as User, V as Verification, Y as Where, X as init } from '../shared/better-auth.DImZeRKY.cjs';
|
|
2
|
+
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, i as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, I as IsSignal, S as SessionQueryParams, e as Store } from '../shared/better-auth.N3ys23iz.cjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.v_lf-jeY.cjs';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
|
10
10
|
import 'bun:sqlite';
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { Q as Account, a as Adapter, $ as AdapterInstance, _ as AdapterSchemaCreation, P as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, d as AuthContext, v as AuthPluginSchema, B as BetterAuthOptions, n as BetterAuthPlugin, F as FilterActions, a1 as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, a2 as InferSessionAPI, e as InferUser, N as Models, R as RateLimit, a0 as SecondaryStorage, S as Session, Z as TransactionAdapter, U as User, V as Verification, Y as Where, X as init } from '../shared/better-auth.
|
|
2
|
-
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, i as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, I as IsSignal, S as SessionQueryParams, e as Store } from '../shared/better-auth.
|
|
1
|
+
export { Q as Account, a as Adapter, $ as AdapterInstance, _ as AdapterSchemaCreation, P as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, d as AuthContext, v as AuthPluginSchema, B as BetterAuthOptions, n as BetterAuthPlugin, F as FilterActions, a1 as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, a2 as InferSessionAPI, e as InferUser, N as Models, R as RateLimit, a0 as SecondaryStorage, S as Session, Z as TransactionAdapter, U as User, V as Verification, Y as Where, X as init } from '../shared/better-auth.CFtgxZkB.mjs';
|
|
2
|
+
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, i as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, I as IsSignal, S as SessionQueryParams, e as Store } from '../shared/better-auth.bvByA6N5.mjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.XefKa8DI.mjs';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
|
10
10
|
import 'bun:sqlite';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { Q as Account, a as Adapter, $ as AdapterInstance, _ as AdapterSchemaCreation, P as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, d as AuthContext, v as AuthPluginSchema, B as BetterAuthOptions, n as BetterAuthPlugin, F as FilterActions, a1 as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, a2 as InferSessionAPI, e as InferUser, N as Models, R as RateLimit, a0 as SecondaryStorage, S as Session, Z as TransactionAdapter, U as User, V as Verification, Y as Where, X as init } from '../shared/better-auth.
|
|
2
|
-
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, i as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, I as IsSignal, S as SessionQueryParams, e as Store } from '../shared/better-auth.
|
|
1
|
+
export { Q as Account, a as Adapter, $ as AdapterInstance, _ as AdapterSchemaCreation, P as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, d as AuthContext, v as AuthPluginSchema, B as BetterAuthOptions, n as BetterAuthPlugin, F as FilterActions, a1 as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, a2 as InferSessionAPI, e as InferUser, N as Models, R as RateLimit, a0 as SecondaryStorage, S as Session, Z as TransactionAdapter, U as User, V as Verification, Y as Where, X as init } from '../shared/better-auth.BYvWEjMc.js';
|
|
2
|
+
export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, i as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, I as IsSignal, S as SessionQueryParams, e as Store } from '../shared/better-auth.CYEJMfBK.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'kysely';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.4SXCyo06.js';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'better-sqlite3';
|
|
10
10
|
import 'bun:sqlite';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "better-auth",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.23",
|
|
4
4
|
"description": "The most comprehensive authentication library for TypeScript.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -697,9 +697,9 @@
|
|
|
697
697
|
"kysely": "^0.28.5",
|
|
698
698
|
"nanostores": "^1.0.1",
|
|
699
699
|
"zod": "^4.1.5",
|
|
700
|
-
"@better-auth/core": "1.3.
|
|
700
|
+
"@better-auth/core": "1.3.23"
|
|
701
701
|
},
|
|
702
|
-
"
|
|
702
|
+
"peerDependenciesOptional": {
|
|
703
703
|
"@lynx-js/react": "*",
|
|
704
704
|
"@sveltejs/kit": "^2.0.0",
|
|
705
705
|
"next": "^14.0.0 || ^15.0.0",
|