@intlayer/design-system 7.1.0 → 7.1.1-canary.0
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/esm/components/Container/index.mjs +3 -4
- package/dist/esm/components/Container/index.mjs.map +1 -1
- package/dist/esm/components/Input/Input.mjs +5 -6
- package/dist/esm/components/Input/Input.mjs.map +1 -1
- package/dist/esm/components/Input/InputPassword.mjs +1 -0
- package/dist/esm/components/Input/InputPassword.mjs.map +1 -1
- package/dist/esm/components/Input/OTPInput.mjs +2 -2
- package/dist/esm/components/Input/OTPInput.mjs.map +1 -1
- package/dist/esm/components/TextArea/AutoSizeTextArea.mjs +1 -1
- package/dist/esm/components/TextArea/AutoSizeTextArea.mjs.map +1 -1
- package/dist/types/components/Badge/index.d.ts +2 -2
- package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +3 -3
- package/dist/types/components/Breadcrumb/index.d.ts +2 -2
- package/dist/types/components/Browser/Browser.content.d.ts +11 -11
- package/dist/types/components/Button/Button.d.ts +2 -2
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +2 -2
- package/dist/types/components/Command/index.d.ts +20 -20
- package/dist/types/components/Container/index.d.ts +6 -6
- package/dist/types/components/Container/index.d.ts.map +1 -1
- package/dist/types/components/CopyButton/CopyButton.content.d.ts +3 -3
- package/dist/types/components/CopyButton/CopyButton.content.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +9 -9
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +33 -33
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +33 -33
- package/dist/types/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +9 -9
- package/dist/types/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +7 -7
- package/dist/types/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +5 -5
- package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +31 -31
- package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +3 -3
- package/dist/types/components/Form/FormBase.d.ts +2 -2
- package/dist/types/components/Form/FormBase.d.ts.map +1 -1
- package/dist/types/components/Form/FormField.d.ts +2 -2
- package/dist/types/components/Form/FormItem.d.ts +2 -2
- package/dist/types/components/Form/FormItem.d.ts.map +1 -1
- package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts +2 -2
- package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts +2 -2
- package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/FormElement.d.ts +2 -2
- package/dist/types/components/Form/elements/FormElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/MultiselectElement.d.ts +2 -2
- package/dist/types/components/Form/elements/MultiselectElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/OTPElement.d.ts +2 -2
- package/dist/types/components/Form/elements/OTPElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/SelectElement.d.ts +2 -2
- package/dist/types/components/Form/elements/SelectElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts +2 -2
- package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts.map +1 -1
- package/dist/types/components/IDE/CodeContext.d.ts +2 -2
- package/dist/types/components/IDE/CodeContext.d.ts.map +1 -1
- package/dist/types/components/IDE/FileTree.d.ts.map +1 -1
- package/dist/types/components/IDE/code.content.d.ts +5 -5
- package/dist/types/components/IDE/copyCode.content.d.ts +5 -5
- package/dist/types/components/IDE/copyCode.content.d.ts.map +1 -1
- package/dist/types/components/Input/Checkbox.d.ts +3 -3
- package/dist/types/components/Input/Checkbox.d.ts.map +1 -1
- package/dist/types/components/Input/Input.d.ts +1 -1
- package/dist/types/components/Input/Input.d.ts.map +1 -1
- package/dist/types/components/Input/OTPInput.d.ts +6 -6
- package/dist/types/components/Input/OTPInput.d.ts.map +1 -1
- package/dist/types/components/Input/SearchInput.d.ts +2 -2
- package/dist/types/components/Input/SearchInput.d.ts.map +1 -1
- package/dist/types/components/Loader/index.content.d.ts +3 -3
- package/dist/types/components/Loader/index.content.d.ts.map +1 -1
- package/dist/types/components/Loader/spinner.d.ts +2 -2
- package/dist/types/components/Loader/spinner.d.ts.map +1 -1
- package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +17 -17
- package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts.map +1 -1
- package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +13 -13
- package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -1
- package/dist/types/components/MaxWidthSmoother/index.d.ts +2 -2
- package/dist/types/components/Navbar/Burger.d.ts +2 -2
- package/dist/types/components/Navbar/DesktopNavbar.d.ts +2 -2
- package/dist/types/components/Navbar/DesktopNavbar.d.ts.map +1 -1
- package/dist/types/components/Navbar/MobileNavbar.d.ts +2 -2
- package/dist/types/components/Navbar/MobileNavbar.d.ts.map +1 -1
- package/dist/types/components/Navbar/index.d.ts +2 -2
- package/dist/types/components/Navbar/index.d.ts.map +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts +2 -2
- package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/types/components/Pagination/pagination.content.d.ts +11 -11
- package/dist/types/components/Popover/static.d.ts +3 -3
- package/dist/types/components/Select/Select.d.ts +3 -3
- package/dist/types/components/SocialNetworks/index.d.ts +2 -2
- package/dist/types/components/SwitchSelector/index.d.ts +5 -5
- package/dist/types/components/SwitchSelector/index.d.ts.map +1 -1
- package/dist/types/components/Tab/Tab.d.ts +5 -5
- package/dist/types/components/Tab/TabContext.d.ts +2 -2
- package/dist/types/components/TabSelector/TabSelector.d.ts +2 -2
- package/dist/types/components/Table/table.content.d.ts +3 -3
- package/dist/types/components/Table/table.content.d.ts.map +1 -1
- package/dist/types/components/Tag/index.d.ts +2 -2
- package/dist/types/components/Tag/index.d.ts.map +1 -1
- package/dist/types/components/Toaster/Toast.d.ts +2 -2
- package/dist/types/components/Toaster/Toast.d.ts.map +1 -1
- package/dist/types/components/Toaster/Toaster.d.ts +2 -2
- package/dist/types/hooks/reactQuery.d.ts +149 -149
- package/dist/types/hooks/reactQuery.d.ts.map +1 -1
- package/dist/types/hooks/useAuth/useOAuth2.d.ts +2 -2
- package/dist/types/hooks/useScrollY.d.ts.map +1 -1
- package/dist/types/hooks/useUser/index.d.ts +3 -3
- package/dist/types/libs/auth.d.ts +536 -536
- package/dist/types/libs/auth.d.ts.map +1 -1
- package/package.json +27 -28
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IntlayerConfig } from "@intlayer/types";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _better_fetch_fetch0 from "@better-fetch/fetch";
|
|
3
|
+
import * as better_auth0 from "better-auth";
|
|
4
4
|
import * as inspector0 from "inspector";
|
|
5
5
|
import * as better_auth_plugins_passkey0 from "better-auth/plugins/passkey";
|
|
6
6
|
import * as nanostores0 from "nanostores";
|
|
@@ -10,11 +10,11 @@ import * as _simplewebauthn_server0 from "@simplewebauthn/server";
|
|
|
10
10
|
declare const getAuthClient: (backendURL: string) => {
|
|
11
11
|
useListPasskeys: nanostores0.PreinitializedWritableAtom<{
|
|
12
12
|
data: better_auth_plugins_passkey0.Passkey[] | null;
|
|
13
|
-
error: null |
|
|
13
|
+
error: null | _better_fetch_fetch0.BetterFetchError;
|
|
14
14
|
isPending: boolean;
|
|
15
15
|
isRefetching: boolean;
|
|
16
16
|
refetch: (queryParams?: {
|
|
17
|
-
query?:
|
|
17
|
+
query?: better_auth0.SessionQueryParams;
|
|
18
18
|
} | undefined) => void;
|
|
19
19
|
}> & object;
|
|
20
20
|
} & {
|
|
@@ -37,17 +37,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
37
37
|
referrerPolicy?: ReferrerPolicy;
|
|
38
38
|
signal?: AbortSignal | null;
|
|
39
39
|
window?: null;
|
|
40
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
41
|
-
onResponse?: (context:
|
|
42
|
-
onSuccess?: (context:
|
|
43
|
-
onError?: (context:
|
|
44
|
-
onRetry?: (response:
|
|
40
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
41
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
42
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
43
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
44
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
45
45
|
hookOptions?: {
|
|
46
46
|
cloneResponse?: boolean;
|
|
47
47
|
};
|
|
48
48
|
timeout?: number;
|
|
49
|
-
customFetchImpl?:
|
|
50
|
-
plugins?:
|
|
49
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
50
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
51
51
|
baseURL?: string;
|
|
52
52
|
throw?: boolean;
|
|
53
53
|
auth?: {
|
|
@@ -70,17 +70,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
70
70
|
params?: Record<string, any>;
|
|
71
71
|
duplex?: "full" | "half";
|
|
72
72
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
73
|
-
retry?:
|
|
73
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
74
74
|
retryAttempt?: number;
|
|
75
|
-
output?:
|
|
76
|
-
errorSchema?:
|
|
75
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
76
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
77
77
|
disableValidation?: boolean;
|
|
78
|
-
}>(data_0:
|
|
78
|
+
}>(data_0: better_auth0.Prettify<{
|
|
79
79
|
password: string;
|
|
80
80
|
issuer?: string | undefined;
|
|
81
81
|
} & {
|
|
82
82
|
fetchOptions?: FetchOptions;
|
|
83
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
83
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
84
84
|
totpURI: string;
|
|
85
85
|
backupCodes: string[];
|
|
86
86
|
}, {
|
|
@@ -108,17 +108,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
108
108
|
referrerPolicy?: ReferrerPolicy;
|
|
109
109
|
signal?: AbortSignal | null;
|
|
110
110
|
window?: null;
|
|
111
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
112
|
-
onResponse?: (context:
|
|
113
|
-
onSuccess?: (context:
|
|
114
|
-
onError?: (context:
|
|
115
|
-
onRetry?: (response:
|
|
111
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
112
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
113
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
114
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
115
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
116
116
|
hookOptions?: {
|
|
117
117
|
cloneResponse?: boolean;
|
|
118
118
|
};
|
|
119
119
|
timeout?: number;
|
|
120
|
-
customFetchImpl?:
|
|
121
|
-
plugins?:
|
|
120
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
121
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
122
122
|
baseURL?: string;
|
|
123
123
|
throw?: boolean;
|
|
124
124
|
auth?: {
|
|
@@ -140,16 +140,16 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
140
140
|
params?: Record<string, any>;
|
|
141
141
|
duplex?: "full" | "half";
|
|
142
142
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
143
|
-
retry?:
|
|
143
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
144
144
|
retryAttempt?: number;
|
|
145
|
-
output?:
|
|
146
|
-
errorSchema?:
|
|
145
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
146
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
147
147
|
disableValidation?: boolean;
|
|
148
|
-
}>(data_0:
|
|
148
|
+
}>(data_0: better_auth0.Prettify<{
|
|
149
149
|
password: string;
|
|
150
150
|
} & {
|
|
151
151
|
fetchOptions?: FetchOptions;
|
|
152
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
152
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
153
153
|
status: boolean;
|
|
154
154
|
}, {
|
|
155
155
|
code?: string;
|
|
@@ -176,17 +176,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
176
176
|
referrerPolicy?: ReferrerPolicy;
|
|
177
177
|
signal?: AbortSignal | null;
|
|
178
178
|
window?: null;
|
|
179
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
180
|
-
onResponse?: (context:
|
|
181
|
-
onSuccess?: (context:
|
|
182
|
-
onError?: (context:
|
|
183
|
-
onRetry?: (response:
|
|
179
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
180
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
181
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
182
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
183
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
184
184
|
hookOptions?: {
|
|
185
185
|
cloneResponse?: boolean;
|
|
186
186
|
};
|
|
187
187
|
timeout?: number;
|
|
188
|
-
customFetchImpl?:
|
|
189
|
-
plugins?:
|
|
188
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
189
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
190
190
|
baseURL?: string;
|
|
191
191
|
throw?: boolean;
|
|
192
192
|
auth?: {
|
|
@@ -210,18 +210,18 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
210
210
|
params?: Record<string, any>;
|
|
211
211
|
duplex?: "full" | "half";
|
|
212
212
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
213
|
-
retry?:
|
|
213
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
214
214
|
retryAttempt?: number;
|
|
215
|
-
output?:
|
|
216
|
-
errorSchema?:
|
|
215
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
216
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
217
217
|
disableValidation?: boolean;
|
|
218
|
-
}>(data_0:
|
|
218
|
+
}>(data_0: better_auth0.Prettify<{
|
|
219
219
|
code: string;
|
|
220
220
|
disableSession?: boolean | undefined;
|
|
221
221
|
trustDevice?: boolean | undefined;
|
|
222
222
|
} & {
|
|
223
223
|
fetchOptions?: FetchOptions;
|
|
224
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
224
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
225
225
|
token: string | undefined;
|
|
226
226
|
user: {
|
|
227
227
|
id: string;
|
|
@@ -257,17 +257,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
257
257
|
referrerPolicy?: ReferrerPolicy;
|
|
258
258
|
signal?: AbortSignal | null;
|
|
259
259
|
window?: null;
|
|
260
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
261
|
-
onResponse?: (context:
|
|
262
|
-
onSuccess?: (context:
|
|
263
|
-
onError?: (context:
|
|
264
|
-
onRetry?: (response:
|
|
260
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
261
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
262
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
263
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
264
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
265
265
|
hookOptions?: {
|
|
266
266
|
cloneResponse?: boolean;
|
|
267
267
|
};
|
|
268
268
|
timeout?: number;
|
|
269
|
-
customFetchImpl?:
|
|
270
|
-
plugins?:
|
|
269
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
270
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
271
271
|
baseURL?: string;
|
|
272
272
|
throw?: boolean;
|
|
273
273
|
auth?: {
|
|
@@ -289,16 +289,16 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
289
289
|
params?: Record<string, any>;
|
|
290
290
|
duplex?: "full" | "half";
|
|
291
291
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
292
|
-
retry?:
|
|
292
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
293
293
|
retryAttempt?: number;
|
|
294
|
-
output?:
|
|
295
|
-
errorSchema?:
|
|
294
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
295
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
296
296
|
disableValidation?: boolean;
|
|
297
|
-
}>(data_0:
|
|
297
|
+
}>(data_0: better_auth0.Prettify<{
|
|
298
298
|
password: string;
|
|
299
299
|
} & {
|
|
300
300
|
fetchOptions?: FetchOptions;
|
|
301
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
301
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
302
302
|
status: boolean;
|
|
303
303
|
backupCodes: string[];
|
|
304
304
|
}, {
|
|
@@ -326,17 +326,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
326
326
|
referrerPolicy?: ReferrerPolicy;
|
|
327
327
|
signal?: AbortSignal | null;
|
|
328
328
|
window?: null;
|
|
329
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
330
|
-
onResponse?: (context:
|
|
331
|
-
onSuccess?: (context:
|
|
332
|
-
onError?: (context:
|
|
333
|
-
onRetry?: (response:
|
|
329
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
330
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
331
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
332
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
333
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
334
334
|
hookOptions?: {
|
|
335
335
|
cloneResponse?: boolean;
|
|
336
336
|
};
|
|
337
337
|
timeout?: number;
|
|
338
|
-
customFetchImpl?:
|
|
339
|
-
plugins?:
|
|
338
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
339
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
340
340
|
baseURL?: string;
|
|
341
341
|
throw?: boolean;
|
|
342
342
|
auth?: {
|
|
@@ -358,16 +358,16 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
358
358
|
params?: Record<string, any>;
|
|
359
359
|
duplex?: "full" | "half";
|
|
360
360
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
361
|
-
retry?:
|
|
361
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
362
362
|
retryAttempt?: number;
|
|
363
|
-
output?:
|
|
364
|
-
errorSchema?:
|
|
363
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
364
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
365
365
|
disableValidation?: boolean;
|
|
366
|
-
}>(data_0?:
|
|
366
|
+
}>(data_0?: better_auth0.Prettify<{
|
|
367
367
|
trustDevice?: boolean | undefined;
|
|
368
368
|
} & {
|
|
369
369
|
fetchOptions?: FetchOptions;
|
|
370
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
370
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
371
371
|
status: boolean;
|
|
372
372
|
}, {
|
|
373
373
|
code?: string;
|
|
@@ -394,17 +394,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
394
394
|
referrerPolicy?: ReferrerPolicy;
|
|
395
395
|
signal?: AbortSignal | null;
|
|
396
396
|
window?: null;
|
|
397
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
398
|
-
onResponse?: (context:
|
|
399
|
-
onSuccess?: (context:
|
|
400
|
-
onError?: (context:
|
|
401
|
-
onRetry?: (response:
|
|
397
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
398
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
399
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
400
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
401
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
402
402
|
hookOptions?: {
|
|
403
403
|
cloneResponse?: boolean;
|
|
404
404
|
};
|
|
405
405
|
timeout?: number;
|
|
406
|
-
customFetchImpl?:
|
|
407
|
-
plugins?:
|
|
406
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
407
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
408
408
|
baseURL?: string;
|
|
409
409
|
throw?: boolean;
|
|
410
410
|
auth?: {
|
|
@@ -427,17 +427,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
427
427
|
params?: Record<string, any>;
|
|
428
428
|
duplex?: "full" | "half";
|
|
429
429
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
430
|
-
retry?:
|
|
430
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
431
431
|
retryAttempt?: number;
|
|
432
|
-
output?:
|
|
433
|
-
errorSchema?:
|
|
432
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
433
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
434
434
|
disableValidation?: boolean;
|
|
435
|
-
}>(data_0:
|
|
435
|
+
}>(data_0: better_auth0.Prettify<{
|
|
436
436
|
code: string;
|
|
437
437
|
trustDevice?: boolean | undefined;
|
|
438
438
|
} & {
|
|
439
439
|
fetchOptions?: FetchOptions;
|
|
440
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
440
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
441
441
|
token: string;
|
|
442
442
|
user: {
|
|
443
443
|
id: any;
|
|
@@ -473,17 +473,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
473
473
|
referrerPolicy?: ReferrerPolicy;
|
|
474
474
|
signal?: AbortSignal | null;
|
|
475
475
|
window?: null;
|
|
476
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
477
|
-
onResponse?: (context:
|
|
478
|
-
onSuccess?: (context:
|
|
479
|
-
onError?: (context:
|
|
480
|
-
onRetry?: (response:
|
|
476
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
477
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
478
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
479
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
480
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
481
481
|
hookOptions?: {
|
|
482
482
|
cloneResponse?: boolean;
|
|
483
483
|
};
|
|
484
484
|
timeout?: number;
|
|
485
|
-
customFetchImpl?:
|
|
486
|
-
plugins?:
|
|
485
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
486
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
487
487
|
baseURL?: string;
|
|
488
488
|
throw?: boolean;
|
|
489
489
|
auth?: {
|
|
@@ -505,16 +505,16 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
505
505
|
params?: Record<string, any>;
|
|
506
506
|
duplex?: "full" | "half";
|
|
507
507
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
508
|
-
retry?:
|
|
508
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
509
509
|
retryAttempt?: number;
|
|
510
|
-
output?:
|
|
511
|
-
errorSchema?:
|
|
510
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
511
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
512
512
|
disableValidation?: boolean;
|
|
513
|
-
}>(data_0:
|
|
513
|
+
}>(data_0: better_auth0.Prettify<{
|
|
514
514
|
password: string;
|
|
515
515
|
} & {
|
|
516
516
|
fetchOptions?: FetchOptions;
|
|
517
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
517
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
518
518
|
totpURI: string;
|
|
519
519
|
}, {
|
|
520
520
|
code?: string;
|
|
@@ -541,17 +541,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
541
541
|
referrerPolicy?: ReferrerPolicy;
|
|
542
542
|
signal?: AbortSignal | null;
|
|
543
543
|
window?: null;
|
|
544
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
545
|
-
onResponse?: (context:
|
|
546
|
-
onSuccess?: (context:
|
|
547
|
-
onError?: (context:
|
|
548
|
-
onRetry?: (response:
|
|
544
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
545
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
546
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
547
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
548
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
549
549
|
hookOptions?: {
|
|
550
550
|
cloneResponse?: boolean;
|
|
551
551
|
};
|
|
552
552
|
timeout?: number;
|
|
553
|
-
customFetchImpl?:
|
|
554
|
-
plugins?:
|
|
553
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
554
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
555
555
|
baseURL?: string;
|
|
556
556
|
throw?: boolean;
|
|
557
557
|
auth?: {
|
|
@@ -574,17 +574,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
574
574
|
params?: Record<string, any>;
|
|
575
575
|
duplex?: "full" | "half";
|
|
576
576
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
577
|
-
retry?:
|
|
577
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
578
578
|
retryAttempt?: number;
|
|
579
|
-
output?:
|
|
580
|
-
errorSchema?:
|
|
579
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
580
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
581
581
|
disableValidation?: boolean;
|
|
582
|
-
}>(data_0:
|
|
582
|
+
}>(data_0: better_auth0.Prettify<{
|
|
583
583
|
code: string;
|
|
584
584
|
trustDevice?: boolean | undefined;
|
|
585
585
|
} & {
|
|
586
586
|
fetchOptions?: FetchOptions;
|
|
587
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
587
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
588
588
|
token: string;
|
|
589
589
|
user: {
|
|
590
590
|
id: string;
|
|
@@ -620,17 +620,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
620
620
|
referrerPolicy?: ReferrerPolicy;
|
|
621
621
|
signal?: AbortSignal | null;
|
|
622
622
|
window?: null;
|
|
623
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
624
|
-
onResponse?: (context:
|
|
625
|
-
onSuccess?: (context:
|
|
626
|
-
onError?: (context:
|
|
627
|
-
onRetry?: (response:
|
|
623
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
624
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
625
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
626
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
627
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
628
628
|
hookOptions?: {
|
|
629
629
|
cloneResponse?: boolean;
|
|
630
630
|
};
|
|
631
631
|
timeout?: number;
|
|
632
|
-
customFetchImpl?:
|
|
633
|
-
plugins?:
|
|
632
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
633
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
634
634
|
baseURL?: string;
|
|
635
635
|
throw?: boolean;
|
|
636
636
|
auth?: {
|
|
@@ -653,12 +653,12 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
653
653
|
params?: Record<string, any>;
|
|
654
654
|
duplex?: "full" | "half";
|
|
655
655
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
656
|
-
retry?:
|
|
656
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
657
657
|
retryAttempt?: number;
|
|
658
|
-
output?:
|
|
659
|
-
errorSchema?:
|
|
658
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
659
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
660
660
|
disableValidation?: boolean;
|
|
661
|
-
}>(data_0?:
|
|
661
|
+
}>(data_0?: better_auth0.Prettify<undefined>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<_simplewebauthn_server0.PublicKeyCredentialCreationOptionsJSON, {
|
|
662
662
|
code?: string;
|
|
663
663
|
message?: string;
|
|
664
664
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
@@ -683,17 +683,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
683
683
|
referrerPolicy?: ReferrerPolicy;
|
|
684
684
|
signal?: AbortSignal | null;
|
|
685
685
|
window?: null;
|
|
686
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
687
|
-
onResponse?: (context:
|
|
688
|
-
onSuccess?: (context:
|
|
689
|
-
onError?: (context:
|
|
690
|
-
onRetry?: (response:
|
|
686
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
687
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
688
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
689
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
690
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
691
691
|
hookOptions?: {
|
|
692
692
|
cloneResponse?: boolean;
|
|
693
693
|
};
|
|
694
694
|
timeout?: number;
|
|
695
|
-
customFetchImpl?:
|
|
696
|
-
plugins?:
|
|
695
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
696
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
697
697
|
baseURL?: string;
|
|
698
698
|
throw?: boolean;
|
|
699
699
|
auth?: {
|
|
@@ -713,12 +713,12 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
713
713
|
params?: Record<string, any>;
|
|
714
714
|
duplex?: "full" | "half";
|
|
715
715
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
716
|
-
retry?:
|
|
716
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
717
717
|
retryAttempt?: number;
|
|
718
|
-
output?:
|
|
719
|
-
errorSchema?:
|
|
718
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
719
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
720
720
|
disableValidation?: boolean;
|
|
721
|
-
}>(data_0?:
|
|
721
|
+
}>(data_0?: better_auth0.Prettify<undefined>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<_simplewebauthn_server0.PublicKeyCredentialRequestOptionsJSON, {
|
|
722
722
|
code?: string;
|
|
723
723
|
message?: string;
|
|
724
724
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
@@ -743,17 +743,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
743
743
|
referrerPolicy?: ReferrerPolicy;
|
|
744
744
|
signal?: AbortSignal | null;
|
|
745
745
|
window?: null;
|
|
746
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
747
|
-
onResponse?: (context:
|
|
748
|
-
onSuccess?: (context:
|
|
749
|
-
onError?: (context:
|
|
750
|
-
onRetry?: (response:
|
|
746
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
747
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
748
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
749
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
750
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
751
751
|
hookOptions?: {
|
|
752
752
|
cloneResponse?: boolean;
|
|
753
753
|
};
|
|
754
754
|
timeout?: number;
|
|
755
|
-
customFetchImpl?:
|
|
756
|
-
plugins?:
|
|
755
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
756
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
757
757
|
baseURL?: string;
|
|
758
758
|
throw?: boolean;
|
|
759
759
|
auth?: {
|
|
@@ -776,17 +776,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
776
776
|
params?: Record<string, any>;
|
|
777
777
|
duplex?: "full" | "half";
|
|
778
778
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
779
|
-
retry?:
|
|
779
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
780
780
|
retryAttempt?: number;
|
|
781
|
-
output?:
|
|
782
|
-
errorSchema?:
|
|
781
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
782
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
783
783
|
disableValidation?: boolean;
|
|
784
|
-
}>(data_0:
|
|
784
|
+
}>(data_0: better_auth0.Prettify<{
|
|
785
785
|
response: any;
|
|
786
786
|
name?: string | undefined;
|
|
787
787
|
} & {
|
|
788
788
|
fetchOptions?: FetchOptions;
|
|
789
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
789
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<better_auth_plugins_passkey0.Passkey, {
|
|
790
790
|
code?: string;
|
|
791
791
|
message?: string;
|
|
792
792
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
@@ -811,17 +811,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
811
811
|
referrerPolicy?: ReferrerPolicy;
|
|
812
812
|
signal?: AbortSignal | null;
|
|
813
813
|
window?: null;
|
|
814
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
815
|
-
onResponse?: (context:
|
|
816
|
-
onSuccess?: (context:
|
|
817
|
-
onError?: (context:
|
|
818
|
-
onRetry?: (response:
|
|
814
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
815
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
816
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
817
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
818
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
819
819
|
hookOptions?: {
|
|
820
820
|
cloneResponse?: boolean;
|
|
821
821
|
};
|
|
822
822
|
timeout?: number;
|
|
823
|
-
customFetchImpl?:
|
|
824
|
-
plugins?:
|
|
823
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
824
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
825
825
|
baseURL?: string;
|
|
826
826
|
throw?: boolean;
|
|
827
827
|
auth?: {
|
|
@@ -843,16 +843,16 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
843
843
|
params?: Record<string, any>;
|
|
844
844
|
duplex?: "full" | "half";
|
|
845
845
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
846
|
-
retry?:
|
|
846
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
847
847
|
retryAttempt?: number;
|
|
848
|
-
output?:
|
|
849
|
-
errorSchema?:
|
|
848
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
849
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
850
850
|
disableValidation?: boolean;
|
|
851
|
-
}>(data_0:
|
|
851
|
+
}>(data_0: better_auth0.Prettify<{
|
|
852
852
|
response: _simplewebauthn_server0.AuthenticationResponseJSON;
|
|
853
853
|
} & {
|
|
854
854
|
fetchOptions?: FetchOptions;
|
|
855
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
855
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
856
856
|
session: {
|
|
857
857
|
id: string;
|
|
858
858
|
createdAt: Date;
|
|
@@ -888,17 +888,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
888
888
|
referrerPolicy?: ReferrerPolicy;
|
|
889
889
|
signal?: AbortSignal | null;
|
|
890
890
|
window?: null;
|
|
891
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
892
|
-
onResponse?: (context:
|
|
893
|
-
onSuccess?: (context:
|
|
894
|
-
onError?: (context:
|
|
895
|
-
onRetry?: (response:
|
|
891
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
892
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
893
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
894
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
895
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
896
896
|
hookOptions?: {
|
|
897
897
|
cloneResponse?: boolean;
|
|
898
898
|
};
|
|
899
899
|
timeout?: number;
|
|
900
|
-
customFetchImpl?:
|
|
901
|
-
plugins?:
|
|
900
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
901
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
902
902
|
baseURL?: string;
|
|
903
903
|
throw?: boolean;
|
|
904
904
|
auth?: {
|
|
@@ -918,12 +918,12 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
918
918
|
params?: Record<string, any>;
|
|
919
919
|
duplex?: "full" | "half";
|
|
920
920
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
921
|
-
retry?:
|
|
921
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
922
922
|
retryAttempt?: number;
|
|
923
|
-
output?:
|
|
924
|
-
errorSchema?:
|
|
923
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
924
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
925
925
|
disableValidation?: boolean;
|
|
926
|
-
}>(data_0?:
|
|
926
|
+
}>(data_0?: better_auth0.Prettify<undefined>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<better_auth_plugins_passkey0.Passkey[], {
|
|
927
927
|
code?: string;
|
|
928
928
|
message?: string;
|
|
929
929
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
@@ -948,17 +948,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
948
948
|
referrerPolicy?: ReferrerPolicy;
|
|
949
949
|
signal?: AbortSignal | null;
|
|
950
950
|
window?: null;
|
|
951
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
952
|
-
onResponse?: (context:
|
|
953
|
-
onSuccess?: (context:
|
|
954
|
-
onError?: (context:
|
|
955
|
-
onRetry?: (response:
|
|
951
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
952
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
953
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
954
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
955
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
956
956
|
hookOptions?: {
|
|
957
957
|
cloneResponse?: boolean;
|
|
958
958
|
};
|
|
959
959
|
timeout?: number;
|
|
960
|
-
customFetchImpl?:
|
|
961
|
-
plugins?:
|
|
960
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
961
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
962
962
|
baseURL?: string;
|
|
963
963
|
throw?: boolean;
|
|
964
964
|
auth?: {
|
|
@@ -980,16 +980,16 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
980
980
|
params?: Record<string, any>;
|
|
981
981
|
duplex?: "full" | "half";
|
|
982
982
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
983
|
-
retry?:
|
|
983
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
984
984
|
retryAttempt?: number;
|
|
985
|
-
output?:
|
|
986
|
-
errorSchema?:
|
|
985
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
986
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
987
987
|
disableValidation?: boolean;
|
|
988
|
-
}>(data_0:
|
|
988
|
+
}>(data_0: better_auth0.Prettify<{
|
|
989
989
|
id: string;
|
|
990
990
|
} & {
|
|
991
991
|
fetchOptions?: FetchOptions;
|
|
992
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
992
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<never, {
|
|
993
993
|
code?: string;
|
|
994
994
|
message?: string;
|
|
995
995
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
@@ -1014,17 +1014,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1014
1014
|
referrerPolicy?: ReferrerPolicy;
|
|
1015
1015
|
signal?: AbortSignal | null;
|
|
1016
1016
|
window?: null;
|
|
1017
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
1018
|
-
onResponse?: (context:
|
|
1019
|
-
onSuccess?: (context:
|
|
1020
|
-
onError?: (context:
|
|
1021
|
-
onRetry?: (response:
|
|
1017
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
1018
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
1019
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
1020
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
1021
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
1022
1022
|
hookOptions?: {
|
|
1023
1023
|
cloneResponse?: boolean;
|
|
1024
1024
|
};
|
|
1025
1025
|
timeout?: number;
|
|
1026
|
-
customFetchImpl?:
|
|
1027
|
-
plugins?:
|
|
1026
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
1027
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
1028
1028
|
baseURL?: string;
|
|
1029
1029
|
throw?: boolean;
|
|
1030
1030
|
auth?: {
|
|
@@ -1047,17 +1047,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1047
1047
|
params?: Record<string, any>;
|
|
1048
1048
|
duplex?: "full" | "half";
|
|
1049
1049
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
1050
|
-
retry?:
|
|
1050
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
1051
1051
|
retryAttempt?: number;
|
|
1052
|
-
output?:
|
|
1053
|
-
errorSchema?:
|
|
1052
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1053
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
1054
1054
|
disableValidation?: boolean;
|
|
1055
|
-
}>(data_0:
|
|
1055
|
+
}>(data_0: better_auth0.Prettify<{
|
|
1056
1056
|
id: string;
|
|
1057
1057
|
name: string;
|
|
1058
1058
|
} & {
|
|
1059
1059
|
fetchOptions?: FetchOptions;
|
|
1060
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
1060
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
1061
1061
|
passkey: better_auth_plugins_passkey0.Passkey;
|
|
1062
1062
|
}, {
|
|
1063
1063
|
code?: string;
|
|
@@ -1084,17 +1084,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1084
1084
|
referrerPolicy?: ReferrerPolicy;
|
|
1085
1085
|
signal?: AbortSignal | null;
|
|
1086
1086
|
window?: null;
|
|
1087
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
1088
|
-
onResponse?: (context:
|
|
1089
|
-
onSuccess?: (context:
|
|
1090
|
-
onError?: (context:
|
|
1091
|
-
onRetry?: (response:
|
|
1087
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
1088
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
1089
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
1090
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
1091
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
1092
1092
|
hookOptions?: {
|
|
1093
1093
|
cloneResponse?: boolean;
|
|
1094
1094
|
};
|
|
1095
1095
|
timeout?: number;
|
|
1096
|
-
customFetchImpl?:
|
|
1097
|
-
plugins?:
|
|
1096
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
1097
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
1098
1098
|
baseURL?: string;
|
|
1099
1099
|
throw?: boolean;
|
|
1100
1100
|
auth?: {
|
|
@@ -1120,12 +1120,12 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1120
1120
|
params?: Record<string, any>;
|
|
1121
1121
|
duplex?: "full" | "half";
|
|
1122
1122
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
1123
|
-
retry?:
|
|
1123
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
1124
1124
|
retryAttempt?: number;
|
|
1125
|
-
output?:
|
|
1126
|
-
errorSchema?:
|
|
1125
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1126
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
1127
1127
|
disableValidation?: boolean;
|
|
1128
|
-
}>(data_0:
|
|
1128
|
+
}>(data_0: better_auth0.Prettify<{
|
|
1129
1129
|
email: string;
|
|
1130
1130
|
name?: string | undefined;
|
|
1131
1131
|
callbackURL?: string | undefined;
|
|
@@ -1133,7 +1133,7 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1133
1133
|
errorCallbackURL?: string | undefined;
|
|
1134
1134
|
} & {
|
|
1135
1135
|
fetchOptions?: FetchOptions;
|
|
1136
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
1136
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
1137
1137
|
status: boolean;
|
|
1138
1138
|
}, {
|
|
1139
1139
|
code?: string;
|
|
@@ -1160,17 +1160,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1160
1160
|
referrerPolicy?: ReferrerPolicy;
|
|
1161
1161
|
signal?: AbortSignal | null;
|
|
1162
1162
|
window?: null;
|
|
1163
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
1164
|
-
onResponse?: (context:
|
|
1165
|
-
onSuccess?: (context:
|
|
1166
|
-
onError?: (context:
|
|
1167
|
-
onRetry?: (response:
|
|
1163
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
1164
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
1165
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
1166
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
1167
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
1168
1168
|
hookOptions?: {
|
|
1169
1169
|
cloneResponse?: boolean;
|
|
1170
1170
|
};
|
|
1171
1171
|
timeout?: number;
|
|
1172
|
-
customFetchImpl?:
|
|
1173
|
-
plugins?:
|
|
1172
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
1173
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
1174
1174
|
baseURL?: string;
|
|
1175
1175
|
throw?: boolean;
|
|
1176
1176
|
auth?: {
|
|
@@ -1195,12 +1195,12 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1195
1195
|
params?: Record<string, any>;
|
|
1196
1196
|
duplex?: "full" | "half";
|
|
1197
1197
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
1198
|
-
retry?:
|
|
1198
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
1199
1199
|
retryAttempt?: number;
|
|
1200
|
-
output?:
|
|
1201
|
-
errorSchema?:
|
|
1200
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1201
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
1202
1202
|
disableValidation?: boolean;
|
|
1203
|
-
}>(data_0?:
|
|
1203
|
+
}>(data_0?: better_auth0.Prettify<undefined>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
1204
1204
|
token: string;
|
|
1205
1205
|
user: {
|
|
1206
1206
|
id: string;
|
|
@@ -1236,17 +1236,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1236
1236
|
referrerPolicy?: ReferrerPolicy;
|
|
1237
1237
|
signal?: AbortSignal | null;
|
|
1238
1238
|
window?: null;
|
|
1239
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
1240
|
-
onResponse?: (context:
|
|
1241
|
-
onSuccess?: (context:
|
|
1242
|
-
onError?: (context:
|
|
1243
|
-
onRetry?: (response:
|
|
1239
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
1240
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
1241
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
1242
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
1243
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
1244
1244
|
hookOptions?: {
|
|
1245
1245
|
cloneResponse?: boolean;
|
|
1246
1246
|
};
|
|
1247
1247
|
timeout?: number;
|
|
1248
|
-
customFetchImpl?:
|
|
1249
|
-
plugins?:
|
|
1248
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
1249
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
1250
1250
|
baseURL?: string;
|
|
1251
1251
|
throw?: boolean;
|
|
1252
1252
|
auth?: {
|
|
@@ -1282,12 +1282,12 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1282
1282
|
params?: Record<string, any>;
|
|
1283
1283
|
duplex?: "full" | "half";
|
|
1284
1284
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
1285
|
-
retry?:
|
|
1285
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
1286
1286
|
retryAttempt?: number;
|
|
1287
|
-
output?:
|
|
1288
|
-
errorSchema?:
|
|
1287
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1288
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
1289
1289
|
disableValidation?: boolean;
|
|
1290
|
-
}>(data_0:
|
|
1290
|
+
}>(data_0: better_auth0.Prettify<{
|
|
1291
1291
|
provider: unknown;
|
|
1292
1292
|
callbackURL?: string | undefined;
|
|
1293
1293
|
newUserCallbackURL?: string | undefined;
|
|
@@ -1305,7 +1305,7 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1305
1305
|
loginHint?: string | undefined;
|
|
1306
1306
|
} & {
|
|
1307
1307
|
fetchOptions?: FetchOptions;
|
|
1308
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
1308
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<NonNullable<{
|
|
1309
1309
|
redirect: boolean;
|
|
1310
1310
|
token: string;
|
|
1311
1311
|
url: undefined;
|
|
@@ -1345,17 +1345,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1345
1345
|
referrerPolicy?: ReferrerPolicy;
|
|
1346
1346
|
signal?: AbortSignal | null;
|
|
1347
1347
|
window?: null;
|
|
1348
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
1349
|
-
onResponse?: (context:
|
|
1350
|
-
onSuccess?: (context:
|
|
1351
|
-
onError?: (context:
|
|
1352
|
-
onRetry?: (response:
|
|
1348
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
1349
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
1350
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
1351
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
1352
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
1353
1353
|
hookOptions?: {
|
|
1354
1354
|
cloneResponse?: boolean;
|
|
1355
1355
|
};
|
|
1356
1356
|
timeout?: number;
|
|
1357
|
-
customFetchImpl?:
|
|
1358
|
-
plugins?:
|
|
1357
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
1358
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
1359
1359
|
baseURL?: string;
|
|
1360
1360
|
throw?: boolean;
|
|
1361
1361
|
auth?: {
|
|
@@ -1375,12 +1375,12 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1375
1375
|
params?: Record<string, any>;
|
|
1376
1376
|
duplex?: "full" | "half";
|
|
1377
1377
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
1378
|
-
retry?:
|
|
1378
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
1379
1379
|
retryAttempt?: number;
|
|
1380
|
-
output?:
|
|
1381
|
-
errorSchema?:
|
|
1380
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1381
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
1382
1382
|
disableValidation?: boolean;
|
|
1383
|
-
}>(data_0?:
|
|
1383
|
+
}>(data_0?: better_auth0.Prettify<undefined>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
1384
1384
|
success: boolean;
|
|
1385
1385
|
}, {
|
|
1386
1386
|
code?: string;
|
|
@@ -1406,17 +1406,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1406
1406
|
referrerPolicy?: ReferrerPolicy;
|
|
1407
1407
|
signal?: AbortSignal | null;
|
|
1408
1408
|
window?: null;
|
|
1409
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
1410
|
-
onResponse?: (context:
|
|
1411
|
-
onSuccess?: (context:
|
|
1412
|
-
onError?: (context:
|
|
1413
|
-
onRetry?: (response:
|
|
1409
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
1410
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
1411
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
1412
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
1413
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
1414
1414
|
hookOptions?: {
|
|
1415
1415
|
cloneResponse?: boolean;
|
|
1416
1416
|
};
|
|
1417
1417
|
timeout?: number;
|
|
1418
|
-
customFetchImpl?:
|
|
1419
|
-
plugins?:
|
|
1418
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
1419
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
1420
1420
|
baseURL?: string;
|
|
1421
1421
|
throw?: boolean;
|
|
1422
1422
|
auth?: {
|
|
@@ -1443,19 +1443,19 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1443
1443
|
params?: Record<string, any>;
|
|
1444
1444
|
duplex?: "full" | "half";
|
|
1445
1445
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
1446
|
-
retry?:
|
|
1446
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
1447
1447
|
retryAttempt?: number;
|
|
1448
|
-
output?:
|
|
1449
|
-
errorSchema?:
|
|
1448
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1449
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
1450
1450
|
disableValidation?: boolean;
|
|
1451
|
-
}>(data_0:
|
|
1451
|
+
}>(data_0: better_auth0.Prettify<{
|
|
1452
1452
|
email: string;
|
|
1453
1453
|
name: string;
|
|
1454
1454
|
password: string;
|
|
1455
1455
|
image?: string;
|
|
1456
1456
|
callbackURL?: string;
|
|
1457
1457
|
fetchOptions?: FetchOptions;
|
|
1458
|
-
} & {} & {}>, data_1?: FetchOptions) => Promise<
|
|
1458
|
+
} & {} & {}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<NonNullable<{
|
|
1459
1459
|
token: null;
|
|
1460
1460
|
user: {
|
|
1461
1461
|
id: string;
|
|
@@ -1502,17 +1502,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1502
1502
|
referrerPolicy?: ReferrerPolicy;
|
|
1503
1503
|
signal?: AbortSignal | null;
|
|
1504
1504
|
window?: null;
|
|
1505
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
1506
|
-
onResponse?: (context:
|
|
1507
|
-
onSuccess?: (context:
|
|
1508
|
-
onError?: (context:
|
|
1509
|
-
onRetry?: (response:
|
|
1505
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
1506
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
1507
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
1508
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
1509
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
1510
1510
|
hookOptions?: {
|
|
1511
1511
|
cloneResponse?: boolean;
|
|
1512
1512
|
};
|
|
1513
1513
|
timeout?: number;
|
|
1514
|
-
customFetchImpl?:
|
|
1515
|
-
plugins?:
|
|
1514
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
1515
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
1516
1516
|
baseURL?: string;
|
|
1517
1517
|
throw?: boolean;
|
|
1518
1518
|
auth?: {
|
|
@@ -1537,19 +1537,19 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1537
1537
|
params?: Record<string, any>;
|
|
1538
1538
|
duplex?: "full" | "half";
|
|
1539
1539
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
1540
|
-
retry?:
|
|
1540
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
1541
1541
|
retryAttempt?: number;
|
|
1542
|
-
output?:
|
|
1543
|
-
errorSchema?:
|
|
1542
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1543
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
1544
1544
|
disableValidation?: boolean;
|
|
1545
|
-
}>(data_0:
|
|
1545
|
+
}>(data_0: better_auth0.Prettify<{
|
|
1546
1546
|
email: string;
|
|
1547
1547
|
password: string;
|
|
1548
1548
|
callbackURL?: string | undefined;
|
|
1549
1549
|
rememberMe?: boolean | undefined;
|
|
1550
1550
|
} & {
|
|
1551
1551
|
fetchOptions?: FetchOptions;
|
|
1552
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
1552
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
1553
1553
|
redirect: boolean;
|
|
1554
1554
|
token: string;
|
|
1555
1555
|
url: string | undefined;
|
|
@@ -1586,17 +1586,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1586
1586
|
referrerPolicy?: ReferrerPolicy;
|
|
1587
1587
|
signal?: AbortSignal | null;
|
|
1588
1588
|
window?: null;
|
|
1589
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
1590
|
-
onResponse?: (context:
|
|
1591
|
-
onSuccess?: (context:
|
|
1592
|
-
onError?: (context:
|
|
1593
|
-
onRetry?: (response:
|
|
1589
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
1590
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
1591
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
1592
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
1593
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
1594
1594
|
hookOptions?: {
|
|
1595
1595
|
cloneResponse?: boolean;
|
|
1596
1596
|
};
|
|
1597
1597
|
timeout?: number;
|
|
1598
|
-
customFetchImpl?:
|
|
1599
|
-
plugins?:
|
|
1598
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
1599
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
1600
1600
|
baseURL?: string;
|
|
1601
1601
|
throw?: boolean;
|
|
1602
1602
|
auth?: {
|
|
@@ -1619,17 +1619,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1619
1619
|
params?: Record<string, any>;
|
|
1620
1620
|
duplex?: "full" | "half";
|
|
1621
1621
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
1622
|
-
retry?:
|
|
1622
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
1623
1623
|
retryAttempt?: number;
|
|
1624
|
-
output?:
|
|
1625
|
-
errorSchema?:
|
|
1624
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1625
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
1626
1626
|
disableValidation?: boolean;
|
|
1627
|
-
}>(data_0:
|
|
1627
|
+
}>(data_0: better_auth0.Prettify<{
|
|
1628
1628
|
email: string;
|
|
1629
1629
|
redirectTo?: string | undefined;
|
|
1630
1630
|
} & {
|
|
1631
1631
|
fetchOptions?: FetchOptions;
|
|
1632
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
1632
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
1633
1633
|
status: boolean;
|
|
1634
1634
|
}, {
|
|
1635
1635
|
code?: string;
|
|
@@ -1654,17 +1654,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1654
1654
|
referrerPolicy?: ReferrerPolicy;
|
|
1655
1655
|
signal?: AbortSignal | null;
|
|
1656
1656
|
window?: null;
|
|
1657
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
1658
|
-
onResponse?: (context:
|
|
1659
|
-
onSuccess?: (context:
|
|
1660
|
-
onError?: (context:
|
|
1661
|
-
onRetry?: (response:
|
|
1657
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
1658
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
1659
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
1660
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
1661
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
1662
1662
|
hookOptions?: {
|
|
1663
1663
|
cloneResponse?: boolean;
|
|
1664
1664
|
};
|
|
1665
1665
|
timeout?: number;
|
|
1666
|
-
customFetchImpl?:
|
|
1667
|
-
plugins?:
|
|
1666
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
1667
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
1668
1668
|
baseURL?: string;
|
|
1669
1669
|
throw?: boolean;
|
|
1670
1670
|
auth?: {
|
|
@@ -1689,17 +1689,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1689
1689
|
params?: Record<string, any>;
|
|
1690
1690
|
duplex?: "full" | "half";
|
|
1691
1691
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
1692
|
-
retry?:
|
|
1692
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
1693
1693
|
retryAttempt?: number;
|
|
1694
|
-
output?:
|
|
1695
|
-
errorSchema?:
|
|
1694
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1695
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
1696
1696
|
disableValidation?: boolean;
|
|
1697
|
-
}>(data_0:
|
|
1697
|
+
}>(data_0: better_auth0.Prettify<{
|
|
1698
1698
|
newPassword: string;
|
|
1699
1699
|
token?: string | undefined;
|
|
1700
1700
|
} & {
|
|
1701
1701
|
fetchOptions?: FetchOptions;
|
|
1702
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
1702
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
1703
1703
|
status: boolean;
|
|
1704
1704
|
}, {
|
|
1705
1705
|
code?: string;
|
|
@@ -1724,17 +1724,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1724
1724
|
referrerPolicy?: ReferrerPolicy;
|
|
1725
1725
|
signal?: AbortSignal | null;
|
|
1726
1726
|
window?: null;
|
|
1727
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
1728
|
-
onResponse?: (context:
|
|
1729
|
-
onSuccess?: (context:
|
|
1730
|
-
onError?: (context:
|
|
1731
|
-
onRetry?: (response:
|
|
1727
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
1728
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
1729
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
1730
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
1731
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
1732
1732
|
hookOptions?: {
|
|
1733
1733
|
cloneResponse?: boolean;
|
|
1734
1734
|
};
|
|
1735
1735
|
timeout?: number;
|
|
1736
|
-
customFetchImpl?:
|
|
1737
|
-
plugins?:
|
|
1736
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
1737
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
1738
1738
|
baseURL?: string;
|
|
1739
1739
|
throw?: boolean;
|
|
1740
1740
|
auth?: {
|
|
@@ -1757,12 +1757,12 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1757
1757
|
params?: Record<string, any>;
|
|
1758
1758
|
duplex?: "full" | "half";
|
|
1759
1759
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
1760
|
-
retry?:
|
|
1760
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
1761
1761
|
retryAttempt?: number;
|
|
1762
|
-
output?:
|
|
1763
|
-
errorSchema?:
|
|
1762
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1763
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
1764
1764
|
disableValidation?: boolean;
|
|
1765
|
-
}>(data_0?:
|
|
1765
|
+
}>(data_0?: better_auth0.Prettify<undefined>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<NonNullable<void | {
|
|
1766
1766
|
status: boolean;
|
|
1767
1767
|
user: {
|
|
1768
1768
|
id: string;
|
|
@@ -1799,17 +1799,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1799
1799
|
referrerPolicy?: ReferrerPolicy;
|
|
1800
1800
|
signal?: AbortSignal | null;
|
|
1801
1801
|
window?: null;
|
|
1802
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
1803
|
-
onResponse?: (context:
|
|
1804
|
-
onSuccess?: (context:
|
|
1805
|
-
onError?: (context:
|
|
1806
|
-
onRetry?: (response:
|
|
1802
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
1803
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
1804
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
1805
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
1806
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
1807
1807
|
hookOptions?: {
|
|
1808
1808
|
cloneResponse?: boolean;
|
|
1809
1809
|
};
|
|
1810
1810
|
timeout?: number;
|
|
1811
|
-
customFetchImpl?:
|
|
1812
|
-
plugins?:
|
|
1811
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
1812
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
1813
1813
|
baseURL?: string;
|
|
1814
1814
|
throw?: boolean;
|
|
1815
1815
|
auth?: {
|
|
@@ -1832,17 +1832,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1832
1832
|
params?: Record<string, any>;
|
|
1833
1833
|
duplex?: "full" | "half";
|
|
1834
1834
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
1835
|
-
retry?:
|
|
1835
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
1836
1836
|
retryAttempt?: number;
|
|
1837
|
-
output?:
|
|
1838
|
-
errorSchema?:
|
|
1837
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1838
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
1839
1839
|
disableValidation?: boolean;
|
|
1840
|
-
}>(data_0:
|
|
1840
|
+
}>(data_0: better_auth0.Prettify<{
|
|
1841
1841
|
email: string;
|
|
1842
1842
|
callbackURL?: string | undefined;
|
|
1843
1843
|
} & {
|
|
1844
1844
|
fetchOptions?: FetchOptions;
|
|
1845
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
1845
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
1846
1846
|
status: boolean;
|
|
1847
1847
|
}, {
|
|
1848
1848
|
code?: string;
|
|
@@ -1867,17 +1867,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1867
1867
|
referrerPolicy?: ReferrerPolicy;
|
|
1868
1868
|
signal?: AbortSignal | null;
|
|
1869
1869
|
window?: null;
|
|
1870
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
1871
|
-
onResponse?: (context:
|
|
1872
|
-
onSuccess?: (context:
|
|
1873
|
-
onError?: (context:
|
|
1874
|
-
onRetry?: (response:
|
|
1870
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
1871
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
1872
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
1873
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
1874
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
1875
1875
|
hookOptions?: {
|
|
1876
1876
|
cloneResponse?: boolean;
|
|
1877
1877
|
};
|
|
1878
1878
|
timeout?: number;
|
|
1879
|
-
customFetchImpl?:
|
|
1880
|
-
plugins?:
|
|
1879
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
1880
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
1881
1881
|
baseURL?: string;
|
|
1882
1882
|
throw?: boolean;
|
|
1883
1883
|
auth?: {
|
|
@@ -1900,17 +1900,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1900
1900
|
params?: Record<string, any>;
|
|
1901
1901
|
duplex?: "full" | "half";
|
|
1902
1902
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
1903
|
-
retry?:
|
|
1903
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
1904
1904
|
retryAttempt?: number;
|
|
1905
|
-
output?:
|
|
1906
|
-
errorSchema?:
|
|
1905
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1906
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
1907
1907
|
disableValidation?: boolean;
|
|
1908
|
-
}>(data_0:
|
|
1908
|
+
}>(data_0: better_auth0.Prettify<{
|
|
1909
1909
|
newEmail: string;
|
|
1910
1910
|
callbackURL?: string | undefined;
|
|
1911
1911
|
} & {
|
|
1912
1912
|
fetchOptions?: FetchOptions;
|
|
1913
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
1913
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
1914
1914
|
status: boolean;
|
|
1915
1915
|
}, {
|
|
1916
1916
|
code?: string;
|
|
@@ -1935,17 +1935,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1935
1935
|
referrerPolicy?: ReferrerPolicy;
|
|
1936
1936
|
signal?: AbortSignal | null;
|
|
1937
1937
|
window?: null;
|
|
1938
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
1939
|
-
onResponse?: (context:
|
|
1940
|
-
onSuccess?: (context:
|
|
1941
|
-
onError?: (context:
|
|
1942
|
-
onRetry?: (response:
|
|
1938
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
1939
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
1940
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
1941
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
1942
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
1943
1943
|
hookOptions?: {
|
|
1944
1944
|
cloneResponse?: boolean;
|
|
1945
1945
|
};
|
|
1946
1946
|
timeout?: number;
|
|
1947
|
-
customFetchImpl?:
|
|
1948
|
-
plugins?:
|
|
1947
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
1948
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
1949
1949
|
baseURL?: string;
|
|
1950
1950
|
throw?: boolean;
|
|
1951
1951
|
auth?: {
|
|
@@ -1969,18 +1969,18 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
1969
1969
|
params?: Record<string, any>;
|
|
1970
1970
|
duplex?: "full" | "half";
|
|
1971
1971
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
1972
|
-
retry?:
|
|
1972
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
1973
1973
|
retryAttempt?: number;
|
|
1974
|
-
output?:
|
|
1975
|
-
errorSchema?:
|
|
1974
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1975
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
1976
1976
|
disableValidation?: boolean;
|
|
1977
|
-
}>(data_0:
|
|
1977
|
+
}>(data_0: better_auth0.Prettify<{
|
|
1978
1978
|
newPassword: string;
|
|
1979
1979
|
currentPassword: string;
|
|
1980
1980
|
revokeOtherSessions?: boolean | undefined;
|
|
1981
1981
|
} & {
|
|
1982
1982
|
fetchOptions?: FetchOptions;
|
|
1983
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
1983
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
1984
1984
|
token: string | null;
|
|
1985
1985
|
user: {
|
|
1986
1986
|
id: string;
|
|
@@ -2014,17 +2014,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2014
2014
|
referrerPolicy?: ReferrerPolicy;
|
|
2015
2015
|
signal?: AbortSignal | null;
|
|
2016
2016
|
window?: null;
|
|
2017
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
2018
|
-
onResponse?: (context:
|
|
2019
|
-
onSuccess?: (context:
|
|
2020
|
-
onError?: (context:
|
|
2021
|
-
onRetry?: (response:
|
|
2017
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
2018
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
2019
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
2020
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
2021
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
2022
2022
|
hookOptions?: {
|
|
2023
2023
|
cloneResponse?: boolean;
|
|
2024
2024
|
};
|
|
2025
2025
|
timeout?: number;
|
|
2026
|
-
customFetchImpl?:
|
|
2027
|
-
plugins?:
|
|
2026
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
2027
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
2028
2028
|
baseURL?: string;
|
|
2029
2029
|
throw?: boolean;
|
|
2030
2030
|
auth?: {
|
|
@@ -2047,16 +2047,16 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2047
2047
|
params?: Record<string, any>;
|
|
2048
2048
|
duplex?: "full" | "half";
|
|
2049
2049
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
2050
|
-
retry?:
|
|
2050
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
2051
2051
|
retryAttempt?: number;
|
|
2052
|
-
output?:
|
|
2053
|
-
errorSchema?:
|
|
2052
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
2053
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
2054
2054
|
disableValidation?: boolean;
|
|
2055
|
-
}>(data_0?:
|
|
2055
|
+
}>(data_0?: better_auth0.Prettify<{
|
|
2056
2056
|
image?: string | null;
|
|
2057
2057
|
name?: string;
|
|
2058
2058
|
fetchOptions?: FetchOptions;
|
|
2059
|
-
} & Partial<{} & {}>>, data_1?: FetchOptions) => Promise<
|
|
2059
|
+
} & Partial<{} & {}>>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
2060
2060
|
status: boolean;
|
|
2061
2061
|
}, {
|
|
2062
2062
|
code?: string;
|
|
@@ -2081,17 +2081,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2081
2081
|
referrerPolicy?: ReferrerPolicy;
|
|
2082
2082
|
signal?: AbortSignal | null;
|
|
2083
2083
|
window?: null;
|
|
2084
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
2085
|
-
onResponse?: (context:
|
|
2086
|
-
onSuccess?: (context:
|
|
2087
|
-
onError?: (context:
|
|
2088
|
-
onRetry?: (response:
|
|
2084
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
2085
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
2086
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
2087
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
2088
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
2089
2089
|
hookOptions?: {
|
|
2090
2090
|
cloneResponse?: boolean;
|
|
2091
2091
|
};
|
|
2092
2092
|
timeout?: number;
|
|
2093
|
-
customFetchImpl?:
|
|
2094
|
-
plugins?:
|
|
2093
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
2094
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
2095
2095
|
baseURL?: string;
|
|
2096
2096
|
throw?: boolean;
|
|
2097
2097
|
auth?: {
|
|
@@ -2115,18 +2115,18 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2115
2115
|
params?: Record<string, any>;
|
|
2116
2116
|
duplex?: "full" | "half";
|
|
2117
2117
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
2118
|
-
retry?:
|
|
2118
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
2119
2119
|
retryAttempt?: number;
|
|
2120
|
-
output?:
|
|
2121
|
-
errorSchema?:
|
|
2120
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
2121
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
2122
2122
|
disableValidation?: boolean;
|
|
2123
|
-
}>(data_0?:
|
|
2123
|
+
}>(data_0?: better_auth0.Prettify<{
|
|
2124
2124
|
callbackURL?: string | undefined;
|
|
2125
2125
|
password?: string | undefined;
|
|
2126
2126
|
token?: string | undefined;
|
|
2127
2127
|
} & {
|
|
2128
2128
|
fetchOptions?: FetchOptions;
|
|
2129
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
2129
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
2130
2130
|
success: boolean;
|
|
2131
2131
|
message: string;
|
|
2132
2132
|
}, {
|
|
@@ -2153,17 +2153,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2153
2153
|
referrerPolicy?: ReferrerPolicy;
|
|
2154
2154
|
signal?: AbortSignal | null;
|
|
2155
2155
|
window?: null;
|
|
2156
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
2157
|
-
onResponse?: (context:
|
|
2158
|
-
onSuccess?: (context:
|
|
2159
|
-
onError?: (context:
|
|
2160
|
-
onRetry?: (response:
|
|
2156
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
2157
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
2158
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
2159
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
2160
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
2161
2161
|
hookOptions?: {
|
|
2162
2162
|
cloneResponse?: boolean;
|
|
2163
2163
|
};
|
|
2164
2164
|
timeout?: number;
|
|
2165
|
-
customFetchImpl?:
|
|
2166
|
-
plugins?:
|
|
2165
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
2166
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
2167
2167
|
baseURL?: string;
|
|
2168
2168
|
throw?: boolean;
|
|
2169
2169
|
auth?: {
|
|
@@ -2187,12 +2187,12 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2187
2187
|
};
|
|
2188
2188
|
duplex?: "full" | "half";
|
|
2189
2189
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
2190
|
-
retry?:
|
|
2190
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
2191
2191
|
retryAttempt?: number;
|
|
2192
|
-
output?:
|
|
2193
|
-
errorSchema?:
|
|
2192
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
2193
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
2194
2194
|
disableValidation?: boolean;
|
|
2195
|
-
}>(data_0?:
|
|
2195
|
+
}>(data_0?: better_auth0.Prettify<undefined>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<never, {
|
|
2196
2196
|
code?: string;
|
|
2197
2197
|
message?: string;
|
|
2198
2198
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
@@ -2216,17 +2216,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2216
2216
|
referrerPolicy?: ReferrerPolicy;
|
|
2217
2217
|
signal?: AbortSignal | null;
|
|
2218
2218
|
window?: null;
|
|
2219
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
2220
|
-
onResponse?: (context:
|
|
2221
|
-
onSuccess?: (context:
|
|
2222
|
-
onError?: (context:
|
|
2223
|
-
onRetry?: (response:
|
|
2219
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
2220
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
2221
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
2222
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
2223
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
2224
2224
|
hookOptions?: {
|
|
2225
2225
|
cloneResponse?: boolean;
|
|
2226
2226
|
};
|
|
2227
2227
|
timeout?: number;
|
|
2228
|
-
customFetchImpl?:
|
|
2229
|
-
plugins?:
|
|
2228
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
2229
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
2230
2230
|
baseURL?: string;
|
|
2231
2231
|
throw?: boolean;
|
|
2232
2232
|
auth?: {
|
|
@@ -2249,17 +2249,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2249
2249
|
params?: Record<string, any>;
|
|
2250
2250
|
duplex?: "full" | "half";
|
|
2251
2251
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
2252
|
-
retry?:
|
|
2252
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
2253
2253
|
retryAttempt?: number;
|
|
2254
|
-
output?:
|
|
2255
|
-
errorSchema?:
|
|
2254
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
2255
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
2256
2256
|
disableValidation?: boolean;
|
|
2257
|
-
}>(data_0:
|
|
2257
|
+
}>(data_0: better_auth0.Prettify<{
|
|
2258
2258
|
email: string;
|
|
2259
2259
|
redirectTo?: string | undefined;
|
|
2260
2260
|
} & {
|
|
2261
2261
|
fetchOptions?: FetchOptions;
|
|
2262
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
2262
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
2263
2263
|
status: boolean;
|
|
2264
2264
|
message: string;
|
|
2265
2265
|
}, {
|
|
@@ -2286,17 +2286,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2286
2286
|
referrerPolicy?: ReferrerPolicy;
|
|
2287
2287
|
signal?: AbortSignal | null;
|
|
2288
2288
|
window?: null;
|
|
2289
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
2290
|
-
onResponse?: (context:
|
|
2291
|
-
onSuccess?: (context:
|
|
2292
|
-
onError?: (context:
|
|
2293
|
-
onRetry?: (response:
|
|
2289
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
2290
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
2291
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
2292
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
2293
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
2294
2294
|
hookOptions?: {
|
|
2295
2295
|
cloneResponse?: boolean;
|
|
2296
2296
|
};
|
|
2297
2297
|
timeout?: number;
|
|
2298
|
-
customFetchImpl?:
|
|
2299
|
-
plugins?:
|
|
2298
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
2299
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
2300
2300
|
baseURL?: string;
|
|
2301
2301
|
throw?: boolean;
|
|
2302
2302
|
auth?: {
|
|
@@ -2320,12 +2320,12 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2320
2320
|
};
|
|
2321
2321
|
duplex?: "full" | "half";
|
|
2322
2322
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
2323
|
-
retry?:
|
|
2323
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
2324
2324
|
retryAttempt?: number;
|
|
2325
|
-
output?:
|
|
2326
|
-
errorSchema?:
|
|
2325
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
2326
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
2327
2327
|
disableValidation?: boolean;
|
|
2328
|
-
}>(data_0?:
|
|
2328
|
+
}>(data_0?: better_auth0.Prettify<undefined>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<never, {
|
|
2329
2329
|
code?: string;
|
|
2330
2330
|
message?: string;
|
|
2331
2331
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
@@ -2349,17 +2349,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2349
2349
|
referrerPolicy?: ReferrerPolicy;
|
|
2350
2350
|
signal?: AbortSignal | null;
|
|
2351
2351
|
window?: null;
|
|
2352
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
2353
|
-
onResponse?: (context:
|
|
2354
|
-
onSuccess?: (context:
|
|
2355
|
-
onError?: (context:
|
|
2356
|
-
onRetry?: (response:
|
|
2352
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
2353
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
2354
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
2355
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
2356
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
2357
2357
|
hookOptions?: {
|
|
2358
2358
|
cloneResponse?: boolean;
|
|
2359
2359
|
};
|
|
2360
2360
|
timeout?: number;
|
|
2361
|
-
customFetchImpl?:
|
|
2362
|
-
plugins?:
|
|
2361
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
2362
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
2363
2363
|
baseURL?: string;
|
|
2364
2364
|
throw?: boolean;
|
|
2365
2365
|
auth?: {
|
|
@@ -2379,12 +2379,12 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2379
2379
|
params?: Record<string, any>;
|
|
2380
2380
|
duplex?: "full" | "half";
|
|
2381
2381
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
2382
|
-
retry?:
|
|
2382
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
2383
2383
|
retryAttempt?: number;
|
|
2384
|
-
output?:
|
|
2385
|
-
errorSchema?:
|
|
2384
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
2385
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
2386
2386
|
disableValidation?: boolean;
|
|
2387
|
-
}>(data_0?:
|
|
2387
|
+
}>(data_0?: better_auth0.Prettify<undefined>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<better_auth0.Prettify<{
|
|
2388
2388
|
id: string;
|
|
2389
2389
|
createdAt: Date;
|
|
2390
2390
|
updatedAt: Date;
|
|
@@ -2416,17 +2416,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2416
2416
|
referrerPolicy?: ReferrerPolicy;
|
|
2417
2417
|
signal?: AbortSignal | null;
|
|
2418
2418
|
window?: null;
|
|
2419
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
2420
|
-
onResponse?: (context:
|
|
2421
|
-
onSuccess?: (context:
|
|
2422
|
-
onError?: (context:
|
|
2423
|
-
onRetry?: (response:
|
|
2419
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
2420
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
2421
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
2422
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
2423
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
2424
2424
|
hookOptions?: {
|
|
2425
2425
|
cloneResponse?: boolean;
|
|
2426
2426
|
};
|
|
2427
2427
|
timeout?: number;
|
|
2428
|
-
customFetchImpl?:
|
|
2429
|
-
plugins?:
|
|
2428
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
2429
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
2430
2430
|
baseURL?: string;
|
|
2431
2431
|
throw?: boolean;
|
|
2432
2432
|
auth?: {
|
|
@@ -2448,16 +2448,16 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2448
2448
|
params?: Record<string, any>;
|
|
2449
2449
|
duplex?: "full" | "half";
|
|
2450
2450
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
2451
|
-
retry?:
|
|
2451
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
2452
2452
|
retryAttempt?: number;
|
|
2453
|
-
output?:
|
|
2454
|
-
errorSchema?:
|
|
2453
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
2454
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
2455
2455
|
disableValidation?: boolean;
|
|
2456
|
-
}>(data_0:
|
|
2456
|
+
}>(data_0: better_auth0.Prettify<{
|
|
2457
2457
|
token: string;
|
|
2458
2458
|
} & {
|
|
2459
2459
|
fetchOptions?: FetchOptions;
|
|
2460
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
2460
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
2461
2461
|
status: boolean;
|
|
2462
2462
|
}, {
|
|
2463
2463
|
code?: string;
|
|
@@ -2482,17 +2482,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2482
2482
|
referrerPolicy?: ReferrerPolicy;
|
|
2483
2483
|
signal?: AbortSignal | null;
|
|
2484
2484
|
window?: null;
|
|
2485
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
2486
|
-
onResponse?: (context:
|
|
2487
|
-
onSuccess?: (context:
|
|
2488
|
-
onError?: (context:
|
|
2489
|
-
onRetry?: (response:
|
|
2485
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
2486
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
2487
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
2488
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
2489
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
2490
2490
|
hookOptions?: {
|
|
2491
2491
|
cloneResponse?: boolean;
|
|
2492
2492
|
};
|
|
2493
2493
|
timeout?: number;
|
|
2494
|
-
customFetchImpl?:
|
|
2495
|
-
plugins?:
|
|
2494
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
2495
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
2496
2496
|
baseURL?: string;
|
|
2497
2497
|
throw?: boolean;
|
|
2498
2498
|
auth?: {
|
|
@@ -2512,12 +2512,12 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2512
2512
|
params?: Record<string, any>;
|
|
2513
2513
|
duplex?: "full" | "half";
|
|
2514
2514
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
2515
|
-
retry?:
|
|
2515
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
2516
2516
|
retryAttempt?: number;
|
|
2517
|
-
output?:
|
|
2518
|
-
errorSchema?:
|
|
2517
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
2518
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
2519
2519
|
disableValidation?: boolean;
|
|
2520
|
-
}>(data_0?:
|
|
2520
|
+
}>(data_0?: better_auth0.Prettify<undefined>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
2521
2521
|
status: boolean;
|
|
2522
2522
|
}, {
|
|
2523
2523
|
code?: string;
|
|
@@ -2542,17 +2542,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2542
2542
|
referrerPolicy?: ReferrerPolicy;
|
|
2543
2543
|
signal?: AbortSignal | null;
|
|
2544
2544
|
window?: null;
|
|
2545
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
2546
|
-
onResponse?: (context:
|
|
2547
|
-
onSuccess?: (context:
|
|
2548
|
-
onError?: (context:
|
|
2549
|
-
onRetry?: (response:
|
|
2545
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
2546
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
2547
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
2548
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
2549
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
2550
2550
|
hookOptions?: {
|
|
2551
2551
|
cloneResponse?: boolean;
|
|
2552
2552
|
};
|
|
2553
2553
|
timeout?: number;
|
|
2554
|
-
customFetchImpl?:
|
|
2555
|
-
plugins?:
|
|
2554
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
2555
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
2556
2556
|
baseURL?: string;
|
|
2557
2557
|
throw?: boolean;
|
|
2558
2558
|
auth?: {
|
|
@@ -2572,12 +2572,12 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2572
2572
|
params?: Record<string, any>;
|
|
2573
2573
|
duplex?: "full" | "half";
|
|
2574
2574
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
2575
|
-
retry?:
|
|
2575
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
2576
2576
|
retryAttempt?: number;
|
|
2577
|
-
output?:
|
|
2578
|
-
errorSchema?:
|
|
2577
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
2578
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
2579
2579
|
disableValidation?: boolean;
|
|
2580
|
-
}>(data_0?:
|
|
2580
|
+
}>(data_0?: better_auth0.Prettify<undefined>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
2581
2581
|
status: boolean;
|
|
2582
2582
|
}, {
|
|
2583
2583
|
code?: string;
|
|
@@ -2602,17 +2602,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2602
2602
|
referrerPolicy?: ReferrerPolicy;
|
|
2603
2603
|
signal?: AbortSignal | null;
|
|
2604
2604
|
window?: null;
|
|
2605
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
2606
|
-
onResponse?: (context:
|
|
2607
|
-
onSuccess?: (context:
|
|
2608
|
-
onError?: (context:
|
|
2609
|
-
onRetry?: (response:
|
|
2605
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
2606
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
2607
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
2608
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
2609
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
2610
2610
|
hookOptions?: {
|
|
2611
2611
|
cloneResponse?: boolean;
|
|
2612
2612
|
};
|
|
2613
2613
|
timeout?: number;
|
|
2614
|
-
customFetchImpl?:
|
|
2615
|
-
plugins?:
|
|
2614
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
2615
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
2616
2616
|
baseURL?: string;
|
|
2617
2617
|
throw?: boolean;
|
|
2618
2618
|
auth?: {
|
|
@@ -2646,12 +2646,12 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2646
2646
|
params?: Record<string, any>;
|
|
2647
2647
|
duplex?: "full" | "half";
|
|
2648
2648
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
2649
|
-
retry?:
|
|
2649
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
2650
2650
|
retryAttempt?: number;
|
|
2651
|
-
output?:
|
|
2652
|
-
errorSchema?:
|
|
2651
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
2652
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
2653
2653
|
disableValidation?: boolean;
|
|
2654
|
-
}>(data_0:
|
|
2654
|
+
}>(data_0: better_auth0.Prettify<{
|
|
2655
2655
|
provider: unknown;
|
|
2656
2656
|
callbackURL?: string | undefined;
|
|
2657
2657
|
idToken?: {
|
|
@@ -2667,7 +2667,7 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2667
2667
|
disableRedirect?: boolean | undefined;
|
|
2668
2668
|
} & {
|
|
2669
2669
|
fetchOptions?: FetchOptions;
|
|
2670
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
2670
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
2671
2671
|
url: string;
|
|
2672
2672
|
redirect: boolean;
|
|
2673
2673
|
}, {
|
|
@@ -2693,17 +2693,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2693
2693
|
referrerPolicy?: ReferrerPolicy;
|
|
2694
2694
|
signal?: AbortSignal | null;
|
|
2695
2695
|
window?: null;
|
|
2696
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
2697
|
-
onResponse?: (context:
|
|
2698
|
-
onSuccess?: (context:
|
|
2699
|
-
onError?: (context:
|
|
2700
|
-
onRetry?: (response:
|
|
2696
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
2697
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
2698
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
2699
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
2700
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
2701
2701
|
hookOptions?: {
|
|
2702
2702
|
cloneResponse?: boolean;
|
|
2703
2703
|
};
|
|
2704
2704
|
timeout?: number;
|
|
2705
|
-
customFetchImpl?:
|
|
2706
|
-
plugins?:
|
|
2705
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
2706
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
2707
2707
|
baseURL?: string;
|
|
2708
2708
|
throw?: boolean;
|
|
2709
2709
|
auth?: {
|
|
@@ -2723,12 +2723,12 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2723
2723
|
params?: Record<string, any>;
|
|
2724
2724
|
duplex?: "full" | "half";
|
|
2725
2725
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
2726
|
-
retry?:
|
|
2726
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
2727
2727
|
retryAttempt?: number;
|
|
2728
|
-
output?:
|
|
2729
|
-
errorSchema?:
|
|
2728
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
2729
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
2730
2730
|
disableValidation?: boolean;
|
|
2731
|
-
}>(data_0?:
|
|
2731
|
+
}>(data_0?: better_auth0.Prettify<undefined>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
2732
2732
|
id: string;
|
|
2733
2733
|
providerId: string;
|
|
2734
2734
|
createdAt: Date;
|
|
@@ -2759,17 +2759,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2759
2759
|
referrerPolicy?: ReferrerPolicy;
|
|
2760
2760
|
signal?: AbortSignal | null;
|
|
2761
2761
|
window?: null;
|
|
2762
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
2763
|
-
onResponse?: (context:
|
|
2764
|
-
onSuccess?: (context:
|
|
2765
|
-
onError?: (context:
|
|
2766
|
-
onRetry?: (response:
|
|
2762
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
2763
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
2764
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
2765
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
2766
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
2767
2767
|
hookOptions?: {
|
|
2768
2768
|
cloneResponse?: boolean;
|
|
2769
2769
|
};
|
|
2770
2770
|
timeout?: number;
|
|
2771
|
-
customFetchImpl?:
|
|
2772
|
-
plugins?:
|
|
2771
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
2772
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
2773
2773
|
baseURL?: string;
|
|
2774
2774
|
throw?: boolean;
|
|
2775
2775
|
auth?: {
|
|
@@ -2792,12 +2792,12 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2792
2792
|
params?: Record<string, any>;
|
|
2793
2793
|
duplex?: "full" | "half";
|
|
2794
2794
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
2795
|
-
retry?:
|
|
2795
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
2796
2796
|
retryAttempt?: number;
|
|
2797
|
-
output?:
|
|
2798
|
-
errorSchema?:
|
|
2797
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
2798
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
2799
2799
|
disableValidation?: boolean;
|
|
2800
|
-
}>(data_0?:
|
|
2800
|
+
}>(data_0?: better_auth0.Prettify<undefined>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
2801
2801
|
success: boolean;
|
|
2802
2802
|
message: string;
|
|
2803
2803
|
}, {
|
|
@@ -2824,17 +2824,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2824
2824
|
referrerPolicy?: ReferrerPolicy;
|
|
2825
2825
|
signal?: AbortSignal | null;
|
|
2826
2826
|
window?: null;
|
|
2827
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
2828
|
-
onResponse?: (context:
|
|
2829
|
-
onSuccess?: (context:
|
|
2830
|
-
onError?: (context:
|
|
2831
|
-
onRetry?: (response:
|
|
2827
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
2828
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
2829
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
2830
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
2831
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
2832
2832
|
hookOptions?: {
|
|
2833
2833
|
cloneResponse?: boolean;
|
|
2834
2834
|
};
|
|
2835
2835
|
timeout?: number;
|
|
2836
|
-
customFetchImpl?:
|
|
2837
|
-
plugins?:
|
|
2836
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
2837
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
2838
2838
|
baseURL?: string;
|
|
2839
2839
|
throw?: boolean;
|
|
2840
2840
|
auth?: {
|
|
@@ -2857,17 +2857,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2857
2857
|
params?: Record<string, any>;
|
|
2858
2858
|
duplex?: "full" | "half";
|
|
2859
2859
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
2860
|
-
retry?:
|
|
2860
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
2861
2861
|
retryAttempt?: number;
|
|
2862
|
-
output?:
|
|
2863
|
-
errorSchema?:
|
|
2862
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
2863
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
2864
2864
|
disableValidation?: boolean;
|
|
2865
|
-
}>(data_0:
|
|
2865
|
+
}>(data_0: better_auth0.Prettify<{
|
|
2866
2866
|
providerId: string;
|
|
2867
2867
|
accountId?: string | undefined;
|
|
2868
2868
|
} & {
|
|
2869
2869
|
fetchOptions?: FetchOptions;
|
|
2870
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
2870
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
2871
2871
|
status: boolean;
|
|
2872
2872
|
}, {
|
|
2873
2873
|
code?: string;
|
|
@@ -2892,17 +2892,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2892
2892
|
referrerPolicy?: ReferrerPolicy;
|
|
2893
2893
|
signal?: AbortSignal | null;
|
|
2894
2894
|
window?: null;
|
|
2895
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
2896
|
-
onResponse?: (context:
|
|
2897
|
-
onSuccess?: (context:
|
|
2898
|
-
onError?: (context:
|
|
2899
|
-
onRetry?: (response:
|
|
2895
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
2896
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
2897
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
2898
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
2899
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
2900
2900
|
hookOptions?: {
|
|
2901
2901
|
cloneResponse?: boolean;
|
|
2902
2902
|
};
|
|
2903
2903
|
timeout?: number;
|
|
2904
|
-
customFetchImpl?:
|
|
2905
|
-
plugins?:
|
|
2904
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
2905
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
2906
2906
|
baseURL?: string;
|
|
2907
2907
|
throw?: boolean;
|
|
2908
2908
|
auth?: {
|
|
@@ -2926,18 +2926,18 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2926
2926
|
params?: Record<string, any>;
|
|
2927
2927
|
duplex?: "full" | "half";
|
|
2928
2928
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
2929
|
-
retry?:
|
|
2929
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
2930
2930
|
retryAttempt?: number;
|
|
2931
|
-
output?:
|
|
2932
|
-
errorSchema?:
|
|
2931
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
2932
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
2933
2933
|
disableValidation?: boolean;
|
|
2934
|
-
}>(data_0:
|
|
2934
|
+
}>(data_0: better_auth0.Prettify<{
|
|
2935
2935
|
providerId: string;
|
|
2936
2936
|
accountId?: string | undefined;
|
|
2937
2937
|
userId?: string | undefined;
|
|
2938
2938
|
} & {
|
|
2939
2939
|
fetchOptions?: FetchOptions;
|
|
2940
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
2940
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<any, {
|
|
2941
2941
|
code?: string;
|
|
2942
2942
|
message?: string;
|
|
2943
2943
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
@@ -2960,17 +2960,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2960
2960
|
referrerPolicy?: ReferrerPolicy;
|
|
2961
2961
|
signal?: AbortSignal | null;
|
|
2962
2962
|
window?: null;
|
|
2963
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
2964
|
-
onResponse?: (context:
|
|
2965
|
-
onSuccess?: (context:
|
|
2966
|
-
onError?: (context:
|
|
2967
|
-
onRetry?: (response:
|
|
2963
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
2964
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
2965
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
2966
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
2967
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
2968
2968
|
hookOptions?: {
|
|
2969
2969
|
cloneResponse?: boolean;
|
|
2970
2970
|
};
|
|
2971
2971
|
timeout?: number;
|
|
2972
|
-
customFetchImpl?:
|
|
2973
|
-
plugins?:
|
|
2972
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
2973
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
2974
2974
|
baseURL?: string;
|
|
2975
2975
|
throw?: boolean;
|
|
2976
2976
|
auth?: {
|
|
@@ -2994,18 +2994,18 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
2994
2994
|
params?: Record<string, any>;
|
|
2995
2995
|
duplex?: "full" | "half";
|
|
2996
2996
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
2997
|
-
retry?:
|
|
2997
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
2998
2998
|
retryAttempt?: number;
|
|
2999
|
-
output?:
|
|
3000
|
-
errorSchema?:
|
|
2999
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
3000
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
3001
3001
|
disableValidation?: boolean;
|
|
3002
|
-
}>(data_0:
|
|
3002
|
+
}>(data_0: better_auth0.Prettify<{
|
|
3003
3003
|
providerId: string;
|
|
3004
3004
|
accountId?: string | undefined;
|
|
3005
3005
|
userId?: string | undefined;
|
|
3006
3006
|
} & {
|
|
3007
3007
|
fetchOptions?: FetchOptions;
|
|
3008
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
3008
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
3009
3009
|
accessToken: string;
|
|
3010
3010
|
accessTokenExpiresAt: Date | undefined;
|
|
3011
3011
|
scopes: string[];
|
|
@@ -3033,17 +3033,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
3033
3033
|
referrerPolicy?: ReferrerPolicy;
|
|
3034
3034
|
signal?: AbortSignal | null;
|
|
3035
3035
|
window?: null;
|
|
3036
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
3037
|
-
onResponse?: (context:
|
|
3038
|
-
onSuccess?: (context:
|
|
3039
|
-
onError?: (context:
|
|
3040
|
-
onRetry?: (response:
|
|
3036
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
3037
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
3038
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
3039
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
3040
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
3041
3041
|
hookOptions?: {
|
|
3042
3042
|
cloneResponse?: boolean;
|
|
3043
3043
|
};
|
|
3044
3044
|
timeout?: number;
|
|
3045
|
-
customFetchImpl?:
|
|
3046
|
-
plugins?:
|
|
3045
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
3046
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
3047
3047
|
baseURL?: string;
|
|
3048
3048
|
throw?: boolean;
|
|
3049
3049
|
auth?: {
|
|
@@ -3065,16 +3065,16 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
3065
3065
|
params?: Record<string, any>;
|
|
3066
3066
|
duplex?: "full" | "half";
|
|
3067
3067
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
3068
|
-
retry?:
|
|
3068
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
3069
3069
|
retryAttempt?: number;
|
|
3070
|
-
output?:
|
|
3071
|
-
errorSchema?:
|
|
3070
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
3071
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
3072
3072
|
disableValidation?: boolean;
|
|
3073
|
-
}>(data_0:
|
|
3073
|
+
}>(data_0: better_auth0.Prettify<{
|
|
3074
3074
|
accountId: string;
|
|
3075
3075
|
} & {
|
|
3076
3076
|
fetchOptions?: FetchOptions;
|
|
3077
|
-
}>, data_1?: FetchOptions) => Promise<
|
|
3077
|
+
}>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
3078
3078
|
user: packages_core_dist_oauth2.OAuth2UserInfo;
|
|
3079
3079
|
data: Record<string, any>;
|
|
3080
3080
|
}, {
|
|
@@ -3100,17 +3100,17 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
3100
3100
|
referrerPolicy?: ReferrerPolicy;
|
|
3101
3101
|
signal?: AbortSignal | null;
|
|
3102
3102
|
window?: null;
|
|
3103
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
3104
|
-
onResponse?: (context:
|
|
3105
|
-
onSuccess?: (context:
|
|
3106
|
-
onError?: (context:
|
|
3107
|
-
onRetry?: (response:
|
|
3103
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
3104
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
3105
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
3106
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
3107
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
3108
3108
|
hookOptions?: {
|
|
3109
3109
|
cloneResponse?: boolean;
|
|
3110
3110
|
};
|
|
3111
3111
|
timeout?: number;
|
|
3112
|
-
customFetchImpl?:
|
|
3113
|
-
plugins?:
|
|
3112
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
3113
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
3114
3114
|
baseURL?: string;
|
|
3115
3115
|
throw?: boolean;
|
|
3116
3116
|
auth?: {
|
|
@@ -3133,12 +3133,12 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
3133
3133
|
params?: Record<string, any>;
|
|
3134
3134
|
duplex?: "full" | "half";
|
|
3135
3135
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
3136
|
-
retry?:
|
|
3136
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
3137
3137
|
retryAttempt?: number;
|
|
3138
|
-
output?:
|
|
3139
|
-
errorSchema?:
|
|
3138
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
3139
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
3140
3140
|
disableValidation?: boolean;
|
|
3141
|
-
}>(data_0?:
|
|
3141
|
+
}>(data_0?: better_auth0.Prettify<undefined>, data_1?: FetchOptions) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
3142
3142
|
user: {
|
|
3143
3143
|
id: string;
|
|
3144
3144
|
createdAt: Date;
|
|
@@ -3167,8 +3167,8 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
3167
3167
|
signIn: {
|
|
3168
3168
|
passkey: (opts?: {
|
|
3169
3169
|
autoFill?: boolean;
|
|
3170
|
-
fetchOptions?:
|
|
3171
|
-
}, options?:
|
|
3170
|
+
fetchOptions?: _better_fetch_fetch0.BetterFetchOption;
|
|
3171
|
+
}, options?: _better_fetch_fetch0.BetterFetchOption) => Promise<{
|
|
3172
3172
|
data: null;
|
|
3173
3173
|
error: {
|
|
3174
3174
|
message?: string | undefined;
|
|
@@ -3178,7 +3178,7 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
3178
3178
|
} | {
|
|
3179
3179
|
data: {
|
|
3180
3180
|
session: inspector0.Session;
|
|
3181
|
-
user:
|
|
3181
|
+
user: better_auth0.User;
|
|
3182
3182
|
};
|
|
3183
3183
|
error: null;
|
|
3184
3184
|
} | {
|
|
@@ -3193,11 +3193,11 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
3193
3193
|
};
|
|
3194
3194
|
passkey: {
|
|
3195
3195
|
addPasskey: (opts?: {
|
|
3196
|
-
fetchOptions?:
|
|
3196
|
+
fetchOptions?: _better_fetch_fetch0.BetterFetchOption;
|
|
3197
3197
|
name?: string;
|
|
3198
3198
|
authenticatorAttachment?: "platform" | "cross-platform";
|
|
3199
3199
|
useAutoRegister?: boolean;
|
|
3200
|
-
}, fetchOpts?:
|
|
3200
|
+
}, fetchOpts?: _better_fetch_fetch0.BetterFetchOption) => Promise<{
|
|
3201
3201
|
data: null;
|
|
3202
3202
|
error: {
|
|
3203
3203
|
message?: string | undefined;
|
|
@@ -3241,24 +3241,24 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
3241
3241
|
userAgent?: string;
|
|
3242
3242
|
};
|
|
3243
3243
|
};
|
|
3244
|
-
error:
|
|
3244
|
+
error: _better_fetch_fetch0.BetterFetchError | null;
|
|
3245
3245
|
isPending: boolean;
|
|
3246
3246
|
}>;
|
|
3247
|
-
$fetch:
|
|
3248
|
-
plugins: (
|
|
3247
|
+
$fetch: _better_fetch_fetch0.BetterFetch<{
|
|
3248
|
+
plugins: (_better_fetch_fetch0.BetterFetchPlugin | {
|
|
3249
3249
|
id: string;
|
|
3250
3250
|
name: string;
|
|
3251
3251
|
hooks: {
|
|
3252
|
-
onSuccess: ((context:
|
|
3253
|
-
onError: ((context:
|
|
3254
|
-
onRequest: (<T extends Record<string, any>>(context:
|
|
3255
|
-
onResponse: ((context:
|
|
3252
|
+
onSuccess: ((context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
3253
|
+
onError: ((context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void) | undefined;
|
|
3254
|
+
onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void) | undefined;
|
|
3255
|
+
onResponse: ((context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void) | undefined;
|
|
3256
3256
|
};
|
|
3257
3257
|
} | {
|
|
3258
3258
|
id: string;
|
|
3259
3259
|
name: string;
|
|
3260
3260
|
hooks: {
|
|
3261
|
-
onSuccess(context:
|
|
3261
|
+
onSuccess(context: _better_fetch_fetch0.SuccessContext<any>): void;
|
|
3262
3262
|
};
|
|
3263
3263
|
})[];
|
|
3264
3264
|
cache?: RequestCache | undefined;
|
|
@@ -3278,12 +3278,12 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
3278
3278
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
3279
3279
|
signal?: (AbortSignal | null) | undefined;
|
|
3280
3280
|
window?: null | undefined;
|
|
3281
|
-
onRetry?: ((response:
|
|
3281
|
+
onRetry?: ((response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void) | undefined;
|
|
3282
3282
|
hookOptions?: {
|
|
3283
3283
|
cloneResponse?: boolean;
|
|
3284
3284
|
} | undefined;
|
|
3285
3285
|
timeout?: number | undefined;
|
|
3286
|
-
customFetchImpl:
|
|
3286
|
+
customFetchImpl: _better_fetch_fetch0.FetchEsque;
|
|
3287
3287
|
baseURL: string;
|
|
3288
3288
|
throw?: boolean | undefined;
|
|
3289
3289
|
auth?: ({
|
|
@@ -3303,10 +3303,10 @@ declare const getAuthClient: (backendURL: string) => {
|
|
|
3303
3303
|
params?: any;
|
|
3304
3304
|
duplex?: "full" | "half" | undefined;
|
|
3305
3305
|
jsonParser: (text: string) => Promise<any> | any;
|
|
3306
|
-
retry?:
|
|
3306
|
+
retry?: _better_fetch_fetch0.RetryOptions | undefined;
|
|
3307
3307
|
retryAttempt?: number | undefined;
|
|
3308
|
-
output?: (
|
|
3309
|
-
errorSchema?:
|
|
3308
|
+
output?: (_better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
3309
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1 | undefined;
|
|
3310
3310
|
disableValidation?: boolean | undefined;
|
|
3311
3311
|
}, unknown, unknown, {}>;
|
|
3312
3312
|
$store: {
|