@hpcc-js/comms 2.98.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.
Files changed (53) hide show
  1. package/dist/index.es6.js +22 -13
  2. package/dist/index.es6.js.map +1 -1
  3. package/dist/index.js +22 -13
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist/index.node.js +22 -13
  8. package/dist/index.node.js.map +1 -1
  9. package/dist/index.node.min.js +1 -1
  10. package/dist/index.node.min.js.map +1 -1
  11. package/lib-es6/__package__.js +2 -2
  12. package/lib-es6/ecl/activity.js +1 -1
  13. package/lib-es6/ecl/activity.js.map +1 -1
  14. package/lib-es6/ecl/logicalFile.js +4 -1
  15. package/lib-es6/ecl/logicalFile.js.map +1 -1
  16. package/lib-es6/ecl/query.js +4 -1
  17. package/lib-es6/ecl/query.js.map +1 -1
  18. package/lib-es6/ecl/targetCluster.js +1 -1
  19. package/lib-es6/ecl/targetCluster.js.map +1 -1
  20. package/lib-es6/ecl/topology.js +4 -1
  21. package/lib-es6/ecl/topology.js.map +1 -1
  22. package/lib-es6/espConnection.js +6 -0
  23. package/lib-es6/espConnection.js.map +1 -1
  24. package/lib-es6/services/wsWorkunits.js +0 -6
  25. package/lib-es6/services/wsWorkunits.js.map +1 -1
  26. package/package.json +2 -2
  27. package/src/__package__.ts +2 -2
  28. package/src/ecl/activity.ts +1 -3
  29. package/src/ecl/logicalFile.ts +4 -1
  30. package/src/ecl/query.ts +4 -1
  31. package/src/ecl/targetCluster.ts +1 -3
  32. package/src/ecl/topology.ts +4 -1
  33. package/src/espConnection.ts +8 -0
  34. package/src/services/wsWorkunits.ts +0 -9
  35. package/types/__package__.d.ts +2 -2
  36. package/types/ecl/activity.d.ts.map +1 -1
  37. package/types/ecl/logicalFile.d.ts +1 -1
  38. package/types/ecl/logicalFile.d.ts.map +1 -1
  39. package/types/ecl/query.d.ts +1 -1
  40. package/types/ecl/query.d.ts.map +1 -1
  41. package/types/ecl/targetCluster.d.ts.map +1 -1
  42. package/types/ecl/topology.d.ts +1 -1
  43. package/types/ecl/topology.d.ts.map +1 -1
  44. package/types/espConnection.d.ts +2 -0
  45. package/types/espConnection.d.ts.map +1 -1
  46. package/types/services/wsWorkunits.d.ts +0 -3
  47. package/types/services/wsWorkunits.d.ts.map +1 -1
  48. package/types-3.4/__package__.d.ts +2 -2
  49. package/types-3.4/ecl/logicalFile.d.ts +1 -1
  50. package/types-3.4/ecl/query.d.ts +1 -1
  51. package/types-3.4/ecl/topology.d.ts +1 -1
  52. package/types-3.4/espConnection.d.ts +2 -0
  53. 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.98.0";
652
- var BUILD_VERSION = "2.107.0";
651
+ var PKG_VERSION = "2.99.0";
652
+ var BUILD_VERSION = "2.107.1";
653
653
 
654
654
  /******************************************************************************
655
655
  Copyright (c) Microsoft Corporation.
@@ -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(__assign({}, state));
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(__assign({}, state));
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 () {