@yeepay/client-utils 2.1.0 → 2.2.0
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/README.md +0 -1
- package/dist/index.js +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -175,6 +175,8 @@ function serviceFactory(options, ...callbacks) {
|
|
|
175
175
|
}
|
|
176
176
|
},
|
|
177
177
|
(error) => {
|
|
178
|
+
if (import_axios.default.isCancel(error))
|
|
179
|
+
return Promise.reject(error);
|
|
178
180
|
let status = 0;
|
|
179
181
|
try {
|
|
180
182
|
status = error.response.status || error.response.data.status;
|
package/dist/index.mjs
CHANGED