@microsoft/applicationinsights-common 2.7.5-nightly.2203-02 → 2.7.5-nightly.2203-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 (187) hide show
  1. package/browser/applicationinsights-common.integrity.json +9 -9
  2. package/browser/applicationinsights-common.js +852 -243
  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 +172 -62
  7. package/dist/applicationinsights-common.api.md +21 -8
  8. package/dist/applicationinsights-common.d.ts +33 -12
  9. package/dist/applicationinsights-common.js +852 -243
  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 +33 -12
  14. package/dist-esm/ConnectionStringParser.js +1 -1
  15. package/dist-esm/Constants.js +1 -1
  16. package/dist-esm/DomHelperFuncs.js +1 -1
  17. package/dist-esm/Enums.js +11 -24
  18. package/dist-esm/Enums.js.map +1 -1
  19. package/dist-esm/HelperFuncs.js +7 -6
  20. package/dist-esm/HelperFuncs.js.map +1 -1
  21. package/dist-esm/Interfaces/ConnectionString.js +1 -1
  22. package/dist-esm/Interfaces/Context/IApplication.js +1 -1
  23. package/dist-esm/Interfaces/Context/IDevice.js +1 -1
  24. package/dist-esm/Interfaces/Context/IInternal.js +1 -1
  25. package/dist-esm/Interfaces/Context/ILocation.js +1 -1
  26. package/dist-esm/Interfaces/Context/IOperatingSystem.js +1 -1
  27. package/dist-esm/Interfaces/Context/ISample.js +1 -1
  28. package/dist-esm/Interfaces/Context/ISession.js +1 -1
  29. package/dist-esm/Interfaces/Context/ITelemetryTrace.js +1 -1
  30. package/dist-esm/Interfaces/Context/IUser.js +1 -1
  31. package/dist-esm/Interfaces/Context/IWeb.js +1 -1
  32. package/dist-esm/Interfaces/Contracts/AvailabilityData.js +52 -0
  33. package/dist-esm/Interfaces/Contracts/AvailabilityData.js.map +1 -0
  34. package/dist-esm/Interfaces/Contracts/ContextTagKeys.js +89 -0
  35. package/dist-esm/Interfaces/Contracts/ContextTagKeys.js.map +1 -0
  36. package/dist-esm/Interfaces/Contracts/DataPointType.js +8 -0
  37. package/dist-esm/Interfaces/Contracts/DataPointType.js.map +1 -0
  38. package/dist-esm/Interfaces/Contracts/DependencyKind.js +8 -0
  39. package/dist-esm/Interfaces/Contracts/DependencyKind.js.map +1 -0
  40. package/dist-esm/Interfaces/Contracts/DependencySourceType.js +8 -0
  41. package/dist-esm/Interfaces/Contracts/DependencySourceType.js.map +1 -0
  42. package/dist-esm/Interfaces/Contracts/Generated/AvailabilityData.js +1 -1
  43. package/dist-esm/Interfaces/Contracts/Generated/Base.js +1 -1
  44. package/dist-esm/Interfaces/Contracts/Generated/ContextTagKeys.js +1 -1
  45. package/dist-esm/Interfaces/Contracts/Generated/Data.js +1 -1
  46. package/dist-esm/Interfaces/Contracts/Generated/DataPoint.js +1 -1
  47. package/dist-esm/Interfaces/Contracts/Generated/DataPointType.js +1 -1
  48. package/dist-esm/Interfaces/Contracts/Generated/DependencyKind.js +1 -1
  49. package/dist-esm/Interfaces/Contracts/Generated/DependencySourceType.js +1 -1
  50. package/dist-esm/Interfaces/Contracts/Generated/Domain.js +1 -1
  51. package/dist-esm/Interfaces/Contracts/Generated/Envelope.js +1 -1
  52. package/dist-esm/Interfaces/Contracts/Generated/EventData.js +1 -1
  53. package/dist-esm/Interfaces/Contracts/Generated/ExceptionData.js +1 -1
  54. package/dist-esm/Interfaces/Contracts/Generated/ExceptionDetails.js +1 -1
  55. package/dist-esm/Interfaces/Contracts/Generated/MessageData.js +1 -1
  56. package/dist-esm/Interfaces/Contracts/Generated/MetricData.js +1 -1
  57. package/dist-esm/Interfaces/Contracts/Generated/PageViewData.js +1 -1
  58. package/dist-esm/Interfaces/Contracts/Generated/PageViewPerfData.js +1 -1
  59. package/dist-esm/Interfaces/Contracts/Generated/RemoteDependencyData.js +1 -1
  60. package/dist-esm/Interfaces/Contracts/Generated/RequestData.js +1 -1
  61. package/dist-esm/Interfaces/Contracts/Generated/SeverityLevel.js +1 -1
  62. package/dist-esm/Interfaces/Contracts/Generated/StackFrame.js +1 -1
  63. package/dist-esm/Interfaces/Contracts/IBase.js +8 -0
  64. package/dist-esm/Interfaces/Contracts/IBase.js.map +1 -0
  65. package/dist-esm/Interfaces/Contracts/IData.js +8 -0
  66. package/dist-esm/Interfaces/Contracts/IData.js.map +1 -0
  67. package/dist-esm/Interfaces/Contracts/IDataPoint.js +6 -0
  68. package/dist-esm/Interfaces/Contracts/IDataPoint.js.map +1 -0
  69. package/dist-esm/Interfaces/Contracts/IDomain.js +8 -0
  70. package/dist-esm/Interfaces/Contracts/IDomain.js.map +1 -0
  71. package/dist-esm/Interfaces/Contracts/IEnvelope.js +46 -0
  72. package/dist-esm/Interfaces/Contracts/IEnvelope.js.map +1 -0
  73. package/dist-esm/Interfaces/Contracts/IEventData.js +8 -0
  74. package/dist-esm/Interfaces/Contracts/IEventData.js.map +1 -0
  75. package/dist-esm/Interfaces/Contracts/IExceptionData.js +8 -0
  76. package/dist-esm/Interfaces/Contracts/IExceptionData.js.map +1 -0
  77. package/dist-esm/Interfaces/Contracts/IExceptionDetails.js +8 -0
  78. package/dist-esm/Interfaces/Contracts/IExceptionDetails.js.map +1 -0
  79. package/dist-esm/Interfaces/Contracts/IMessageData.js +8 -0
  80. package/dist-esm/Interfaces/Contracts/IMessageData.js.map +1 -0
  81. package/dist-esm/Interfaces/Contracts/IMetricData.js +8 -0
  82. package/dist-esm/Interfaces/Contracts/IMetricData.js.map +1 -0
  83. package/dist-esm/Interfaces/Contracts/IPageViewData.js +8 -0
  84. package/dist-esm/Interfaces/Contracts/IPageViewData.js.map +1 -0
  85. package/dist-esm/Interfaces/Contracts/IPageViewPerfData.js +8 -0
  86. package/dist-esm/Interfaces/Contracts/IPageViewPerfData.js.map +1 -0
  87. package/dist-esm/Interfaces/Contracts/IRemoteDependencyData.js +8 -0
  88. package/dist-esm/Interfaces/Contracts/IRemoteDependencyData.js.map +1 -0
  89. package/dist-esm/Interfaces/Contracts/IStackFrame.js +8 -0
  90. package/dist-esm/Interfaces/Contracts/IStackFrame.js.map +1 -0
  91. package/dist-esm/Interfaces/Contracts/RequestData.js +46 -0
  92. package/dist-esm/Interfaces/Contracts/RequestData.js.map +1 -0
  93. package/dist-esm/Interfaces/Contracts/SeverityLevel.js +19 -0
  94. package/dist-esm/Interfaces/Contracts/SeverityLevel.js.map +1 -0
  95. package/dist-esm/Interfaces/IAppInsights.js +1 -1
  96. package/dist-esm/Interfaces/IChannelControlsAI.js +1 -1
  97. package/dist-esm/Interfaces/IConfig.js +1 -1
  98. package/dist-esm/Interfaces/ICorrelationConfig.js +1 -1
  99. package/dist-esm/Interfaces/IDependencyTelemetry.js +1 -1
  100. package/dist-esm/Interfaces/IEventTelemetry.js +1 -1
  101. package/dist-esm/Interfaces/IExceptionTelemetry.js +1 -1
  102. package/dist-esm/Interfaces/IMetricTelemetry.js +1 -1
  103. package/dist-esm/Interfaces/IPageViewPerformanceTelemetry.js +1 -1
  104. package/dist-esm/Interfaces/IPageViewTelemetry.js +1 -1
  105. package/dist-esm/Interfaces/IPartC.js +1 -1
  106. package/dist-esm/Interfaces/IPropertiesPlugin.js +1 -1
  107. package/dist-esm/Interfaces/IRequestContext.js +1 -1
  108. package/dist-esm/Interfaces/ITelemetryContext.js +1 -1
  109. package/dist-esm/Interfaces/ITraceTelemetry.js +1 -1
  110. package/dist-esm/Interfaces/PartAExtensions.js +1 -1
  111. package/dist-esm/Interfaces/Telemetry/IEnvelope.js +1 -1
  112. package/dist-esm/Interfaces/Telemetry/ISerializable.js +1 -1
  113. package/dist-esm/RequestResponseHeaders.js +1 -1
  114. package/dist-esm/StorageHelperFuncs.js +27 -12
  115. package/dist-esm/StorageHelperFuncs.js.map +1 -1
  116. package/dist-esm/Telemetry/Common/Base.js +1 -1
  117. package/dist-esm/Telemetry/Common/Data.js +1 -1
  118. package/dist-esm/Telemetry/Common/DataPoint.js +1 -1
  119. package/dist-esm/Telemetry/Common/DataSanitizer.js +8 -8
  120. package/dist-esm/Telemetry/Common/DataSanitizer.js.map +1 -1
  121. package/dist-esm/Telemetry/Common/Envelope.js +1 -1
  122. package/dist-esm/Telemetry/Event.js +1 -1
  123. package/dist-esm/Telemetry/Exception.js +1 -1
  124. package/dist-esm/Telemetry/Metric.js +1 -1
  125. package/dist-esm/Telemetry/PageView.js +1 -1
  126. package/dist-esm/Telemetry/PageViewPerformance.js +1 -1
  127. package/dist-esm/Telemetry/RemoteDependencyData.js +1 -1
  128. package/dist-esm/Telemetry/Trace.js +1 -1
  129. package/dist-esm/TelemetryItemCreator.js +1 -1
  130. package/dist-esm/UrlHelperFuncs.js +1 -1
  131. package/dist-esm/Util.js +1 -1
  132. package/dist-esm/applicationinsights-common.js +2 -2
  133. package/dist-esm/applicationinsights-common.js.map +1 -1
  134. package/package.json +3 -3
  135. package/src/Enums.ts +19 -3
  136. package/src/HelperFuncs.ts +7 -5
  137. package/src/Interfaces/Contracts/AvailabilityData.ts +57 -0
  138. package/src/Interfaces/Contracts/ContextTagKeys.ts +299 -0
  139. package/src/Interfaces/Contracts/DataPointType.ts +10 -0
  140. package/src/Interfaces/Contracts/DependencyKind.ts +11 -0
  141. package/src/Interfaces/Contracts/DependencySourceType.ts +11 -0
  142. package/src/Interfaces/Contracts/IBase.ts +13 -0
  143. package/src/Interfaces/Contracts/IData.ts +19 -0
  144. package/src/Interfaces/Contracts/IDataPoint.ts +44 -0
  145. package/src/Interfaces/Contracts/IDomain.ts +8 -0
  146. package/src/Interfaces/Contracts/IEnvelope.ts +50 -0
  147. package/src/Interfaces/Contracts/IEventData.ts +30 -0
  148. package/src/Interfaces/Contracts/IExceptionData.ts +37 -0
  149. package/src/Interfaces/Contracts/IExceptionDetails.ts +45 -0
  150. package/src/Interfaces/Contracts/IMessageData.ts +36 -0
  151. package/src/Interfaces/Contracts/IMetricData.ts +31 -0
  152. package/src/Interfaces/Contracts/IPageViewData.ts +26 -0
  153. package/src/Interfaces/Contracts/IPageViewPerfData.ts +35 -0
  154. package/src/Interfaces/Contracts/IRemoteDependencyData.ts +65 -0
  155. package/src/Interfaces/Contracts/IStackFrame.ts +33 -0
  156. package/src/Interfaces/Contracts/RequestData.ts +50 -0
  157. package/src/Interfaces/Contracts/SeverityLevel.ts +15 -0
  158. package/src/StorageHelperFuncs.ts +34 -17
  159. package/src/Telemetry/Common/DataSanitizer.ts +13 -13
  160. package/src/Telemetry/Exception.ts +27 -15
  161. package/src/TelemetryItemCreator.ts +1 -1
  162. package/src/applicationinsights-common.ts +2 -2
  163. package/types/Enums.d.ts +13 -2
  164. package/types/Interfaces/Contracts/AvailabilityData.d.ts +0 -0
  165. package/types/Interfaces/Contracts/ContextTagKeys.d.ts +175 -0
  166. package/types/Interfaces/Contracts/DataPointType.d.ts +7 -0
  167. package/types/Interfaces/Contracts/DependencyKind.d.ts +8 -0
  168. package/types/Interfaces/Contracts/DependencySourceType.d.ts +8 -0
  169. package/types/Interfaces/Contracts/IBase.d.ts +9 -0
  170. package/types/Interfaces/Contracts/IData.d.ts +14 -0
  171. package/types/Interfaces/Contracts/IDataPoint.d.ts +34 -0
  172. package/types/Interfaces/Contracts/IDomain.d.ts +5 -0
  173. package/types/Interfaces/Contracts/IEnvelope.d.ts +0 -0
  174. package/types/Interfaces/Contracts/IEventData.d.ts +22 -0
  175. package/types/Interfaces/Contracts/IExceptionData.d.ts +28 -0
  176. package/types/Interfaces/Contracts/IExceptionDetails.d.ts +34 -0
  177. package/types/Interfaces/Contracts/IMessageData.d.ts +27 -0
  178. package/types/Interfaces/Contracts/IMetricData.d.ts +23 -0
  179. package/types/Interfaces/Contracts/IPageViewData.d.ts +18 -0
  180. package/types/Interfaces/Contracts/IPageViewPerfData.d.ts +26 -0
  181. package/types/Interfaces/Contracts/IRemoteDependencyData.d.ts +50 -0
  182. package/types/Interfaces/Contracts/IStackFrame.d.ts +25 -0
  183. package/types/Interfaces/Contracts/RequestData.d.ts +0 -0
  184. package/types/Interfaces/Contracts/SeverityLevel.d.ts +10 -0
  185. package/types/StorageHelperFuncs.d.ts +14 -2
  186. package/types/applicationinsights-common.d.ts +2 -2
  187. package/types/tsdoc-metadata.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -0,0 +1,8 @@
