@datapos/datapos-shared 0.3.572 → 0.3.573
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.
|
@@ -91,12 +91,6 @@ function h(e) {
|
|
|
91
91
|
t = { body: n.body, locator: n.locator, message: r.message, name: "FetchError", stack: r.stack }, r = r.cause == null ? null : a(r.cause);
|
|
92
92
|
break;
|
|
93
93
|
}
|
|
94
|
-
// case 'DPUError': {
|
|
95
|
-
// const typedCause = cause as DPUError;
|
|
96
|
-
// serialisedError = { body: undefined, locator: typedCause.locator, message: cause.message, name: 'DPUError', stack: cause.stack };
|
|
97
|
-
// cause = cause.cause == null ? null : normalizeToError(cause.cause);
|
|
98
|
-
// break;
|
|
99
|
-
// }
|
|
100
94
|
default:
|
|
101
95
|
r.name ? (t = { body: void 0, locator: "", message: r.message, name: r.name, stack: r.stack }, r = r.cause == null ? null : a(r.cause)) : (t = { body: void 0, locator: "", message: f(r), name: "Error", stack: void 0 }, r = null);
|
|
102
96
|
}
|
|
@@ -122,9 +116,6 @@ function w(e) {
|
|
|
122
116
|
case "FetchError":
|
|
123
117
|
r = new i(o.message, o.locator, o.body, { cause: s });
|
|
124
118
|
break;
|
|
125
|
-
// case 'DPUError':
|
|
126
|
-
// error = new DPUError(serialised.message, serialised.locator, { cause: rebuiltError });
|
|
127
|
-
// break;
|
|
128
119
|
default:
|
|
129
120
|
r = new Error(o.message, { cause: s }), r.name = o.name;
|
|
130
121
|
break;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datapos/datapos-shared",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.573",
|
|
4
4
|
"description": "A library containing common constants, types and utilities used across all Data Positioning projects.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Jonathan Terrell <terrell.jm@gmail.com>",
|