@eduzz/miau-client 1.0.4 → 1.0.5-rc.113

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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @eduzz/miau-client@1.0.4 build:types /home/runner/work/eduzz-miau/eduzz-miau/packages/client
2
+ > @eduzz/miau-client@1.0.5 build:types /home/runner/work/eduzz-miau/eduzz-miau/packages/client
3
3
  > tsc --emitDeclarationOnly --outDir dist
4
4
 
package/dist/index.js CHANGED
@@ -11987,7 +11987,10 @@ var cacheableFetch = async (input, init) => {
11987
11987
  }
11988
11988
  requestsCache.delete(cacheKey);
11989
11989
  }
11990
- const newRequest = reusableFetch(input, init);
11990
+ const newRequest = reusableFetch(input, init).catch((err) => {
11991
+ requestsCache.delete(cacheKey);
11992
+ throw err;
11993
+ });
11991
11994
  requestsCache.set(cacheKey, newRequest);
11992
11995
  return (await newRequest).data;
11993
11996
  };