@anfenn/dync 1.0.16 → 1.0.17
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/{chunk-NJF2KCLA.js → chunk-WZ7V4U6Z.js} +2 -2
- package/dist/chunk-WZ7V4U6Z.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +1 -1
- package/package.json +1 -1
- package/src/helpers.ts +1 -1
- package/dist/chunk-NJF2KCLA.js.map +0 -1
|
@@ -59,7 +59,7 @@ function parseApiError(error) {
|
|
|
59
59
|
function isNetworkError(error) {
|
|
60
60
|
const message = error.message?.toLowerCase() ?? "";
|
|
61
61
|
const name = error.name;
|
|
62
|
-
if (
|
|
62
|
+
if (message.includes("failed to fetch") || message.includes("network request failed")) {
|
|
63
63
|
return true;
|
|
64
64
|
}
|
|
65
65
|
const code = error.code;
|
|
@@ -3806,4 +3806,4 @@ export {
|
|
|
3806
3806
|
SqliteQueryContext,
|
|
3807
3807
|
SQLiteAdapter2 as SQLiteAdapter
|
|
3808
3808
|
};
|
|
3809
|
-
//# sourceMappingURL=chunk-
|
|
3809
|
+
//# sourceMappingURL=chunk-WZ7V4U6Z.js.map
|