@hpcc-js/comms 3.17.7 → 3.17.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/dist/browser/index.js +80 -73
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.umd.cjs +1 -1
- package/dist/browser/index.umd.cjs.map +1 -1
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.cjs.map +4 -4
- package/dist/node/index.js +1 -1
- package/dist/node/index.js.map +4 -4
- package/package.json +5 -5
- package/src/ecl/logicalFile.ts +2 -2
- package/src/services/wsDFU.ts +2 -2
- package/types/services/wsDFU.d.ts +3 -3
- package/types/services/wsdl/WsDfu/v1.68/WsDfu.d.ts +1050 -0
- package/types/services/wsdl/WsDfu/v1.67/WsDfu.d.ts +0 -1026
package/dist/browser/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Cache as e, Dispatch as t, Edge as n, Graph as r, Message as i, SAXStac
|
|
|
3
3
|
var ee = Object.defineProperty, __name = (e, t) => ee(e, "name", {
|
|
4
4
|
value: t,
|
|
5
5
|
configurable: !0
|
|
6
|
-
}), S = "@hpcc-js/comms", C = "3.17.
|
|
6
|
+
}), S = "@hpcc-js/comms", C = "3.17.8", w = "3.32.0", T = y("comms/connection.ts");
|
|
7
7
|
function instanceOfIOptions(e) {
|
|
8
8
|
return "baseUrl" in e;
|
|
9
9
|
}
|
|
@@ -24,12 +24,14 @@ function encode(e, t) {
|
|
|
24
24
|
function serializeRequest(e, t = !0, n = "") {
|
|
25
25
|
if (n && (n += "."), typeof e != "object") return encode(e, t);
|
|
26
26
|
let r = [];
|
|
27
|
-
for (let i in e) if (e.hasOwnProperty(i))
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
for (let i in e) if (e.hasOwnProperty(i)) {
|
|
28
|
+
if (e[i] instanceof Array) {
|
|
29
|
+
let a = !1;
|
|
30
|
+
e[i].forEach((e, o) => {
|
|
31
|
+
typeof e == "object" ? (a = !0, r.push(serializeRequest(e, t, n + encode(`${i}.${o}`, t)))) : r.push(n + encode(`${i}_i${o}`, t) + "=" + serializeRequest(e, t));
|
|
32
|
+
}), a && r.push(n + encode(`${i}.itemcount`, t) + "=" + e[i].length);
|
|
33
|
+
} else typeof e[i] == "object" ? e[i] && e[i].Item instanceof Array ? (r.push(serializeRequest(e[i].Item, t, n + encode(i, t))), r.push(n + encode(`${i}.itemcount`, t) + "=" + e[i].Item.length)) : r.push(serializeRequest(e[i], t, n + encode(i, t))) : e[i] === void 0 ? r.push(n + encode(i, t)) : r.push(n + encode(i, t) + "=" + encode(e[i], t));
|
|
34
|
+
}
|
|
33
35
|
return r.join("&");
|
|
34
36
|
}
|
|
35
37
|
function deserializeResponse(e) {
|
|
@@ -766,91 +768,94 @@ var CodesignServiceBase = class extends Service {
|
|
|
766
768
|
})(A ||= {});
|
|
767
769
|
var DfuServiceBase = class extends Service {
|
|
768
770
|
constructor(e) {
|
|
769
|
-
super(e, "WsDfu", "1.
|
|
771
|
+
super(e, "WsDfu", "1.68");
|
|
770
772
|
}
|
|
771
|
-
Add(e) {
|
|
772
|
-
return this._connection.send("Add", e, "json", !1,
|
|
773
|
+
Add(e, t) {
|
|
774
|
+
return this._connection.send("Add", e, "json", !1, t, "AddResponse");
|
|
773
775
|
}
|
|
774
|
-
AddRemote(e) {
|
|
775
|
-
return this._connection.send("AddRemote", e, "json", !1,
|
|
776
|
+
AddRemote(e, t) {
|
|
777
|
+
return this._connection.send("AddRemote", e, "json", !1, t, "AddRemoteResponse");
|
|
776
778
|
}
|
|
777
|
-
AddtoSuperfile(e) {
|
|
778
|
-
return this._connection.send("AddtoSuperfile", e, "json", !1,
|
|
779
|
+
AddtoSuperfile(e, t) {
|
|
780
|
+
return this._connection.send("AddtoSuperfile", e, "json", !1, t, "AddtoSuperfileResponse");
|
|
779
781
|
}
|
|
780
|
-
DFUArrayAction(e) {
|
|
781
|
-
return this._connection.send("DFUArrayAction", e, "json", !1,
|
|
782
|
+
DFUArrayAction(e, t) {
|
|
783
|
+
return this._connection.send("DFUArrayAction", e, "json", !1, t, "DFUArrayActionResponse");
|
|
782
784
|
}
|
|
783
|
-
DFUBrowseData(e) {
|
|
784
|
-
return this._connection.send("DFUBrowseData", e, "json", !1,
|
|
785
|
+
DFUBrowseData(e, t) {
|
|
786
|
+
return this._connection.send("DFUBrowseData", e, "json", !1, t, "DFUBrowseDataResponse");
|
|
785
787
|
}
|
|
786
|
-
DFUDefFile(e) {
|
|
787
|
-
return this._connection.send("DFUDefFile", e, "json", !1,
|
|
788
|
+
DFUDefFile(e, t) {
|
|
789
|
+
return this._connection.send("DFUDefFile", e, "json", !1, t, "DFUDefFileResponse");
|
|
788
790
|
}
|
|
789
|
-
DFUFileAccess(e) {
|
|
790
|
-
return this._connection.send("DFUFileAccess", e, "json", !1,
|
|
791
|
+
DFUFileAccess(e, t) {
|
|
792
|
+
return this._connection.send("DFUFileAccess", e, "json", !1, t, "DFUFileAccessResponse");
|
|
791
793
|
}
|
|
792
|
-
DFUFileAccessV2(e) {
|
|
793
|
-
return this._connection.send("DFUFileAccessV2", e, "json", !1,
|
|
794
|
+
DFUFileAccessV2(e, t) {
|
|
795
|
+
return this._connection.send("DFUFileAccessV2", e, "json", !1, t, "DFUFileAccessResponse");
|
|
794
796
|
}
|
|
795
|
-
DFUFileCreate(e) {
|
|
796
|
-
return this._connection.send("DFUFileCreate", e, "json", !1,
|
|
797
|
+
DFUFileCreate(e, t) {
|
|
798
|
+
return this._connection.send("DFUFileCreate", e, "json", !1, t, "DFUFileCreateResponse");
|
|
797
799
|
}
|
|
798
|
-
DFUFileCreateV2(e) {
|
|
799
|
-
return this._connection.send("DFUFileCreateV2", e, "json", !1,
|
|
800
|
+
DFUFileCreateV2(e, t) {
|
|
801
|
+
return this._connection.send("DFUFileCreateV2", e, "json", !1, t, "DFUFileCreateResponse");
|
|
800
802
|
}
|
|
801
|
-
DFUFilePublish(e) {
|
|
802
|
-
return this._connection.send("DFUFilePublish", e, "json", !1,
|
|
803
|
+
DFUFilePublish(e, t) {
|
|
804
|
+
return this._connection.send("DFUFilePublish", e, "json", !1, t, "DFUFilePublishResponse");
|
|
803
805
|
}
|
|
804
|
-
|
|
805
|
-
return this._connection.send("
|
|
806
|
+
DFUFileRename(e, t) {
|
|
807
|
+
return this._connection.send("DFUFileRename", e, "json", !1, t, "DFUFileRenameResponse");
|
|
806
808
|
}
|
|
807
|
-
|
|
808
|
-
return this._connection.send("
|
|
809
|
+
DFUFileView(e, t) {
|
|
810
|
+
return this._connection.send("DFUFileView", e, "json", !1, t, "DFUFileViewResponse");
|
|
809
811
|
}
|
|
810
|
-
|
|
811
|
-
return this._connection.send("
|
|
812
|
+
DFUGetDataColumns(e, t) {
|
|
813
|
+
return this._connection.send("DFUGetDataColumns", e, "json", !1, t, "DFUGetDataColumnsResponse");
|
|
812
814
|
}
|
|
813
|
-
|
|
814
|
-
return this._connection.send("
|
|
815
|
+
DFUGetFileMetaData(e, t) {
|
|
816
|
+
return this._connection.send("DFUGetFileMetaData", e, "json", !1, t, "DFUGetFileMetaDataResponse");
|
|
815
817
|
}
|
|
816
|
-
|
|
817
|
-
return this._connection.send("
|
|
818
|
+
DFUGetMetaInquiry(e, t) {
|
|
819
|
+
return this._connection.send("DFUGetMetaInquiry", e, "json", !1, t, "DFUMetaInquiryResponse");
|
|
818
820
|
}
|
|
819
|
-
|
|
820
|
-
return this._connection.send("
|
|
821
|
+
DFUInfo(e, t) {
|
|
822
|
+
return this._connection.send("DFUInfo", e, "json", !1, t, "DFUInfoResponse");
|
|
821
823
|
}
|
|
822
|
-
|
|
823
|
-
return this._connection.send("
|
|
824
|
+
DFUQuery(e, t) {
|
|
825
|
+
return this._connection.send("DFUQuery", e, "json", !1, t, "DFUQueryResponse");
|
|
824
826
|
}
|
|
825
|
-
|
|
826
|
-
return this._connection.send("
|
|
827
|
+
DFURecordTypeInfo(e, t) {
|
|
828
|
+
return this._connection.send("DFURecordTypeInfo", e, "json", !1, t, "DFURecordTypeInfoResponse");
|
|
827
829
|
}
|
|
828
|
-
|
|
829
|
-
return this._connection.send("
|
|
830
|
+
DFUSearch(e, t) {
|
|
831
|
+
return this._connection.send("DFUSearch", e, "json", !1, t, "DFUSearchResponse");
|
|
830
832
|
}
|
|
831
|
-
|
|
832
|
-
return this._connection.send("
|
|
833
|
+
DFUSearchData(e, t) {
|
|
834
|
+
return this._connection.send("DFUSearchData", e, "json", !1, t, "DFUSearchDataResponse");
|
|
833
835
|
}
|
|
834
|
-
|
|
835
|
-
return this._connection.send("
|
|
836
|
+
DFUSpace(e, t) {
|
|
837
|
+
return this._connection.send("DFUSpace", e, "json", !1, t, "DFUSpaceResponse");
|
|
836
838
|
}
|
|
837
|
-
|
|
838
|
-
return this._connection.send("
|
|
839
|
+
EclRecordTypeInfo(e, t) {
|
|
840
|
+
return this._connection.send("EclRecordTypeInfo", e, "json", !1, t, "EclRecordTypeInfoResponse");
|
|
839
841
|
}
|
|
840
|
-
|
|
841
|
-
return this._connection.send("
|
|
842
|
+
EraseHistory(e, t) {
|
|
843
|
+
return this._connection.send("EraseHistory", e, "json", !1, t, "EraseHistoryResponse");
|
|
842
844
|
}
|
|
843
|
-
|
|
844
|
-
return this._connection.send("
|
|
845
|
+
ListHistory(e, t) {
|
|
846
|
+
return this._connection.send("ListHistory", e, "json", !1, t, "ListHistoryResponse");
|
|
845
847
|
}
|
|
846
|
-
|
|
847
|
-
return this._connection.send("
|
|
848
|
+
Ping(e, t) {
|
|
849
|
+
return this._connection.send("Ping", e, "json", !1, t, "WsDfuPingResponse");
|
|
850
|
+
}
|
|
851
|
+
Savexml(e, t) {
|
|
852
|
+
return this._connection.send("Savexml", e, "json", !1, t, "SavexmlResponse");
|
|
848
853
|
}
|
|
849
|
-
SuperfileAction(e) {
|
|
850
|
-
return this._connection.send("SuperfileAction", e, "json", !1,
|
|
854
|
+
SuperfileAction(e, t) {
|
|
855
|
+
return this._connection.send("SuperfileAction", e, "json", !1, t, "SuperfileActionResponse");
|
|
851
856
|
}
|
|
852
|
-
SuperfileList(e) {
|
|
853
|
-
return this._connection.send("SuperfileList", e, "json", !1,
|
|
857
|
+
SuperfileList(e, t) {
|
|
858
|
+
return this._connection.send("SuperfileList", e, "json", !1, t, "SuperfileListResponse");
|
|
854
859
|
}
|
|
855
860
|
}, se = A.DFUArrayActions, ce = A.DFUDefFileFormat, le = A.DFUChangeProtection, ue = A.DFUChangeRestriction, DFUService = class extends DfuServiceBase {
|
|
856
861
|
DFUFile(e) {
|
|
@@ -1174,13 +1179,13 @@ var LogaccessService = class extends LogaccessServiceBase {
|
|
|
1174
1179
|
}
|
|
1175
1180
|
};
|
|
1176
1181
|
//#endregion
|
|
1177
|
-
//#region node_modules/d3-array/src/ascending.js
|
|
1182
|
+
//#region ../../node_modules/d3-array/src/ascending.js
|
|
1178
1183
|
function ascending_default(e, t) {
|
|
1179
1184
|
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
|
|
1180
1185
|
}
|
|
1181
1186
|
__name(ascending_default, "default");
|
|
1182
1187
|
//#endregion
|
|
1183
|
-
//#region node_modules/d3-array/src/bisector.js
|
|
1188
|
+
//#region ../../node_modules/d3-array/src/bisector.js
|
|
1184
1189
|
function bisector_default(e) {
|
|
1185
1190
|
return e.length === 1 && (e = ascendingComparator(e)), {
|
|
1186
1191
|
left: function(t, n, r, i) {
|
|
@@ -1206,21 +1211,21 @@ function ascendingComparator(e) {
|
|
|
1206
1211
|
};
|
|
1207
1212
|
}
|
|
1208
1213
|
//#endregion
|
|
1209
|
-
//#region node_modules/d3-array/src/bisect.js
|
|
1214
|
+
//#region ../../node_modules/d3-array/src/bisect.js
|
|
1210
1215
|
var _e = bisector_default(ascending_default);
|
|
1211
1216
|
_e.right, _e.left;
|
|
1212
1217
|
//#endregion
|
|
1213
|
-
//#region node_modules/d3-array/src/number.js
|
|
1218
|
+
//#region ../../node_modules/d3-array/src/number.js
|
|
1214
1219
|
function number_default(e) {
|
|
1215
1220
|
return e === null ? NaN : +e;
|
|
1216
1221
|
}
|
|
1217
1222
|
__name(number_default, "default");
|
|
1218
1223
|
//#endregion
|
|
1219
|
-
//#region node_modules/d3-array/src/array.js
|
|
1224
|
+
//#region ../../node_modules/d3-array/src/array.js
|
|
1220
1225
|
var ve = Array.prototype;
|
|
1221
1226
|
ve.slice, ve.map;
|
|
1222
1227
|
//#endregion
|
|
1223
|
-
//#region node_modules/d3-array/src/max.js
|
|
1228
|
+
//#region ../../node_modules/d3-array/src/max.js
|
|
1224
1229
|
function max_default(e, t) {
|
|
1225
1230
|
var n = e.length, r = -1, i, a;
|
|
1226
1231
|
if (t == null) {
|
|
@@ -1230,7 +1235,7 @@ function max_default(e, t) {
|
|
|
1230
1235
|
}
|
|
1231
1236
|
__name(max_default, "default");
|
|
1232
1237
|
//#endregion
|
|
1233
|
-
//#region node_modules/d3-array/src/mean.js
|
|
1238
|
+
//#region ../../node_modules/d3-array/src/mean.js
|
|
1234
1239
|
function mean_default(e, t) {
|
|
1235
1240
|
var n = e.length, r = n, i = -1, a, o = 0;
|
|
1236
1241
|
if (t == null) for (; ++i < n;) isNaN(a = number_default(e[i])) ? --r : o += a;
|
|
@@ -1443,8 +1448,10 @@ function newInterval(e, t, n, r) {
|
|
|
1443
1448
|
return newInterval(function(t) {
|
|
1444
1449
|
if (t >= t) for (; e(t), !n(t);) t.setTime(t - 1);
|
|
1445
1450
|
}, function(e, r) {
|
|
1446
|
-
if (e >= e)
|
|
1447
|
-
|
|
1451
|
+
if (e >= e) {
|
|
1452
|
+
if (r < 0) for (; ++r <= 0;) for (; t(e, -1), !n(e););
|
|
1453
|
+
else for (; --r >= 0;) for (; t(e, 1), !n(e););
|
|
1454
|
+
}
|
|
1448
1455
|
});
|
|
1449
1456
|
}, n && (interval.count = function(t, r) {
|
|
1450
1457
|
return M.setTime(+t), N.setTime(+r), e(M), e(N), Math.floor(n(M, N));
|