@hpcc-js/comms 3.3.0 → 3.5.0
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.browser.js → browser/index.js} +3 -8
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/index.umd.cjs +7 -0
- package/dist/browser/index.umd.cjs.map +1 -0
- package/dist/node/index.cjs +926 -0
- package/dist/node/index.cjs.map +7 -0
- package/dist/{index.node.js → node/index.js} +4 -4
- package/dist/node/index.js.map +7 -0
- package/package.json +26 -10
- package/src/__package__.ts +2 -2
- package/src/espConnection.ts +0 -8
- package/src/services/wsWorkunits.ts +1 -3
- package/types/__package__.d.ts +2 -2
- package/dist/index.browser.js.map +0 -1
- package/dist/index.browser.umd.cjs +0 -7
- package/dist/index.browser.umd.cjs.map +0 -1
- package/dist/index.node.js.map +0 -7
|
@@ -2,7 +2,7 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key != "symbol" ? key + "" : key, value);
|
|
4
4
|
import { scopedLogger, join, promiseTimeout, exists, deepMixin, xml2json, StateObject, Cache, Graph, Subgraph as Subgraph$1, Vertex as Vertex$1, Edge as Edge$1, SAXStackParser, Stack, espTime2Seconds as espTime2Seconds$1, deepMixinT, XMLNode, debounce, Message, Dispatch } from "@hpcc-js/util";
|
|
5
|
-
const PKG_NAME = "@hpcc-js/comms", PKG_VERSION = "3.
|
|
5
|
+
const PKG_NAME = "@hpcc-js/comms", PKG_VERSION = "3.4.0", BUILD_VERSION = "3.4.0", logger$5 = scopedLogger("comms/connection.ts");
|
|
6
6
|
function instanceOfIOptions(object) {
|
|
7
7
|
return "baseUrl" in object;
|
|
8
8
|
}
|
|
@@ -222,11 +222,6 @@ class ESPConnection {
|
|
|
222
222
|
return retVal;
|
|
223
223
|
}
|
|
224
224
|
return response;
|
|
225
|
-
}).catch((e) => {
|
|
226
|
-
throw e.isESPExceptions ? e : new ESPExceptions(action, request, {
|
|
227
|
-
Source: "ESPConnection.send",
|
|
228
|
-
Exception: [{ Code: 0, Message: e.message }]
|
|
229
|
-
});
|
|
230
225
|
});
|
|
231
226
|
}
|
|
232
227
|
clone() {
|
|
@@ -1915,7 +1910,7 @@ class WorkunitsService extends WorkunitsServiceBase {
|
|
|
1915
1910
|
__publicField(this, "_WUDetailsMetaPromise");
|
|
1916
1911
|
}
|
|
1917
1912
|
Ping() {
|
|
1918
|
-
return this._connection.send("Ping", {}, "json", !1, void 0, "WsWorkunitsPingResponse").then((
|
|
1913
|
+
return this._connection.send("Ping", {}, "json", !1, void 0, "WsWorkunitsPingResponse").then(() => ({ result: !0 }));
|
|
1919
1914
|
}
|
|
1920
1915
|
WUQuery(request = {}, abortSignal) {
|
|
1921
1916
|
return this._connection.send("WUQuery", request, "json", !1, abortSignal).then((response) => deepMixin({ Workunits: { ECLWorkunit: [] } }, response));
|
|
@@ -6315,4 +6310,4 @@ export {
|
|
|
6315
6310
|
splitMetric,
|
|
6316
6311
|
targetClusters
|
|
6317
6312
|
};
|
|
6318
|
-
//# sourceMappingURL=index.
|
|
6313
|
+
//# sourceMappingURL=index.js.map
|