@microsoft/applicationinsights-common 2.8.5-nightly.2206-04 → 2.8.5-nightly.2206-06

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.
Files changed (142) hide show
  1. package/browser/applicationinsights-common.integrity.json +9 -9
  2. package/browser/applicationinsights-common.js +619 -530
  3. package/browser/applicationinsights-common.js.map +1 -1
  4. package/browser/applicationinsights-common.min.js +2 -2
  5. package/browser/applicationinsights-common.min.js.map +1 -1
  6. package/dist/applicationinsights-common.api.json +293 -106
  7. package/dist/applicationinsights-common.api.md +15 -4
  8. package/dist/applicationinsights-common.d.ts +15 -5
  9. package/dist/applicationinsights-common.js +619 -530
  10. package/dist/applicationinsights-common.js.map +1 -1
  11. package/dist/applicationinsights-common.min.js +2 -2
  12. package/dist/applicationinsights-common.min.js.map +1 -1
  13. package/dist/applicationinsights-common.rollup.d.ts +15 -5
  14. package/dist-esm/ConnectionStringParser.js +10 -9
  15. package/dist-esm/ConnectionStringParser.js.map +1 -1
  16. package/dist-esm/Constants.js +2 -1
  17. package/dist-esm/Constants.js.map +1 -1
  18. package/dist-esm/DomHelperFuncs.js +1 -1
  19. package/dist-esm/Enums.js +1 -1
  20. package/dist-esm/HelperFuncs.js +7 -6
  21. package/dist-esm/HelperFuncs.js.map +1 -1
  22. package/dist-esm/Interfaces/ConnectionString.js +1 -1
  23. package/dist-esm/Interfaces/Context/IApplication.js +1 -1
  24. package/dist-esm/Interfaces/Context/IDevice.js +1 -1
  25. package/dist-esm/Interfaces/Context/IInternal.js +1 -1
  26. package/dist-esm/Interfaces/Context/ILocation.js +1 -1
  27. package/dist-esm/Interfaces/Context/IOperatingSystem.js +1 -1
  28. package/dist-esm/Interfaces/Context/ISample.js +1 -1
  29. package/dist-esm/Interfaces/Context/ISession.js +1 -1
  30. package/dist-esm/Interfaces/Context/ITelemetryTrace.js +1 -1
  31. package/dist-esm/Interfaces/Context/IUser.js +1 -1
  32. package/dist-esm/Interfaces/Context/IWeb.js +1 -1
  33. package/dist-esm/Interfaces/Contracts/AvailabilityData.js +1 -1
  34. package/dist-esm/Interfaces/Contracts/ContextTagKeys.js +1 -1
  35. package/dist-esm/Interfaces/Contracts/DataPointType.js +1 -1
  36. package/dist-esm/Interfaces/Contracts/DependencyKind.js +1 -1
  37. package/dist-esm/Interfaces/Contracts/DependencySourceType.js +1 -1
  38. package/dist-esm/Interfaces/Contracts/IBase.js +1 -1
  39. package/dist-esm/Interfaces/Contracts/IData.js +1 -1
  40. package/dist-esm/Interfaces/Contracts/IDataPoint.js +1 -1
  41. package/dist-esm/Interfaces/Contracts/IDomain.js +1 -1
  42. package/dist-esm/Interfaces/Contracts/IEnvelope.js +1 -1
  43. package/dist-esm/Interfaces/Contracts/IEventData.js +1 -1
  44. package/dist-esm/Interfaces/Contracts/IExceptionData.js +1 -1
  45. package/dist-esm/Interfaces/Contracts/IExceptionDetails.js +1 -1
  46. package/dist-esm/Interfaces/Contracts/IMessageData.js +1 -1
  47. package/dist-esm/Interfaces/Contracts/IMetricData.js +1 -1
  48. package/dist-esm/Interfaces/Contracts/IPageViewData.js +1 -1
  49. package/dist-esm/Interfaces/Contracts/IPageViewPerfData.js +1 -1
  50. package/dist-esm/Interfaces/Contracts/IRemoteDependencyData.js +1 -1
  51. package/dist-esm/Interfaces/Contracts/IStackFrame.js +1 -1
  52. package/dist-esm/Interfaces/Contracts/RequestData.js +1 -1
  53. package/dist-esm/Interfaces/Contracts/SeverityLevel.js +1 -1
  54. package/dist-esm/Interfaces/IAppInsights.js +1 -1
  55. package/dist-esm/Interfaces/IChannelControlsAI.js +1 -1
  56. package/dist-esm/Interfaces/IConfig.js +4 -3
  57. package/dist-esm/Interfaces/IConfig.js.map +1 -1
  58. package/dist-esm/Interfaces/ICorrelationConfig.js +1 -1
  59. package/dist-esm/Interfaces/IDependencyTelemetry.js +1 -1
  60. package/dist-esm/Interfaces/IEventTelemetry.js +1 -1
  61. package/dist-esm/Interfaces/IExceptionTelemetry.js +1 -1
  62. package/dist-esm/Interfaces/IMetricTelemetry.js +1 -1
  63. package/dist-esm/Interfaces/IPageViewPerformanceTelemetry.js +1 -1
  64. package/dist-esm/Interfaces/IPageViewTelemetry.js +1 -1
  65. package/dist-esm/Interfaces/IPartC.js +1 -1
  66. package/dist-esm/Interfaces/IPropertiesPlugin.js +1 -1
  67. package/dist-esm/Interfaces/IRequestContext.js +1 -1
  68. package/dist-esm/Interfaces/ITelemetryContext.js +1 -1
  69. package/dist-esm/Interfaces/ITraceTelemetry.js +1 -1
  70. package/dist-esm/Interfaces/PartAExtensions.js +1 -1
  71. package/dist-esm/Interfaces/Telemetry/IEnvelope.js +1 -1
  72. package/dist-esm/Interfaces/Telemetry/ISerializable.js +1 -1
  73. package/dist-esm/RequestResponseHeaders.js +1 -1
  74. package/dist-esm/StorageHelperFuncs.js +7 -6
  75. package/dist-esm/StorageHelperFuncs.js.map +1 -1
  76. package/dist-esm/Telemetry/Common/Data.js +1 -1
  77. package/dist-esm/Telemetry/Common/DataPoint.js +1 -1
  78. package/dist-esm/Telemetry/Common/DataSanitizer.js +43 -40
  79. package/dist-esm/Telemetry/Common/DataSanitizer.js.map +1 -1
  80. package/dist-esm/Telemetry/Common/Envelope.js +4 -3
  81. package/dist-esm/Telemetry/Common/Envelope.js.map +1 -1
  82. package/dist-esm/Telemetry/Event.js +6 -5
  83. package/dist-esm/Telemetry/Event.js.map +1 -1
  84. package/dist-esm/Telemetry/Exception.js +122 -115
  85. package/dist-esm/Telemetry/Exception.js.map +1 -1
  86. package/dist-esm/Telemetry/Metric.js +7 -6
  87. package/dist-esm/Telemetry/Metric.js.map +1 -1
  88. package/dist-esm/Telemetry/PageView.js +8 -7
  89. package/dist-esm/Telemetry/PageView.js.map +1 -1
  90. package/dist-esm/Telemetry/PageViewPerformance.js +8 -7
  91. package/dist-esm/Telemetry/PageViewPerformance.js.map +1 -1
  92. package/dist-esm/Telemetry/RemoteDependencyData.js +8 -7
  93. package/dist-esm/Telemetry/RemoteDependencyData.js.map +1 -1
  94. package/dist-esm/Telemetry/Trace.js +7 -6
  95. package/dist-esm/Telemetry/Trace.js.map +1 -1
  96. package/dist-esm/TelemetryItemCreator.js +16 -13
  97. package/dist-esm/TelemetryItemCreator.js.map +1 -1
  98. package/dist-esm/UrlHelperFuncs.js +8 -7
  99. package/dist-esm/UrlHelperFuncs.js.map +1 -1
  100. package/dist-esm/Util.js +30 -29
  101. package/dist-esm/Util.js.map +1 -1
  102. package/dist-esm/__DynamicConstants.js +50 -0
  103. package/dist-esm/__DynamicConstants.js.map +1 -0
  104. package/dist-esm/applicationinsights-common.js +2 -2
  105. package/dist-esm/applicationinsights-common.js.map +1 -1
  106. package/package.json +6 -3
  107. package/src/ConnectionStringParser.ts +8 -10
  108. package/src/Constants.ts +1 -0
  109. package/src/HelperFuncs.ts +6 -6
  110. package/src/Interfaces/IConfig.ts +7 -7
  111. package/src/StorageHelperFuncs.ts +10 -7
  112. package/src/Telemetry/Common/DataPoint.ts +3 -3
  113. package/src/Telemetry/Common/DataSanitizer.ts +8 -6
  114. package/src/Telemetry/Common/Envelope.ts +11 -11
  115. package/src/Telemetry/Event.ts +11 -11
  116. package/src/Telemetry/Exception.ts +21 -17
  117. package/src/Telemetry/Metric.ts +12 -12
  118. package/src/Telemetry/PageView.ts +14 -12
  119. package/src/Telemetry/PageViewPerformance.ts +12 -13
  120. package/src/Telemetry/RemoteDependencyData.ts +12 -12
  121. package/src/Telemetry/Trace.ts +12 -12
  122. package/src/TelemetryItemCreator.ts +10 -9
  123. package/src/UrlHelperFuncs.ts +6 -6
  124. package/src/Util.ts +26 -28
  125. package/src/__DynamicConstants.ts +48 -0
  126. package/src/applicationinsights-common.ts +1 -1
  127. package/types/Constants.d.ts +1 -0
  128. package/types/Telemetry/Common/DataPoint.d.ts +2 -2
  129. package/types/Telemetry/Common/DataSanitizer.d.ts +5 -4
  130. package/types/Telemetry/Common/Envelope.d.ts +1 -1
  131. package/types/Telemetry/Event.d.ts +2 -2
  132. package/types/Telemetry/Exception.d.ts +5 -5
  133. package/types/Telemetry/Metric.d.ts +2 -2
  134. package/types/Telemetry/PageView.d.ts +2 -2
  135. package/types/Telemetry/PageViewPerformance.d.ts +3 -3
  136. package/types/Telemetry/RemoteDependencyData.d.ts +2 -2
  137. package/types/Telemetry/Trace.d.ts +3 -3
  138. package/types/TelemetryItemCreator.d.ts +1 -1
  139. package/types/Util.d.ts +2 -2
  140. package/types/__DynamicConstants.d.ts +36 -0
  141. package/types/applicationinsights-common.d.ts +1 -1
  142. package/types/tsdoc-metadata.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights Common JavaScript Library, 2.8.5-nightly.2206-04
