zustand-fetching
Advanced tools
Comparing version 1.0.5-beta to 1.0.6-beta
@@ -97,12 +97,9 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
.catch((error) => { | ||
var _a, _b, _c; | ||
var _a, _b; | ||
if (error.message === "The user aborted a request.") { | ||
(_a = extra === null || extra === void 0 ? void 0 : extra.abortReaction) === null || _a === void 0 ? void 0 : _a.call(extra, params); | ||
} | ||
else if (error instanceof Error) { | ||
else { | ||
(_b = extra === null || extra === void 0 ? void 0 : extra.rejectedReaction) === null || _b === void 0 ? void 0 : _b.call(extra, params, error); | ||
} | ||
else { | ||
(_c = extra === null || extra === void 0 ? void 0 : extra.rejectedReaction) === null || _c === void 0 ? void 0 : _c.call(extra, params, "Unknown Failure"); | ||
} | ||
}) | ||
@@ -109,0 +106,0 @@ .finally(() => { |
{ | ||
"name": "zustand-fetching", | ||
"version": "1.0.5-beta", | ||
"version": "1.0.6-beta", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "Zustand fetching helpers", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61619
387