@wix/media 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.
|
@@ -349,7 +349,8 @@ interface EnterpriseOnboardingOptions {
|
|
|
349
349
|
|
|
350
350
|
interface HttpClient {
|
|
351
351
|
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
352
|
-
fetchWithAuth:
|
|
352
|
+
fetchWithAuth: typeof fetch;
|
|
353
|
+
wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
|
|
353
354
|
}
|
|
354
355
|
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
355
356
|
type HttpResponse<T = any> = {
|