@wix/forms 1.0.102 → 1.0.104
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.
|
@@ -3588,7 +3588,8 @@ interface UpdateExtendedFieldsOptions {
|
|
|
3588
3588
|
|
|
3589
3589
|
interface HttpClient {
|
|
3590
3590
|
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
3591
|
-
fetchWithAuth:
|
|
3591
|
+
fetchWithAuth: typeof fetch;
|
|
3592
|
+
wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
|
|
3592
3593
|
}
|
|
3593
3594
|
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
3594
3595
|
type HttpResponse<T = any> = {
|
|
@@ -310,15 +310,9 @@ declare global {
|
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
|
|
314
|
-
request: ValidateSubmissionRequest;
|
|
315
|
-
metadata: Context;
|
|
316
|
-
}
|
|
317
|
-
declare const provideHandlers$1: ServicePluginDefinition<{
|
|
318
|
-
validateSubmission(payload: ValidateSubmissionEnvelope): ValidateSubmissionResponse | Promise<ValidateSubmissionResponse>;
|
|
319
|
-
}>;
|
|
313
|
+
declare function createServicePluginModule<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
|
|
320
314
|
|
|
321
|
-
declare const provideHandlers:
|
|
315
|
+
declare const provideHandlers: ReturnType<typeof createServicePluginModule<typeof publicProvideHandlers>>;
|
|
322
316
|
|
|
323
317
|
type context_ActionType = ActionType;
|
|
324
318
|
declare const context_ActionType: typeof ActionType;
|