1
+ /*
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
+ * Copyright (c) Microsoft and contributors. All rights reserved.
4
+ */
5
+
6
+
7
+ export {};
8
+ //# sourceMappingURL=IBase.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IBase.js.map","sources":["IBase.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nexport {};\r\n//# sourceMappingURL=IBase.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA"}
@@ -0,0 +1,8 @@
1
+ /*
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
+ * Copyright (c) Microsoft and contributors. All rights reserved.
4
+ */
5
+
6
+
7
+ export {};
8
+ //# sourceMappingURL=IData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IData.js.map","sources":["IData.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nexport {};\r\n//# sourceMappingURL=IData.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA"}
@@ -0,0 +1,6 @@
1
+ /*
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
+ * Copyright (c) Microsoft and contributors. All rights reserved.
4
+ */
5
+ export {};
6
+ //# sourceMappingURL=IDataPoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDataPoint.js.map","sources":["IDataPoint.js"],"sourcesContent":["export {};\r\n//# sourceMappingURL=IDataPoint.js.map"],"names":[],"mappings":";;;;AAAA;AACA"}
@@ -0,0 +1,8 @@
1
+ /*
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
+ * Copyright (c) Microsoft and contributors. All rights reserved.
4
+ */
5
+
6
+
7
+ export {};
8
+ //# sourceMappingURL=IDomain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDomain.js.map","sources":["IDomain.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nexport {};\r\n//# sourceMappingURL=IDomain.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA"}
@@ -0,0 +1,46 @@
1
+ /*
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
+ * Copyright (c) Microsoft and contributors. All rights reserved.
4
+ */
5
+ "use strict";
6
+ //
7
+ //
8
+ // import { IBase } from "./IBase";
9
+ // /**
10
+ // * System variables for a telemetry item.
11
+ // */
12
+ // export interface IEnvelope {
13
+ // /**
14
+ // * Envelope version. For internal use only. By assigning this the default, it will not be serialized within the payload unless changed to a value other than #1.
15
+ // */
16
+ // ver: number; /* 1 */
17
+ // /**
18
+ // * Type name of telemetry data item.
19
+ // */
20
+ // name: string;
21
+ // /**
22
+ // * Event date time when telemetry item was created. This is the wall clock time on the client when the event was generated. There is no guarantee that the client's time is accurate. This field must be formatted in UTC ISO 8601 format, with a trailing 'Z' character, as described publicly on https://en.wikipedia.org/wiki/ISO_8601#UTC. Note: the number of decimal seconds digits provided are variable (and unspecified). Consumers should handle this, i.e. managed code consumers should not use format 'O' for parsing as it specifies a fixed length. Example: 2009-06-15T13:45:30.0000000Z.
23
+ // */
24
+ // time: string;
25
+ // /**
26
+ // * Sampling rate used in application. This telemetry item represents 1 / sampleRate actual telemetry items.
27
+ // */
28
+ // sampleRate: number; /* 100.0 */
29
+ // /**
30
+ // * Sequence field used to track absolute order of uploaded events.
31
+ // */
32
+ // seq: string;
33
+ // /**
34
+ // * The application's instrumentation key. The key is typically represented as a GUID, but there are cases when it is not a guid. No code should rely on iKey being a GUID. Instrumentation key is case insensitive.
35
+ // */
36
+ // iKey: string;
37
+ // /**
38
+ // * Key/value collection of context properties. See ContextTagKeys for information on available properties.
39
+ // */
40
+ // tags: any; /* {} */
41
+ // /**
42
+ // * Telemetry data item.
43
+ // */
44
+ // data: IBase;
45
+ // }
46
+ //# sourceMappingURL=IEnvelope.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEnvelope.js.map","sources":["IEnvelope.js"],"sourcesContent":["\"use strict\";\r\n// // Copyright (c) Microsoft Corporation. All rights reserved.\r\n// // Licensed under the MIT License.\r\n// import { IBase } from \"./IBase\";\r\n// /**\r\n// * System variables for a telemetry item.\r\n// */\r\n// export interface IEnvelope {\r\n// /**\r\n// * Envelope version. For internal use only. By assigning this the default, it will not be serialized within the payload unless changed to a value other than #1.\r\n// */\r\n// ver: number; /* 1 */\r\n// /**\r\n// * Type name of telemetry data item.\r\n// */\r\n// name: string;\r\n// /**\r\n// * Event date time when telemetry item was created. This is the wall clock time on the client when the event was generated. There is no guarantee that the client's time is accurate. This field must be formatted in UTC ISO 8601 format, with a trailing 'Z' character, as described publicly on https://en.wikipedia.org/wiki/ISO_8601#UTC. Note: the number of decimal seconds digits provided are variable (and unspecified). Consumers should handle this, i.e. managed code consumers should not use format 'O' for parsing as it specifies a fixed length. Example: 2009-06-15T13:45:30.0000000Z.\r\n// */\r\n// time: string;\r\n// /**\r\n// * Sampling rate used in application. This telemetry item represents 1 / sampleRate actual telemetry items.\r\n// */\r\n// sampleRate: number; /* 100.0 */\r\n// /**\r\n// * Sequence field used to track absolute order of uploaded events.\r\n// */\r\n// seq: string;\r\n// /**\r\n// * The application's instrumentation key. The key is typically represented as a GUID, but there are cases when it is not a guid. No code should rely on iKey being a GUID. Instrumentation key is case insensitive.\r\n// */\r\n// iKey: string;\r\n// /**\r\n// * Key/value collection of context properties. See ContextTagKeys for information on available properties.\r\n// */\r\n// tags: any; /* {} */\r\n// /**\r\n// * Telemetry data item.\r\n// */\r\n// data: IBase;\r\n// }\r\n//# sourceMappingURL=IEnvelope.js.map"],"names":[],"mappings":";;;;AAAA;AACA,GAA+D;AAC/D,GAAqC;AACrC;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"}
@@ -0,0 +1,8 @@
1
+ /*
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
+ * Copyright (c) Microsoft and contributors. All rights reserved.
4
+ */
5
+
6
+
7
+ export {};
8
+ //# sourceMappingURL=IEventData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEventData.js.map","sources":["IEventData.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nexport {};\r\n//# sourceMappingURL=IEventData.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA"}
@@ -0,0 +1,8 @@
1
+ /*
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
+ * Copyright (c) Microsoft and contributors. All rights reserved.
4
+ */
5
+
6
+
7
+ export {};
8
+ //# sourceMappingURL=IExceptionData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IExceptionData.js.map","sources":["IExceptionData.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nexport {};\r\n//# sourceMappingURL=IExceptionData.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA"}
@@ -0,0 +1,8 @@
1
+ /*
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
+ * Copyright (c) Microsoft and contributors. All rights reserved.
4
+ */
5
+
6
+
7
+ export {};
8
+ //# sourceMappingURL=IExceptionDetails.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IExceptionDetails.js.map","sources":["IExceptionDetails.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nexport {};\r\n//# sourceMappingURL=IExceptionDetails.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA"}
@@ -0,0 +1,8 @@
1
+ /*
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
+ * Copyright (c) Microsoft and contributors. All rights reserved.
4
+ */
5
+
6
+
7
+ export {};
8
+ //# sourceMappingURL=IMessageData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMessageData.js.map","sources":["IMessageData.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nexport {};\r\n//# sourceMappingURL=IMessageData.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA"}
@@ -0,0 +1,8 @@
1
+ /*
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
+ * Copyright (c) Microsoft and contributors. All rights reserved.
4
+ */
5
+
6
+
7
+ export {};
8
+ //# sourceMappingURL=IMetricData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMetricData.js.map","sources":["IMetricData.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nexport {};\r\n//# sourceMappingURL=IMetricData.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA"}
@@ -0,0 +1,8 @@
1
+ /*
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
+ * Copyright (c) Microsoft and contributors. All rights reserved.
4
+ */
5
+
6
+
7
+ export {};
8
+ //# sourceMappingURL=IPageViewData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPageViewData.js.map","sources":["IPageViewData.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nexport {};\r\n//# sourceMappingURL=IPageViewData.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA"}
@@ -0,0 +1,8 @@
1
+ /*
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
+ * Copyright (c) Microsoft and contributors. All rights reserved.
4
+ */
5
+
6
+
7
+ export {};
8
+ //# sourceMappingURL=IPageViewPerfData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPageViewPerfData.js.map","sources":["IPageViewPerfData.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nexport {};\r\n//# sourceMappingURL=IPageViewPerfData.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA"}
@@ -0,0 +1,8 @@
1
+ /*
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
+ * Copyright (c) Microsoft and contributors. All rights reserved.
4
+ */
5
+
6
+
7
+ export {};
8
+ //# sourceMappingURL=IRemoteDependencyData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IRemoteDependencyData.js.map","sources":["IRemoteDependencyData.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nexport {};\r\n//# sourceMappingURL=IRemoteDependencyData.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA"}
@@ -0,0 +1,8 @@
1
+ /*
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
+ * Copyright (c) Microsoft and contributors. All rights reserved.
4
+ */
5
+
6
+
7
+ export {};
8
+ //# sourceMappingURL=IStackFrame.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IStackFrame.js.map","sources":["IStackFrame.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nexport {};\r\n//# sourceMappingURL=IStackFrame.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA"}
@@ -0,0 +1,46 @@
1
+ /*
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
+ * Copyright (c) Microsoft and contributors. All rights reserved.
4
+ */
5
+ "use strict";
6
+ //
7
+ //
8
+ // import { IDomain } from "./IDomain";
9
+ // /**
10
+ // * An instance of Request represents completion of an external request to the application to do work and contains a summary of that request execution and the results.
11
+ // */
12
+ // export class RequestData implements IDomain {
13
+ // /**
14
+ // * Schema version
15
+ // */
16
+ // public ver: number = 2;
17
+ // /**
18
+ // * Identifier of a request call instance. Used for correlation between request and other telemetry items.
19
+ // */
20
+ // public id: string;
21
+ // /**
22
+ // * Source of the request. Examples are the instrumentation key of the caller or the ip address of the caller.
23
+ // */
24
+ // public source: string;
25
+ // /**
26
+ // * Name of the request. Represents code path taken to process request. Low cardinality value to allow better grouping of requests. For HTTP requests it represents the HTTP method and URL path template like 'GET /values/{id}'.
27
+ // */
28
+ // public name: string;
29
+ // /**
30
+ // * Indication of successful or unsuccessful call.
31
+ // */
32
+ // public success: boolean;
33
+ // /**
34
+ // * Request URL with all query string parameters.
35
+ // */
36
+ // public url: string;
37
+ // /**
38
+ // * Collection of custom properties.
39
+ // */
40
+ // public properties: any = {};
41
+ // /**
42
+ // * Collection of custom measurements.
43
+ // */
44
+ // public measurements: any = {};
45
+ // }
46
+ //# sourceMappingURL=RequestData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequestData.js.map","sources":["RequestData.js"],"sourcesContent":["\"use strict\";\r\n// // Copyright (c) Microsoft Corporation. All rights reserved.\r\n// // Licensed under the MIT License.\r\n// import { IDomain } from \"./IDomain\";\r\n// /**\r\n// * An instance of Request represents completion of an external request to the application to do work and contains a summary of that request execution and the results.\r\n// */\r\n// export class RequestData implements IDomain {\r\n// /**\r\n// * Schema version\r\n// */\r\n// public ver: number = 2;\r\n// /**\r\n// * Identifier of a request call instance. Used for correlation between request and other telemetry items.\r\n// */\r\n// public id: string;\r\n// /**\r\n// * Source of the request. Examples are the instrumentation key of the caller or the ip address of the caller.\r\n// */\r\n// public source: string;\r\n// /**\r\n// * Name of the request. Represents code path taken to process request. Low cardinality value to allow better grouping of requests. For HTTP requests it represents the HTTP method and URL path template like 'GET /values/{id}'.\r\n// */\r\n// public name: string;\r\n// /**\r\n// * Indication of successful or unsuccessful call.\r\n// */\r\n// public success: boolean;\r\n// /**\r\n// * Request URL with all query string parameters.\r\n// */\r\n// public url: string;\r\n// /**\r\n// * Collection of custom properties.\r\n// */\r\n// public properties: any = {};\r\n// /**\r\n// * Collection of custom measurements.\r\n// */\r\n// public measurements: any = {};\r\n// }\r\n//# sourceMappingURL=RequestData.js.map"],"names":[],"mappings":";;;;AAAA;AACA,GAA+D;AAC/D,GAAqC;AACrC;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"}
@@ -0,0 +1,19 @@
1
+ /*
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
+ * Copyright (c) Microsoft and contributors. All rights reserved.
4
+ */
5
+
6
+
7
+ // THIS FILE WAS AUTOGENERATED
8
+ /**
9
+ * Defines the level of severity for the event.
10
+ */
11
+ export var SeverityLevel;
12
+ (function (SeverityLevel) {
13
+ SeverityLevel[SeverityLevel["Verbose"] = 0] = "Verbose";
14
+ SeverityLevel[SeverityLevel["Information"] = 1] = "Information";
15
+ SeverityLevel[SeverityLevel["Warning"] = 2] = "Warning";
16
+ SeverityLevel[SeverityLevel["Error"] = 3] = "Error";
17
+ SeverityLevel[SeverityLevel["Critical"] = 4] = "Critical";
18
+ })(SeverityLevel || (SeverityLevel = {}));
19
+ //# sourceMappingURL=SeverityLevel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SeverityLevel.js.map","sources":["SeverityLevel.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n// THIS FILE WAS AUTOGENERATED\r\n/**\r\n * Defines the level of severity for the event.\r\n */\r\nexport var SeverityLevel;\r\n(function (SeverityLevel) {\r\n SeverityLevel[SeverityLevel[\"Verbose\"] = 0] = \"Verbose\";\r\n SeverityLevel[SeverityLevel[\"Information\"] = 1] = \"Information\";\r\n SeverityLevel[SeverityLevel[\"Warning\"] = 2] = \"Warning\";\r\n SeverityLevel[SeverityLevel[\"Error\"] = 3] = \"Error\";\r\n SeverityLevel[SeverityLevel[\"Critical\"] = 4] = \"Critical\";\r\n})(SeverityLevel || (SeverityLevel = {}));\r\n//# sourceMappingURL=SeverityLevel.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  import { ContextTagKeys } from "./Contracts/Generated/ContextTagKeys";
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
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.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,10 +1,10 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Common, 2.7.5-nightly.2203-03
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
6
6
 
7
- import { dumpObj, getExceptionName, getGlobal, getGlobalInst, isNullOrUndefined, LoggingSeverity, objForEachKey, _InternalMessageId } from "@microsoft/applicationinsights-core-js";
7
+ import { dumpObj, getExceptionName, getGlobal, getGlobalInst, isNullOrUndefined, objForEachKey, _InternalMessageId, _throwInternal } from "@microsoft/applicationinsights-core-js";
8
8
  import { StorageType } from "./Enums";
9
9
  var _canUseLocalStorage = undefined;
10
10
  var _canUseSessionStorage = undefined;
@@ -53,12 +53,27 @@ function _getSessionStorageObject() {
53
53
  }
54
54
  return null;
55
55
  }
56
+ /**
57
+ * Disables the global SDK usage of local or session storage if available
58
+ */
56
59
  export function utlDisableStorage() {
57
60
  _canUseLocalStorage = false;
58
61
  _canUseSessionStorage = false;
59
62
  }
60
- export function utlCanUseLocalStorage() {
61
- if (_canUseLocalStorage === undefined) {
63
+ /**
64
+ * Re-enables the global SDK usage of local or session storage if available
65
+ */
66
+ export function utlEnableStorage() {
67
+ _canUseLocalStorage = utlCanUseLocalStorage(true);
68
+ _canUseSessionStorage = utlCanUseSessionStorage(true);
69
+ }
70
+ /**
71
+ * Returns whether LocalStorage can be used, if the reset parameter is passed a true this will override
72
+ * any previous disable calls.
73
+ * @param reset - Should the usage be reset and determined only based on whether LocalStorage is available
74
+ */
75
+ export function utlCanUseLocalStorage(reset) {
76
+ if (reset || _canUseLocalStorage === undefined) {
62
77
  _canUseLocalStorage = !!_getVerifiedStorageObject(StorageType.LocalStorage);
63
78
  }
64
79
  return _canUseLocalStorage;
@@ -71,7 +86,7 @@ export function utlGetLocalStorage(logger, name) {
71
86
  }
72
87
  catch (e) {
73
88
  _canUseLocalStorage = false;
74
- logger.throwInternal(LoggingSeverity.WARNING, _InternalMessageId.BrowserCannotReadLocalStorage, "Browser failed read of local storage. " + getExceptionName(e), { exception: dumpObj(e) });
89
+ _throwInternal(logger, 2 /* WARNING */, _InternalMessageId.BrowserCannotReadLocalStorage, "Browser failed read of local storage. " + getExceptionName(e), { exception: dumpObj(e) });
75
90
  }
76
91
  }
77
92
  return null;
@@ -85,7 +100,7 @@ export function utlSetLocalStorage(logger, name, data) {
85
100
  }
86
101
  catch (e) {
87
102
  _canUseLocalStorage = false;
88
- logger.throwInternal(LoggingSeverity.WARNING, _InternalMessageId.BrowserCannotWriteLocalStorage, "Browser failed write to local storage. " + getExceptionName(e), { exception: dumpObj(e) });
103
+ _throwInternal(logger, 2 /* WARNING */, _InternalMessageId.BrowserCannotWriteLocalStorage, "Browser failed write to local storage. " + getExceptionName(e), { exception: dumpObj(e) });
89
104
  }
90
105
  }
91
106
  return false;
@@ -99,13 +114,13 @@ export function utlRemoveStorage(logger, name) {
99
114
  }
100
115
  catch (e) {
101
116
  _canUseLocalStorage = false;
102
- logger.throwInternal(LoggingSeverity.WARNING, _InternalMessageId.BrowserFailedRemovalFromLocalStorage, "Browser failed removal of local storage item. " + getExceptionName(e), { exception: dumpObj(e) });
117
+ _throwInternal(logger, 2 /* WARNING */, _InternalMessageId.BrowserFailedRemovalFromLocalStorage, "Browser failed removal of local storage item. " + getExceptionName(e), { exception: dumpObj(e) });
103
118
  }
104
119
  }
