@microsoft/applicationinsights-common 2.8.0-beta.2203-01 → 2.8.0-beta.2203-02
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.
- package/browser/applicationinsights-common.integrity.json +9 -9
- package/browser/applicationinsights-common.js +418 -237
- package/browser/applicationinsights-common.js.map +1 -1
- package/browser/applicationinsights-common.min.js +2 -2
- package/browser/applicationinsights-common.min.js.map +1 -1
- package/dist/applicationinsights-common.api.json +102 -51
- package/dist/applicationinsights-common.api.md +14 -4
- package/dist/applicationinsights-common.d.ts +18 -10
- package/dist/applicationinsights-common.js +418 -237
- package/dist/applicationinsights-common.js.map +1 -1
- package/dist/applicationinsights-common.min.js +2 -2
- package/dist/applicationinsights-common.min.js.map +1 -1
- package/dist/applicationinsights-common.rollup.d.ts +18 -10
- package/dist-esm/ConnectionStringParser.js +1 -1
- package/dist-esm/Constants.js +1 -1
- package/dist-esm/DomHelperFuncs.js +1 -1
- package/dist-esm/Enums.js +11 -24
- package/dist-esm/Enums.js.map +1 -1
- package/dist-esm/HelperFuncs.js +7 -6
- package/dist-esm/HelperFuncs.js.map +1 -1
- package/dist-esm/Interfaces/ConnectionString.js +1 -1
- package/dist-esm/Interfaces/Context/IApplication.js +1 -1
- package/dist-esm/Interfaces/Context/IDevice.js +1 -1
- package/dist-esm/Interfaces/Context/IInternal.js +1 -1
- package/dist-esm/Interfaces/Context/ILocation.js +1 -1
- package/dist-esm/Interfaces/Context/IOperatingSystem.js +1 -1
- package/dist-esm/Interfaces/Context/ISample.js +1 -1
- package/dist-esm/Interfaces/Context/ISession.js +1 -1
- package/dist-esm/Interfaces/Context/ITelemetryTrace.js +1 -1
- package/dist-esm/Interfaces/Context/IUser.js +1 -1
- package/dist-esm/Interfaces/Context/IWeb.js +1 -1
- package/dist-esm/Interfaces/Contracts/AvailabilityData.js +52 -0
- package/dist-esm/Interfaces/Contracts/AvailabilityData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/ContextTagKeys.js +89 -0
- package/dist-esm/Interfaces/Contracts/ContextTagKeys.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/DataPointType.js +8 -0
- package/dist-esm/Interfaces/Contracts/DataPointType.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/DependencyKind.js +8 -0
- package/dist-esm/Interfaces/Contracts/DependencyKind.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/DependencySourceType.js +8 -0
- package/dist-esm/Interfaces/Contracts/DependencySourceType.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/Generated/AvailabilityData.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/Base.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/ContextTagKeys.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/Data.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/DataPoint.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/DataPointType.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/DependencyKind.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/DependencySourceType.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/Domain.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/Envelope.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/EventData.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/ExceptionData.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/ExceptionDetails.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/MessageData.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/MetricData.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/PageViewData.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/PageViewPerfData.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/RemoteDependencyData.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/RequestData.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/SeverityLevel.js +1 -1
- package/dist-esm/Interfaces/Contracts/Generated/StackFrame.js +1 -1
- package/dist-esm/Interfaces/Contracts/IBase.js +8 -0
- package/dist-esm/Interfaces/Contracts/IBase.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IData.js +8 -0
- package/dist-esm/Interfaces/Contracts/IData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IDataPoint.js +6 -0
- package/dist-esm/Interfaces/Contracts/IDataPoint.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IDomain.js +8 -0
- package/dist-esm/Interfaces/Contracts/IDomain.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IEnvelope.js +46 -0
- package/dist-esm/Interfaces/Contracts/IEnvelope.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IEventData.js +8 -0
- package/dist-esm/Interfaces/Contracts/IEventData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IExceptionData.js +8 -0
- package/dist-esm/Interfaces/Contracts/IExceptionData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IExceptionDetails.js +8 -0
- package/dist-esm/Interfaces/Contracts/IExceptionDetails.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IMessageData.js +8 -0
- package/dist-esm/Interfaces/Contracts/IMessageData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IMetricData.js +8 -0
- package/dist-esm/Interfaces/Contracts/IMetricData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IPageViewData.js +8 -0
- package/dist-esm/Interfaces/Contracts/IPageViewData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IPageViewPerfData.js +8 -0
- package/dist-esm/Interfaces/Contracts/IPageViewPerfData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IRemoteDependencyData.js +8 -0
- package/dist-esm/Interfaces/Contracts/IRemoteDependencyData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/IStackFrame.js +8 -0
- package/dist-esm/Interfaces/Contracts/IStackFrame.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/RequestData.js +46 -0
- package/dist-esm/Interfaces/Contracts/RequestData.js.map +1 -0
- package/dist-esm/Interfaces/Contracts/SeverityLevel.js +19 -0
- package/dist-esm/Interfaces/Contracts/SeverityLevel.js.map +1 -0
- package/dist-esm/Interfaces/IAppInsights.js +1 -1
- package/dist-esm/Interfaces/IChannelControlsAI.js +1 -1
- package/dist-esm/Interfaces/IConfig.js +1 -1
- package/dist-esm/Interfaces/ICorrelationConfig.js +1 -1
- package/dist-esm/Interfaces/IDependencyTelemetry.js +1 -1
- package/dist-esm/Interfaces/IEventTelemetry.js +1 -1
- package/dist-esm/Interfaces/IExceptionTelemetry.js +1 -1
- package/dist-esm/Interfaces/IMetricTelemetry.js +1 -1
- package/dist-esm/Interfaces/IPageViewPerformanceTelemetry.js +1 -1
- package/dist-esm/Interfaces/IPageViewTelemetry.js +1 -1
- package/dist-esm/Interfaces/IPartC.js +1 -1
- package/dist-esm/Interfaces/IPropertiesPlugin.js +1 -1
- package/dist-esm/Interfaces/IRequestContext.js +1 -1
- package/dist-esm/Interfaces/ITelemetryContext.js +1 -1
- package/dist-esm/Interfaces/ITraceTelemetry.js +1 -1
- package/dist-esm/Interfaces/PartAExtensions.js +1 -1
- package/dist-esm/Interfaces/Telemetry/IEnvelope.js +1 -1
- package/dist-esm/Interfaces/Telemetry/ISerializable.js +1 -1
- package/dist-esm/RequestResponseHeaders.js +1 -1
- package/dist-esm/StorageHelperFuncs.js +8 -8
- package/dist-esm/StorageHelperFuncs.js.map +1 -1
- package/dist-esm/Telemetry/Common/Base.js +1 -1
- package/dist-esm/Telemetry/Common/Data.js +1 -1
- package/dist-esm/Telemetry/Common/DataPoint.js +1 -1
- package/dist-esm/Telemetry/Common/DataSanitizer.js +8 -8
- package/dist-esm/Telemetry/Common/DataSanitizer.js.map +1 -1
- package/dist-esm/Telemetry/Common/Envelope.js +1 -1
- package/dist-esm/Telemetry/Event.js +1 -1
- package/dist-esm/Telemetry/Exception.js +1 -1
- package/dist-esm/Telemetry/Metric.js +1 -1
- package/dist-esm/Telemetry/PageView.js +1 -1
- package/dist-esm/Telemetry/PageViewPerformance.js +1 -1
- package/dist-esm/Telemetry/RemoteDependencyData.js +1 -1
- package/dist-esm/Telemetry/Trace.js +1 -1
- package/dist-esm/TelemetryItemCreator.js +1 -1
- package/dist-esm/UrlHelperFuncs.js +1 -1
- package/dist-esm/Util.js +1 -1
- package/dist-esm/applicationinsights-common.js +1 -1
- package/package.json +2 -2
- package/src/Enums.ts +19 -3
- package/src/HelperFuncs.ts +7 -5
- package/src/Interfaces/Contracts/AvailabilityData.ts +57 -0
- package/src/Interfaces/Contracts/ContextTagKeys.ts +299 -0
- package/src/Interfaces/Contracts/DataPointType.ts +10 -0
- package/src/Interfaces/Contracts/DependencyKind.ts +11 -0
- package/src/Interfaces/Contracts/DependencySourceType.ts +11 -0
- package/src/Interfaces/Contracts/IBase.ts +13 -0
- package/src/Interfaces/Contracts/IData.ts +19 -0
- package/src/Interfaces/Contracts/IDataPoint.ts +44 -0
- package/src/Interfaces/Contracts/IDomain.ts +8 -0
- package/src/Interfaces/Contracts/IEnvelope.ts +50 -0
- package/src/Interfaces/Contracts/IEventData.ts +30 -0
- package/src/Interfaces/Contracts/IExceptionData.ts +37 -0
- package/src/Interfaces/Contracts/IExceptionDetails.ts +45 -0
- package/src/Interfaces/Contracts/IMessageData.ts +36 -0
- package/src/Interfaces/Contracts/IMetricData.ts +31 -0
- package/src/Interfaces/Contracts/IPageViewData.ts +26 -0
- package/src/Interfaces/Contracts/IPageViewPerfData.ts +35 -0
- package/src/Interfaces/Contracts/IRemoteDependencyData.ts +65 -0
- package/src/Interfaces/Contracts/IStackFrame.ts +33 -0
- package/src/Interfaces/Contracts/RequestData.ts +50 -0
- package/src/Interfaces/Contracts/SeverityLevel.ts +15 -0
- package/src/StorageHelperFuncs.ts +7 -7
- package/src/Telemetry/Common/DataSanitizer.ts +7 -7
- package/src/applicationinsights-common.ts +1 -1
- package/types/Enums.d.ts +13 -2
- package/types/Interfaces/Contracts/AvailabilityData.d.ts +0 -0
- package/types/Interfaces/Contracts/ContextTagKeys.d.ts +175 -0
- package/types/Interfaces/Contracts/DataPointType.d.ts +7 -0
- package/types/Interfaces/Contracts/DependencyKind.d.ts +8 -0
- package/types/Interfaces/Contracts/DependencySourceType.d.ts +8 -0
- package/types/Interfaces/Contracts/IBase.d.ts +9 -0
- package/types/Interfaces/Contracts/IData.d.ts +14 -0
- package/types/Interfaces/Contracts/IDataPoint.d.ts +34 -0
- package/types/Interfaces/Contracts/IDomain.d.ts +5 -0
- package/types/Interfaces/Contracts/IEnvelope.d.ts +0 -0
- package/types/Interfaces/Contracts/IEventData.d.ts +22 -0
- package/types/Interfaces/Contracts/IExceptionData.d.ts +28 -0
- package/types/Interfaces/Contracts/IExceptionDetails.d.ts +34 -0
- package/types/Interfaces/Contracts/IMessageData.d.ts +27 -0
- package/types/Interfaces/Contracts/IMetricData.d.ts +23 -0
- package/types/Interfaces/Contracts/IPageViewData.d.ts +18 -0
- package/types/Interfaces/Contracts/IPageViewPerfData.d.ts +26 -0
- package/types/Interfaces/Contracts/IRemoteDependencyData.d.ts +50 -0
- package/types/Interfaces/Contracts/IStackFrame.d.ts +25 -0
- package/types/Interfaces/Contracts/RequestData.d.ts +0 -0
- package/types/Interfaces/Contracts/SeverityLevel.d.ts +10 -0
- package/types/applicationinsights-common.d.ts +1 -1
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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.8.0-beta.2203-02
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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.8.0-beta.2203-02
|
|
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.8.0-beta.2203-02
|
|
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.8.0-beta.2203-
|
|
2
|
+
* Application Insights JavaScript SDK - Common, 2.8.0-beta.2203-02
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
import { ContextTagKeys } from "./Contracts/Generated/ContextTagKeys";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 2.8.0-beta.2203-
|
|
2
|
+
* Application Insights JavaScript SDK - Common, 2.8.0-beta.2203-02
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
import { dumpObj, getExceptionName, getGlobal, getGlobalInst, isNullOrUndefined,
|
|
7
|
+
import { dumpObj, getExceptionName, getGlobal, getGlobalInst, isNullOrUndefined, objForEachKey, _InternalMessageId } from "@microsoft/applicationinsights-core-js";
|
|
8
8
|
import { StorageType } from "./Enums";
|
|
9
9
|
var _canUseLocalStorage = undefined;
|
|
10
10
|
var _canUseSessionStorage = undefined;
|
|
@@ -71,7 +71,7 @@ export function utlGetLocalStorage(logger, name) {
|
|
|
71
71
|
}
|
|
72
72
|
catch (e) {
|
|
73
73
|
_canUseLocalStorage = false;
|
|
74
|
-
logger.throwInternal(
|
|
74
|
+
logger.throwInternal(2 /* WARNING */, _InternalMessageId.BrowserCannotReadLocalStorage, "Browser failed read of local storage. " + getExceptionName(e), { exception: dumpObj(e) });
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
return null;
|
|
@@ -85,7 +85,7 @@ export function utlSetLocalStorage(logger, name, data) {
|
|
|
85
85
|
}
|
|
86
86
|
catch (e) {
|
|
87
87
|
_canUseLocalStorage = false;
|
|
88
|
-
logger.throwInternal(
|
|
88
|
+
logger.throwInternal(2 /* WARNING */, _InternalMessageId.BrowserCannotWriteLocalStorage, "Browser failed write to local storage. " + getExceptionName(e), { exception: dumpObj(e) });
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
return false;
|
|
@@ -99,7 +99,7 @@ export function utlRemoveStorage(logger, name) {
|
|
|
99
99
|
}
|
|
100
100
|
catch (e) {
|
|
101
101
|
_canUseLocalStorage = false;
|
|
102
|
-
logger.throwInternal(
|
|
102
|
+
logger.throwInternal(2 /* WARNING */, _InternalMessageId.BrowserFailedRemovalFromLocalStorage, "Browser failed removal of local storage item. " + getExceptionName(e), { exception: dumpObj(e) });
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
return false;
|
|
@@ -127,7 +127,7 @@ export function utlGetSessionStorage(logger, name) {
|
|
|
127
127
|
}
|
|
128
128
|
catch (e) {
|
|
129
129
|
_canUseSessionStorage = false;
|
|
130
|
-
logger.throwInternal(
|
|
130
|
+
logger.throwInternal(2 /* WARNING */, _InternalMessageId.BrowserCannotReadSessionStorage, "Browser failed read of session storage. " + getExceptionName(e), { exception: dumpObj(e) });
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
return null;
|
|
@@ -141,7 +141,7 @@ export function utlSetSessionStorage(logger, name, data) {
|
|
|
141
141
|
}
|
|
142
142
|
catch (e) {
|
|
143
143
|
_canUseSessionStorage = false;
|
|
144
|
-
logger.throwInternal(
|
|
144
|
+
logger.throwInternal(2 /* WARNING */, _InternalMessageId.BrowserCannotWriteSessionStorage, "Browser failed write to session storage. " + getExceptionName(e), { exception: dumpObj(e) });
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
return false;
|
|
@@ -155,7 +155,7 @@ export function utlRemoveSessionStorage(logger, name) {
|
|
|
155
155
|
}
|
|
156
156
|
catch (e) {
|
|
157
157
|
_canUseSessionStorage = false;
|
|
158
|
-
logger.throwInternal(
|
|
158
|
+
logger.throwInternal(2 /* WARNING */, _InternalMessageId.BrowserFailedRemovalFromSessionStorage, "Browser failed removal of session storage item. " + getExceptionName(e), { exception: dumpObj(e) });
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
return false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StorageHelperFuncs.js.map","sources":["StorageHelperFuncs.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { dumpObj, getExceptionName, getGlobal, getGlobalInst, isNullOrUndefined,
|
|
1
|
+
{"version":3,"file":"StorageHelperFuncs.js.map","sources":["StorageHelperFuncs.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { dumpObj, getExceptionName, getGlobal, getGlobalInst, isNullOrUndefined, objForEachKey, _InternalMessageId } from \"@microsoft/applicationinsights-core-js\";\r\nimport { StorageType } from \"./Enums\";\r\nvar _canUseLocalStorage = undefined;\r\nvar _canUseSessionStorage = undefined;\r\n/**\r\n * Gets the localStorage object if available\r\n * @return {Storage} - Returns the storage object if available else returns null\r\n */\r\nfunction _getLocalStorageObject() {\r\n if (utlCanUseLocalStorage()) {\r\n return _getVerifiedStorageObject(StorageType.LocalStorage);\r\n }\r\n return null;\r\n}\r\n/**\r\n * Tests storage object (localStorage or sessionStorage) to verify that it is usable\r\n * More details here: https://mathiasbynens.be/notes/localstorage-pattern\r\n * @param storageType Type of storage\r\n * @return {Storage} Returns storage object verified that it is usable\r\n */\r\nfunction _getVerifiedStorageObject(storageType) {\r\n try {\r\n if (isNullOrUndefined(getGlobal())) {\r\n return null;\r\n }\r\n var uid = new Date;\r\n var storage = getGlobalInst(storageType === StorageType.LocalStorage ? \"localStorage\" : \"sessionStorage\");\r\n storage.setItem(uid.toString(), uid.toString());\r\n var fail = storage.getItem(uid.toString()) !== uid.toString();\r\n storage.removeItem(uid.toString());\r\n if (!fail) {\r\n return storage;\r\n }\r\n }\r\n catch (exception) {\r\n // eslint-disable-next-line no-empty\r\n }\r\n return null;\r\n}\r\n/**\r\n * Gets the sessionStorage object if available\r\n * @return {Storage} - Returns the storage object if available else returns null\r\n */\r\nfunction _getSessionStorageObject() {\r\n if (utlCanUseSessionStorage()) {\r\n return _getVerifiedStorageObject(StorageType.SessionStorage);\r\n }\r\n return null;\r\n}\r\nexport function utlDisableStorage() {\r\n _canUseLocalStorage = false;\r\n _canUseSessionStorage = false;\r\n}\r\nexport function utlCanUseLocalStorage() {\r\n if (_canUseLocalStorage === undefined) {\r\n _canUseLocalStorage = !!_getVerifiedStorageObject(StorageType.LocalStorage);\r\n }\r\n return _canUseLocalStorage;\r\n}\r\nexport function utlGetLocalStorage(logger, name) {\r\n var storage = _getLocalStorageObject();\r\n if (storage !== null) {\r\n try {\r\n return storage.getItem(name);\r\n }\r\n catch (e) {\r\n _canUseLocalStorage = false;\r\n logger.throwInternal(2 /* WARNING */, _InternalMessageId.BrowserCannotReadLocalStorage, \"Browser failed read of local storage. \" + getExceptionName(e), { exception: dumpObj(e) });\r\n }\r\n }\r\n return null;\r\n}\r\nexport function utlSetLocalStorage(logger, name, data) {\r\n var storage = _getLocalStorageObject();\r\n if (storage !== null) {\r\n try {\r\n storage.setItem(name, data);\r\n return true;\r\n }\r\n catch (e) {\r\n _canUseLocalStorage = false;\r\n logger.throwInternal(2 /* WARNING */, _InternalMessageId.BrowserCannotWriteLocalStorage, \"Browser failed write to local storage. \" + getExceptionName(e), { exception: dumpObj(e) });\r\n }\r\n }\r\n return false;\r\n}\r\nexport function utlRemoveStorage(logger, name) {\r\n var storage = _getLocalStorageObject();\r\n if (storage !== null) {\r\n try {\r\n storage.removeItem(name);\r\n return true;\r\n }\r\n catch (e) {\r\n _canUseLocalStorage = false;\r\n logger.throwInternal(2 /* WARNING */, _InternalMessageId.BrowserFailedRemovalFromLocalStorage, \"Browser failed removal of local storage item. \" + getExceptionName(e), { exception: dumpObj(e) });\r\n }\r\n }\r\n return false;\r\n}\r\nexport function utlCanUseSessionStorage() {\r\n if (_canUseSessionStorage === undefined) {\r\n _canUseSessionStorage = !!_getVerifiedStorageObject(StorageType.SessionStorage);\r\n }\r\n return _canUseSessionStorage;\r\n}\r\nexport function utlGetSessionStorageKeys() {\r\n var keys = [];\r\n if (utlCanUseSessionStorage()) {\r\n objForEachKey(getGlobalInst(\"sessionStorage\"), function (key) {\r\n keys.push(key);\r\n });\r\n }\r\n return keys;\r\n}\r\nexport function utlGetSessionStorage(logger, name) {\r\n var storage = _getSessionStorageObject();\r\n if (storage !== null) {\r\n try {\r\n return storage.getItem(name);\r\n }\r\n catch (e) {\r\n _canUseSessionStorage = false;\r\n logger.throwInternal(2 /* WARNING */, _InternalMessageId.BrowserCannotReadSessionStorage, \"Browser failed read of session storage. \" + getExceptionName(e), { exception: dumpObj(e) });\r\n }\r\n }\r\n return null;\r\n}\r\nexport function utlSetSessionStorage(logger, name, data) {\r\n var storage = _getSessionStorageObject();\r\n if (storage !== null) {\r\n try {\r\n storage.setItem(name, data);\r\n return true;\r\n }\r\n catch (e) {\r\n _canUseSessionStorage = false;\r\n logger.throwInternal(2 /* WARNING */, _InternalMessageId.BrowserCannotWriteSessionStorage, \"Browser failed write to session storage. \" + getExceptionName(e), { exception: dumpObj(e) });\r\n }\r\n }\r\n return false;\r\n}\r\nexport function utlRemoveSessionStorage(logger, name) {\r\n var storage = _getSessionStorageObject();\r\n if (storage !== null) {\r\n try {\r\n storage.removeItem(name);\r\n return true;\r\n }\r\n catch (e) {\r\n _canUseSessionStorage = false;\r\n logger.throwInternal(2 /* WARNING */, _InternalMessageId.BrowserFailedRemovalFromSessionStorage, \"Browser failed removal of session storage item. \" + getExceptionName(e), { exception: dumpObj(e) });\r\n }\r\n }\r\n return false;\r\n}\r\n//# sourceMappingURL=StorageHelperFuncs.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;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|