@microsoft/applicationinsights-channel-js 2.7.1-nightly.202110-16 → 2.7.1-nightly.202110-20

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.
@@ -1,25 +1,25 @@
1
1
  {
2
2
  "name": "applicationinsights-channel-js",
3
- "version": "2.7.1-nightly.202110-16",
3
+ "version": "2.7.1-nightly.202110-20",
4
4
  "ext": {
5
5
  "@js": {
6
6
  "file": "applicationinsights-channel-js.js",
7
7
  "type": "text/javascript; charset=utf-8",
8
- "integrity": "sha256-yKQVaw5EOy5Gr9mpEqd7zwXFGKDizxd+SEZH2rnBNPg= sha384-l+UMKBfvvYK4m/RDT2h3BP2/KDaeKozLaMgtsSHRp0NFaH/2rt9W/2rGmQbbcdOp sha512-m3h78/azQlt+3yBM/USd3FL4URb7radBq2AXuE2NdgF5WdDnimAGfdlSd0/uFKibBbKGeUV55X8vX4sDBdIAfw==",
8
+ "integrity": "sha256-oqDi9GdgYpiHc/YoxHgLrwNh5EBjjeUcVh7TqJOWz2U= sha384-w7x2rvsRfkODJd7RL+SuKujaPz/Qzsqc24IWvnNDPKMQMj9V293Phjq9O7bNjwfC sha512-uy1dAF6f6s5q44kUxd3YYPRVL/N8Wuriuws29hmneTqPP6yrDTuC1Iz9AqCjOGxhqeAvOpvjhMfeh3eAV5EAAA==",
9
9
  "hashes": {
10
- "sha256": "yKQVaw5EOy5Gr9mpEqd7zwXFGKDizxd+SEZH2rnBNPg=",
11
- "sha384": "l+UMKBfvvYK4m/RDT2h3BP2/KDaeKozLaMgtsSHRp0NFaH/2rt9W/2rGmQbbcdOp",
12
- "sha512": "m3h78/azQlt+3yBM/USd3FL4URb7radBq2AXuE2NdgF5WdDnimAGfdlSd0/uFKibBbKGeUV55X8vX4sDBdIAfw=="
10
+ "sha256": "oqDi9GdgYpiHc/YoxHgLrwNh5EBjjeUcVh7TqJOWz2U=",
11
+ "sha384": "w7x2rvsRfkODJd7RL+SuKujaPz/Qzsqc24IWvnNDPKMQMj9V293Phjq9O7bNjwfC",
12
+ "sha512": "uy1dAF6f6s5q44kUxd3YYPRVL/N8Wuriuws29hmneTqPP6yrDTuC1Iz9AqCjOGxhqeAvOpvjhMfeh3eAV5EAAA=="
13
13
  }
14
14
  },
15
15
  "@min.js": {
16
16
  "file": "applicationinsights-channel-js.min.js",
17
17
  "type": "text/javascript; charset=utf-8",
18
- "integrity": "sha256-te+BL3Fk80Czt2rzJdMdO91UAPdRH54S0g3Lh+1Jo/E= sha384-3Belvg+m0EvNOZYzGo0segqmAGb3pykituoDn2H8Mxh/n72f3V3lodwsmTJl7fFr sha512-D9O3VFPFZiNSFY6aqCc3z8bGryPwfSm+9ZhmUPSuktzbjo+y8Os0dlKDaX8mjpOaC3HfpyZGy5ZND018IU5Euw==",
18
+ "integrity": "sha256-sjA4tp5OMXZ2OecgksmMf/YWEw0eioc0tmxBMYAYRSI= sha384-1k02pEMxEL5bzikjPMDdZv9v5F4IZbr7erKDxvOIZe5ea1kWuxB3JSCr/qjTM1ry sha512-acQbkCbPiWyDUJ/hOijCR6jd3gOlp/HjmFLhdokDkKXCCldXBjkA6Jn35AzitcZNiUoYxU+BvXiiXM3gad8CQA==",
19
19
  "hashes": {
20
- "sha256": "te+BL3Fk80Czt2rzJdMdO91UAPdRH54S0g3Lh+1Jo/E=",
21
- "sha384": "3Belvg+m0EvNOZYzGo0segqmAGb3pykituoDn2H8Mxh/n72f3V3lodwsmTJl7fFr",
22
- "sha512": "D9O3VFPFZiNSFY6aqCc3z8bGryPwfSm+9ZhmUPSuktzbjo+y8Os0dlKDaX8mjpOaC3HfpyZGy5ZND018IU5Euw=="
20
+ "sha256": "sjA4tp5OMXZ2OecgksmMf/YWEw0eioc0tmxBMYAYRSI=",
21
+ "sha384": "1k02pEMxEL5bzikjPMDdZv9v5F4IZbr7erKDxvOIZe5ea1kWuxB3JSCr/qjTM1ry",
22
+ "sha512": "acQbkCbPiWyDUJ/hOijCR6jd3gOlp/HjmFLhdokDkKXCCldXBjkA6Jn35AzitcZNiUoYxU+BvXiiXM3gad8CQA=="
23
23
  }
24
24
  }
25
25
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Channel, 2.7.1-nightly.202110-16
2
+ * Application Insights JavaScript SDK - Channel, 2.7.1-nightly.202110-20
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -830,7 +830,7 @@
830
830
  if (!!theConsole) {
831
831
  var logFunc = "log";
832
832
  if (theConsole[func]) {
833
- logFunc = "func";
833
+ logFunc = func;
834
834
  }
835
835
  if (isFunction(theConsole[logFunc])) {
836
836
  theConsole[logFunc](message);
@@ -2217,7 +2217,7 @@
2217
2217
 
2218
2218
  var Metric = /** @class */ (function (_super) {
2219
2219
  __extendsFn(Metric, _super);
2220
- function Metric(logger, name, value, count, min, max, properties, measurements) {
2220
+ function Metric(logger, name, value, count, min, max, stdDev, properties, measurements) {
2221
2221
  var _this = _super.call(this) || this;
2222
2222
  _this.aiDataContract = {
2223
2223
  ver: 1 ,
@@ -2230,6 +2230,7 @@
2230
2230
  dataPoint.min = isNaN(min) || min === null ? undefined : min;
2231
2231
  dataPoint.name = dataSanitizeString(logger, name) || strNotSpecified;
2232
2232
  dataPoint.value = value;
2233
+ dataPoint.stdDev = isNaN(stdDev) || stdDev === null ? undefined : stdDev;
2233
2234
  _this.metrics = [dataPoint];
2234
2235
  _this.properties = dataSanitizeProperties(logger, properties);
2235
2236
  _this.measurements = dataSanitizeMeasurements(logger, measurements);
@@ -2796,7 +2797,7 @@
2796
2797
  }
2797
2798
  }
2798
2799
  var EnvelopeCreator = {
2799
- Version: "2.7.1-nightly.202110-16"
2800
+ Version: "2.7.1-nightly.202110-20"
2800
2801
  };
2801
2802
  function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
2802
2803
  EnvelopeCreatorInit(logger, telemetryItem);