@hpcc-js/comms 2.96.1 → 2.97.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.js CHANGED
@@ -648,8 +648,8 @@
648
648
  }
649
649
 
650
650
  var PKG_NAME = "@hpcc-js/comms";
651
- var PKG_VERSION = "2.96.1";
652
- var BUILD_VERSION = "2.106.10";
651
+ var PKG_VERSION = "2.97.0";
652
+ var BUILD_VERSION = "2.106.11";
653
653
 
654
654
  /******************************************************************************
655
655
  Copyright (c) Microsoft Corporation.
@@ -2130,7 +2130,12 @@
2130
2130
  var _a;
2131
2131
  var retVal = {};
2132
2132
  for (var key in columnMap) {
2133
- retVal[key] = (_a = line === null || line === void 0 ? void 0 : line.fields[0][columnMap[key]]) !== null && _a !== void 0 ? _a : "";
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: