@microsoft/applicationinsights-common 3.0.0-beta.2302-01 → 3.0.0-beta.2302-03

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 (110) hide show
  1. package/browser/applicationinsights-common.integrity.json +9 -9
  2. package/browser/applicationinsights-common.js +57 -15
  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 +2 -2
  7. package/dist/applicationinsights-common.d.ts +1 -1
  8. package/dist/applicationinsights-common.js +57 -15
  9. package/dist/applicationinsights-common.js.map +1 -1
  10. package/dist/applicationinsights-common.min.js +2 -2
  11. package/dist/applicationinsights-common.min.js.map +1 -1
  12. package/dist/applicationinsights-common.rollup.d.ts +1 -1
  13. package/dist-esm/ConnectionStringParser.js +1 -1
  14. package/dist-esm/Constants.js +1 -1
  15. package/dist-esm/DomHelperFuncs.js +1 -1
  16. package/dist-esm/Enums.js +1 -1
  17. package/dist-esm/HelperFuncs.js +1 -1
  18. package/dist-esm/Interfaces/ConnectionString.js +1 -1
  19. package/dist-esm/Interfaces/Context/IApplication.js +1 -1
  20. package/dist-esm/Interfaces/Context/IDevice.js +1 -1
  21. package/dist-esm/Interfaces/Context/IInternal.js +1 -1
  22. package/dist-esm/Interfaces/Context/ILocation.js +1 -1
  23. package/dist-esm/Interfaces/Context/IOperatingSystem.js +1 -1
  24. package/dist-esm/Interfaces/Context/ISample.js +1 -1
  25. package/dist-esm/Interfaces/Context/ISession.js +1 -1
  26. package/dist-esm/Interfaces/Context/ITelemetryTrace.js +1 -1
  27. package/dist-esm/Interfaces/Context/IUser.js +1 -1
  28. package/dist-esm/Interfaces/Context/IWeb.js +1 -1
  29. package/dist-esm/Interfaces/Contracts/AvailabilityData.js +1 -1
  30. package/dist-esm/Interfaces/Contracts/ContextTagKeys.js +1 -1
  31. package/dist-esm/Interfaces/Contracts/DataPointType.js +1 -1
  32. package/dist-esm/Interfaces/Contracts/DependencyKind.js +1 -1
  33. package/dist-esm/Interfaces/Contracts/DependencySourceType.js +1 -1
  34. package/dist-esm/Interfaces/Contracts/IBase.js +1 -1
  35. package/dist-esm/Interfaces/Contracts/IData.js +1 -1
  36. package/dist-esm/Interfaces/Contracts/IDataPoint.js +1 -1
  37. package/dist-esm/Interfaces/Contracts/IDomain.js +1 -1
  38. package/dist-esm/Interfaces/Contracts/IEnvelope.js +1 -1
  39. package/dist-esm/Interfaces/Contracts/IEventData.js +1 -1
  40. package/dist-esm/Interfaces/Contracts/IExceptionData.js +1 -1
  41. package/dist-esm/Interfaces/Contracts/IExceptionDetails.js +1 -1
  42. package/dist-esm/Interfaces/Contracts/IMessageData.js +1 -1
  43. package/dist-esm/Interfaces/Contracts/IMetricData.js +1 -1
  44. package/dist-esm/Interfaces/Contracts/IPageViewData.js +1 -1
  45. package/dist-esm/Interfaces/Contracts/IPageViewPerfData.js +1 -1
  46. package/dist-esm/Interfaces/Contracts/IRemoteDependencyData.js +1 -1
  47. package/dist-esm/Interfaces/Contracts/IStackFrame.js +1 -1
  48. package/dist-esm/Interfaces/Contracts/RequestData.js +1 -1
  49. package/dist-esm/Interfaces/Contracts/SeverityLevel.js +1 -1
  50. package/dist-esm/Interfaces/IAppInsights.js +1 -1
  51. package/dist-esm/Interfaces/IChannelControlsAI.js +1 -1
  52. package/dist-esm/Interfaces/IConfig.js +1 -1
  53. package/dist-esm/Interfaces/ICorrelationConfig.js +1 -1
  54. package/dist-esm/Interfaces/IDependencyTelemetry.js +1 -1
  55. package/dist-esm/Interfaces/IEventTelemetry.js +1 -1
  56. package/dist-esm/Interfaces/IExceptionTelemetry.js +1 -1
  57. package/dist-esm/Interfaces/IMetricTelemetry.js +1 -1
  58. package/dist-esm/Interfaces/IPageViewPerformanceTelemetry.js +1 -1
  59. package/dist-esm/Interfaces/IPageViewTelemetry.js +1 -1
  60. package/dist-esm/Interfaces/IPartC.js +1 -1
  61. package/dist-esm/Interfaces/IPropertiesPlugin.js +1 -1
  62. package/dist-esm/Interfaces/IRequestContext.js +1 -1
  63. package/dist-esm/Interfaces/ITelemetryContext.js +1 -1
  64. package/dist-esm/Interfaces/IThrottleMgr.js +1 -1
  65. package/dist-esm/Interfaces/ITraceTelemetry.js +1 -1
  66. package/dist-esm/Interfaces/PartAExtensions.js +1 -1
  67. package/dist-esm/Interfaces/Telemetry/IEnvelope.js +1 -1
  68. package/dist-esm/Interfaces/Telemetry/ISerializable.js +1 -1
  69. package/dist-esm/RequestResponseHeaders.js +1 -1
  70. package/dist-esm/StorageHelperFuncs.js +1 -1
  71. package/dist-esm/Telemetry/Common/Data.js +1 -1
  72. package/dist-esm/Telemetry/Common/DataPoint.js +1 -1
  73. package/dist-esm/Telemetry/Common/DataSanitizer.js +1 -1
  74. package/dist-esm/Telemetry/Common/Envelope.js +1 -1
  75. package/dist-esm/Telemetry/Event.js +1 -1
  76. package/dist-esm/Telemetry/Exception.js +1 -1
  77. package/dist-esm/Telemetry/Metric.js +1 -1
  78. package/dist-esm/Telemetry/PageView.js +1 -1
  79. package/dist-esm/Telemetry/PageViewPerformance.js +1 -1
  80. package/dist-esm/Telemetry/RemoteDependencyData.js +1 -1
  81. package/dist-esm/Telemetry/Trace.js +1 -1
  82. package/dist-esm/TelemetryItemCreator.js +1 -1
  83. package/dist-esm/ThrottleMgr.js +1 -1
  84. package/dist-esm/UrlHelperFuncs.js +1 -1
  85. package/dist-esm/Util.js +1 -1
  86. package/dist-esm/__DynamicConstants.js +4 -4
  87. package/dist-esm/__DynamicConstants.js.map +1 -1
  88. package/dist-esm/applicationinsights-common.js +1 -1
  89. package/package.json +5 -5
  90. package/src/ConnectionStringParser.ts +8 -8
  91. package/src/HelperFuncs.ts +6 -6
  92. package/src/Interfaces/IConfig.ts +7 -7
  93. package/src/StorageHelperFuncs.ts +10 -10
  94. package/src/Telemetry/Common/DataSanitizer.ts +8 -8
  95. package/src/Telemetry/Common/Envelope.ts +11 -11
  96. package/src/Telemetry/Event.ts +11 -11
  97. package/src/Telemetry/Exception.ts +22 -22
  98. package/src/Telemetry/Metric.ts +12 -12
  99. package/src/Telemetry/PageView.ts +14 -14
  100. package/src/Telemetry/PageViewPerformance.ts +12 -12
  101. package/src/Telemetry/RemoteDependencyData.ts +12 -12
  102. package/src/Telemetry/Trace.ts +12 -12
  103. package/src/TelemetryItemCreator.ts +10 -10
  104. package/src/ThrottleMgr.ts +9 -9
  105. package/src/UrlHelperFuncs.ts +6 -6
  106. package/src/Util.ts +16 -16
  107. package/src/__DynamicConstants.ts +50 -50
  108. package/types/Enums.d.ts +2 -2
  109. package/types/Interfaces/ConnectionString.d.ts +2 -2
  110. package/types/Interfaces/Contracts/SeverityLevel.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 3.0.0-beta.2302-01
