@hpcc-js/comms 3.17.4 → 3.17.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hpcc-js/comms",
3
- "version": "3.17.4",
3
+ "version": "3.17.5",
4
4
  "description": "hpcc-js - Communications",
5
5
  "type": "module",
6
6
  "main": "./dist/node/index.cjs",
@@ -40,7 +40,7 @@
40
40
  "bundle": "run-s bundle-browser bundle-node",
41
41
  "bundle-watch": "vite build --watch",
42
42
  "bundle-serve": "vite",
43
- "gen-types": "tsgo --project tsconfig.json",
43
+ "gen-types": "tsc --project tsconfig.json",
44
44
  "gen-types-watch": "npm run gen-types -- --watch",
45
45
  "build": "run-p gen-types bundle",
46
46
  "watch": "run-p gen-types-watch bundle-watch",
@@ -76,13 +76,13 @@
76
76
  "wsdl-all": "npm-run-all --aggregate-output -c --serial build --parallel wsdl-*"
77
77
  },
78
78
  "dependencies": {
79
- "@hpcc-js/util": "^3.6.4",
79
+ "@hpcc-js/util": "^3.6.5",
80
80
  "@xmldom/xmldom": "0.9.10",
81
- "undici": "8.5.0"
81
+ "undici": "8.7.0"
82
82
  },
83
83
  "devDependencies": {
84
- "@hpcc-js/ddl-shim": "^3.4.4",
85
- "@hpcc-js/esbuild-plugins": "^1.9.4",
84
+ "@hpcc-js/ddl-shim": "^3.4.5",
85
+ "@hpcc-js/esbuild-plugins": "^1.9.5",
86
86
  "@kubernetes/client-node": "1.4.0",
87
87
  "@types/d3-request": "1.0.9",
88
88
  "@types/d3-time-format": "2.3.4",
@@ -92,7 +92,7 @@
92
92
  "d3-format": "^1",
93
93
  "d3-time-format": "^2",
94
94
  "data-uri-to-buffer": "8.0.0",
95
- "soap": "1.9.3",
95
+ "soap": "1.10.0",
96
96
  "typescript-formatter": "^7.2.2"
97
97
  },
98
98
  "repository": {
@@ -112,5 +112,5 @@
112
112
  "esp",
113
113
  "HPCC-Platform"
114
114
  ],
115
- "gitHead": "a6973b3f3ccb25e7c88830fb8ad76e076e6716f6"
115
+ "gitHead": "f6408d3f4eb56d5c8360923ec8ecc0391351a3ac"
116
116
  }
@@ -548,7 +548,7 @@ export class Workunit extends StateObject<UWorkunitState, IWorkunitState> implem
548
548
  return this.WUAction(WsWorkunits.ECLWUActions.Reschedule);
549
549
  }
550
550
 
551
- resubmit(): Promise<Workunit> {
551
+ recover(): Promise<Workunit> {
552
552
  return this.WUResubmit({
553
553
  CloneWorkunit: false,
554
554
  ResetWorkflow: false
@@ -561,6 +561,19 @@ export class Workunit extends StateObject<UWorkunitState, IWorkunitState> implem
561
561
  });
562
562
  }
563
563
 
564
+ resubmit(): Promise<Workunit> {
565
+ return this.WUResubmit({
566
+ CloneWorkunit: false,
567
+ ResetWorkflow: true
568
+ }).then(() => {
569
+ this.clearState(this.Wuid);
570
+ return this.refresh().then(() => {
571
+ this._monitor();
572
+ return this;
573
+ });
574
+ });
575
+ }
576
+
564
577
  clone(): Promise<Workunit> {
565
578
  return this.WUResubmit({
566
579
  CloneWorkunit: true,
@@ -203,6 +203,7 @@ export declare class Workunit extends StateObject<UWorkunitState, IWorkunitState
203
203
  restore(): Promise<WsWorkunits.WUActionResponse>;
204
204
  deschedule(): Promise<WsWorkunits.WUActionResponse>;
205
205
  reschedule(): Promise<WsWorkunits.WUActionResponse>;
206
+ recover(): Promise<Workunit>;
206
207
  resubmit(): Promise<Workunit>;
207
208
  clone(): Promise<Workunit>;
208
209
  refreshState(): Promise<this>;