2
+ * Microsoft Application Insights Common JavaScript Library, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -253,6 +253,8 @@ export declare function dateTimeUtilsNow(): number;
253
253
 
254
254
  export declare const DEFAULT_BREEZE_ENDPOINT = "https://dc.services.visualstudio.com";
255
255
 
256
+ export declare const DEFAULT_BREEZE_PATH = "/v2/track";
257
+
256
258
  /**
257
259
  * This is an internal property used to cause internal (reporting) requests to be ignored from reporting
258
260
  * additional telemetry, to handle polyfil implementations ALL urls used with a disabled request will
@@ -268,6 +270,14 @@ export declare type DistributedTracingModes = number | eDistributedTracingModes;
268
270
 
269
271
  export declare function dsPadNumber(num: number): string;
270
272
 
273
+ declare const _DYN_SANITIZE_EXCEPTION = "sanitizeException";
274
+
275
+ declare const _DYN_SANITIZE_KEY_AND_ADD2 = "sanitizeKeyAndAddUniqueness";
276
+
277
+ declare const _DYN_SANITIZE_MEASUREMENT3 = "sanitizeMeasurements";
278
+
279
+ declare const _DYN_SANITIZE_PROPERTIES = "sanitizeProperties";
280
+
271
281
  export declare const enum eDistributedTracingModes {
272
282
  /**
273
283
  * (Default) Send Application Insights correlation headers
@@ -1192,14 +1202,14 @@ export declare interface IDataSanitizer {
1192
1202
  * Max length allowed for exceptions.
1193
1203
  */
