@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/dist/browser/index.js +263 -251
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.umd.cjs +2 -2
- package/dist/browser/index.umd.cjs.map +1 -1
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.cjs.map +3 -3
- package/dist/node/index.js +1 -1
- package/dist/node/index.js.map +3 -3
- package/package.json +8 -8
- package/src/ecl/workunit.ts +14 -1
- package/types/ecl/workunit.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hpcc-js/comms",
|
|
3
|
-
"version": "3.17.
|
|
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": "
|
|
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.
|
|
79
|
+
"@hpcc-js/util": "^3.6.5",
|
|
80
80
|
"@xmldom/xmldom": "0.9.10",
|
|
81
|
-
"undici": "8.
|
|
81
|
+
"undici": "8.7.0"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@hpcc-js/ddl-shim": "^3.4.
|
|
85
|
-
"@hpcc-js/esbuild-plugins": "^1.9.
|
|
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.
|
|
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": "
|
|
115
|
+
"gitHead": "f6408d3f4eb56d5c8360923ec8ecc0391351a3ac"
|
|
116
116
|
}
|
package/src/ecl/workunit.ts
CHANGED
|
@@ -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
|
-
|
|
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,
|
package/types/ecl/workunit.d.ts
CHANGED
|
@@ -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>;
|