@kawaiininja/fetch 1.0.9 → 1.0.10

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.
@@ -210,7 +210,7 @@ export const useFetch = (endpoint, baseOptions = {}) => {
210
210
  if (onError && !isNative()) {
211
211
  onError(err.message, lastStatus);
212
212
  }
213
- throw err;
213
+ return undefined;
214
214
  }
215
215
  }
216
216
  finally {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kawaiininja/fetch",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Core fetch utility for Onyx Framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",