2
+ * Application Insights JavaScript SDK - Common, 3.0.0-beta.2302-03
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -8,9 +8,9 @@
8
8
  // ##############################################################
9
9
  // AUTO GENERATED FILE: This file is Auto Generated during build.
10
10
  // ##############################################################
11
- // ###########################################################################################################################################
12
- // Note: DON'T Export these const from the package as we are still targeting IE this will export a mutable variables that someone could change
13
- // ###########################################################################################################################################
11
+ // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
+ // Note: DON'T Export these const from the package as we are still targeting ES3 this will export a mutable variables that someone could change!!!
13
+ // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14
14
  export var _DYN_SPLIT = "split"; // Count: 6
15
15
  export var _DYN_LENGTH = "length"; // Count: 41
16
16
  export var _DYN_TO_LOWER_CASE = "toLowerCase"; // Count: 6
@@ -1 +1 @@
1
- {"version":3,"file":"__DynamicConstants.js.map","sources":["__DynamicConstants.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n// @skip-file-minify\r\n// ##############################################################\r\n// AUTO GENERATED FILE: This file is Auto Generated during build.\r\n// ##############################################################\r\n// ###########################################################################################################################################\r\n// Note: DON'T Export these const from the package as we are still targeting IE this will export a mutable variables that someone could change\r\n// ###########################################################################################################################################\r\nexport var _DYN_SPLIT = \"split\"; // Count: 6\r\nexport var _DYN_LENGTH = \"length\"; // Count: 41\r\nexport var _DYN_TO_LOWER_CASE = \"toLowerCase\"; // Count: 6\r\nexport var _DYN_INGESTIONENDPOINT = \"ingestionendpoint\"; // Count: 4\r\nexport var _DYN_TO_STRING = \"toString\"; // Count: 12\r\nexport var _DYN_REMOVE_ITEM = \"removeItem\"; // Count: 3\r\nexport var _DYN_NAME = \"name\"; // Count: 11\r\nexport var _DYN_MESSAGE = \"message\"; // Count: 10\r\nexport var _DYN_COUNT = \"count\"; // Count: 8\r\nexport var _DYN_PRE_TRIGGER_DATE = \"preTriggerDate\"; // Count: 4\r\nexport var _DYN_DISABLED = \"disabled\"; // Count: 3\r\nexport var _DYN_INTERVAL = \"interval\"; // Count: 3\r\nexport var _DYN_DAYS_OF_MONTH = \"daysOfMonth\"; // Count: 3\r\nexport var _DYN_DATE = \"date\"; // Count: 5\r\nexport var _DYN_GET_UTCDATE = \"getUTCDate\"; // Count: 3\r\nexport var _DYN_STRINGIFY = \"stringify\"; // Count: 4\r\nexport var _DYN_PATHNAME = \"pathname\"; // Count: 4\r\nexport var _DYN_CORRELATION_HEADER_E0 = \"correlationHeaderExcludePatterns\"; // Count: 2\r\nexport var _DYN_EXTENSION_CONFIG = \"extensionConfig\"; // Count: 4\r\nexport var _DYN_EXCEPTIONS = \"exceptions\"; // Count: 6\r\nexport var _DYN_PARSED_STACK = \"parsedStack\"; // Count: 11\r\nexport var _DYN_PROPERTIES = \"properties\"; // Count: 9\r\nexport var _DYN_MEASUREMENTS = \"measurements\"; // Count: 9\r\nexport var _DYN_SIZE_IN_BYTES = \"sizeInBytes\"; // Count: 11\r\nexport var _DYN_TYPE_NAME = \"typeName\"; // Count: 11\r\nexport var _DYN_SEVERITY_LEVEL = \"severityLevel\"; // Count: 5\r\nexport var _DYN_PROBLEM_GROUP = \"problemGroup\"; // Count: 3\r\nexport var _DYN_IS_MANUAL = \"isManual\"; // Count: 3\r\nexport var _DYN__CREATE_FROM_INTERFA1 = \"CreateFromInterface\"; // Count: 2\r\nexport var _DYN_HAS_FULL_STACK = \"hasFullStack\"; // Count: 6\r\nexport var _DYN_LEVEL = \"level\"; // Count: 5\r\nexport var _DYN_METHOD = \"method\"; // Count: 7\r\nexport var _DYN_ASSEMBLY = \"assembly\"; // Count: 5\r\nexport var _DYN_FILE_NAME = \"fileName\"; // Count: 6\r\nexport var _DYN_LINE = \"line\"; // Count: 6\r\nexport var _DYN_DURATION = \"duration\"; // Count: 4\r\nexport var _DYN_RECEIVED_RESPONSE = \"receivedResponse\"; // Count: 2\r\nexport var _DYN_SUBSTRING = \"substring\"; // Count: 6\r\n//# sourceMappingURL=__DynamicConstants.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;AACA;AACA;AACA"}
1
+ {"version":3,"file":"__DynamicConstants.js.map","sources":["__DynamicConstants.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n// @skip-file-minify\r\n// ##############################################################\r\n// AUTO GENERATED FILE: This file is Auto Generated during build.\r\n// ##############################################################\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n// Note: DON'T Export these const from the package as we are still targeting ES3 this will export a mutable variables that someone could change!!!\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\nexport var _DYN_SPLIT = \"split\"; // Count: 6\r\nexport var _DYN_LENGTH = \"length\"; // Count: 41\r\nexport var _DYN_TO_LOWER_CASE = \"toLowerCase\"; // Count: 6\r\nexport var _DYN_INGESTIONENDPOINT = \"ingestionendpoint\"; // Count: 4\r\nexport var _DYN_TO_STRING = \"toString\"; // Count: 12\r\nexport var _DYN_REMOVE_ITEM = \"removeItem\"; // Count: 3\r\nexport var _DYN_NAME = \"name\"; // Count: 11\r\nexport var _DYN_MESSAGE = \"message\"; // Count: 10\r\nexport var _DYN_COUNT = \"count\"; // Count: 8\r\nexport var _DYN_PRE_TRIGGER_DATE = \"preTriggerDate\"; // Count: 4\r\nexport var _DYN_DISABLED = \"disabled\"; // Count: 3\r\nexport var _DYN_INTERVAL = \"interval\"; // Count: 3\r\nexport var _DYN_DAYS_OF_MONTH = \"daysOfMonth\"; // Count: 3\r\nexport var _DYN_DATE = \"date\"; // Count: 5\r\nexport var _DYN_GET_UTCDATE = \"getUTCDate\"; // Count: 3\r\nexport var _DYN_STRINGIFY = \"stringify\"; // Count: 4\r\nexport var _DYN_PATHNAME = \"pathname\"; // Count: 4\r\nexport var _DYN_CORRELATION_HEADER_E0 = \"correlationHeaderExcludePatterns\"; // Count: 2\r\nexport var _DYN_EXTENSION_CONFIG = \"extensionConfig\"; // Count: 4\r\nexport var _DYN_EXCEPTIONS = \"exceptions\"; // Count: 6\r\nexport var _DYN_PARSED_STACK = \"parsedStack\"; // Count: 11\r\nexport var _DYN_PROPERTIES = \"properties\"; // Count: 9\r\nexport var _DYN_MEASUREMENTS = \"measurements\"; // Count: 9\r\nexport var _DYN_SIZE_IN_BYTES = \"sizeInBytes\"; // Count: 11\r\nexport var _DYN_TYPE_NAME = \"typeName\"; // Count: 11\r\nexport var _DYN_SEVERITY_LEVEL = \"severityLevel\"; // Count: 5\r\nexport var _DYN_PROBLEM_GROUP = \"problemGroup\"; // Count: 3\r\nexport var _DYN_IS_MANUAL = \"isManual\"; // Count: 3\r\nexport var _DYN__CREATE_FROM_INTERFA1 = \"CreateFromInterface\"; // Count: 2\r\nexport var _DYN_HAS_FULL_STACK = \"hasFullStack\"; // Count: 6\r\nexport var _DYN_LEVEL = \"level\"; // Count: 5\r\nexport var _DYN_METHOD = \"method\"; // Count: 7\r\nexport var _DYN_ASSEMBLY = \"assembly\"; // Count: 5\r\nexport var _DYN_FILE_NAME = \"fileName\"; // Count: 6\r\nexport var _DYN_LINE = \"line\"; // Count: 6\r\nexport var _DYN_DURATION = \"duration\"; // Count: 4\r\nexport var _DYN_RECEIVED_RESPONSE = \"receivedResponse\"; // Count: 2\r\nexport var _DYN_SUBSTRING = \"substring\"; // Count: 6\r\n//# sourceMappingURL=__DynamicConstants.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;AACA;AACA;AACA"}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 3.0.0-beta.2302-01
2
+ * Application Insights JavaScript SDK - Common, 3.0.0-beta.2302-03
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/applicationinsights-common",
3
- "version": "3.0.0-beta.2302-01",
3
+ "version": "3.0.0-beta.2302-03",
4
4
  "description": "Microsoft Application Insights Common JavaScript Library",
5
5
  "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
6
  "author": "Microsoft Application Insights Team",
@@ -32,7 +32,7 @@
32
32
  "@microsoft/api-extractor": "^7.18.1",
33
33
  "grunt": "^1.5.3",
34
34
  "grunt-cli": "^1.4.3",
35
- "grunt-contrib-qunit": "^5.0.1",
35
+ "grunt-contrib-qunit": "^6.2.1",
36
36
  "@nevware21/grunt-ts-plugin": "^0.4.3",
37
37
  "@nevware21/grunt-eslint-ts": "^0.2.2",
38
38
  "@rollup/plugin-commonjs": "^18.0.0",
@@ -40,7 +40,7 @@
40
40
  "@rollup/plugin-replace": "^2.3.3",
41
41
  "rollup-plugin-cleanup": "^3.2.1",
42
42
  "rollup": "^2.32.0",
43
- "typescript": "^4.3.4",
43
+ "typescript": "^4.9.3",
44
44
  "tslib": "^2.0.0",
45
45
  "globby": "^11.0.0",
46
46
  "magic-string": "^0.25.7",
@@ -51,9 +51,9 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@microsoft/applicationinsights-shims": "2.0.2",
54
- "@microsoft/applicationinsights-core-js": "3.0.0-beta.2302-01",
54
+ "@microsoft/applicationinsights-core-js": "3.0.0-beta.2302-03",
55
55
  "@microsoft/dynamicproto-js": "^1.1.7",
56
- "@nevware21/ts-utils": "^0.6.0"
56
+ "@nevware21/ts-utils": "^0.7.0"
57
57
  },
58
58
  "license": "MIT",
59
59
  "publishConfig": {
@@ -1,10 +1,10 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import { arrReduce, objKeys } from "@microsoft/applicationinsights-core-js";
5
- import { DEFAULT_BREEZE_ENDPOINT } from "./Constants";
6
- import { ConnectionString, ConnectionStringKey } from "./Interfaces/ConnectionString";
7
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import { arrReduce, objKeys } from "@microsoft/applicationinsights-core-js";
5
+ import { DEFAULT_BREEZE_ENDPOINT } from "./Constants";
6
+ import { ConnectionString, ConnectionStringKey } from "./Interfaces/ConnectionString";
7
+
8
8
  const _FIELDS_SEPARATOR = ";";
9
9
  const _FIELD_KEY_VALUE_SEPARATOR = "=";
10
10
 
@@ -44,4 +44,4 @@ export function parseConnectionString(connectionString?: string): ConnectionStri
44
44
 
45
45
  export const ConnectionStringParser = {
46
46
  parse: parseConnectionString
47
- };
47
+ };
@@ -1,8 +1,8 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import { IPlugin, arrForEach, isString } from "@microsoft/applicationinsights-core-js";
5
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import { IPlugin, arrForEach, isString } from "@microsoft/applicationinsights-core-js";
5
+
6
6
  const strEmpty = "";
7
7
 
8
8
  export function stringToBoolOrDefault(str: any, defaultValue = false): boolean {
@@ -51,4 +51,4 @@ export function getExtensionByName(extensions: IPlugin[], identifier: string): I
51
51
 
52
52
  export function isCrossOriginError(message: string|Event, url: string, lineNumber: number, columnNumber: number, error: Error | Event): boolean {
53
53
  return !error && isString(message) && (message === "Script error." || message === "Script error");
54
- }
54
+ }
@@ -1,9 +1,9 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
- import { IConfiguration, ICustomProperties, isNullOrUndefined } from "@microsoft/applicationinsights-core-js";
4
- import { DistributedTracingModes } from "../Enums";
5
- import { IRequestContext } from "./IRequestContext";
6
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+ import { IConfiguration, ICustomProperties, isNullOrUndefined } from "@microsoft/applicationinsights-core-js";
4
+ import { DistributedTracingModes } from "../Enums";
5
+ import { IRequestContext } from "./IRequestContext";
6
+
7
7
  /**
8
8
  * Configuration settings for how telemetry is sent
9
9
  * @export
@@ -393,4 +393,4 @@ export class ConfigurationManager {
393
393
 
394
394
  return !isNullOrUndefined(configValue) ? configValue : defaultValue;
395
395
  }
396
- }
396
+ }
@@ -1,12 +1,12 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import {
5
- IDiagnosticLogger, _eInternalMessageId, _throwInternal, dumpObj, eLoggingSeverity, getExceptionName, getGlobal, getGlobalInst,
6
- isNullOrUndefined, objForEachKey
7
- } from "@microsoft/applicationinsights-core-js";
8
- import { StorageType } from "./Enums";
9
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import {
5
+ IDiagnosticLogger, _eInternalMessageId, _throwInternal, dumpObj, eLoggingSeverity, getExceptionName, getGlobal, getGlobalInst,
6
+ isNullOrUndefined, objForEachKey
7
+ } from "@microsoft/applicationinsights-core-js";
8
+ import { StorageType } from "./Enums";
9
+
10
10
  let _canUseLocalStorage: boolean = undefined;
11
11
  let _canUseSessionStorage: boolean = undefined;
12
12
 
@@ -220,4 +220,4 @@ export function utlRemoveSessionStorage(logger: IDiagnosticLogger, name: string)
220
220
  }
221
221
 
222
222
  return false;
223
- }
223
+ }
@@ -1,10 +1,10 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import {
5
- IDiagnosticLogger, _eInternalMessageId, _throwInternal, eLoggingSeverity, getJSON, hasJSON, isObject, objForEachKey, strTrim
6
- } from "@microsoft/applicationinsights-core-js";
7
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import {
5
+ IDiagnosticLogger, _eInternalMessageId, _throwInternal, eLoggingSeverity, getJSON, hasJSON, isObject, objForEachKey, strTrim
6
+ } from "@microsoft/applicationinsights-core-js";
7
+
8
8
  export const enum DataSanitizerValues {
9
9
  /**
10
10
  * Max length allowed for custom names.
@@ -194,4 +194,4 @@ export function dataSanitizeInput(logger: IDiagnosticLogger, input: any, maxLeng
194
194
  export function dsPadNumber(num: number) {
195
195
  const s = "00" + num;
196
196
  return s.substr(s.length - 3);
197
- }
197
+ }
@@ -1,13 +1,13 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import { IDiagnosticLogger, toISOString } from "@microsoft/applicationinsights-core-js";
5
- import { strNotSpecified } from "../../Constants";
6
- import { FieldType } from "../../Enums";
7
- import { IBase } from "../../Interfaces/Contracts/IBase";
8
- import { IEnvelope } from "../../Interfaces/Telemetry/IEnvelope";
9
- import { dataSanitizeString } from "./DataSanitizer";
10
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import { IDiagnosticLogger, toISOString } from "@microsoft/applicationinsights-core-js";
5
+ import { strNotSpecified } from "../../Constants";
6
+ import { FieldType } from "../../Enums";
7
+ import { IBase } from "../../Interfaces/Contracts/IBase";
8
+ import { IEnvelope } from "../../Interfaces/Telemetry/IEnvelope";
9
+ import { dataSanitizeString } from "./DataSanitizer";
10
+
11
11
  export class Envelope implements IEnvelope {
12
12
 
13
13
  /**
@@ -78,4 +78,4 @@ export class Envelope implements IEnvelope {
78
78
  data: FieldType.Required
79
79
  };
80
80
  }
81
- }
81
+ }
@@ -1,13 +1,13 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
5
- import { strNotSpecified } from "../Constants";
6
- import { FieldType } from "../Enums";
7
- import { IEventData } from "../Interfaces/Contracts/IEventData";
8
- import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
9
- import { dataSanitizeMeasurements, dataSanitizeProperties, dataSanitizeString } from "./Common/DataSanitizer";
10
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
5
+ import { strNotSpecified } from "../Constants";
6
+ import { FieldType } from "../Enums";
7
+ import { IEventData } from "../Interfaces/Contracts/IEventData";
8
+ import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
9
+ import { dataSanitizeMeasurements, dataSanitizeProperties, dataSanitizeString } from "./Common/DataSanitizer";
10
+
11
11
  export class Event implements IEventData, ISerializable {
12
12
  public static envelopeType = "Microsoft.ApplicationInsights.{0}.Event";
13
13
  public static dataType = "EventData";
@@ -49,4 +49,4 @@ export class Event implements IEventData, ISerializable {
49
49
  _self.properties = dataSanitizeProperties(logger, properties);
50
50
  _self.measurements = dataSanitizeMeasurements(logger, measurements);
51
51
  }
52
- }
52
+ }
@@ -1,24 +1,24 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import {
5
- IDiagnosticLogger, arrForEach, arrMap, isArray, isError, isFunction, isNullOrUndefined, isObject, isString, strTrim
6
- } from "@microsoft/applicationinsights-core-js";
7
- import { strIndexOf } from "@nevware21/ts-utils";
8
- import { strNotSpecified } from "../Constants";
9
- import { FieldType } from "../Enums";
10
- import { IExceptionData } from "../Interfaces/Contracts/IExceptionData";
11
- import { IExceptionDetails } from "../Interfaces/Contracts/IExceptionDetails";
12
- import { IStackFrame } from "../Interfaces/Contracts/IStackFrame";
13
- import { SeverityLevel } from "../Interfaces/Contracts/SeverityLevel";
14
- import {
15
- IAutoExceptionTelemetry, IExceptionDetailsInternal, IExceptionInternal, IExceptionStackFrameInternal, IStackDetails
16
- } from "../Interfaces/IExceptionTelemetry";
17
- import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
18
- import {
19
- dataSanitizeException, dataSanitizeMeasurements, dataSanitizeMessage, dataSanitizeProperties, dataSanitizeString
20
- } from "./Common/DataSanitizer";
21
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import {
5
+ IDiagnosticLogger, arrForEach, arrMap, isArray, isError, isFunction, isNullOrUndefined, isObject, isString, strTrim
6
+ } from "@microsoft/applicationinsights-core-js";
7
+ import { strIndexOf } from "@nevware21/ts-utils";
8
+ import { strNotSpecified } from "../Constants";
9
+ import { FieldType } from "../Enums";
10
+ import { IExceptionData } from "../Interfaces/Contracts/IExceptionData";
11
+ import { IExceptionDetails } from "../Interfaces/Contracts/IExceptionDetails";
12
+ import { IStackFrame } from "../Interfaces/Contracts/IStackFrame";
13
+ import { SeverityLevel } from "../Interfaces/Contracts/SeverityLevel";
14
+ import {
15
+ IAutoExceptionTelemetry, IExceptionDetailsInternal, IExceptionInternal, IExceptionStackFrameInternal, IStackDetails
16
+ } from "../Interfaces/IExceptionTelemetry";
17
+ import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
18
+ import {
19
+ dataSanitizeException, dataSanitizeMeasurements, dataSanitizeMessage, dataSanitizeProperties, dataSanitizeString
20
+ } from "./Common/DataSanitizer";
21
+
22
22
  const NoMethod = "<no_method>";
23
23
  const strError = "error";
24
24
  const strStack = "stack";
@@ -672,4 +672,4 @@ export class _StackFrame implements IStackFrame, ISerializable {
672
672
  line: _self.line
673
673
  };
674
674
  }
675
- }
675
+ }
@@ -1,14 +1,14 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
5
- import { strNotSpecified } from "../Constants";
6
- import { FieldType } from "../Enums";
7
- import { IMetricData } from "../Interfaces/Contracts/IMetricData";
8
- import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
9
- import { DataPoint } from "./Common/DataPoint";
10
- import { dataSanitizeMeasurements, dataSanitizeProperties, dataSanitizeString } from "./Common/DataSanitizer";
11
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
5
+ import { strNotSpecified } from "../Constants";
6
+ import { FieldType } from "../Enums";
7
+ import { IMetricData } from "../Interfaces/Contracts/IMetricData";
8
+ import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
9
+ import { DataPoint } from "./Common/DataPoint";
10
+ import { dataSanitizeMeasurements, dataSanitizeProperties, dataSanitizeString } from "./Common/DataSanitizer";
11
+
12
12
  export class Metric implements IMetricData, ISerializable {
13
13
 
14
14
  public static envelopeType = "Microsoft.ApplicationInsights.{0}.Metric";
@@ -58,4 +58,4 @@ export class Metric implements IMetricData, ISerializable {
58
58
  _self.properties = dataSanitizeProperties(logger, properties);
59
59
  _self.measurements = dataSanitizeMeasurements(logger, measurements);
60
60
  }
61
- }
61
+ }
@@ -1,16 +1,16 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
5
- import { strNotSpecified } from "../Constants";
6
- import { FieldType } from "../Enums";
7
- import { msToTimeSpan } from "../HelperFuncs";
8
- import { IPageViewData } from "../Interfaces/Contracts/IPageViewData";
9
- import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
10
- import {
11
- dataSanitizeId, dataSanitizeMeasurements, dataSanitizeProperties, dataSanitizeString, dataSanitizeUrl
12
- } from "./Common/DataSanitizer";
13
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
5
+ import { strNotSpecified } from "../Constants";
6
+ import { FieldType } from "../Enums";
7
+ import { msToTimeSpan } from "../HelperFuncs";
8
+ import { IPageViewData } from "../Interfaces/Contracts/IPageViewData";
9
+ import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
10
+ import {
11
+ dataSanitizeId, dataSanitizeMeasurements, dataSanitizeProperties, dataSanitizeString, dataSanitizeUrl
12
+ } from "./Common/DataSanitizer";
13
+
14
14
  export class PageView implements IPageViewData, ISerializable {
15
15
 
16
16
  public static envelopeType = "Microsoft.ApplicationInsights.{0}.Pageview";
@@ -76,4 +76,4 @@ export class PageView implements IPageViewData, ISerializable {
76
76
  _self.properties = dataSanitizeProperties(logger, properties);
77
77
  _self.measurements = dataSanitizeMeasurements(logger, measurements);
78
78
  }
79
- }
79
+ }
@@ -1,14 +1,14 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
5
- import { strNotSpecified } from "../Constants";
6
- import { FieldType } from "../Enums";
7
- import { IPageViewPerfData } from "../Interfaces/Contracts/IPageViewPerfData";
8
- import { IPageViewPerformanceTelemetry } from "../Interfaces/IPageViewPerformanceTelemetry";
9
- import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
10
- import { dataSanitizeMeasurements, dataSanitizeProperties, dataSanitizeString, dataSanitizeUrl } from "./Common/DataSanitizer";
11
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
5
+ import { strNotSpecified } from "../Constants";
6
+ import { FieldType } from "../Enums";
7
+ import { IPageViewPerfData } from "../Interfaces/Contracts/IPageViewPerfData";
8
+ import { IPageViewPerformanceTelemetry } from "../Interfaces/IPageViewPerformanceTelemetry";
9
+ import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
10
+ import { dataSanitizeMeasurements, dataSanitizeProperties, dataSanitizeString, dataSanitizeUrl } from "./Common/DataSanitizer";
11
+
12
12
  export class PageViewPerformance implements IPageViewPerfData, ISerializable {
13
13
 
14
14
  public static envelopeType = "Microsoft.ApplicationInsights.{0}.PageviewPerformance";
@@ -110,4 +110,4 @@ export class PageViewPerformance implements IPageViewPerfData, ISerializable {
110
110
  _self.sentRequest = cs4BaseData.sentRequest;
111
111
  }
112
112
  }
113
- }
113
+ }
@@ -1,14 +1,14 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
5
- import { FieldType } from "../Enums";
6
- import { msToTimeSpan } from "../HelperFuncs";
7
- import { IRemoteDependencyData } from "../Interfaces/Contracts/IRemoteDependencyData";
8
- import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
9
- import { AjaxHelperParseDependencyPath } from "../Util";
10
- import { dataSanitizeMeasurements, dataSanitizeProperties, dataSanitizeString, dataSanitizeUrl } from "./Common/DataSanitizer";
11
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
5
+ import { FieldType } from "../Enums";
6
+ import { msToTimeSpan } from "../HelperFuncs";
7
+ import { IRemoteDependencyData } from "../Interfaces/Contracts/IRemoteDependencyData";
8
+ import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
9
+ import { AjaxHelperParseDependencyPath } from "../Util";
10
+ import { dataSanitizeMeasurements, dataSanitizeProperties, dataSanitizeString, dataSanitizeUrl } from "./Common/DataSanitizer";
11
+
12
12
  export class RemoteDependencyData implements IRemoteDependencyData, ISerializable {
13
13
 
14
14
  public static envelopeType = "Microsoft.ApplicationInsights.{0}.RemoteDependency";
@@ -119,4 +119,4 @@ export class RemoteDependencyData implements IRemoteDependencyData, ISerializabl
119
119
  _self.properties = dataSanitizeProperties(logger, properties);
120
120
  _self.measurements = dataSanitizeMeasurements(logger, measurements);
121
121
  }
122
- }
122
+ }
@@ -1,14 +1,14 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
5
- import { strNotSpecified } from "../Constants";
6
- import { FieldType } from "../Enums";
7
- import { IMessageData } from "../Interfaces/Contracts/IMessageData";
8
- import { SeverityLevel } from "../Interfaces/Contracts/SeverityLevel";
9
- import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
10
- import { dataSanitizeMeasurements, dataSanitizeMessage, dataSanitizeProperties } from "./Common/DataSanitizer";
11
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import { IDiagnosticLogger } from "@microsoft/applicationinsights-core-js";
5
+ import { strNotSpecified } from "../Constants";
6
+ import { FieldType } from "../Enums";
7
+ import { IMessageData } from "../Interfaces/Contracts/IMessageData";
8
+ import { SeverityLevel } from "../Interfaces/Contracts/SeverityLevel";
9
+ import { ISerializable } from "../Interfaces/Telemetry/ISerializable";
10
+ import { dataSanitizeMeasurements, dataSanitizeMessage, dataSanitizeProperties } from "./Common/DataSanitizer";
11
+
12
12
  export class Trace implements IMessageData, ISerializable {
13
13
 
14
14
  public static envelopeType = "Microsoft.ApplicationInsights.{0}.Message";
@@ -61,4 +61,4 @@ export class Trace implements IMessageData, ISerializable {
61
61
  _self.severityLevel = severityLevel;
62
62
  }
63
63
  }
64
- }
64
+ }
@@ -1,12 +1,12 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import {
5
- IDiagnosticLogger, ITelemetryItem, isNullOrUndefined, objForEachKey, throwError, toISOString
6
- } from "@microsoft/applicationinsights-core-js";
7
- import { strIkey, strNotSpecified } from "./Constants";
8
- import { dataSanitizeString } from "./Telemetry/Common/DataSanitizer";
9
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import {
5
+ IDiagnosticLogger, ITelemetryItem, isNullOrUndefined, objForEachKey, throwError, toISOString
6
+ } from "@microsoft/applicationinsights-core-js";
7
+ import { strIkey, strNotSpecified } from "./Constants";
8
+ import { dataSanitizeString } from "./Telemetry/Common/DataSanitizer";
9
+
10
10
  /**
11
11
  * Create a telemetry item that the 1DS channel understands
12
12
  * @param item - domain specific properties; part B
@@ -72,4 +72,4 @@ export class TelemetryItemCreator {
72
72
  */
73
73
 
74
74
  public static create = createTelemetryItem;
75
- }
75
+ }
@@ -1,11 +1,11 @@
1
- import {
2
- IAppInsightsCore, IDiagnosticLogger, _eInternalMessageId, _throwInternal, arrForEach, arrIndexOf, eLoggingSeverity, isNotNullOrUndefined,
3
- isNullOrUndefined, randomValue, safeGetLogger, strTrim
4
- } from "@microsoft/applicationinsights-core-js";
5
- import { IThrottleMsgKey } from "./Enums";
6
- import { IThrottleInterval, IThrottleLocalStorageObj, IThrottleMgrConfig, IThrottleResult } from "./Interfaces/IThrottleMgr";
7
- import { utlCanUseLocalStorage, utlGetLocalStorage, utlSetLocalStorage } from "./StorageHelperFuncs";
8
-
1
+ import {
2
+ IAppInsightsCore, IDiagnosticLogger, _eInternalMessageId, _throwInternal, arrForEach, arrIndexOf, eLoggingSeverity, isNotNullOrUndefined,
3
+ isNullOrUndefined, randomValue, safeGetLogger, strTrim
4
+ } from "@microsoft/applicationinsights-core-js";
5
+ import { IThrottleMsgKey } from "./Enums";
6
+ import { IThrottleInterval, IThrottleLocalStorageObj, IThrottleMgrConfig, IThrottleResult } from "./Interfaces/IThrottleMgr";
7
+ import { utlCanUseLocalStorage, utlGetLocalStorage, utlSetLocalStorage } from "./StorageHelperFuncs";
8
+
9
9
  const THROTTLE_STORAGE_PREFIX = "appInsightsThrottle";
