@plyaz/api 1.7.1 → 1.7.2

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/index.mjs CHANGED
@@ -26884,7 +26884,7 @@ async function downloadFile(request, options) {
26884
26884
  );
26885
26885
  }
26886
26886
  const serviceDefaults = {
26887
- unifiedStrategy: "background",
26887
+ unifiedStrategy: "mutation",
26888
26888
  timeout: 6e4
26889
26889
  // 60 seconds for downloads
26890
26890
  };
@@ -26939,11 +26939,7 @@ __name(useGetFile, "useGetFile");
26939
26939
 
26940
26940
  // src/api/services/files/GET/useDownloadFile.ts
26941
26941
  function useDownloadFile(queryKey, request, serviceOptions, queryOptions) {
26942
- return createApiQuery(downloadFile, {
26943
- apiConfig: {
26944
- unifiedStrategy: "background"
26945
- }
26946
- })(queryKey, request, serviceOptions, queryOptions);
26942
+ return createApiQuery(downloadFile)(queryKey, request, serviceOptions, queryOptions);
26947
26943
  }
26948
26944
  __name(useDownloadFile, "useDownloadFile");
26949
26945