@microsoft/applicationinsights-web-basic 2.7.1-nightly.202110-17 → 2.7.1

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,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.18.16",
4
+ "toolVersion": "7.18.17",
5
5
  "schemaVersion": 1004,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
@@ -2837,6 +2837,32 @@
2837
2837
  "startIndex": 1,
2838
2838
  "endIndex": 2
2839
2839
  }
2840
+ },
2841
+ {
2842
+ "kind": "PropertySignature",
2843
+ "canonicalReference": "@microsoft/applicationinsights-web-basic!IMetricTelemetry#stdDev:member",
2844
+ "docComment": "/**\n * (optional) The standard deviation measurement in the sample, Defaults to undefined which results in zero.\n */\n",
2845
+ "excerptTokens": [
2846
+ {
2847
+ "kind": "Content",
2848
+ "text": "stdDev?: "
2849
+ },
2850
+ {
2851
+ "kind": "Content",
2852
+ "text": "number"
2853
+ },
2854
+ {
2855
+ "kind": "Content",
2856
+ "text": ";"
2857
+ }
2858
+ ],
2859
+ "isOptional": true,
2860
+ "releaseTag": "Public",
2861
+ "name": "stdDev",
2862
+ "propertyTypeTokenRange": {
2863
+ "startIndex": 1,
2864
+ "endIndex": 2
2865
+ }
2840
2866
  }
2841
2867
  ],
2842
2868
  "extendsTokenRanges": [
@@ -161,6 +161,7 @@ export interface IMetricTelemetry extends IPartC {
161
161
  min?: number;
162
162
  name: string;
163
163
  sampleCount?: number;
164
+ stdDev?: number;
164
165
  }
165
166
 
166
167
  // @public (undocumented)
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft.ApplicationInsights, 2.7.1-nightly.202110-17
2
+ * Microsoft.ApplicationInsights, 2.7.1
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1183,6 +1183,10 @@ declare namespace ApplicationInsights {
1183
1183
  * @default max=average
1184
1184
  */
1185
1185
  max?: number;
1186
+ /**
1187
+ * (optional) The standard deviation measurement in the sample, Defaults to undefined which results in zero.
1188
+ */
1189
+ stdDev?: number;
1186
1190
  /**
1187
1191
  * @description custom defined iKey
1188
1192
  * @type {string}
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript Web SDK - Basic, 2.7.1-nightly.202110-17
2
+ * Application Insights JavaScript Web SDK - Basic, 2.7.1
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -3209,7 +3209,7 @@
3209
3209
 
3210
3210
  var Metric = /** @class */ (function (_super) {
3211
3211
  __extendsFn(Metric, _super);
3212
- function Metric(logger, name, value, count, min, max, properties, measurements) {
3212
+ function Metric(logger, name, value, count, min, max, stdDev, properties, measurements) {
3213
3213
  var _this = _super.call(this) || this;
3214
3214
  _this.aiDataContract = {
3215
3215
  ver: 1 ,
@@ -3222,6 +3222,7 @@
3222
3222
  dataPoint.min = isNaN(min) || min === null ? undefined : min;
3223
3223
  dataPoint.name = dataSanitizeString(logger, name) || strNotSpecified;
3224
3224
  dataPoint.value = value;
3225
+ dataPoint.stdDev = isNaN(stdDev) || stdDev === null ? undefined : stdDev;
3225
3226
  _this.metrics = [dataPoint];
3226
3227
  _this.properties = dataSanitizeProperties(logger, properties);
3227
3228
  _this.measurements = dataSanitizeMeasurements(logger, measurements);
@@ -3797,7 +3798,7 @@
3797
3798
  }
3798
3799
  }
3799
3800
  var EnvelopeCreator = {
3800
- Version: "2.7.1-nightly.202110-17"
3801
+ Version: "2.7.1"
3801
3802
  };
3802
3803
  function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
3803
3804
  EnvelopeCreatorInit(logger, telemetryItem);