@moostjs/event-http 0.2.16 → 0.2.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/index.cjs +6 -1
- package/dist/index.mjs +6 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -81,7 +81,12 @@ class MoostHttp {
|
|
|
81
81
|
let response;
|
|
82
82
|
const interceptorHandler = yield opts.getIterceptorHandler();
|
|
83
83
|
restoreCtx();
|
|
84
|
-
|
|
84
|
+
try {
|
|
85
|
+
yield interceptorHandler.init();
|
|
86
|
+
}
|
|
87
|
+
catch (e) {
|
|
88
|
+
return e;
|
|
89
|
+
}
|
|
85
90
|
// params
|
|
86
91
|
let args = [];
|
|
87
92
|
try {
|
package/dist/index.mjs
CHANGED
|
@@ -79,7 +79,12 @@ class MoostHttp {
|
|
|
79
79
|
let response;
|
|
80
80
|
const interceptorHandler = yield opts.getIterceptorHandler();
|
|
81
81
|
restoreCtx();
|
|
82
|
-
|
|
82
|
+
try {
|
|
83
|
+
yield interceptorHandler.init();
|
|
84
|
+
}
|
|
85
|
+
catch (e) {
|
|
86
|
+
return e;
|
|
87
|
+
}
|
|
83
88
|
// params
|
|
84
89
|
let args = [];
|
|
85
90
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moostjs/event-http",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.17",
|
|
4
4
|
"description": "@moostjs/event-http",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"homepage": "https://github.com/moostjs/moostjs/tree/main/packages/event-http#readme",
|
|
30
30
|
"peerDependencies": {},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"moost": "0.2.
|
|
32
|
+
"moost": "0.2.17",
|
|
33
33
|
"@wooksjs/event-core": "^0.2.9",
|
|
34
34
|
"@wooksjs/event-http": "^0.2.9",
|
|
35
35
|
"@prostojs/infact": "^0.1.7",
|