105
120
  return false;
106
121
  }
107
- export function utlCanUseSessionStorage() {
108
- if (_canUseSessionStorage === undefined) {
122
+ export function utlCanUseSessionStorage(reset) {
123
+ if (reset || _canUseSessionStorage === undefined) {
109
124
  _canUseSessionStorage = !!_getVerifiedStorageObject(StorageType.SessionStorage);
110
125
  }
111
126
  return _canUseSessionStorage;
@@ -127,7 +142,7 @@ export function utlGetSessionStorage(logger, name) {
127
142
  }
128
143
  catch (e) {
129
144
  _canUseSessionStorage = false;
130
- logger.throwInternal(LoggingSeverity.WARNING, _InternalMessageId.BrowserCannotReadSessionStorage, "Browser failed read of session storage. " + getExceptionName(e), { exception: dumpObj(e) });
145
+ _throwInternal(logger, 2 /* WARNING */, _InternalMessageId.BrowserCannotReadSessionStorage, "Browser failed read of session storage. " + getExceptionName(e), { exception: dumpObj(e) });
131
146
  }
132
147
  }
133
148
  return null;
@@ -141,7 +156,7 @@ export function utlSetSessionStorage(logger, name, data) {
141
156
  }
142
157
  catch (e) {
143
158
  _canUseSessionStorage = false;
144
- logger.throwInternal(LoggingSeverity.WARNING, _InternalMessageId.BrowserCannotWriteSessionStorage, "Browser failed write to session storage. " + getExceptionName(e), { exception: dumpObj(e) });
159
+ _throwInternal(logger, 2 /* WARNING */, _InternalMessageId.BrowserCannotWriteSessionStorage, "Browser failed write to session storage. " + getExceptionName(e), { exception: dumpObj(e) });
145
160
  }
146
161
  }
147
162
  return false;
@@ -155,7 +170,7 @@ export function utlRemoveSessionStorage(logger, name) {
155
170
  }
156
171
  catch (e) {
157
172
  _canUseSessionStorage = false;
158
- logger.throwInternal(LoggingSeverity.WARNING, _InternalMessageId.BrowserFailedRemovalFromSessionStorage, "Browser failed removal of session storage item. " + getExceptionName(e), { exception: dumpObj(e) });
173
+ _throwInternal(logger, 2 /* WARNING */, _InternalMessageId.BrowserFailedRemovalFromSessionStorage, "Browser failed removal of session storage item. " + getExceptionName(e), { exception: dumpObj(e) });
159
174
  }
160
175
  }
161
176
  return false;