@wix/crm 1.0.117 → 1.0.119
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.
|
@@ -383,7 +383,8 @@ interface GetAttachmentIdentifiers {
|
|
|
383
383
|
|
|
384
384
|
interface HttpClient {
|
|
385
385
|
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
386
|
-
fetchWithAuth:
|
|
386
|
+
fetchWithAuth: typeof fetch;
|
|
387
|
+
wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
|
|
387
388
|
}
|
|
388
389
|
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
389
390
|
type HttpResponse<T = any> = {
|