@hpcc-js/comms 2.97.0 → 2.99.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.es6.js +25 -16
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +25 -16
- 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 +25 -16
- 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/__package__.js.map +1 -1
- package/lib-es6/ecl/activity.js +1 -1
- package/lib-es6/ecl/activity.js.map +1 -1
- package/lib-es6/ecl/logicalFile.js +4 -1
- package/lib-es6/ecl/logicalFile.js.map +1 -1
- package/lib-es6/ecl/query.js +4 -1
- package/lib-es6/ecl/query.js.map +1 -1
- package/lib-es6/ecl/targetCluster.js +1 -1
- package/lib-es6/ecl/targetCluster.js.map +1 -1
- package/lib-es6/ecl/topology.js +4 -1
- package/lib-es6/ecl/topology.js.map +1 -1
- package/lib-es6/espConnection.js +6 -0
- package/lib-es6/espConnection.js.map +1 -1
- package/lib-es6/services/wsWorkunits.js +0 -6
- package/lib-es6/services/wsWorkunits.js.map +1 -1
- package/package.json +7 -7
- package/src/__package__.ts +2 -2
- package/src/ecl/activity.ts +1 -3
- package/src/ecl/logicalFile.ts +4 -1
- package/src/ecl/query.ts +4 -1
- package/src/ecl/targetCluster.ts +1 -3
- package/src/ecl/topology.ts +4 -1
- package/src/espConnection.ts +8 -0
- package/src/services/wsWorkunits.ts +0 -9
- package/types/__package__.d.ts +2 -2
- package/types/__package__.d.ts.map +1 -1
- package/types/ecl/activity.d.ts.map +1 -1
- package/types/ecl/logicalFile.d.ts +1 -1
- package/types/ecl/logicalFile.d.ts.map +1 -1
- package/types/ecl/query.d.ts +1 -1
- package/types/ecl/query.d.ts.map +1 -1
- package/types/ecl/targetCluster.d.ts.map +1 -1
- package/types/ecl/topology.d.ts +1 -1
- package/types/ecl/topology.d.ts.map +1 -1
- package/types/espConnection.d.ts +2 -0
- package/types/espConnection.d.ts.map +1 -1
- package/types/services/wsWorkunits.d.ts +0 -3
- package/types/services/wsWorkunits.d.ts.map +1 -1
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/ecl/logicalFile.d.ts +1 -1
- package/types-3.4/ecl/query.d.ts +1 -1
- package/types-3.4/ecl/topology.d.ts +1 -1
- package/types-3.4/espConnection.d.ts +2 -0
- package/types-3.4/services/wsWorkunits.d.ts +0 -3
package/dist/index.js
CHANGED
|
@@ -648,8 +648,8 @@
|
|
|
648
648
|
}
|
|
649
649
|
|
|
650
650
|
var PKG_NAME = "@hpcc-js/comms";
|
|
651
|
-
var PKG_VERSION = "2.
|
|
652
|
-
var BUILD_VERSION = "2.
|
|
651
|
+
var PKG_VERSION = "2.99.0";
|
|
652
|
+
var BUILD_VERSION = "2.107.1";
|
|
653
653
|
|
|
654
654
|
/******************************************************************************
|
|
655
655
|
Copyright (c) Microsoft Corporation.
|
|
@@ -665,7 +665,7 @@
|
|
|
665
665
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
666
666
|
PERFORMANCE OF THIS SOFTWARE.
|
|
667
667
|
***************************************************************************** */
|
|
668
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
668
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
669
669
|
|
|
670
670
|
var extendStatics = function(d, b) {
|
|
671
671
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -704,8 +704,8 @@
|
|
|
704
704
|
}
|
|
705
705
|
|
|
706
706
|
function __generator(thisArg, body) {
|
|
707
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
708
|
-
return g =
|
|
707
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
708
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
709
709
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
710
710
|
function step(op) {
|
|
711
711
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -1136,6 +1136,12 @@
|
|
|
1136
1136
|
enumerable: false,
|
|
1137
1137
|
configurable: true
|
|
1138
1138
|
});
|
|
1139
|
+
Service.prototype.opts = function () {
|
|
1140
|
+
return this._connection.opts();
|
|
1141
|
+
};
|
|
1142
|
+
Service.prototype.connection = function () {
|
|
1143
|
+
return this._connection.clone();
|
|
1144
|
+
};
|
|
1139
1145
|
return Service;
|
|
1140
1146
|
}());
|
|
1141
1147
|
|
|
@@ -3334,12 +3340,6 @@
|
|
|
3334
3340
|
function WorkunitsService(optsConnection) {
|
|
3335
3341
|
return _super.call(this, optsConnection) || this;
|
|
3336
3342
|
}
|
|
3337
|
-
WorkunitsService.prototype.opts = function () {
|
|
3338
|
-
return this._connection.opts();
|
|
3339
|
-
};
|
|
3340
|
-
WorkunitsService.prototype.connection = function () {
|
|
3341
|
-
return this._connection.clone();
|
|
3342
|
-
};
|
|
3343
3343
|
WorkunitsService.prototype.Ping = function () {
|
|
3344
3344
|
return this._connection.send("Ping", {}, "json", false, undefined, "WsWorkunitsPingResponse").then(function (response) {
|
|
3345
3345
|
return { result: true };
|
|
@@ -7496,7 +7496,7 @@
|
|
|
7496
7496
|
_activity = new Activity(optsConnection);
|
|
7497
7497
|
}
|
|
7498
7498
|
if (state) {
|
|
7499
|
-
_activity.set(
|
|
7499
|
+
_activity.set(state);
|
|
7500
7500
|
}
|
|
7501
7501
|
return _activity;
|
|
7502
7502
|
};
|
|
@@ -7834,10 +7834,13 @@
|
|
|
7834
7834
|
enumerable: false,
|
|
7835
7835
|
configurable: true
|
|
7836
7836
|
});
|
|
7837
|
-
LogicalFile.attach = function (optsConnection, Cluster, Name) {
|
|
7837
|
+
LogicalFile.attach = function (optsConnection, Cluster, Name, state) {
|
|
7838
7838
|
var retVal = _store$1.get({ BaseUrl: optsConnection.baseUrl, Cluster: Cluster, Name: Name }, function () {
|
|
7839
7839
|
return new LogicalFile(optsConnection, Cluster, Name);
|
|
7840
7840
|
});
|
|
7841
|
+
if (state) {
|
|
7842
|
+
retVal.set(state);
|
|
7843
|
+
}
|
|
7841
7844
|
return retVal;
|
|
7842
7845
|
};
|
|
7843
7846
|
LogicalFile.prototype.filePartsOnCluster = function () {
|
|
@@ -8157,7 +8160,7 @@
|
|
|
8157
8160
|
return new TargetCluster(optsConnection, name);
|
|
8158
8161
|
});
|
|
8159
8162
|
if (state) {
|
|
8160
|
-
retVal.set(
|
|
8163
|
+
retVal.set(state);
|
|
8161
8164
|
}
|
|
8162
8165
|
return retVal;
|
|
8163
8166
|
};
|
|
@@ -8305,10 +8308,13 @@
|
|
|
8305
8308
|
enumerable: false,
|
|
8306
8309
|
configurable: true
|
|
8307
8310
|
});
|
|
8308
|
-
Topology.attach = function (optsConnection) {
|
|
8311
|
+
Topology.attach = function (optsConnection, state) {
|
|
8309
8312
|
var retVal = _topology.get({ BaseUrl: optsConnection.baseUrl }, function () {
|
|
8310
8313
|
return new Topology(optsConnection);
|
|
8311
8314
|
});
|
|
8315
|
+
if (state) {
|
|
8316
|
+
retVal.set(state);
|
|
8317
|
+
}
|
|
8312
8318
|
return retVal;
|
|
8313
8319
|
};
|
|
8314
8320
|
Topology.prototype.GetESPServiceBaseURL = function (type) {
|
|
@@ -9300,10 +9306,13 @@
|
|
|
9300
9306
|
enumerable: false,
|
|
9301
9307
|
configurable: true
|
|
9302
9308
|
});
|
|
9303
|
-
Query.attach = function (optsConnection, querySet, queryId) {
|
|
9309
|
+
Query.attach = function (optsConnection, querySet, queryId, state) {
|
|
9304
9310
|
var retVal = _queries.get({ BaseUrl: optsConnection.baseUrl, QuerySet: querySet, QueryId: queryId }, function () {
|
|
9305
9311
|
return new Query(optsConnection, querySet, queryId);
|
|
9306
9312
|
});
|
|
9313
|
+
if (state) {
|
|
9314
|
+
retVal.set(state);
|
|
9315
|
+
}
|
|
9307
9316
|
return retVal;
|
|
9308
9317
|
};
|
|
9309
9318
|
Query.prototype.wsEclService = function () {
|