@orion-js/echoes 3.2.39 → 3.2.44
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/lib/request/index.js +3 -3
- package/package.json +6 -6
package/lib/request/index.js
CHANGED
|
@@ -26,17 +26,17 @@ async function default_1(options) {
|
|
|
26
26
|
};
|
|
27
27
|
const result = await requestMaker(requestOptions);
|
|
28
28
|
if (result.statusCode !== 200) {
|
|
29
|
-
throw new Error(`Echoes request network error ${result.statusCode}`);
|
|
29
|
+
throw new Error(`Echoes request network error calling ${service}/${method}: Wrong status code ${result.statusCode}`);
|
|
30
30
|
}
|
|
31
31
|
const data = result.data;
|
|
32
32
|
if (data.error) {
|
|
33
|
-
throw new Error(`Echoes request error: ${data.error}`);
|
|
33
|
+
throw new Error(`Echoes request error calling ${service}/${method}: ${data.error}`);
|
|
34
34
|
}
|
|
35
35
|
const response = (0, deserialize_1.default)(data.result);
|
|
36
36
|
return response;
|
|
37
37
|
}
|
|
38
38
|
catch (error) {
|
|
39
|
-
throw new Error(`Echoes request network error ${error.message}`);
|
|
39
|
+
throw new Error(`Echoes request network error calling ${service}/${method}: ${error.message}`);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
exports.default = default_1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orion-js/echoes",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.44",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"types": "lib/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"upgrade-interactive": "yarn upgrade-interactive"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@orion-js/env": "^3.2.
|
|
21
|
-
"@orion-js/helpers": "^3.2.
|
|
22
|
-
"@orion-js/http": "^3.2.
|
|
23
|
-
"@orion-js/services": "^3.2.
|
|
20
|
+
"@orion-js/env": "^3.2.40",
|
|
21
|
+
"@orion-js/helpers": "^3.2.40",
|
|
22
|
+
"@orion-js/http": "^3.2.40",
|
|
23
|
+
"@orion-js/services": "^3.2.40",
|
|
24
24
|
"axios": "^0.24.0",
|
|
25
25
|
"jssha": "^3.2.0",
|
|
26
26
|
"kafkajs": "^1.15.0",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "0346a54200437d101bd69519da925f9b9b807485"
|
|
44
44
|
}
|