videomail-client 10.0.2 → 10.0.3
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 +13 -2
- package/dist/index.js +13 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4464,7 +4464,18 @@ function __webpack_require__(moduleId) {
|
|
|
4464
4464
|
if (exc instanceof Error && "response" in exc) {
|
|
4465
4465
|
const response = exc.response;
|
|
4466
4466
|
const body = response.body;
|
|
4467
|
-
if ("error" in body)
|
|
4467
|
+
if ("error" in body) {
|
|
4468
|
+
const message = body.error.message;
|
|
4469
|
+
const name = body.error.name;
|
|
4470
|
+
const stack = body.error.stack;
|
|
4471
|
+
const cause = body.error.cause;
|
|
4472
|
+
const error = new Error(message, {
|
|
4473
|
+
cause
|
|
4474
|
+
});
|
|
4475
|
+
error.name = name;
|
|
4476
|
+
error.stack = stack;
|
|
4477
|
+
return error;
|
|
4478
|
+
}
|
|
4468
4479
|
}
|
|
4469
4480
|
return exc;
|
|
4470
4481
|
}
|
|
@@ -5800,7 +5811,7 @@ function __webpack_require__(moduleId) {
|
|
|
5800
5811
|
const external_is_power_of_two_namespaceObject = require("is-power-of-two");
|
|
5801
5812
|
var external_is_power_of_two_default = /*#__PURE__*/ __webpack_require__.n(external_is_power_of_two_namespaceObject);
|
|
5802
5813
|
var package_namespaceObject = {
|
|
5803
|
-
i8: "10.0.
|
|
5814
|
+
i8: "10.0.2"
|
|
5804
5815
|
}; // CONCATENATED MODULE: ./src/types/env.ts
|
|
5805
5816
|
// ... and these actually define the runtime mode of Node.js and are
|
|
5806
5817
|
// set either in package.json, via Jest or in the Dockerfile
|
package/dist/index.js
CHANGED
|
@@ -4366,7 +4366,18 @@ function findOriginalExc(exc) {
|
|
|
4366
4366
|
if (exc instanceof Error && "response" in exc) {
|
|
4367
4367
|
const response = exc.response;
|
|
4368
4368
|
const body = response.body;
|
|
4369
|
-
if ("error" in body)
|
|
4369
|
+
if ("error" in body) {
|
|
4370
|
+
const message = body.error.message;
|
|
4371
|
+
const name = body.error.name;
|
|
4372
|
+
const stack = body.error.stack;
|
|
4373
|
+
const cause = body.error.cause;
|
|
4374
|
+
const error = new Error(message, {
|
|
4375
|
+
cause
|
|
4376
|
+
});
|
|
4377
|
+
error.name = name;
|
|
4378
|
+
error.stack = stack;
|
|
4379
|
+
return error;
|
|
4380
|
+
}
|
|
4370
4381
|
}
|
|
4371
4382
|
return exc;
|
|
4372
4383
|
}
|
|
@@ -5585,7 +5596,7 @@ function isPromise_isPromise(anything) {
|
|
|
5585
5596
|
}
|
|
5586
5597
|
/* ESM default export */ const isPromise = isPromise_isPromise;
|
|
5587
5598
|
var package_namespaceObject = {
|
|
5588
|
-
i8: "10.0.
|
|
5599
|
+
i8: "10.0.2"
|
|
5589
5600
|
}; // CONCATENATED MODULE: ./src/types/env.ts
|
|
5590
5601
|
// ... and these actually define the runtime mode of Node.js and are
|
|
5591
5602
|
// set either in package.json, via Jest or in the Dockerfile
|