@hpcc-js/comms 3.15.6 → 3.15.8

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.15.6",
3
+ "version": "3.15.8",
4
4
  "description": "hpcc-js - Communications",
5
5
  "type": "module",
6
6
  "main": "./dist/node/index.cjs",
@@ -38,10 +38,12 @@
38
38
  "bundle-node": "node ./esbuild.js",
39
39
  "bundle-browser": "vite build",
40
40
  "bundle": "run-s bundle-browser bundle-node",
41
- "bundle-watch": "vite",
41
+ "bundle-watch": "vite build --watch",
42
+ "bundle-serve": "vite",
42
43
  "gen-types": "tsc --project tsconfig.json",
43
44
  "gen-types-watch": "npm run gen-types -- --watch",
44
45
  "build": "run-p gen-types bundle",
46
+ "watch": "run-p gen-types-watch bundle-watch",
45
47
  "lint": "eslint ./src",
46
48
  "lint-fix": "eslint --fix src/**/*.ts",
47
49
  "docs": "typedoc --options tdoptions.json .",
@@ -74,13 +76,13 @@
74
76
  "wsdl-all": "npm-run-all --aggregate-output -c --serial build --parallel wsdl-*"
75
77
  },
76
78
  "dependencies": {
77
- "@hpcc-js/util": "^3.5.5",
78
- "@xmldom/xmldom": "0.9.9",
79
- "undici": "7.24.7"
79
+ "@hpcc-js/util": "^3.5.7",
80
+ "@xmldom/xmldom": "0.9.10",
81
+ "undici": "7.25.0"
80
82
  },
81
83
  "devDependencies": {
82
- "@hpcc-js/ddl-shim": "^3.3.5",
83
- "@hpcc-js/esbuild-plugins": "^1.8.7",
84
+ "@hpcc-js/ddl-shim": "^3.3.7",
85
+ "@hpcc-js/esbuild-plugins": "^1.8.9",
84
86
  "@kubernetes/client-node": "1.4.0",
85
87
  "@types/d3-request": "1.0.9",
86
88
  "@types/d3-time-format": "2.3.4",
@@ -90,7 +92,7 @@
90
92
  "d3-format": "^1",
91
93
  "d3-time-format": "^2",
92
94
  "data-uri-to-buffer": "6.0.2",
93
- "soap": "1.9.0",
95
+ "soap": "1.9.1",
94
96
  "typescript-formatter": "^7.2.2"
95
97
  },
96
98
  "repository": {
@@ -110,5 +112,5 @@
110
112
  "esp",
111
113
  "HPCC-Platform"
112
114
  ],
113
- "gitHead": "591b0a27af92fecd8f7fabdd360db7cfbeb30ddd"
115
+ "gitHead": "6695c9be7e44c9a4dd50e36fad2044b287685e2e"
114
116
  }
package/src/ecl/scope.ts CHANGED
@@ -152,9 +152,8 @@ export class BaseScope extends StateObject<ScopeEx, ScopeEx> implements ScopeEx
152
152
  }
153
153
 
154
154
  calcTooltip(parentScope?: BaseScope) {
155
- let label = "";
155
+ let label = this.Id;
156
156
  const rows: string[] = [];
157
- label = this.Id;
158
157
  rows.push(`<tr><td class="key">ID:</td><td class="value">${this.Id}</td></tr>`);
159
158
  if (parentScope) {
160
159
  rows.push(`<tr><td class="key">Parent ID:</td><td class="value">${parentScope.Id}</td></tr>`);
@@ -327,6 +327,7 @@ export class Workunit extends StateObject<UWorkunitState, IWorkunitState> implem
327
327
  get NoAccess(): boolean { return this.get("NoAccess"); }
328
328
  get ECLWUProcessList(): WsWorkunits.ECLWUProcessList { return this.get("ECLWUProcessList"); }
329
329
  get CostSavingPotential(): number { return this.get("CostSavingPotential"); }
330
+ get FailureDesc(): string { return this.get("FailureDesc"); }
330
331
 
331
332
  // Factories ---
332
333
  static create(optsConnection: IOptions | IConnection): Promise<Workunit> {
@@ -1,4 +1,4 @@
1
- import { FileSprayServiceBase, FileSpray } from "./wsdl/FileSpray/v1.27/FileSpray.ts";
1
+ import { FileSprayServiceBase, FileSpray } from "./wsdl/FileSpray/v1.29/FileSpray.ts";
2
2
 
3
3
  export {
4
4
  FileSpray
@@ -20,31 +20,6 @@ export enum FileSprayStates {
20
20
  notfound = 999
21
21
  }
22
22
 
23
- // defined in https://github.com/hpcc-systems/HPCC-Platform/blob/master/dali/dfu/dfuwu.cpp#L102-L121
24
- export enum DFUWUTypes {
25
- Copy = "copy",
26
- Remove = "remove",
27
- Move = "move",
28
- Rename = "rename",
29
- Replicate = "replicate",
30
- Import = "import",
31
- Export = "export",
32
- /*
33
- * These seem to not be valid with respect to filtering DFU WUs,
34
- * but leaving them here because they exist in the dfuwu.cpp struct
35
- *
36
- * Add = "add",
37
- * Transfer = "transfer",
38
- * Savemap = "savemap",
39
- * Addgroup = "addgroup",
40
- * Server = "server",
41
- */
42
- Monitor = "monitor",
43
- Copymerge = "copymerge",
44
- Supercopy = "supercopy",
45
- Publish = "publish",
46
- }
47
-
48
23
  export interface UpdateDFUWorkunitEx extends UpdateDFUWorkunitMinusWU {
49
24
  wu?: Partial<UpdateDFUWorkunitWU>
50
25
  }
@@ -1,5 +1,5 @@
1
1
  import { deepMixin, xml2json, XMLNode } from "@hpcc-js/util";
2
- import { WsWorkunits, WorkunitsServiceBase } from "./wsdl/WsWorkunits/v2.05/WsWorkunits.ts";
2
+ import { WsWorkunits, WorkunitsServiceBase } from "./wsdl/WsWorkunits/v2.08/WsWorkunits.ts";
3
3
  import { IConnection, IOptions } from "../connection.ts";
4
4
 
5
5
  export {