@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.cjs CHANGED
@@ -26900,7 +26900,7 @@ async function downloadFile(request, options) {
26900
26900
  );
26901
26901
  }
26902
26902
  const serviceDefaults = {
26903
- unifiedStrategy: "background",
26903
+ unifiedStrategy: "mutation",
26904
26904
  timeout: 6e4
26905
26905
  // 60 seconds for downloads
26906
26906
  };
@@ -26955,11 +26955,7 @@ __name(useGetFile, "useGetFile");
26955
26955
 
26956
26956
  // src/api/services/files/GET/useDownloadFile.ts
26957
26957
  function useDownloadFile(queryKey, request, serviceOptions, queryOptions) {
26958
- return createApiQuery(downloadFile, {
26959
- apiConfig: {
26960
- unifiedStrategy: "background"
26961
- }
26962
- })(queryKey, request, serviceOptions, queryOptions);
26958
+ return createApiQuery(downloadFile)(queryKey, request, serviceOptions, queryOptions);
26963
26959
  }
26964
26960
  __name(useDownloadFile, "useDownloadFile");
26965
26961