abbot-http-client 0.0.40 → 0.0.41
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/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -288,10 +288,10 @@ var AbbotHttp = class extends Axios {
|
|
|
288
288
|
axios2.interceptors.response.use(
|
|
289
289
|
(response) => {
|
|
290
290
|
const res = { ...response };
|
|
291
|
-
res.data = cryp.decrypt(response.data);
|
|
292
291
|
if (option?.isDownload) {
|
|
293
292
|
return res;
|
|
294
293
|
}
|
|
294
|
+
res.data = cryp.decrypt(response.data);
|
|
295
295
|
return res.data;
|
|
296
296
|
},
|
|
297
297
|
(error) => {
|
package/dist/index.js
CHANGED
|
@@ -249,10 +249,10 @@ var AbbotHttp = class extends Axios {
|
|
|
249
249
|
axios2.interceptors.response.use(
|
|
250
250
|
(response) => {
|
|
251
251
|
const res = { ...response };
|
|
252
|
-
res.data = cryp.decrypt(response.data);
|
|
253
252
|
if (option?.isDownload) {
|
|
254
253
|
return res;
|
|
255
254
|
}
|
|
255
|
+
res.data = cryp.decrypt(response.data);
|
|
256
256
|
return res.data;
|
|
257
257
|
},
|
|
258
258
|
(error) => {
|