1194
1204
  MAX_EXCEPTION_LENGTH: number;
1195
- sanitizeKeyAndAddUniqueness: (logger: IDiagnosticLogger, key: any, map: any) => string;
1205
+ [_DYN_SANITIZE_KEY_AND_ADD2]: (logger: IDiagnosticLogger, key: any, map: any) => string;
1196
1206
  sanitizeKey: (logger: IDiagnosticLogger, name: any) => string;
1197
1207
  sanitizeString: (logger: IDiagnosticLogger, value: any, maxLength?: number) => string;
1198
1208
  sanitizeUrl: (logger: IDiagnosticLogger, url: any) => string;
1199
1209
  sanitizeMessage: (logger: IDiagnosticLogger, message: any) => string;
1200
- sanitizeException: (logger: IDiagnosticLogger, exception: any) => string;
1201
- sanitizeProperties: (logger: IDiagnosticLogger, properties: any) => any;
1202
- sanitizeMeasurements: (logger: IDiagnosticLogger, measurements: any) => any;
1210
+ [_DYN_SANITIZE_EXCEPTION]: (logger: IDiagnosticLogger, exception: any) => string;
1211
+ [_DYN_SANITIZE_PROPERTIES]: (logger: IDiagnosticLogger, properties: any) => any;
1212
+ [_DYN_SANITIZE_MEASUREMENT3]: (logger: IDiagnosticLogger, measurements: any) => any;
1203
1213
  sanitizeId: (logger: IDiagnosticLogger, id: string) => string;
