@hpcc-js/comms 2.84.5 → 2.86.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.js CHANGED
@@ -647,8 +647,8 @@
647
647
  }
648
648
 
649
649
  var PKG_NAME = "@hpcc-js/comms";
650
- var PKG_VERSION = "2.84.5";
651
- var BUILD_VERSION = "2.104.31";
650
+ var PKG_VERSION = "2.86.0";
651
+ var BUILD_VERSION = "2.104.34";
652
652
 
653
653
  /******************************************************************************
654
654
  Copyright (c) Microsoft Corporation.
@@ -6295,6 +6295,12 @@
6295
6295
  Workunit.prototype.abort = function () {
6296
6296
  return this.WUAction("Abort");
6297
6297
  };
6298
+ Workunit.prototype.protect = function () {
6299
+ return this.WUAction("Protect");
6300
+ };
6301
+ Workunit.prototype.unprotect = function () {
6302
+ return this.WUAction("Unprotect");
6303
+ };
6298
6304
  Workunit.prototype.delete = function () {
6299
6305
  return this.WUAction("Delete");
6300
6306
  };
@@ -6347,11 +6353,11 @@
6347
6353
  });
6348
6354
  });
6349
6355
  };
6350
- Workunit.prototype.refreshInfo = function () {
6356
+ Workunit.prototype.refreshInfo = function (request) {
6351
6357
  return __awaiter(this, void 0, void 0, function () {
6352
6358
  return __generator(this, function (_a) {
6353
6359
  switch (_a.label) {
6354
- case 0: return [4 /*yield*/, this.WUInfo()];
6360
+ case 0: return [4 /*yield*/, this.WUInfo(request)];
6355
6361
  case 1:
6356
6362
  _a.sent();
6357
6363
  return [2 /*return*/, this];
@@ -6371,14 +6377,14 @@
6371
6377
  });
6372
6378
  });
6373
6379
  };
6374
- Workunit.prototype.refresh = function (full) {
6380
+ Workunit.prototype.refresh = function (full, request) {
6375
6381
  if (full === void 0) { full = false; }
6376
6382
  return __awaiter(this, void 0, void 0, function () {
6377
6383
  return __generator(this, function (_a) {
6378
6384
  switch (_a.label) {
6379
6385
  case 0:
6380
6386
  if (!full) return [3 /*break*/, 2];
6381
- return [4 /*yield*/, Promise.all([this.refreshInfo(), this.refreshDebug()])];
6387
+ return [4 /*yield*/, Promise.all([this.refreshInfo(request), this.refreshDebug()])];
6382
6388
  case 1:
6383
6389
  _a.sent();
6384
6390
  return [3 /*break*/, 4];