@auxilium/datalynk-client 0.9.1 → 0.9.2
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2572,7 +2572,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2572
2572
|
if (options.force) {
|
|
2573
2573
|
return new Promise((res, rej) => {
|
|
2574
2574
|
this._request(data, options).then((resp) => {
|
|
2575
|
-
resp.error ? rej(resp) : res(resp);
|
|
2575
|
+
(resp == null ? void 0 : resp.error) ? rej(resp) : res(resp);
|
|
2576
2576
|
}).catch((err) => rej(err));
|
|
2577
2577
|
});
|
|
2578
2578
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -2568,7 +2568,7 @@ class Api {
|
|
|
2568
2568
|
if (options.force) {
|
|
2569
2569
|
return new Promise((res, rej) => {
|
|
2570
2570
|
this._request(data, options).then((resp) => {
|
|
2571
|
-
resp.error ? rej(resp) : res(resp);
|
|
2571
|
+
(resp == null ? void 0 : resp.error) ? rej(resp) : res(resp);
|
|
2572
2572
|
}).catch((err) => rej(err));
|
|
2573
2573
|
});
|
|
2574
2574
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@auxilium/datalynk-client",
|
|
3
3
|
"description": "Datalynk client library",
|
|
4
4
|
"repository": "https://gitlab.auxiliumgroup.com/auxilium/datalynk/datalynk-client",
|
|
5
|
-
"version": "0.9.
|
|
5
|
+
"version": "0.9.2",
|
|
6
6
|
"author": "Zak Timson <zaktimson@gmail.com>",
|
|
7
7
|
"private": false,
|
|
8
8
|
"main": "./dist/index.cjs",
|