better-auth 1.3.0-beta.6 → 1.3.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/drizzle-adapter/index.d.cts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.mts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.ts +2 -2
- package/dist/adapters/index.d.cts +3 -3
- package/dist/adapters/index.d.mts +3 -3
- package/dist/adapters/index.d.ts +3 -3
- package/dist/adapters/kysely-adapter/index.d.cts +2 -2
- package/dist/adapters/kysely-adapter/index.d.mts +2 -2
- package/dist/adapters/kysely-adapter/index.d.ts +2 -2
- package/dist/adapters/memory-adapter/index.d.cts +2 -2
- package/dist/adapters/memory-adapter/index.d.mts +2 -2
- package/dist/adapters/memory-adapter/index.d.ts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.cts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.mts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.ts +2 -2
- package/dist/adapters/prisma-adapter/index.d.cts +2 -2
- package/dist/adapters/prisma-adapter/index.d.mts +2 -2
- package/dist/adapters/prisma-adapter/index.d.ts +2 -2
- package/dist/adapters/test.d.cts +2 -2
- package/dist/adapters/test.d.mts +2 -2
- package/dist/adapters/test.d.ts +2 -2
- package/dist/api/index.cjs +1 -1
- package/dist/api/index.d.cts +2 -2
- package/dist/api/index.d.mts +2 -2
- package/dist/api/index.d.ts +2 -2
- package/dist/api/index.mjs +2 -2
- package/dist/client/index.d.cts +5 -9
- package/dist/client/index.d.mts +5 -9
- package/dist/client/index.d.ts +5 -9
- package/dist/client/plugins/index.d.cts +8 -8
- package/dist/client/plugins/index.d.mts +8 -8
- package/dist/client/plugins/index.d.ts +8 -8
- 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 +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 +4 -4
- package/dist/client/svelte/index.d.mts +4 -4
- package/dist/client/svelte/index.d.ts +4 -4
- 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 +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +2 -2
- package/dist/integrations/next-js.cjs +2 -2
- package/dist/integrations/next-js.d.cts +2 -2
- package/dist/integrations/next-js.d.mts +2 -2
- package/dist/integrations/next-js.d.ts +2 -2
- package/dist/integrations/next-js.mjs +2 -2
- package/dist/integrations/node.d.cts +2 -2
- package/dist/integrations/node.d.mts +2 -2
- package/dist/integrations/node.d.ts +2 -2
- package/dist/integrations/react-start.cjs +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 +8 -8
- package/dist/oauth2/index.d.mts +8 -8
- package/dist/oauth2/index.d.ts +8 -8
- package/dist/oauth2/index.mjs +1 -1
- package/dist/plugins/admin/index.cjs +2 -2
- package/dist/plugins/admin/index.d.cts +24 -24
- package/dist/plugins/admin/index.d.mts +24 -24
- package/dist/plugins/admin/index.d.ts +24 -24
- 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 +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 +5 -5
- package/dist/plugins/index.d.cts +7 -7
- package/dist/plugins/index.d.mts +7 -7
- package/dist/plugins/index.d.ts +7 -7
- 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 +7 -7
- package/dist/plugins/oidc-provider/index.d.mts +7 -7
- package/dist/plugins/oidc-provider/index.d.ts +7 -7
- package/dist/plugins/oidc-provider/index.mjs +2 -2
- package/dist/plugins/one-tap/index.cjs +1 -1
- package/dist/plugins/one-tap/index.mjs +1 -1
- package/dist/plugins/one-time-token/index.cjs +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 +2 -2
- package/dist/plugins/organization/index.d.cts +248 -248
- package/dist/plugins/organization/index.d.mts +248 -248
- package/dist/plugins/organization/index.d.ts +248 -248
- package/dist/plugins/organization/index.mjs +2 -2
- package/dist/plugins/passkey/index.cjs +1 -1
- package/dist/plugins/passkey/index.d.cts +2 -2
- package/dist/plugins/passkey/index.d.mts +2 -2
- package/dist/plugins/passkey/index.d.ts +2 -2
- package/dist/plugins/passkey/index.mjs +1 -1
- package/dist/plugins/phone-number/index.cjs +1 -1
- package/dist/plugins/phone-number/index.d.cts +2 -2
- package/dist/plugins/phone-number/index.d.mts +2 -2
- package/dist/plugins/phone-number/index.d.ts +2 -2
- package/dist/plugins/phone-number/index.mjs +1 -1
- package/dist/plugins/sso/index.cjs +1 -1
- package/dist/plugins/sso/index.d.cts +5 -5
- package/dist/plugins/sso/index.d.mts +5 -5
- package/dist/plugins/sso/index.d.ts +5 -5
- package/dist/plugins/sso/index.mjs +1 -1
- package/dist/plugins/two-factor/index.cjs +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 +3 -3
- package/dist/plugins/username/index.d.mts +3 -3
- package/dist/plugins/username/index.d.ts +3 -3
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/shared/{better-auth.RyjLlbTY.d.cts → better-auth.1M3xAdJC.d.cts} +227 -220
- package/dist/shared/{better-auth.kEak9XF1.cjs → better-auth.B2zZl7qP.cjs} +1 -1
- package/dist/shared/{better-auth.D0Rqcoza.d.cts → better-auth.BJa1oqpN.d.cts} +3 -3
- package/dist/shared/{better-auth.C3tsP_2i.d.mts → better-auth.BYIMqSU0.d.mts} +26 -26
- package/dist/shared/{better-auth.5rq4Z090.d.ts → better-auth.Bc-1Su7g.d.ts} +227 -220
- package/dist/shared/{better-auth.DV2ji6Tv.cjs → better-auth.BjBe8STm.cjs} +1 -1
- package/dist/shared/{better-auth.CBHHglxq.mjs → better-auth.BtyWISFt.mjs} +17 -15
- package/dist/shared/{better-auth.9r8N-CPq.d.mts → better-auth.C1otFVHS.d.mts} +3 -3
- package/dist/shared/{better-auth.C23Pdha8.mjs → better-auth.C6VyAxGz.mjs} +2 -2
- package/dist/shared/{better-auth.CJa14fZY.d.mts → better-auth.CJ2ZGyoL.d.mts} +7 -3
- package/dist/shared/{better-auth.DkrXfAnl.d.ts → better-auth.CJb2R19P.d.ts} +26 -26
- package/dist/shared/{better-auth.DdJAAuXg.mjs → better-auth.CQPOI-_E.mjs} +1 -1
- package/dist/shared/{better-auth.xx57KUhH.d.cts → better-auth.CpSq0H3M.d.cts} +26 -26
- package/dist/shared/{better-auth.D7VD1-xZ.mjs → better-auth.D7Si_1a9.mjs} +1 -1
- package/dist/shared/{better-auth.T6XXJMSu.d.ts → better-auth.D9z1x8va.d.ts} +1 -1
- package/dist/shared/{better-auth.C2ZDA_HL.d.mts → better-auth.DWRzwPcP.d.mts} +227 -220
- package/dist/shared/{better-auth.DynhAjNY.cjs → better-auth.DZBS14g0.cjs} +2 -2
- package/dist/shared/{better-auth.BpOf3rhD.d.cts → better-auth.DcwXW4BB.d.cts} +7 -3
- package/dist/shared/{better-auth.BGtxjozt.d.ts → better-auth.Dde0tveQ.d.ts} +3 -3
- package/dist/shared/{better-auth.Da38ipiH.mjs → better-auth.Dh9fsfY2.mjs} +1 -1
- package/dist/shared/{better-auth.DsLFXx54.cjs → better-auth.HT3cSIq4.cjs} +17 -15
- package/dist/shared/{better-auth.BIHMmId5.cjs → better-auth.I7OjQ-oc.cjs} +1 -1
- package/dist/shared/{better-auth.DCPRfRzB.d.cts → better-auth.VwFr4owi.d.cts} +1 -1
- package/dist/shared/{better-auth.CFH54Uvw.cjs → better-auth.Y_QHVJcB.cjs} +1 -1
- package/dist/shared/{better-auth.BqMegUw9.d.ts → better-auth.bHQlVztX.d.ts} +7 -3
- package/dist/shared/{better-auth.BcotGrcl.d.mts → better-auth.kvIPfj9F.d.mts} +1 -1
- package/dist/shared/{better-auth.ddM9pKyt.mjs → better-auth.tST9Caqi.mjs} +1 -1
- 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 +20 -20
- package/dist/test-utils/index.d.mts +20 -20
- package/dist/test-utils/index.d.ts +20 -20
- package/dist/test-utils/index.mjs +3 -3
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/package.json +2 -2
|
@@ -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.DcwXW4BB.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.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.1M3xAdJC.cjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.VwFr4owi.cjs';
|
|
14
14
|
import 'kysely';
|
|
15
15
|
import 'better-sqlite3';
|
|
16
16
|
import 'bun:sqlite';
|
|
@@ -65,15 +65,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
65
65
|
data: InferClientAPI<Option> extends {
|
|
66
66
|
getSession: () => Promise<infer Res>;
|
|
67
67
|
} ? Res extends {
|
|
68
|
+
data: infer S;
|
|
69
|
+
error: null;
|
|
70
|
+
} | {
|
|
68
71
|
data: null;
|
|
69
72
|
error: {
|
|
70
73
|
message?: string | undefined;
|
|
71
74
|
status: number;
|
|
72
75
|
statusText: string;
|
|
73
76
|
};
|
|
74
|
-
} | {
|
|
75
|
-
data: infer S;
|
|
76
|
-
error: null;
|
|
77
77
|
} ? S : Res : never;
|
|
78
78
|
isPending: boolean;
|
|
79
79
|
error: BetterFetchError | null;
|
|
@@ -83,15 +83,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
83
83
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
84
84
|
getSession: () => Promise<infer Res>;
|
|
85
85
|
} ? Res extends {
|
|
86
|
+
data: infer S;
|
|
87
|
+
error: null;
|
|
88
|
+
} | {
|
|
86
89
|
data: null;
|
|
87
90
|
error: {
|
|
88
91
|
message?: string | undefined;
|
|
89
92
|
status: number;
|
|
90
93
|
statusText: string;
|
|
91
94
|
};
|
|
92
|
-
} | {
|
|
93
|
-
data: infer S;
|
|
94
|
-
error: null;
|
|
95
95
|
} ? S : Res : never>;
|
|
96
96
|
};
|
|
97
97
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -102,13 +102,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
102
102
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
103
103
|
};
|
|
104
104
|
})[];
|
|
105
|
-
redirect?: RequestRedirect;
|
|
106
105
|
method: string;
|
|
107
106
|
headers?: (HeadersInit & (HeadersInit | {
|
|
108
107
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
109
108
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
110
109
|
authorization: "Bearer" | "Basic";
|
|
111
110
|
})) | undefined;
|
|
111
|
+
redirect?: RequestRedirect;
|
|
112
112
|
cache?: RequestCache;
|
|
113
113
|
credentials?: RequestCredentials;
|
|
114
114
|
integrity?: string;
|
|
@@ -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.CJ2ZGyoL.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.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.DWRzwPcP.mjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.kvIPfj9F.mjs';
|
|
14
14
|
import 'kysely';
|
|
15
15
|
import 'better-sqlite3';
|
|
16
16
|
import 'bun:sqlite';
|
|
@@ -65,15 +65,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
65
65
|
data: InferClientAPI<Option> extends {
|
|
66
66
|
getSession: () => Promise<infer Res>;
|
|
67
67
|
} ? Res extends {
|
|
68
|
+
data: infer S;
|
|
69
|
+
error: null;
|
|
70
|
+
} | {
|
|
68
71
|
data: null;
|
|
69
72
|
error: {
|
|
70
73
|
message?: string | undefined;
|
|
71
74
|
status: number;
|
|
72
75
|
statusText: string;
|
|
73
76
|
};
|
|
74
|
-
} | {
|
|
75
|
-
data: infer S;
|
|
76
|
-
error: null;
|
|
77
77
|
} ? S : Res : never;
|
|
78
78
|
isPending: boolean;
|
|
79
79
|
error: BetterFetchError | null;
|
|
@@ -83,15 +83,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
83
83
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
84
84
|
getSession: () => Promise<infer Res>;
|
|
85
85
|
} ? Res extends {
|
|
86
|
+
data: infer S;
|
|
87
|
+
error: null;
|
|
88
|
+
} | {
|
|
86
89
|
data: null;
|
|
87
90
|
error: {
|
|
88
91
|
message?: string | undefined;
|
|
89
92
|
status: number;
|
|
90
93
|
statusText: string;
|
|
91
94
|
};
|
|
92
|
-
} | {
|
|
93
|
-
data: infer S;
|
|
94
|
-
error: null;
|
|
95
95
|
} ? S : Res : never>;
|
|
96
96
|
};
|
|
97
97
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -102,13 +102,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
102
102
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
103
103
|
};
|
|
104
104
|
})[];
|
|
105
|
-
redirect?: RequestRedirect;
|
|
106
105
|
method: string;
|
|
107
106
|
headers?: (HeadersInit & (HeadersInit | {
|
|
108
107
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
109
108
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
110
109
|
authorization: "Bearer" | "Basic";
|
|
111
110
|
})) | undefined;
|
|
111
|
+
redirect?: RequestRedirect;
|
|
112
112
|
cache?: RequestCache;
|
|
113
113
|
credentials?: RequestCredentials;
|
|
114
114
|
integrity?: string;
|
|
@@ -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.bHQlVztX.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.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.Bc-1Su7g.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.D9z1x8va.js';
|
|
14
14
|
import 'kysely';
|
|
15
15
|
import 'better-sqlite3';
|
|
16
16
|
import 'bun:sqlite';
|
|
@@ -65,15 +65,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
65
65
|
data: InferClientAPI<Option> extends {
|
|
66
66
|
getSession: () => Promise<infer Res>;
|
|
67
67
|
} ? Res extends {
|
|
68
|
+
data: infer S;
|
|
69
|
+
error: null;
|
|
70
|
+
} | {
|
|
68
71
|
data: null;
|
|
69
72
|
error: {
|
|
70
73
|
message?: string | undefined;
|
|
71
74
|
status: number;
|
|
72
75
|
statusText: string;
|
|
73
76
|
};
|
|
74
|
-
} | {
|
|
75
|
-
data: infer S;
|
|
76
|
-
error: null;
|
|
77
77
|
} ? S : Res : never;
|
|
78
78
|
isPending: boolean;
|
|
79
79
|
error: BetterFetchError | null;
|
|
@@ -83,15 +83,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
83
83
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
84
84
|
getSession: () => Promise<infer Res>;
|
|
85
85
|
} ? Res extends {
|
|
86
|
+
data: infer S;
|
|
87
|
+
error: null;
|
|
88
|
+
} | {
|
|
86
89
|
data: null;
|
|
87
90
|
error: {
|
|
88
91
|
message?: string | undefined;
|
|
89
92
|
status: number;
|
|
90
93
|
statusText: string;
|
|
91
94
|
};
|
|
92
|
-
} | {
|
|
93
|
-
data: infer S;
|
|
94
|
-
error: null;
|
|
95
95
|
} ? S : Res : never>;
|
|
96
96
|
};
|
|
97
97
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -102,13 +102,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
102
102
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
103
103
|
};
|
|
104
104
|
})[];
|
|
105
|
-
redirect?: RequestRedirect;
|
|
106
105
|
method: string;
|
|
107
106
|
headers?: (HeadersInit & (HeadersInit | {
|
|
108
107
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
109
108
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
110
109
|
authorization: "Bearer" | "Basic";
|
|
111
110
|
})) | undefined;
|
|
111
|
+
redirect?: RequestRedirect;
|
|
112
112
|
cache?: RequestCache;
|
|
113
113
|
credentials?: RequestCredentials;
|
|
114
114
|
integrity?: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
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.DcwXW4BB.cjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.cjs';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.1M3xAdJC.cjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.VwFr4owi.cjs';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'better-sqlite3';
|
|
14
14
|
import 'bun:sqlite';
|
|
@@ -21,15 +21,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
21
21
|
data: InferClientAPI<Option> extends {
|
|
22
22
|
getSession: () => Promise<infer Res>;
|
|
23
23
|
} ? Res extends {
|
|
24
|
-
data: infer S;
|
|
25
|
-
error: null;
|
|
26
|
-
} | {
|
|
27
24
|
data: null;
|
|
28
25
|
error: {
|
|
29
26
|
message?: string | undefined;
|
|
30
27
|
status: number;
|
|
31
28
|
statusText: string;
|
|
32
29
|
};
|
|
30
|
+
} | {
|
|
31
|
+
data: infer S;
|
|
32
|
+
error: null;
|
|
33
33
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
34
34
|
isPending: boolean;
|
|
35
35
|
isRefetching: boolean;
|
|
@@ -39,15 +39,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
39
39
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
40
40
|
getSession: () => Promise<infer Res>;
|
|
41
41
|
} ? Res extends {
|
|
42
|
-
data: infer S;
|
|
43
|
-
error: null;
|
|
44
|
-
} | {
|
|
45
42
|
data: null;
|
|
46
43
|
error: {
|
|
47
44
|
message?: string | undefined;
|
|
48
45
|
status: number;
|
|
49
46
|
statusText: string;
|
|
50
47
|
};
|
|
48
|
+
} | {
|
|
49
|
+
data: infer S;
|
|
50
|
+
error: null;
|
|
51
51
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
52
52
|
};
|
|
53
53
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -58,13 +58,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
58
58
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
59
59
|
};
|
|
60
60
|
})[];
|
|
61
|
-
redirect?: RequestRedirect;
|
|
62
61
|
method: string;
|
|
63
62
|
headers?: (HeadersInit & (HeadersInit | {
|
|
64
63
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
65
64
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
66
65
|
authorization: "Bearer" | "Basic";
|
|
67
66
|
})) | undefined;
|
|
67
|
+
redirect?: RequestRedirect;
|
|
68
68
|
cache?: RequestCache;
|
|
69
69
|
credentials?: RequestCredentials;
|
|
70
70
|
integrity?: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
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.CJ2ZGyoL.mjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.mjs';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DWRzwPcP.mjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.kvIPfj9F.mjs';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'better-sqlite3';
|
|
14
14
|
import 'bun:sqlite';
|
|
@@ -21,15 +21,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
21
21
|
data: InferClientAPI<Option> extends {
|
|
22
22
|
getSession: () => Promise<infer Res>;
|
|
23
23
|
} ? Res extends {
|
|
24
|
-
data: infer S;
|
|
25
|
-
error: null;
|
|
26
|
-
} | {
|
|
27
24
|
data: null;
|
|
28
25
|
error: {
|
|
29
26
|
message?: string | undefined;
|
|
30
27
|
status: number;
|
|
31
28
|
statusText: string;
|
|
32
29
|
};
|
|
30
|
+
} | {
|
|
31
|
+
data: infer S;
|
|
32
|
+
error: null;
|
|
33
33
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
34
34
|
isPending: boolean;
|
|
35
35
|
isRefetching: boolean;
|
|
@@ -39,15 +39,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
39
39
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
40
40
|
getSession: () => Promise<infer Res>;
|
|
41
41
|
} ? Res extends {
|
|
42
|
-
data: infer S;
|
|
43
|
-
error: null;
|
|
44
|
-
} | {
|
|
45
42
|
data: null;
|
|
46
43
|
error: {
|
|
47
44
|
message?: string | undefined;
|
|
48
45
|
status: number;
|
|
49
46
|
statusText: string;
|
|
50
47
|
};
|
|
48
|
+
} | {
|
|
49
|
+
data: infer S;
|
|
50
|
+
error: null;
|
|
51
51
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
52
52
|
};
|
|
53
53
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -58,13 +58,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
58
58
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
59
59
|
};
|
|
60
60
|
})[];
|
|
61
|
-
redirect?: RequestRedirect;
|
|
62
61
|
method: string;
|
|
63
62
|
headers?: (HeadersInit & (HeadersInit | {
|
|
64
63
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
65
64
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
66
65
|
authorization: "Bearer" | "Basic";
|
|
67
66
|
})) | undefined;
|
|
67
|
+
redirect?: RequestRedirect;
|
|
68
68
|
cache?: RequestCache;
|
|
69
69
|
credentials?: RequestCredentials;
|
|
70
70
|
integrity?: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
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.bHQlVztX.js';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.js';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.Bc-1Su7g.js';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.D9z1x8va.js';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'better-sqlite3';
|
|
14
14
|
import 'bun:sqlite';
|
|
@@ -21,15 +21,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
21
21
|
data: InferClientAPI<Option> extends {
|
|
22
22
|
getSession: () => Promise<infer Res>;
|
|
23
23
|
} ? Res extends {
|
|
24
|
-
data: infer S;
|
|
25
|
-
error: null;
|
|
26
|
-
} | {
|
|
27
24
|
data: null;
|
|
28
25
|
error: {
|
|
29
26
|
message?: string | undefined;
|
|
30
27
|
status: number;
|
|
31
28
|
statusText: string;
|
|
32
29
|
};
|
|
30
|
+
} | {
|
|
31
|
+
data: infer S;
|
|
32
|
+
error: null;
|
|
33
33
|
} ? S : Res extends Record<string, any> ? Res : never : never;
|
|
34
34
|
isPending: boolean;
|
|
35
35
|
isRefetching: boolean;
|
|
@@ -39,15 +39,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
39
39
|
Session: NonNullable<InferClientAPI<Option> extends {
|
|
40
40
|
getSession: () => Promise<infer Res>;
|
|
41
41
|
} ? Res extends {
|
|
42
|
-
data: infer S;
|
|
43
|
-
error: null;
|
|
44
|
-
} | {
|
|
45
42
|
data: null;
|
|
46
43
|
error: {
|
|
47
44
|
message?: string | undefined;
|
|
48
45
|
status: number;
|
|
49
46
|
statusText: string;
|
|
50
47
|
};
|
|
48
|
+
} | {
|
|
49
|
+
data: infer S;
|
|
50
|
+
error: null;
|
|
51
51
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
52
52
|
};
|
|
53
53
|
$fetch: _better_fetch_fetch.BetterFetch<{
|
|
@@ -58,13 +58,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
58
58
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
59
59
|
};
|
|
60
60
|
})[];
|
|
61
|
-
redirect?: RequestRedirect;
|
|
62
61
|
method: string;
|
|
63
62
|
headers?: (HeadersInit & (HeadersInit | {
|
|
64
63
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
65
64
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
66
65
|
authorization: "Bearer" | "Basic";
|
|
67
66
|
})) | undefined;
|
|
67
|
+
redirect?: RequestRedirect;
|
|
68
68
|
cache?: RequestCache;
|
|
69
69
|
credentials?: RequestCredentials;
|
|
70
70
|
integrity?: string;
|
|
@@ -4,12 +4,12 @@ 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.DcwXW4BB.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.1M3xAdJC.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.VwFr4owi.cjs';
|
|
13
13
|
import 'kysely';
|
|
14
14
|
import 'better-sqlite3';
|
|
15
15
|
import 'bun:sqlite';
|
|
@@ -44,13 +44,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
44
44
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
45
45
|
};
|
|
46
46
|
})[];
|
|
47
|
-
redirect?: RequestRedirect;
|
|
48
47
|
method: string;
|
|
49
48
|
headers?: (HeadersInit & (HeadersInit | {
|
|
50
49
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
51
50
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
52
51
|
authorization: "Bearer" | "Basic";
|
|
53
52
|
})) | undefined;
|
|
53
|
+
redirect?: RequestRedirect;
|
|
54
54
|
cache?: RequestCache;
|
|
55
55
|
credentials?: RequestCredentials;
|
|
56
56
|
integrity?: string;
|
|
@@ -4,12 +4,12 @@ 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.CJ2ZGyoL.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.mjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DWRzwPcP.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.kvIPfj9F.mjs';
|
|
13
13
|
import 'kysely';
|
|
14
14
|
import 'better-sqlite3';
|
|
15
15
|
import 'bun:sqlite';
|
|
@@ -44,13 +44,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
44
44
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
45
45
|
};
|
|
46
46
|
})[];
|
|
47
|
-
redirect?: RequestRedirect;
|
|
48
47
|
method: string;
|
|
49
48
|
headers?: (HeadersInit & (HeadersInit | {
|
|
50
49
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
51
50
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
52
51
|
authorization: "Bearer" | "Basic";
|
|
53
52
|
})) | undefined;
|
|
53
|
+
redirect?: RequestRedirect;
|
|
54
54
|
cache?: RequestCache;
|
|
55
55
|
credentials?: RequestCredentials;
|
|
56
56
|
integrity?: string;
|
|
@@ -4,12 +4,12 @@ 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.bHQlVztX.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.js';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.Bc-1Su7g.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.D9z1x8va.js';
|
|
13
13
|
import 'kysely';
|
|
14
14
|
import 'better-sqlite3';
|
|
15
15
|
import 'bun:sqlite';
|
|
@@ -44,13 +44,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
44
44
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
45
45
|
};
|
|
46
46
|
})[];
|
|
47
|
-
redirect?: RequestRedirect;
|
|
48
47
|
method: string;
|
|
49
48
|
headers?: (HeadersInit & (HeadersInit | {
|
|
50
49
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
51
50
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
52
51
|
authorization: "Bearer" | "Basic";
|
|
53
52
|
})) | undefined;
|
|
53
|
+
redirect?: RequestRedirect;
|
|
54
54
|
cache?: RequestCache;
|
|
55
55
|
credentials?: RequestCredentials;
|
|
56
56
|
integrity?: string;
|
|
@@ -4,12 +4,12 @@ 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.DcwXW4BB.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.cjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.1M3xAdJC.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.VwFr4owi.cjs';
|
|
13
13
|
import 'kysely';
|
|
14
14
|
import 'better-sqlite3';
|
|
15
15
|
import 'bun:sqlite';
|
|
@@ -82,13 +82,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
82
82
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
83
83
|
};
|
|
84
84
|
})[];
|
|
85
|
-
redirect?: RequestRedirect;
|
|
86
85
|
method: string;
|
|
87
86
|
headers?: (HeadersInit & (HeadersInit | {
|
|
88
87
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
89
88
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
90
89
|
authorization: "Bearer" | "Basic";
|
|
91
90
|
})) | undefined;
|
|
91
|
+
redirect?: RequestRedirect;
|
|
92
92
|
cache?: RequestCache;
|
|
93
93
|
credentials?: RequestCredentials;
|
|
94
94
|
integrity?: string;
|
|
@@ -4,12 +4,12 @@ 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.CJ2ZGyoL.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.mjs';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DWRzwPcP.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.kvIPfj9F.mjs';
|
|
13
13
|
import 'kysely';
|
|
14
14
|
import 'better-sqlite3';
|
|
15
15
|
import 'bun:sqlite';
|
|
@@ -82,13 +82,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
82
82
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
83
83
|
};
|
|
84
84
|
})[];
|
|
85
|
-
redirect?: RequestRedirect;
|
|
86
85
|
method: string;
|
|
87
86
|
headers?: (HeadersInit & (HeadersInit | {
|
|
88
87
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
89
88
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
90
89
|
authorization: "Bearer" | "Basic";
|
|
91
90
|
})) | undefined;
|
|
91
|
+
redirect?: RequestRedirect;
|
|
92
92
|
cache?: RequestCache;
|
|
93
93
|
credentials?: RequestCredentials;
|
|
94
94
|
integrity?: string;
|
|
@@ -4,12 +4,12 @@ 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.bHQlVztX.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.js';
|
|
9
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.Bc-1Su7g.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.D9z1x8va.js';
|
|
13
13
|
import 'kysely';
|
|
14
14
|
import 'better-sqlite3';
|
|
15
15
|
import 'bun:sqlite';
|
|
@@ -82,13 +82,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
82
82
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
83
83
|
};
|
|
84
84
|
})[];
|
|
85
|
-
redirect?: RequestRedirect;
|
|
86
85
|
method: string;
|
|
87
86
|
headers?: (HeadersInit & (HeadersInit | {
|
|
88
87
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
89
88
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
90
89
|
authorization: "Bearer" | "Basic";
|
|
91
90
|
})) | undefined;
|
|
91
|
+
redirect?: RequestRedirect;
|
|
92
92
|
cache?: RequestCache;
|
|
93
93
|
credentials?: RequestCredentials;
|
|
94
94
|
integrity?: string;
|
package/dist/cookies/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { ay as BetterAuthCookies, aD as EligibleCookies, aw as createCookieGetter, aB as deleteSessionCookie, aF as getCookieCache, ax as getCookies, aE as getSessionCookie, aC as parseCookies, aG as parseSetCookieHeader, az as setCookieCache, D as setCookieToHeader, aA as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { ay as BetterAuthCookies, aD as EligibleCookies, aw as createCookieGetter, aB as deleteSessionCookie, aF as getCookieCache, ax as getCookies, aE as getSessionCookie, aC as parseCookies, aG as parseSetCookieHeader, az as setCookieCache, D as setCookieToHeader, aA as setSessionCookie } from '../shared/better-auth.1M3xAdJC.cjs';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.VwFr4owi.cjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'bun:sqlite';
|
package/dist/cookies/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { ay as BetterAuthCookies, aD as EligibleCookies, aw as createCookieGetter, aB as deleteSessionCookie, aF as getCookieCache, ax as getCookies, aE as getSessionCookie, aC as parseCookies, aG as parseSetCookieHeader, az as setCookieCache, D as setCookieToHeader, aA as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { ay as BetterAuthCookies, aD as EligibleCookies, aw as createCookieGetter, aB as deleteSessionCookie, aF as getCookieCache, ax as getCookies, aE as getSessionCookie, aC as parseCookies, aG as parseSetCookieHeader, az as setCookieCache, D as setCookieToHeader, aA as setSessionCookie } from '../shared/better-auth.DWRzwPcP.mjs';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.kvIPfj9F.mjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'bun:sqlite';
|
package/dist/cookies/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'better-call';
|
|
2
|
-
export { ay as BetterAuthCookies, aD as EligibleCookies, aw as createCookieGetter, aB as deleteSessionCookie, aF as getCookieCache, ax as getCookies, aE as getSessionCookie, aC as parseCookies, aG as parseSetCookieHeader, az as setCookieCache, D as setCookieToHeader, aA as setSessionCookie } from '../shared/better-auth.
|
|
2
|
+
export { ay as BetterAuthCookies, aD as EligibleCookies, aw as createCookieGetter, aB as deleteSessionCookie, aF as getCookieCache, ax as getCookies, aE as getSessionCookie, aC as parseCookies, aG as parseSetCookieHeader, az as setCookieCache, D as setCookieToHeader, aA as setSessionCookie } from '../shared/better-auth.Bc-1Su7g.js';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.D9z1x8va.js';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'bun:sqlite';
|