1204
1214
  sanitizeInput: (logger: IDiagnosticLogger, input: any, maxLength: number, _msgId: _eInternalMessageId) => any;
1205
1215
  padNumber: (num: number) => string;
@@ -1,36 +1,37 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
6
6
 
7
- import { DEFAULT_BREEZE_ENDPOINT } from "./Constants";
8
7
  import { arrReduce, objKeys } from "@microsoft/applicationinsights-core-js";
8
+ import { DEFAULT_BREEZE_ENDPOINT } from "./Constants";
9
+ import { _DYN_INGESTIONENDPOINT, _DYN_LENGTH, _DYN_SPLIT, _DYN_TO_LOWER_CASE } from "./__DynamicConstants";
9
10
  var _FIELDS_SEPARATOR = ";";
10
11
  var _FIELD_KEY_VALUE_SEPARATOR = "=";
11
12
  export function parseConnectionString(connectionString) {
12
13
  if (!connectionString) {
13
14
  return {};
14
15
  }
15
- var kvPairs = connectionString.split(_FIELDS_SEPARATOR);
16
+ var kvPairs = connectionString[_DYN_SPLIT /* @min:%2esplit */](_FIELDS_SEPARATOR);
16
17
  var result = arrReduce(kvPairs, function (fields, kv) {
17
- var kvParts = kv.split(_FIELD_KEY_VALUE_SEPARATOR);
18
- if (kvParts.length === 2) { // only save fields with valid formats
19
- var key = kvParts[0].toLowerCase();
18
+ var kvParts = kv[_DYN_SPLIT /* @min:%2esplit */](_FIELD_KEY_VALUE_SEPARATOR);
19
+ if (kvParts[_DYN_LENGTH /* @min:%2elength */] === 2) { // only save fields with valid formats
20
+ var key = kvParts[0][_DYN_TO_LOWER_CASE /* @min:%2etoLowerCase */]();
20
21
  var value = kvParts[1];
21
22
  fields[key] = value;
22
23
  }
23
24
  return fields;
24
25
  }, {});
25
- if (objKeys(result).length > 0) {
26
+ if (objKeys(result)[_DYN_LENGTH /* @min:%2elength */] > 0) {
26
27
  // this is a valid connection string, so parse the results
27
28
  if (result.endpointsuffix) {
28
29
  // use endpoint suffix where overrides are not provided
29
30
  var locationPrefix = result.location ? result.location + "." : "";
30
- result.ingestionendpoint = result.ingestionendpoint || ("https://" + locationPrefix + "dc." + result.endpointsuffix);
31
+ result[_DYN_INGESTIONENDPOINT /* @min:%2eingestionendpoint */] = result[_DYN_INGESTIONENDPOINT /* @min:%2eingestionendpoint */] || ("https://" + locationPrefix + "dc." + result.endpointsuffix);
31
32
  }
32
33
  // apply the default endpoints
33
- result.ingestionendpoint = result.ingestionendpoint || DEFAULT_BREEZE_ENDPOINT;
34
+ result[_DYN_INGESTIONENDPOINT /* @min:%2eingestionendpoint */] = result[_DYN_INGESTIONENDPOINT /* @min:%2eingestionendpoint */] || DEFAULT_BREEZE_ENDPOINT;
34
35
  }
35
36
  return result;
36
37
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ConnectionStringParser.js.map","sources":["ConnectionStringParser.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { DEFAULT_BREEZE_ENDPOINT } from \"./Constants\";\r\nimport { arrReduce, objKeys } from \"@microsoft/applicationinsights-core-js\";\r\nvar _FIELDS_SEPARATOR = \";\";\r\nvar _FIELD_KEY_VALUE_SEPARATOR = \"=\";\r\nexport function parseConnectionString(connectionString) {\r\n if (!connectionString) {\r\n return {};\r\n }\r\n var kvPairs = connectionString.split(_FIELDS_SEPARATOR);\r\n var result = arrReduce(kvPairs, function (fields, kv) {\r\n var kvParts = kv.split(_FIELD_KEY_VALUE_SEPARATOR);\r\n if (kvParts.length === 2) { // only save fields with valid formats\r\n var key = kvParts[0].toLowerCase();\r\n var value = kvParts[1];\r\n fields[key] = value;\r\n }\r\n return fields;\r\n }, {});\r\n if (objKeys(result).length > 0) {\r\n // this is a valid connection string, so parse the results\r\n if (result.endpointsuffix) {\r\n // use endpoint suffix where overrides are not provided\r\n var locationPrefix = result.location ? result.location + \".\" : \"\";\r\n result.ingestionendpoint = result.ingestionendpoint || (\"https://\" + locationPrefix + \"dc.\" + result.endpointsuffix);\r\n }\r\n // apply the default endpoints\r\n result.ingestionendpoint = result.ingestionendpoint || DEFAULT_BREEZE_ENDPOINT;\r\n }\r\n return result;\r\n}\r\nexport var ConnectionStringParser = {\r\n parse: parseConnectionString\r\n};\r\n//# sourceMappingURL=ConnectionStringParser.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
1
+ {"version":3,"file":"ConnectionStringParser.js.map","sources":["ConnectionStringParser.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { arrReduce, objKeys } from \"@microsoft/applicationinsights-core-js\";\r\nimport { DEFAULT_BREEZE_ENDPOINT } from \"./Constants\";\r\nimport { _DYN_INGESTIONENDPOINT, _DYN_LENGTH, _DYN_SPLIT, _DYN_TO_LOWER_CASE } from \"./__DynamicConstants\";\r\nvar _FIELDS_SEPARATOR = \";\";\r\nvar _FIELD_KEY_VALUE_SEPARATOR = \"=\";\r\nexport function parseConnectionString(connectionString) {\r\n if (!connectionString) {\r\n return {};\r\n }\r\n var kvPairs = connectionString[_DYN_SPLIT /* @min:%2esplit */](_FIELDS_SEPARATOR);\r\n var result = arrReduce(kvPairs, function (fields, kv) {\r\n var kvParts = kv[_DYN_SPLIT /* @min:%2esplit */](_FIELD_KEY_VALUE_SEPARATOR);\r\n if (kvParts[_DYN_LENGTH /* @min:%2elength */] === 2) { // only save fields with valid formats\r\n var key = kvParts[0][_DYN_TO_LOWER_CASE /* @min:%2etoLowerCase */]();\r\n var value = kvParts[1];\r\n fields[key] = value;\r\n }\r\n return fields;\r\n }, {});\r\n if (objKeys(result)[_DYN_LENGTH /* @min:%2elength */] > 0) {\r\n // this is a valid connection string, so parse the results\r\n if (result.endpointsuffix) {\r\n // use endpoint suffix where overrides are not provided\r\n var locationPrefix = result.location ? result.location + \".\" : \"\";\r\n result[_DYN_INGESTIONENDPOINT /* @min:%2eingestionendpoint */] = result[_DYN_INGESTIONENDPOINT /* @min:%2eingestionendpoint */] || (\"https://\" + locationPrefix + \"dc.\" + result.endpointsuffix);\r\n }\r\n // apply the default endpoints\r\n result[_DYN_INGESTIONENDPOINT /* @min:%2eingestionendpoint */] = result[_DYN_INGESTIONENDPOINT /* @min:%2eingestionendpoint */] || DEFAULT_BREEZE_ENDPOINT;\r\n }\r\n return result;\r\n}\r\nexport var ConnectionStringParser = {\r\n parse: parseConnectionString\r\n};\r\n//# sourceMappingURL=ConnectionStringParser.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -16,6 +16,7 @@ export var SampleRate = "sampleRate";
16
16
  export var ProcessLegacy = "ProcessLegacy";
17
17
  export var HttpMethod = "http.method";
18
18
  export var DEFAULT_BREEZE_ENDPOINT = "https://dc.services.visualstudio.com";
19
+ export var DEFAULT_BREEZE_PATH = "/v2/track";
19
20
  export var strNotSpecified = "not_specified";
20
21
  export var strIkey = "iKey";
21
22
  //# sourceMappingURL=Constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Constants.js.map","sources":["Constants.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n/**\r\n * This is an internal property used to cause internal (reporting) requests to be ignored from reporting\r\n * additional telemetry, to handle polyfil implementations ALL urls used with a disabled request will\r\n * also be ignored for future requests even when this property is not provided.\r\n * Tagging as Ignore as this is an internal value and is not expected to be used outside of the SDK\r\n * @ignore\r\n */\r\nexport var DisabledPropertyName = \"Microsoft_ApplicationInsights_BypassAjaxInstrumentation\";\r\nexport var SampleRate = \"sampleRate\";\r\nexport var ProcessLegacy = \"ProcessLegacy\";\r\nexport var HttpMethod = \"http.method\";\r\nexport var DEFAULT_BREEZE_ENDPOINT = \"https://dc.services.visualstudio.com\";\r\nexport var strNotSpecified = \"not_specified\";\r\nexport var strIkey = \"iKey\";\r\n//# sourceMappingURL=Constants.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
1
+ {"version":3,"file":"Constants.js.map","sources":["Constants.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n/**\r\n * This is an internal property used to cause internal (reporting) requests to be ignored from reporting\r\n * additional telemetry, to handle polyfil implementations ALL urls used with a disabled request will\r\n * also be ignored for future requests even when this property is not provided.\r\n * Tagging as Ignore as this is an internal value and is not expected to be used outside of the SDK\r\n * @ignore\r\n */\r\nexport var DisabledPropertyName = \"Microsoft_ApplicationInsights_BypassAjaxInstrumentation\";\r\nexport var SampleRate = \"sampleRate\";\r\nexport var ProcessLegacy = \"ProcessLegacy\";\r\nexport var HttpMethod = \"http.method\";\r\nexport var DEFAULT_BREEZE_ENDPOINT = \"https://dc.services.visualstudio.com\";\r\nexport var DEFAULT_BREEZE_PATH = \"/v2/track\";\r\nexport var strNotSpecified = \"not_specified\";\r\nexport var strIkey = \"iKey\";\r\n//# sourceMappingURL=Constants.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
package/dist-esm/Enums.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,17 +1,18 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
6
6
 
7
7
  import { arrForEach, isString } from "@microsoft/applicationinsights-core-js";
8
+ import { _DYN_LENGTH, _DYN_TO_LOWER_CASE } from "./__DynamicConstants";
8
9
  var strEmpty = "";
9
10
  export function stringToBoolOrDefault(str, defaultValue) {
10
11
  if (defaultValue === void 0) { defaultValue = false; }
11
12
  if (str === undefined || str === null) {
12
13
  return defaultValue;
13
14
  }
14
- return str.toString().toLowerCase() === "true";
15
+ return str.toString()[_DYN_TO_LOWER_CASE /* @min:%2etoLowerCase */]() === "true";
15
16
  }
16
17
  /**
17
18
  * Convert ms to c# time span format
@@ -26,10 +27,10 @@ export function msToTimeSpan(totalms) {
26
27
  var min = strEmpty + Math.floor(totalms / (1000 * 60)) % 60;
27
28
  var hour = strEmpty + Math.floor(totalms / (1000 * 60 * 60)) % 24;
28
29
  var days = Math.floor(totalms / (1000 * 60 * 60 * 24));
29
- ms = ms.length === 1 ? "00" + ms : ms.length === 2 ? "0" + ms : ms;
30
- sec = sec.length < 2 ? "0" + sec : sec;
31
- min = min.length < 2 ? "0" + min : min;
32
- hour = hour.length < 2 ? "0" + hour : hour;
30
+ ms = ms[_DYN_LENGTH /* @min:%2elength */] === 1 ? "00" + ms : ms[_DYN_LENGTH /* @min:%2elength */] === 2 ? "0" + ms : ms;
31
+ sec = sec[_DYN_LENGTH /* @min:%2elength */] < 2 ? "0" + sec : sec;
32
+ min = min[_DYN_LENGTH /* @min:%2elength */] < 2 ? "0" + min : min;
33
+ hour = hour[_DYN_LENGTH /* @min:%2elength */] < 2 ? "0" + hour : hour;
33
34
  return (days > 0 ? days + "." : strEmpty) + hour + ":" + min + ":" + sec + "." + ms;
34
35
  }
35
36
  export function getExtensionByName(extensions, identifier) {
@@ -1 +1 @@
1
- {"version":3,"file":"HelperFuncs.js.map","sources":["HelperFuncs.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { arrForEach, isString } from \"@microsoft/applicationinsights-core-js\";\r\nvar strEmpty = \"\";\r\nexport function stringToBoolOrDefault(str, defaultValue) {\r\n if (defaultValue === void 0) { defaultValue = false; }\r\n if (str === undefined || str === null) {\r\n return defaultValue;\r\n }\r\n return str.toString().toLowerCase() === \"true\";\r\n}\r\n/**\r\n * Convert ms to c# time span format\r\n */\r\nexport function msToTimeSpan(totalms) {\r\n if (isNaN(totalms) || totalms < 0) {\r\n totalms = 0;\r\n }\r\n totalms = Math.round(totalms);\r\n var ms = strEmpty + totalms % 1000;\r\n var sec = strEmpty + Math.floor(totalms / 1000) % 60;\r\n var min = strEmpty + Math.floor(totalms / (1000 * 60)) % 60;\r\n var hour = strEmpty + Math.floor(totalms / (1000 * 60 * 60)) % 24;\r\n var days = Math.floor(totalms / (1000 * 60 * 60 * 24));\r\n ms = ms.length === 1 ? \"00\" + ms : ms.length === 2 ? \"0\" + ms : ms;\r\n sec = sec.length < 2 ? \"0\" + sec : sec;\r\n min = min.length < 2 ? \"0\" + min : min;\r\n hour = hour.length < 2 ? \"0\" + hour : hour;\r\n return (days > 0 ? days + \".\" : strEmpty) + hour + \":\" + min + \":\" + sec + \".\" + ms;\r\n}\r\nexport function getExtensionByName(extensions, identifier) {\r\n var extension = null;\r\n arrForEach(extensions, function (value) {\r\n if (value.identifier === identifier) {\r\n extension = value;\r\n return -1;\r\n }\r\n });\r\n return extension;\r\n}\r\nexport function isCrossOriginError(message, url, lineNumber, columnNumber, error) {\r\n return !error && isString(message) && (message === \"Script error.\" || message === \"Script error\");\r\n}\r\n//# sourceMappingURL=HelperFuncs.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
1
+ {"version":3,"file":"HelperFuncs.js.map","sources":["HelperFuncs.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { arrForEach, isString } from \"@microsoft/applicationinsights-core-js\";\r\nimport { _DYN_LENGTH, _DYN_TO_LOWER_CASE } from \"./__DynamicConstants\";\r\nvar strEmpty = \"\";\r\nexport function stringToBoolOrDefault(str, defaultValue) {\r\n if (defaultValue === void 0) { defaultValue = false; }\r\n if (str === undefined || str === null) {\r\n return defaultValue;\r\n }\r\n return str.toString()[_DYN_TO_LOWER_CASE /* @min:%2etoLowerCase */]() === \"true\";\r\n}\r\n/**\r\n * Convert ms to c# time span format\r\n */\r\nexport function msToTimeSpan(totalms) {\r\n if (isNaN(totalms) || totalms < 0) {\r\n totalms = 0;\r\n }\r\n totalms = Math.round(totalms);\r\n var ms = strEmpty + totalms % 1000;\r\n var sec = strEmpty + Math.floor(totalms / 1000) % 60;\r\n var min = strEmpty + Math.floor(totalms / (1000 * 60)) % 60;\r\n var hour = strEmpty + Math.floor(totalms / (1000 * 60 * 60)) % 24;\r\n var days = Math.floor(totalms / (1000 * 60 * 60 * 24));\r\n ms = ms[_DYN_LENGTH /* @min:%2elength */] === 1 ? \"00\" + ms : ms[_DYN_LENGTH /* @min:%2elength */] === 2 ? \"0\" + ms : ms;\r\n sec = sec[_DYN_LENGTH /* @min:%2elength */] < 2 ? \"0\" + sec : sec;\r\n min = min[_DYN_LENGTH /* @min:%2elength */] < 2 ? \"0\" + min : min;\r\n hour = hour[_DYN_LENGTH /* @min:%2elength */] < 2 ? \"0\" + hour : hour;\r\n return (days > 0 ? days + \".\" : strEmpty) + hour + \":\" + min + \":\" + sec + \".\" + ms;\r\n}\r\nexport function getExtensionByName(extensions, identifier) {\r\n var extension = null;\r\n arrForEach(extensions, function (value) {\r\n if (value.identifier === identifier) {\r\n extension = value;\r\n return -1;\r\n }\r\n });\r\n return extension;\r\n}\r\nexport function isCrossOriginError(message, url, lineNumber, columnNumber, error) {\r\n return !error && isString(message) && (message === \"Script error.\" || message === \"Script error\");\r\n}\r\n//# sourceMappingURL=HelperFuncs.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  "use strict";
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,18 +1,19 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
6
6
 
7
7
  import { isNullOrUndefined } from "@microsoft/applicationinsights-core-js";
8
+ import { _DYN_EXTENSION_CONFIG } from "../__DynamicConstants";
8
9
  var ConfigurationManager = /** @class */ (function () {
9
10
  function ConfigurationManager() {
10
11
  }
11
12
  ConfigurationManager.getConfig = function (config, field, identifier, defaultValue) {
12
13
  if (defaultValue === void 0) { defaultValue = false; }
13
14
  var configValue;
14
- if (identifier && config.extensionConfig && config.extensionConfig[identifier] && !isNullOrUndefined(config.extensionConfig[identifier][field])) {
15
- configValue = config.extensionConfig[identifier][field];
15
+ if (identifier && config[_DYN_EXTENSION_CONFIG /* @min:%2eextensionConfig */] && config[_DYN_EXTENSION_CONFIG /* @min:%2eextensionConfig */][identifier] && !isNullOrUndefined(config[_DYN_EXTENSION_CONFIG /* @min:%2eextensionConfig */][identifier][field])) {
16
+ configValue = config[_DYN_EXTENSION_CONFIG /* @min:%2eextensionConfig */][identifier][field];
16
17
  }
17
18
  else {
18
19
  configValue = config[field];
@@ -1 +1 @@
1
- {"version":3,"file":"IConfig.js.map","sources":["IConfig.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { isNullOrUndefined } from \"@microsoft/applicationinsights-core-js\";\r\nvar ConfigurationManager = /** @class */ (function () {\r\n function ConfigurationManager() {\r\n }\r\n ConfigurationManager.getConfig = function (config, field, identifier, defaultValue) {\r\n if (defaultValue === void 0) { defaultValue = false; }\r\n var configValue;\r\n if (identifier && config.extensionConfig && config.extensionConfig[identifier] && !isNullOrUndefined(config.extensionConfig[identifier][field])) {\r\n configValue = config.extensionConfig[identifier][field];\r\n }\r\n else {\r\n configValue = config[field];\r\n }\r\n return !isNullOrUndefined(configValue) ? configValue : defaultValue;\r\n };\r\n return ConfigurationManager;\r\n}());\r\nexport { ConfigurationManager };\r\n//# sourceMappingURL=IConfig.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
1
+ {"version":3,"file":"IConfig.js.map","sources":["IConfig.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { isNullOrUndefined } from \"@microsoft/applicationinsights-core-js\";\r\nimport { _DYN_EXTENSION_CONFIG } from \"../__DynamicConstants\";\r\nvar ConfigurationManager = /** @class */ (function () {\r\n function ConfigurationManager() {\r\n }\r\n ConfigurationManager.getConfig = function (config, field, identifier, defaultValue) {\r\n if (defaultValue === void 0) { defaultValue = false; }\r\n var configValue;\r\n if (identifier && config[_DYN_EXTENSION_CONFIG /* @min:%2eextensionConfig */] && config[_DYN_EXTENSION_CONFIG /* @min:%2eextensionConfig */][identifier] && !isNullOrUndefined(config[_DYN_EXTENSION_CONFIG /* @min:%2eextensionConfig */][identifier][field])) {\r\n configValue = config[_DYN_EXTENSION_CONFIG /* @min:%2eextensionConfig */][identifier][field];\r\n }\r\n else {\r\n configValue = config[field];\r\n }\r\n return !isNullOrUndefined(configValue) ? configValue : defaultValue;\r\n };\r\n return ConfigurationManager;\r\n}());\r\nexport { ConfigurationManager };\r\n//# sourceMappingURL=IConfig.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-04
2
+ * Application Insights JavaScript SDK - Common, 2.8.5-nightly.2206-06
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5