@hpcc-js/comms 2.96.1 → 2.98.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.es6.js +12 -6
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +12 -6
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.node.js +12 -6
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.min.js +1 -1
- package/dist/index.node.min.js.map +1 -1
- package/lib-es6/__package__.js +2 -2
- package/lib-es6/__package__.js.map +1 -1
- package/lib-es6/services/wsLogaccess.js +8 -2
- package/lib-es6/services/wsLogaccess.js.map +1 -1
- package/package.json +7 -7
- package/src/__package__.ts +2 -2
- package/src/services/wsLogaccess.ts +6 -1
- package/types/__package__.d.ts +2 -2
- package/types/__package__.d.ts.map +1 -1
- package/types/services/wsLogaccess.d.ts.map +1 -1
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -648,8 +648,8 @@
|
|
|
648
648
|
}
|
|
649
649
|
|
|
650
650
|
var PKG_NAME = "@hpcc-js/comms";
|
|
651
|
-
var PKG_VERSION = "2.
|
|
652
|
-
var BUILD_VERSION = "2.
|
|
651
|
+
var PKG_VERSION = "2.98.0";
|
|
652
|
+
var BUILD_VERSION = "2.107.0";
|
|
653
653
|
|
|
654
654
|
/******************************************************************************
|
|
655
655
|
Copyright (c) Microsoft Corporation.
|
|
@@ -665,7 +665,7 @@
|
|
|
665
665
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
666
666
|
PERFORMANCE OF THIS SOFTWARE.
|
|
667
667
|
***************************************************************************** */
|
|
668
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
668
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
669
669
|
|
|
670
670
|
var extendStatics = function(d, b) {
|
|
671
671
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -704,8 +704,8 @@
|
|
|
704
704
|
}
|
|
705
705
|
|
|
706
706
|
function __generator(thisArg, body) {
|
|
707
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
708
|
-
return g =
|
|
707
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
708
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
709
709
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
710
710
|
function step(op) {
|
|
711
711
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -2130,7 +2130,12 @@
|
|
|
2130
2130
|
var _a;
|
|
2131
2131
|
var retVal = {};
|
|
2132
2132
|
for (var key in columnMap) {
|
|
2133
|
-
|
|
2133
|
+
if (line === null || line === void 0 ? void 0 : line.fields) {
|
|
2134
|
+
retVal[key] = (_a = Object.assign.apply(Object, __spreadArray([{}], line.fields, false))[columnMap[key]]) !== null && _a !== void 0 ? _a : "";
|
|
2135
|
+
}
|
|
2136
|
+
else {
|
|
2137
|
+
retVal[key] = "";
|
|
2138
|
+
}
|
|
2134
2139
|
}
|
|
2135
2140
|
return retVal;
|
|
2136
2141
|
};
|
|
@@ -2288,6 +2293,7 @@
|
|
|
2288
2293
|
switch (logInfo.RemoteLogManagerType) {
|
|
2289
2294
|
case "azureloganalyticscurl":
|
|
2290
2295
|
case "elasticstack":
|
|
2296
|
+
case "grafanacurl":
|
|
2291
2297
|
lines = (_b = (_a = logLines.lines) === null || _a === void 0 ? void 0 : _a.map(convertLogLine)) !== null && _b !== void 0 ? _b : [];
|
|
2292
2298
|
break;
|
|
2293
2299
|
default:
|