10
10
 
11
11
  interface SendMsgParameter {
@@ -314,4 +314,4 @@ export class ThrottleMgr {
314
314
  return randomValue(1000000) <= _config.limit.samplingRate;
315
315
  }
316
316
  }
317
- }
317
+ }
@@ -1,8 +1,8 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import { getDocument, isString } from "@microsoft/applicationinsights-core-js";
5
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import { getDocument, isString } from "@microsoft/applicationinsights-core-js";
5
+
6
6
  let _document: any = getDocument() || {};
7
7
 
8
8
  let _htmlAnchorIdx: number = 0;
@@ -98,4 +98,4 @@ export function urlParseFullHost(url: string, inclPort?: boolean) {
98
98
  }
99
99
 
100
100
  return result;
101
- }
101
+ }
package/src/Util.ts CHANGED
@@ -1,18 +1,18 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import {
5
- IDiagnosticLogger, IDistributedTraceContext, arrForEach, arrIndexOf, dateNow, getPerformance, isNullOrUndefined, isValidSpanId,
6
- isValidTraceId
7
- } from "@microsoft/applicationinsights-core-js";
8
- import { strIndexOf } from "@nevware21/ts-utils";
9
- import { DEFAULT_BREEZE_ENDPOINT, DEFAULT_BREEZE_PATH } from "./Constants";
10
- import { ITelemetryTrace } from "./Interfaces/Context/ITelemetryTrace";
11
- import { ICorrelationConfig } from "./Interfaces/ICorrelationConfig";
12
- import { RequestHeaders, eRequestHeaders } from "./RequestResponseHeaders";
13
- import { dataSanitizeString } from "./Telemetry/Common/DataSanitizer";
14
- import { urlParseFullHost, urlParseUrl } from "./UrlHelperFuncs";
15
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import {
5
+ IDiagnosticLogger, IDistributedTraceContext, arrForEach, arrIndexOf, dateNow, getPerformance, isNullOrUndefined, isValidSpanId,
6
+ isValidTraceId
7
+ } from "@microsoft/applicationinsights-core-js";
8
+ import { strIndexOf } from "@nevware21/ts-utils";
9
+ import { DEFAULT_BREEZE_ENDPOINT, DEFAULT_BREEZE_PATH } from "./Constants";
10
+ import { ITelemetryTrace } from "./Interfaces/Context/ITelemetryTrace";
11
+ import { ICorrelationConfig } from "./Interfaces/ICorrelationConfig";
12
+ import { RequestHeaders, eRequestHeaders } from "./RequestResponseHeaders";
13
+ import { dataSanitizeString } from "./Telemetry/Common/DataSanitizer";
14
+ import { urlParseFullHost, urlParseUrl } from "./UrlHelperFuncs";
15
+
16
16
  // listing only non-geo specific locations
17
17
  const _internalEndpoints: string[] = [
18
18
  DEFAULT_BREEZE_ENDPOINT + DEFAULT_BREEZE_PATH,
@@ -218,4 +218,4 @@ export function createDistributedTraceContextFromTrace(telemetryTrace?: ITelemet
218
218
  trace.traceFlags = newTraceFlags
219
219
  }
220
220
  };
221
- }
221
+ }