@hpcc-js/comms 2.73.4 → 2.73.5
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.es6.js +9 -5
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +9 -5
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.node.js +9 -5
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.min.js +1 -1
- package/dist/index.node.min.js.map +1 -1
- package/lib-es6/__package__.js +2 -2
- package/lib-es6/ecl/targetCluster.js +1 -1
- package/lib-es6/ecl/targetCluster.js.map +1 -1
- package/lib-es6/services/wsMachine.js +6 -2
- package/lib-es6/services/wsMachine.js.map +1 -1
- package/package.json +2 -2
- package/src/__package__.ts +2 -2
- package/src/ecl/targetCluster.ts +1 -1
- package/src/services/wsMachine.ts +5 -2
- package/types/__package__.d.ts +2 -2
- package/types/services/wsMachine.d.ts +1 -1
- package/types/services/wsMachine.d.ts.map +1 -1
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/services/wsMachine.d.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -611,8 +611,8 @@
|
|
|
611
611
|
}
|
|
612
612
|
|
|
613
613
|
var PKG_NAME = "@hpcc-js/comms";
|
|
614
|
-
var PKG_VERSION = "2.73.
|
|
615
|
-
var BUILD_VERSION = "2.102.
|
|
614
|
+
var PKG_VERSION = "2.73.5";
|
|
615
|
+
var BUILD_VERSION = "2.102.7";
|
|
616
616
|
|
|
617
617
|
/*! *****************************************************************************
|
|
618
618
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1705,8 +1705,12 @@
|
|
|
1705
1705
|
function MachineService() {
|
|
1706
1706
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1707
1707
|
}
|
|
1708
|
-
MachineService.prototype.GetTargetClusterUsageEx = function (
|
|
1709
|
-
|
|
1708
|
+
MachineService.prototype.GetTargetClusterUsageEx = function (targetClusters, bypassCachedResult) {
|
|
1709
|
+
if (bypassCachedResult === void 0) { bypassCachedResult = false; }
|
|
1710
|
+
return this._connection.send("GetTargetClusterUsage", {
|
|
1711
|
+
TargetClusters: targetClusters ? { Item: targetClusters } : {},
|
|
1712
|
+
BypassCachedResult: bypassCachedResult
|
|
1713
|
+
}).then(function (response) {
|
|
1710
1714
|
return util.exists("TargetClusterUsages.TargetClusterUsage", response) ? response.TargetClusterUsages.TargetClusterUsage : [];
|
|
1711
1715
|
}).then(function (response) {
|
|
1712
1716
|
return response.filter(function (tcu) { return !!tcu.ComponentUsages; }).map(function (tcu) {
|
|
@@ -6759,7 +6763,7 @@
|
|
|
6759
6763
|
};
|
|
6760
6764
|
};
|
|
6761
6765
|
TargetCluster.prototype.fetchUsage = function () {
|
|
6762
|
-
return this.machineConnection.GetTargetClusterUsageEx(
|
|
6766
|
+
return this.machineConnection.GetTargetClusterUsageEx([this.Name]);
|
|
6763
6767
|
};
|
|
6764
6768
|
return TargetCluster;
|
|
6765
6769
|
}(util.StateObject));
|