@microsoft/applicationinsights-common 3.0.0-beta.2302-01 → 3.0.0-beta.2302-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 +57 -15
- 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 +2 -2
- package/dist/applicationinsights-common.d.ts +1 -1
- package/dist/applicationinsights-common.js +57 -15
- 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 +1 -1
- 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 +1 -1
- package/dist-esm/HelperFuncs.js +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 +1 -1
- package/dist-esm/Interfaces/Contracts/ContextTagKeys.js +1 -1
- package/dist-esm/Interfaces/Contracts/DataPointType.js +1 -1
- package/dist-esm/Interfaces/Contracts/DependencyKind.js +1 -1
- package/dist-esm/Interfaces/Contracts/DependencySourceType.js +1 -1
- package/dist-esm/Interfaces/Contracts/IBase.js +1 -1
- package/dist-esm/Interfaces/Contracts/IData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IDataPoint.js +1 -1
- package/dist-esm/Interfaces/Contracts/IDomain.js +1 -1
- package/dist-esm/Interfaces/Contracts/IEnvelope.js +1 -1
- package/dist-esm/Interfaces/Contracts/IEventData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IExceptionData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IExceptionDetails.js +1 -1
- package/dist-esm/Interfaces/Contracts/IMessageData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IMetricData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IPageViewData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IPageViewPerfData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IRemoteDependencyData.js +1 -1
- package/dist-esm/Interfaces/Contracts/IStackFrame.js +1 -1
- package/dist-esm/Interfaces/Contracts/RequestData.js +1 -1
- package/dist-esm/Interfaces/Contracts/SeverityLevel.js +1 -1
- 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/IThrottleMgr.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 +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 +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/ThrottleMgr.js +1 -1
- package/dist-esm/UrlHelperFuncs.js +1 -1
- package/dist-esm/Util.js +1 -1
- package/dist-esm/__DynamicConstants.js +4 -4
- package/dist-esm/__DynamicConstants.js.map +1 -1
- package/dist-esm/applicationinsights-common.js +1 -1
- package/package.json +5 -5
- package/src/ConnectionStringParser.ts +8 -8
- package/src/HelperFuncs.ts +6 -6
- package/src/Interfaces/IConfig.ts +7 -7
- package/src/StorageHelperFuncs.ts +10 -10
- package/src/Telemetry/Common/DataSanitizer.ts +8 -8
- package/src/Telemetry/Common/Envelope.ts +11 -11
- package/src/Telemetry/Event.ts +11 -11
- package/src/Telemetry/Exception.ts +22 -22
- package/src/Telemetry/Metric.ts +12 -12
- package/src/Telemetry/PageView.ts +14 -14
- package/src/Telemetry/PageViewPerformance.ts +12 -12
- package/src/Telemetry/RemoteDependencyData.ts +12 -12
- package/src/Telemetry/Trace.ts +12 -12
- package/src/TelemetryItemCreator.ts +10 -10
- package/src/ThrottleMgr.ts +9 -9
- package/src/UrlHelperFuncs.ts +6 -6
- package/src/Util.ts +16 -16
- package/src/__DynamicConstants.ts +50 -50
- package/types/Enums.d.ts +2 -2
- package/types/Interfaces/ConnectionString.d.ts +2 -2
- package/types/Interfaces/Contracts/SeverityLevel.d.ts +1 -1
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
// @skip-file-minify
|
|
4
|
-
|
|
5
|
-
// ##############################################################
|
|
6
|
-
// AUTO GENERATED FILE: This file is Auto Generated during build.
|
|
7
|
-
// ##############################################################
|
|
8
|
-
|
|
9
|
-
//
|
|
10
|
-
// Note: DON'T Export these const from the package as we are still targeting
|
|
11
|
-
//
|
|
12
|
-
|
|
13
|
-
export const _DYN_SPLIT = "split"; // Count: 6
|
|
14
|
-
export const _DYN_LENGTH = "length"; // Count: 41
|
|
15
|
-
export const _DYN_TO_LOWER_CASE = "toLowerCase"; // Count: 6
|
|
16
|
-
export const _DYN_INGESTIONENDPOINT = "ingestionendpoint"; // Count: 4
|
|
17
|
-
export const _DYN_TO_STRING = "toString"; // Count: 12
|
|
18
|
-
export const _DYN_REMOVE_ITEM = "removeItem"; // Count: 3
|
|
19
|
-
export const _DYN_NAME = "name"; // Count: 11
|
|
20
|
-
export const _DYN_MESSAGE = "message"; // Count: 10
|
|
21
|
-
export const _DYN_COUNT = "count"; // Count: 8
|
|
22
|
-
export const _DYN_PRE_TRIGGER_DATE = "preTriggerDate"; // Count: 4
|
|
23
|
-
export const _DYN_DISABLED = "disabled"; // Count: 3
|
|
24
|
-
export const _DYN_INTERVAL = "interval"; // Count: 3
|
|
25
|
-
export const _DYN_DAYS_OF_MONTH = "daysOfMonth"; // Count: 3
|
|
26
|
-
export const _DYN_DATE = "date"; // Count: 5
|
|
27
|
-
export const _DYN_GET_UTCDATE = "getUTCDate"; // Count: 3
|
|
28
|
-
export const _DYN_STRINGIFY = "stringify"; // Count: 4
|
|
29
|
-
export const _DYN_PATHNAME = "pathname"; // Count: 4
|
|
30
|
-
export const _DYN_CORRELATION_HEADER_E0 = "correlationHeaderExcludePatterns"; // Count: 2
|
|
31
|
-
export const _DYN_EXTENSION_CONFIG = "extensionConfig"; // Count: 4
|
|
32
|
-
export const _DYN_EXCEPTIONS = "exceptions"; // Count: 6
|
|
33
|
-
export const _DYN_PARSED_STACK = "parsedStack"; // Count: 11
|
|
34
|
-
export const _DYN_PROPERTIES = "properties"; // Count: 9
|
|
35
|
-
export const _DYN_MEASUREMENTS = "measurements"; // Count: 9
|
|
36
|
-
export const _DYN_SIZE_IN_BYTES = "sizeInBytes"; // Count: 11
|
|
37
|
-
export const _DYN_TYPE_NAME = "typeName"; // Count: 11
|
|
38
|
-
export const _DYN_SEVERITY_LEVEL = "severityLevel"; // Count: 5
|
|
39
|
-
export const _DYN_PROBLEM_GROUP = "problemGroup"; // Count: 3
|
|
40
|
-
export const _DYN_IS_MANUAL = "isManual"; // Count: 3
|
|
41
|
-
export const _DYN__CREATE_FROM_INTERFA1 = "CreateFromInterface"; // Count: 2
|
|
42
|
-
export const _DYN_HAS_FULL_STACK = "hasFullStack"; // Count: 6
|
|
43
|
-
export const _DYN_LEVEL = "level"; // Count: 5
|
|
44
|
-
export const _DYN_METHOD = "method"; // Count: 7
|
|
45
|
-
export const _DYN_ASSEMBLY = "assembly"; // Count: 5
|
|
46
|
-
export const _DYN_FILE_NAME = "fileName"; // Count: 6
|
|
47
|
-
export const _DYN_LINE = "line"; // Count: 6
|
|
48
|
-
export const _DYN_DURATION = "duration"; // Count: 4
|
|
49
|
-
export const _DYN_RECEIVED_RESPONSE = "receivedResponse"; // Count: 2
|
|
50
|
-
export const _DYN_SUBSTRING = "substring"; // Count: 6
|
|
1
|
+
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
// @skip-file-minify
|
|
4
|
+
|
|
5
|
+
// ##############################################################
|
|
6
|
+
// AUTO GENERATED FILE: This file is Auto Generated during build.
|
|
7
|
+
// ##############################################################
|
|
8
|
+
|
|
9
|
+
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
10
|
+
// 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!!!
|
|
11
|
+
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
12
|
+
|
|
13
|
+
export const _DYN_SPLIT = "split"; // Count: 6
|
|
14
|
+
export const _DYN_LENGTH = "length"; // Count: 41
|
|
15
|
+
export const _DYN_TO_LOWER_CASE = "toLowerCase"; // Count: 6
|
|
16
|
+
export const _DYN_INGESTIONENDPOINT = "ingestionendpoint"; // Count: 4
|
|
17
|
+
export const _DYN_TO_STRING = "toString"; // Count: 12
|
|
18
|
+
export const _DYN_REMOVE_ITEM = "removeItem"; // Count: 3
|
|
19
|
+
export const _DYN_NAME = "name"; // Count: 11
|
|
20
|
+
export const _DYN_MESSAGE = "message"; // Count: 10
|
|
21
|
+
export const _DYN_COUNT = "count"; // Count: 8
|
|
22
|
+
export const _DYN_PRE_TRIGGER_DATE = "preTriggerDate"; // Count: 4
|
|
23
|
+
export const _DYN_DISABLED = "disabled"; // Count: 3
|
|
24
|
+
export const _DYN_INTERVAL = "interval"; // Count: 3
|
|
25
|
+
export const _DYN_DAYS_OF_MONTH = "daysOfMonth"; // Count: 3
|
|
26
|
+
export const _DYN_DATE = "date"; // Count: 5
|
|
27
|
+
export const _DYN_GET_UTCDATE = "getUTCDate"; // Count: 3
|
|
28
|
+
export const _DYN_STRINGIFY = "stringify"; // Count: 4
|
|
29
|
+
export const _DYN_PATHNAME = "pathname"; // Count: 4
|
|
30
|
+
export const _DYN_CORRELATION_HEADER_E0 = "correlationHeaderExcludePatterns"; // Count: 2
|
|
31
|
+
export const _DYN_EXTENSION_CONFIG = "extensionConfig"; // Count: 4
|
|
32
|
+
export const _DYN_EXCEPTIONS = "exceptions"; // Count: 6
|
|
33
|
+
export const _DYN_PARSED_STACK = "parsedStack"; // Count: 11
|
|
34
|
+
export const _DYN_PROPERTIES = "properties"; // Count: 9
|
|
35
|
+
export const _DYN_MEASUREMENTS = "measurements"; // Count: 9
|
|
36
|
+
export const _DYN_SIZE_IN_BYTES = "sizeInBytes"; // Count: 11
|
|
37
|
+
export const _DYN_TYPE_NAME = "typeName"; // Count: 11
|
|
38
|
+
export const _DYN_SEVERITY_LEVEL = "severityLevel"; // Count: 5
|
|
39
|
+
export const _DYN_PROBLEM_GROUP = "problemGroup"; // Count: 3
|
|
40
|
+
export const _DYN_IS_MANUAL = "isManual"; // Count: 3
|
|
41
|
+
export const _DYN__CREATE_FROM_INTERFA1 = "CreateFromInterface"; // Count: 2
|
|
42
|
+
export const _DYN_HAS_FULL_STACK = "hasFullStack"; // Count: 6
|
|
43
|
+
export const _DYN_LEVEL = "level"; // Count: 5
|
|
44
|
+
export const _DYN_METHOD = "method"; // Count: 7
|
|
45
|
+
export const _DYN_ASSEMBLY = "assembly"; // Count: 5
|
|
46
|
+
export const _DYN_FILE_NAME = "fileName"; // Count: 6
|
|
47
|
+
export const _DYN_LINE = "line"; // Count: 6
|
|
48
|
+
export const _DYN_DURATION = "duration"; // Count: 4
|
|
49
|
+
export const _DYN_RECEIVED_RESPONSE = "receivedResponse"; // Count: 2
|
|
50
|
+
export const _DYN_SUBSTRING = "substring"; // Count: 6
|
package/types/Enums.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const enum eStorageType {
|
|
|
6
6
|
SessionStorage = 1
|
|
7
7
|
}
|
|
8
8
|
export declare const StorageType: import("@microsoft/applicationinsights-core-js").EnumValue<typeof eStorageType>;
|
|
9
|
-
export
|
|
9
|
+
export type StorageType = eStorageType | typeof StorageType;
|
|
10
10
|
/**
|
|
11
11
|
* Enum is used in aiDataContract to describe how fields are serialized.
|
|
12
12
|
* For instance: (Fieldtype.Required | FieldType.Array) will mark the field as required and indicate it's an array
|
|
@@ -32,7 +32,7 @@ export declare const enum eDistributedTracingModes {
|
|
|
32
32
|
W3C = 2
|
|
33
33
|
}
|
|
34
34
|
export declare const DistributedTracingModes: import("@microsoft/applicationinsights-core-js").EnumValue<typeof eDistributedTracingModes>;
|
|
35
|
-
export
|
|
35
|
+
export type DistributedTracingModes = number | eDistributedTracingModes;
|
|
36
36
|
export declare const enum IThrottleMsgKey {
|
|
37
37
|
default = 0,
|
|
38
38
|
ikeyDeprecate = 1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type ConnectionStringKey = "authorization" | "instrumentationkey" | "ingestionendpoint" | "location" | "endpointsuffix";
|
|
2
|
+
export type ConnectionString = {
|
|
3
3
|
[key in ConnectionStringKey]?: string;
|
|
4
4
|
};
|
|
@@ -12,4 +12,4 @@ export declare const enum eSeverityLevel {
|
|
|
12
12
|
* Defines the level of severity for the event.
|
|
13
13
|
*/
|
|
14
14
|
export declare const SeverityLevel: import("@microsoft/applicationinsights-core-js").EnumValue<typeof eSeverityLevel>;
|
|
15
|
-
export
|
|
15
|
+
export type SeverityLevel = number | eSeverityLevel;
|