better-auth 1.3.6-beta.1 → 1.3.6-beta.2
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.cjs +1 -3
- package/dist/client/plugins/index.d.cts +19 -6
- package/dist/client/plugins/index.d.mts +19 -6
- package/dist/client/plugins/index.d.ts +19 -6
- package/dist/client/plugins/index.mjs +1 -3
- package/dist/client/react/index.d.cts +4 -4
- package/dist/client/react/index.d.mts +4 -4
- package/dist/client/react/index.d.ts +4 -4
- package/dist/client/solid/index.d.cts +10 -10
- package/dist/client/solid/index.d.mts +10 -10
- package/dist/client/solid/index.d.ts +10 -10
- 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 +10 -10
- package/dist/index.d.mts +10 -10
- package/dist/index.d.ts +10 -10
- 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 +6 -6
- package/dist/plugins/admin/index.d.mts +6 -6
- package/dist/plugins/admin/index.d.ts +6 -6
- 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 +16 -15
- package/dist/plugins/email-otp/index.d.cts +5 -5
- package/dist/plugins/email-otp/index.d.mts +5 -5
- package/dist/plugins/email-otp/index.d.ts +5 -5
- package/dist/plugins/email-otp/index.mjs +16 -15
- 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 +6 -6
- package/dist/plugins/index.d.mts +6 -6
- package/dist/plugins/index.d.ts +6 -6
- package/dist/plugins/index.mjs +8 -8
- 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 +2 -2
- package/dist/plugins/oidc-provider/index.d.mts +2 -2
- package/dist/plugins/oidc-provider/index.d.ts +2 -2
- 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 +7 -184
- package/dist/plugins/organization/index.d.mts +7 -184
- package/dist/plugins/organization/index.d.ts +7 -184
- 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.mjs +1 -1
- package/dist/plugins/sso/index.cjs +1 -1
- package/dist/plugins/sso/index.d.cts +2 -2
- package/dist/plugins/sso/index.d.mts +2 -2
- package/dist/plugins/sso/index.d.ts +2 -2
- 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 +4 -4
- package/dist/plugins/username/index.d.mts +4 -4
- package/dist/plugins/username/index.d.ts +4 -4
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/shared/{better-auth.Bv6xc9eQ.cjs → better-auth.3oHgUdBc.cjs} +1 -1
- package/dist/shared/{better-auth.DbvnSV1O.d.ts → better-auth.B-pjewPT.d.ts} +1 -1
- package/dist/shared/{better-auth.ACwZgLRi.d.mts → better-auth.BFod4hxi.d.mts} +1 -1
- package/dist/shared/{better-auth.Cz37zEtO.mjs → better-auth.BMerxQY0.mjs} +135 -130
- package/dist/shared/{better-auth.2KSwrHCN.d.ts → better-auth.BUnyEQuc.d.ts} +5 -5
- package/dist/shared/{better-auth.PQZTlAeQ.mjs → better-auth.BY1-gjw3.mjs} +48 -35
- package/dist/shared/{better-auth.CNt3rwDj.d.cts → better-auth.Ba48cL0L.d.mts} +1 -1
- package/dist/shared/{better-auth.Bx3RgYZf.cjs → better-auth.Bl-It_5c.cjs} +1 -1
- package/dist/shared/{better-auth.kvWPdS5e.cjs → better-auth.BlWIxee_.cjs} +135 -130
- package/dist/shared/{better-auth.Cz61ZSR7.d.ts → better-auth.Bo7h6YI5.d.ts} +5 -5
- package/dist/shared/{better-auth.BTWrbrma.cjs → better-auth.BtekRHFA.cjs} +48 -35
- package/dist/shared/{better-auth.CAmMIfb2.d.cts → better-auth.CAz9Cd5z.d.cts} +5 -5
- package/dist/shared/{better-auth.CX5ucYKP.cjs → better-auth.CKa-q341.cjs} +1 -1
- package/dist/shared/{better-auth.DRTWwCRy.d.ts → better-auth.CRHB8IT6.d.ts} +1 -1
- package/dist/shared/{better-auth.DxjcKCFH.d.mts → better-auth.CcY3k9r5.d.cts} +1 -1
- package/dist/shared/{better-auth.DBscO_L1.cjs → better-auth.CdFBGG9K.cjs} +2 -2
- package/dist/shared/{better-auth.BNbnQqTc.d.ts → better-auth.Cm-DsNnM.d.ts} +1 -1
- package/dist/shared/{better-auth.DKORdAr4.cjs → better-auth.D317Sdx8.cjs} +1 -1
- package/dist/shared/{better-auth.dA0rT0C-.mjs → better-auth.D7DBFMfx.mjs} +1 -1
- package/dist/shared/{better-auth.C9DAFPr9.d.cts → better-auth.DCaLQCEk.d.cts} +1 -1
- package/dist/shared/{better-auth.CCxr11mp.mjs → better-auth.DKBKIpqZ.mjs} +2 -2
- package/dist/shared/{better-auth.DeahYwp5.d.cts → better-auth.DSvLrleU.d.cts} +1 -1
- package/dist/shared/{better-auth.CW0oMVtF.mjs → better-auth.Da95z4LY.mjs} +1 -1
- package/dist/shared/{better-auth.CjVHzDH-.d.cts → better-auth.De59HW-u.d.cts} +5 -5
- package/dist/shared/{better-auth.CdiRF5e1.d.mts → better-auth.Df4VL-14.d.mts} +1 -1
- package/dist/shared/{better-auth.CStDZlxp.mjs → better-auth.DkJw4zNh.mjs} +1 -1
- package/dist/shared/{better-auth.XM7lsWMa.d.mts → better-auth.JJG-4rPJ.d.mts} +5 -5
- package/dist/shared/{better-auth.C3R00PmH.mjs → better-auth.fDN2zET_.mjs} +2 -2
- package/dist/shared/{better-auth.CGufObXt.d.mts → better-auth.fHc4138q.d.mts} +5 -5
- 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 +1 -1
|
@@ -4,14 +4,14 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DCaLQCEk.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.cjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CAz9Cd5z.cjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
14
|
-
import '../../shared/better-auth.
|
|
14
|
+
import '../../shared/better-auth.DSvLrleU.cjs';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
|
@@ -114,13 +114,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
114
114
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
115
115
|
};
|
|
116
116
|
})[];
|
|
117
|
+
redirect?: RequestRedirect | undefined;
|
|
117
118
|
method: string;
|
|
118
119
|
headers?: (HeadersInit & (HeadersInit | {
|
|
119
120
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
120
121
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
121
122
|
authorization: "Bearer" | "Basic";
|
|
122
123
|
})) | undefined;
|
|
123
|
-
redirect?: RequestRedirect | undefined;
|
|
124
124
|
cache?: RequestCache | undefined;
|
|
125
125
|
credentials?: RequestCredentials;
|
|
126
126
|
integrity?: string | undefined;
|
|
@@ -4,14 +4,14 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.Df4VL-14.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.mjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.JJG-4rPJ.mjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
14
|
-
import '../../shared/better-auth.
|
|
14
|
+
import '../../shared/better-auth.BFod4hxi.mjs';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
|
@@ -114,13 +114,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
114
114
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
115
115
|
};
|
|
116
116
|
})[];
|
|
117
|
+
redirect?: RequestRedirect | undefined;
|
|
117
118
|
method: string;
|
|
118
119
|
headers?: (HeadersInit & (HeadersInit | {
|
|
119
120
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
120
121
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
121
122
|
authorization: "Bearer" | "Basic";
|
|
122
123
|
})) | undefined;
|
|
123
|
-
redirect?: RequestRedirect | undefined;
|
|
124
124
|
cache?: RequestCache | undefined;
|
|
125
125
|
credentials?: RequestCredentials;
|
|
126
126
|
integrity?: string | undefined;
|
|
@@ -4,14 +4,14 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.Cm-DsNnM.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.js';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BUnyEQuc.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
14
|
-
import '../../shared/better-auth.
|
|
14
|
+
import '../../shared/better-auth.B-pjewPT.js';
|
|
15
15
|
import 'jose';
|
|
16
16
|
import 'zod/v4/core';
|
|
17
17
|
import 'zod';
|
|
@@ -114,13 +114,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
114
114
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
115
115
|
};
|
|
116
116
|
})[];
|
|
117
|
+
redirect?: RequestRedirect | undefined;
|
|
117
118
|
method: string;
|
|
118
119
|
headers?: (HeadersInit & (HeadersInit | {
|
|
119
120
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
120
121
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
121
122
|
authorization: "Bearer" | "Basic";
|
|
122
123
|
})) | undefined;
|
|
123
|
-
redirect?: RequestRedirect | undefined;
|
|
124
124
|
cache?: RequestCache | undefined;
|
|
125
125
|
credentials?: RequestCredentials;
|
|
126
126
|
integrity?: string | undefined;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
2
2
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
3
3
|
export * from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DCaLQCEk.cjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.cjs';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CAz9Cd5z.cjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'zod/v4';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.DSvLrleU.cjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'zod';
|
|
@@ -24,15 +24,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
24
24
|
data: InferClientAPI<Option> extends {
|
|
25
25
|
getSession: () => Promise<infer Res>;
|
|
26
26
|
} ? Res extends {
|
|
27
|
+
data: infer S;
|
|
28
|
+
error: null;
|
|
29
|
+
} | {
|
|
27
30
|
data: null;
|
|
28
31
|
error: {
|
|
29
32
|
message?: string | undefined;
|
|
30
33
|
status: number;
|
|
31
34
|
statusText: string;
|
|
32
35
|
};
|
|
33
|
-
} | {
|
|
34
|
-
data: infer S;
|
|
35
|
-
error: null;
|
|
36
36
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
37
37
|
isPending: boolean;
|
|
38
38
|
isRefetching: boolean;
|
|
@@ -42,15 +42,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
42
42
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
43
43
|
getSession: () => Promise<infer Res>;
|
|
44
44
|
} ? Res extends {
|
|
45
|
+
data: infer S;
|
|
46
|
+
error: null;
|
|
47
|
+
} | {
|
|
45
48
|
data: null;
|
|
46
49
|
error: {
|
|
47
50
|
message?: string | undefined;
|
|
48
51
|
status: number;
|
|
49
52
|
statusText: string;
|
|
50
53
|
};
|
|
51
|
-
} | {
|
|
52
|
-
data: infer S;
|
|
53
|
-
error: null;
|
|
54
54
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
55
55
|
};
|
|
56
56
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -70,13 +70,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
70
70
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
71
71
|
};
|
|
72
72
|
})[];
|
|
73
|
+
redirect?: RequestRedirect | undefined;
|
|
73
74
|
method: string;
|
|
74
75
|
headers?: (HeadersInit & (HeadersInit | {
|
|
75
76
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
76
77
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
77
78
|
authorization: "Bearer" | "Basic";
|
|
78
79
|
})) | undefined;
|
|
79
|
-
redirect?: RequestRedirect | undefined;
|
|
80
80
|
cache?: RequestCache | undefined;
|
|
81
81
|
credentials?: RequestCredentials;
|
|
82
82
|
integrity?: string | undefined;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
2
2
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
3
3
|
export * from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.Df4VL-14.mjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.mjs';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.JJG-4rPJ.mjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'zod/v4';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.BFod4hxi.mjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'zod';
|
|
@@ -24,15 +24,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
24
24
|
data: InferClientAPI<Option> extends {
|
|
25
25
|
getSession: () => Promise<infer Res>;
|
|
26
26
|
} ? Res extends {
|
|
27
|
+
data: infer S;
|
|
28
|
+
error: null;
|
|
29
|
+
} | {
|
|
27
30
|
data: null;
|
|
28
31
|
error: {
|
|
29
32
|
message?: string | undefined;
|
|
30
33
|
status: number;
|
|
31
34
|
statusText: string;
|
|
32
35
|
};
|
|
33
|
-
} | {
|
|
34
|
-
data: infer S;
|
|
35
|
-
error: null;
|
|
36
36
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
37
37
|
isPending: boolean;
|
|
38
38
|
isRefetching: boolean;
|
|
@@ -42,15 +42,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
42
42
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
43
43
|
getSession: () => Promise<infer Res>;
|
|
44
44
|
} ? Res extends {
|
|
45
|
+
data: infer S;
|
|
46
|
+
error: null;
|
|
47
|
+
} | {
|
|
45
48
|
data: null;
|
|
46
49
|
error: {
|
|
47
50
|
message?: string | undefined;
|
|
48
51
|
status: number;
|
|
49
52
|
statusText: string;
|
|
50
53
|
};
|
|
51
|
-
} | {
|
|
52
|
-
data: infer S;
|
|
53
|
-
error: null;
|
|
54
54
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
55
55
|
};
|
|
56
56
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -70,13 +70,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
70
70
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
71
71
|
};
|
|
72
72
|
})[];
|
|
73
|
+
redirect?: RequestRedirect | undefined;
|
|
73
74
|
method: string;
|
|
74
75
|
headers?: (HeadersInit & (HeadersInit | {
|
|
75
76
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
76
77
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
77
78
|
authorization: "Bearer" | "Basic";
|
|
78
79
|
})) | undefined;
|
|
79
|
-
redirect?: RequestRedirect | undefined;
|
|
80
80
|
cache?: RequestCache | undefined;
|
|
81
81
|
credentials?: RequestCredentials;
|
|
82
82
|
integrity?: string | undefined;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
2
2
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
3
3
|
export * from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.Cm-DsNnM.js';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.js';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BUnyEQuc.js';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'zod/v4';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.B-pjewPT.js';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'zod/v4/core';
|
|
15
15
|
import 'zod';
|
|
@@ -24,15 +24,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
24
24
|
data: InferClientAPI<Option> extends {
|
|
25
25
|
getSession: () => Promise<infer Res>;
|
|
26
26
|
} ? Res extends {
|
|
27
|
+
data: infer S;
|
|
28
|
+
error: null;
|
|
29
|
+
} | {
|
|
27
30
|
data: null;
|
|
28
31
|
error: {
|
|
29
32
|
message?: string | undefined;
|
|
30
33
|
status: number;
|
|
31
34
|
statusText: string;
|
|
32
35
|
};
|
|
33
|
-
} | {
|
|
34
|
-
data: infer S;
|
|
35
|
-
error: null;
|
|
36
36
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
37
37
|
isPending: boolean;
|
|
38
38
|
isRefetching: boolean;
|
|
@@ -42,15 +42,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
42
42
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
43
43
|
getSession: () => Promise<infer Res>;
|
|
44
44
|
} ? Res extends {
|
|
45
|
+
data: infer S;
|
|
46
|
+
error: null;
|
|
47
|
+
} | {
|
|
45
48
|
data: null;
|
|
46
49
|
error: {
|
|
47
50
|
message?: string | undefined;
|
|
48
51
|
status: number;
|
|
49
52
|
statusText: string;
|
|
50
53
|
};
|
|
51
|
-
} | {
|
|
52
|
-
data: infer S;
|
|
53
|
-
error: null;
|
|
54
54
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
55
55
|
};
|
|
56
56
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -70,13 +70,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
70
70
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
71
71
|
};
|
|
72
72
|
})[];
|
|
73
|
+
redirect?: RequestRedirect | undefined;
|
|
73
74
|
method: string;
|
|
74
75
|
headers?: (HeadersInit & (HeadersInit | {
|
|
75
76
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
76
77
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
77
78
|
authorization: "Bearer" | "Basic";
|
|
78
79
|
})) | undefined;
|
|
79
|
-
redirect?: RequestRedirect | undefined;
|
|
80
80
|
cache?: RequestCache | undefined;
|
|
81
81
|
credentials?: RequestCredentials;
|
|
82
82
|
integrity?: string | undefined;
|
|
@@ -4,13 +4,13 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DCaLQCEk.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CAz9Cd5z.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.DSvLrleU.cjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -25,15 +25,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
25
25
|
data: InferClientAPI<Option> extends {
|
|
26
26
|
getSession: () => Promise<infer Res>;
|
|
27
27
|
} ? Res extends {
|
|
28
|
-
data: infer S;
|
|
29
|
-
error: null;
|
|
30
|
-
} | {
|
|
31
28
|
data: null;
|
|
32
29
|
error: {
|
|
33
30
|
message?: string | undefined;
|
|
34
31
|
status: number;
|
|
35
32
|
statusText: string;
|
|
36
33
|
};
|
|
34
|
+
} | {
|
|
35
|
+
data: infer S;
|
|
36
|
+
error: null;
|
|
37
37
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
38
38
|
error: BetterFetchError | null;
|
|
39
39
|
isPending: boolean;
|
|
@@ -56,13 +56,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
56
56
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
57
57
|
};
|
|
58
58
|
})[];
|
|
59
|
+
redirect?: RequestRedirect | undefined;
|
|
59
60
|
method: string;
|
|
60
61
|
headers?: (HeadersInit & (HeadersInit | {
|
|
61
62
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
62
63
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
63
64
|
authorization: "Bearer" | "Basic";
|
|
64
65
|
})) | undefined;
|
|
65
|
-
redirect?: RequestRedirect | undefined;
|
|
66
66
|
cache?: RequestCache | undefined;
|
|
67
67
|
credentials?: RequestCredentials;
|
|
68
68
|
integrity?: string | undefined;
|
|
@@ -113,15 +113,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
113
113
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
114
114
|
getSession: () => Promise<infer Res>;
|
|
115
115
|
} ? Res extends {
|
|
116
|
-
data: infer S;
|
|
117
|
-
error: null;
|
|
118
|
-
} | {
|
|
119
116
|
data: null;
|
|
120
117
|
error: {
|
|
121
118
|
message?: string | undefined;
|
|
122
119
|
status: number;
|
|
123
120
|
statusText: string;
|
|
124
121
|
};
|
|
122
|
+
} | {
|
|
123
|
+
data: infer S;
|
|
124
|
+
error: null;
|
|
125
125
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
126
126
|
};
|
|
127
127
|
$ERROR_CODES: PrettifyDeep<InferErrorCodes<Option> & typeof BASE_ERROR_CODES>;
|
|
@@ -4,13 +4,13 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.Df4VL-14.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.mjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.JJG-4rPJ.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.BFod4hxi.mjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -25,15 +25,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
25
25
|
data: InferClientAPI<Option> extends {
|
|
26
26
|
getSession: () => Promise<infer Res>;
|
|
27
27
|
} ? Res extends {
|
|
28
|
-
data: infer S;
|
|
29
|
-
error: null;
|
|
30
|
-
} | {
|
|
31
28
|
data: null;
|
|
32
29
|
error: {
|
|
33
30
|
message?: string | undefined;
|
|
34
31
|
status: number;
|
|
35
32
|
statusText: string;
|
|
36
33
|
};
|
|
34
|
+
} | {
|
|
35
|
+
data: infer S;
|
|
36
|
+
error: null;
|
|
37
37
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
38
38
|
error: BetterFetchError | null;
|
|
39
39
|
isPending: boolean;
|
|
@@ -56,13 +56,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
56
56
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
57
57
|
};
|
|
58
58
|
})[];
|
|
59
|
+
redirect?: RequestRedirect | undefined;
|
|
59
60
|
method: string;
|
|
60
61
|
headers?: (HeadersInit & (HeadersInit | {
|
|
61
62
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
62
63
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
63
64
|
authorization: "Bearer" | "Basic";
|
|
64
65
|
})) | undefined;
|
|
65
|
-
redirect?: RequestRedirect | undefined;
|
|
66
66
|
cache?: RequestCache | undefined;
|
|
67
67
|
credentials?: RequestCredentials;
|
|
68
68
|
integrity?: string | undefined;
|
|
@@ -113,15 +113,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
113
113
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
114
114
|
getSession: () => Promise<infer Res>;
|
|
115
115
|
} ? Res extends {
|
|
116
|
-
data: infer S;
|
|
117
|
-
error: null;
|
|
118
|
-
} | {
|
|
119
116
|
data: null;
|
|
120
117
|
error: {
|
|
121
118
|
message?: string | undefined;
|
|
122
119
|
status: number;
|
|
123
120
|
statusText: string;
|
|
124
121
|
};
|
|
122
|
+
} | {
|
|
123
|
+
data: infer S;
|
|
124
|
+
error: null;
|
|
125
125
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
126
126
|
};
|
|
127
127
|
$ERROR_CODES: PrettifyDeep<InferErrorCodes<Option> & typeof BASE_ERROR_CODES>;
|
|
@@ -4,13 +4,13 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.Cm-DsNnM.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.js';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BUnyEQuc.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.B-pjewPT.js';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -25,15 +25,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
25
25
|
data: InferClientAPI<Option> extends {
|
|
26
26
|
getSession: () => Promise<infer Res>;
|
|
27
27
|
} ? Res extends {
|
|
28
|
-
data: infer S;
|
|
29
|
-
error: null;
|
|
30
|
-
} | {
|
|
31
28
|
data: null;
|
|
32
29
|
error: {
|
|
33
30
|
message?: string | undefined;
|
|
34
31
|
status: number;
|
|
35
32
|
statusText: string;
|
|
36
33
|
};
|
|
34
|
+
} | {
|
|
35
|
+
data: infer S;
|
|
36
|
+
error: null;
|
|
37
37
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
38
38
|
error: BetterFetchError | null;
|
|
39
39
|
isPending: boolean;
|
|
@@ -56,13 +56,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
56
56
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
57
57
|
};
|
|
58
58
|
})[];
|
|
59
|
+
redirect?: RequestRedirect | undefined;
|
|
59
60
|
method: string;
|
|
60
61
|
headers?: (HeadersInit & (HeadersInit | {
|
|
61
62
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
62
63
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
63
64
|
authorization: "Bearer" | "Basic";
|
|
64
65
|
})) | undefined;
|
|
65
|
-
redirect?: RequestRedirect | undefined;
|
|
66
66
|
cache?: RequestCache | undefined;
|
|
67
67
|
credentials?: RequestCredentials;
|
|
68
68
|
integrity?: string | undefined;
|
|
@@ -113,15 +113,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
113
113
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
114
114
|
getSession: () => Promise<infer Res>;
|
|
115
115
|
} ? Res extends {
|
|
116
|
-
data: infer S;
|
|
117
|
-
error: null;
|
|
118
|
-
} | {
|
|
119
116
|
data: null;
|
|
120
117
|
error: {
|
|
121
118
|
message?: string | undefined;
|
|
122
119
|
status: number;
|
|
123
120
|
statusText: string;
|
|
124
121
|
};
|
|
122
|
+
} | {
|
|
123
|
+
data: infer S;
|
|
124
|
+
error: null;
|
|
125
125
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
126
126
|
};
|
|
127
127
|
$ERROR_CODES: PrettifyDeep<InferErrorCodes<Option> & typeof BASE_ERROR_CODES>;
|
|
@@ -4,13 +4,13 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
4
4
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
5
5
|
export * from '@better-fetch/fetch';
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DCaLQCEk.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CAz9Cd5z.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.DSvLrleU.cjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -94,13 +94,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
94
94
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
95
95
|
};
|
|
96
96
|
})[];
|
|
97
|
+
redirect?: RequestRedirect | undefined;
|
|
97
98
|
method: string;
|
|
98
99
|
headers?: (HeadersInit & (HeadersInit | {
|
|
99
100
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
100
101
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
101
102
|
authorization: "Bearer" | "Basic";
|
|
102
103
|
})) | undefined;
|
|
103
|
-
redirect?: RequestRedirect | undefined;
|
|
104
104
|
cache?: RequestCache | undefined;
|
|
105
105
|
credentials?: RequestCredentials;
|
|
106
106
|
integrity?: string | undefined;
|
|
@@ -4,13 +4,13 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
4
4
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
5
5
|
export * from '@better-fetch/fetch';
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.Df4VL-14.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.mjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.JJG-4rPJ.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.BFod4hxi.mjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -94,13 +94,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
94
94
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
95
95
|
};
|
|
96
96
|
})[];
|
|
97
|
+
redirect?: RequestRedirect | undefined;
|
|
97
98
|
method: string;
|
|
98
99
|
headers?: (HeadersInit & (HeadersInit | {
|
|
99
100
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
100
101
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
101
102
|
authorization: "Bearer" | "Basic";
|
|
102
103
|
})) | undefined;
|
|
103
|
-
redirect?: RequestRedirect | undefined;
|
|
104
104
|
cache?: RequestCache | undefined;
|
|
105
105
|
credentials?: RequestCredentials;
|
|
106
106
|
integrity?: string | undefined;
|
|
@@ -4,13 +4,13 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
4
4
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
5
5
|
export * from '@better-fetch/fetch';
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.Cm-DsNnM.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.js';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BUnyEQuc.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'kysely';
|
|
12
12
|
import 'zod/v4';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.B-pjewPT.js';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'zod/v4/core';
|
|
16
16
|
import 'zod';
|
|
@@ -94,13 +94,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
94
94
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
95
95
|
};
|
|
96
96
|
})[];
|
|
97
|
+
redirect?: RequestRedirect | undefined;
|
|
97
98
|
method: string;
|
|
98
99
|
headers?: (HeadersInit & (HeadersInit | {
|
|
99
100
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
100
101
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
101
102
|
authorization: "Bearer" | "Basic";
|
|
102
103
|
})) | undefined;
|
|
103
|
-
redirect?: RequestRedirect | undefined;
|
|
104
104
|
cache?: RequestCache | undefined;
|
|
105
105
|
credentials?: RequestCredentials;
|
|
106
106
|
integrity?: string | undefined;
|
package/dist/cookies/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.CAz9Cd5z.cjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../shared/better-auth.BDR52Rf2.cjs';
|
|
6
|
-
import '../shared/better-auth.
|
|
6
|
+
import '../shared/better-auth.DSvLrleU.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'zod/v4/core';
|
|
9
9
|
import 'zod';
|