@reltio/components 1.4.1532 → 1.4.1533
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/cjs/hooks/useAPI/API.js
CHANGED
|
@@ -168,7 +168,11 @@ var processRequest = function (_a) {
|
|
|
168
168
|
} }, paramObject.params));
|
|
169
169
|
})
|
|
170
170
|
.catch(function (error) {
|
|
171
|
-
worker.postMessage(__assign({ action: 'response', result: {
|
|
171
|
+
worker.postMessage(__assign({ action: 'response', result: {
|
|
172
|
+
data: JSON.parse(JSON.stringify(error)),
|
|
173
|
+
headers: paramObject.params.headers,
|
|
174
|
+
status: 0
|
|
175
|
+
} }, paramObject.params));
|
|
172
176
|
});
|
|
173
177
|
};
|
|
174
178
|
var shouldSignRequest = (0, helpers_1.isNewUI)(servicesPath);
|
package/esm/hooks/useAPI/API.js
CHANGED
|
@@ -165,7 +165,11 @@ export var processRequest = function (_a) {
|
|
|
165
165
|
} }, paramObject.params));
|
|
166
166
|
})
|
|
167
167
|
.catch(function (error) {
|
|
168
|
-
worker.postMessage(__assign({ action: 'response', result: {
|
|
168
|
+
worker.postMessage(__assign({ action: 'response', result: {
|
|
169
|
+
data: JSON.parse(JSON.stringify(error)),
|
|
170
|
+
headers: paramObject.params.headers,
|
|
171
|
+
status: 0
|
|
172
|
+
} }, paramObject.params));
|
|
169
173
|
});
|
|
170
174
|
};
|
|
171
175
|
var shouldSignRequest = isNewUI(servicesPath);
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reltio/components",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1533",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE FILE",
|
|
5
5
|
"main": "./cjs/index.js",
|
|
6
6
|
"module": "./esm/index.js",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@date-io/moment": "^1.3.5",
|
|
9
9
|
"@react-google-maps/api": "2.7.0",
|
|
10
|
-
"@reltio/mdm-module": "^1.4.
|
|
11
|
-
"@reltio/mdm-sdk": "^1.4.
|
|
10
|
+
"@reltio/mdm-module": "^1.4.1533",
|
|
11
|
+
"@reltio/mdm-sdk": "^1.4.1533",
|
|
12
12
|
"classnames": "^2.2.5",
|
|
13
13
|
"d3-cloud": "^1.2.5",
|
|
14
14
|
"d3-geo": "^2.0.1",
|