@microsoft/applicationinsights-common 2.8.14-nightly.2305-06 → 2.8.14-nightly.2305-08
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 +2 -2
- 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.d.ts +1 -1
- package/dist/applicationinsights-common.js +2 -2
- 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 +2 -2
- package/dist-esm/DomHelperFuncs.js.map +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/IStorageBuffer.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 +1 -1
- package/dist-esm/applicationinsights-common.js +1 -1
- package/package.json +2 -2
- package/src/DomHelperFuncs.ts +1 -1
- package/src/Interfaces/Context/IOperatingSystem.ts +0 -1
- package/src/Interfaces/Contracts/IExceptionData.ts +1 -1
- package/src/Interfaces/Contracts/IMetricData.ts +1 -1
- package/src/Interfaces/Contracts/IPageViewData.ts +1 -1
- package/src/Interfaces/IAppInsights.ts +4 -4
- package/src/Interfaces/IExceptionTelemetry.ts +1 -1
- package/src/Interfaces/ITelemetryContext.ts +3 -3
- package/src/Interfaces/ITraceTelemetry.ts +1 -1
- package/src/Telemetry/Common/Data.ts +2 -2
- package/types/Interfaces/Contracts/IExceptionData.d.ts +1 -1
- package/types/Interfaces/Contracts/IMetricData.d.ts +1 -1
- package/types/Interfaces/IAppInsights.d.ts +4 -4
- package/types/Interfaces/ITelemetryContext.d.ts +2 -2
- package/types/Telemetry/Common/Data.d.ts +1 -1
package/dist-esm/Util.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/applicationinsights-common",
|
|
3
|
-
"version": "2.8.14-nightly.2305-
|
|
3
|
+
"version": "2.8.14-nightly.2305-08",
|
|
4
4
|
"description": "Microsoft Application Insights Common JavaScript Library",
|
|
5
5
|
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
6
|
"author": "Microsoft Application Insights Team",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@microsoft/applicationinsights-shims": "2.0.2",
|
|
55
|
-
"@microsoft/applicationinsights-core-js": "2.8.14-nightly.2305-
|
|
55
|
+
"@microsoft/applicationinsights-core-js": "2.8.14-nightly.2305-08",
|
|
56
56
|
"@microsoft/dynamicproto-js": "^1.1.9"
|
|
57
57
|
},
|
|
58
58
|
"license": "MIT",
|
package/src/DomHelperFuncs.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
import {
|
|
3
|
+
import { getDocument, isFunction } from "@microsoft/applicationinsights-core-js";
|
|
4
4
|
|
|
5
5
|
export function createDomEvent(eventName: string): Event {
|
|
6
6
|
let event: Event = null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
|
|
4
|
-
import { IExceptionDetails } from "./IExceptionDetails";
|
|
5
4
|
import { IDomain } from "./IDomain";
|
|
5
|
+
import { IExceptionDetails } from "./IExceptionDetails";
|
|
6
6
|
import { SeverityLevel } from "./SeverityLevel";
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
|
|
4
|
-
import { IDomain } from "./IDomain";
|
|
5
4
|
import { IDataPoint } from "./IDataPoint";
|
|
5
|
+
import { IDomain } from "./IDomain";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* An instance of the Metric item is a list of measurements (single data points) and/or aggregations.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
|
|
4
|
-
// THIS FILE WAS AUTOGENERATED
|
|
5
4
|
import { IEventData } from "./IEventData";
|
|
6
5
|
|
|
6
|
+
// THIS FILE WAS AUTOGENERATED
|
|
7
7
|
/**
|
|
8
8
|
* An instance of PageView represents a generic action on a page like a button click. It is also the base type for PageView.
|
|
9
9
|
*/
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
|
|
4
|
+
import { ICookieMgr, ITelemetryItem } from "@microsoft/applicationinsights-core-js";
|
|
4
5
|
import { IEventTelemetry } from "./IEventTelemetry";
|
|
6
|
+
import { IAutoExceptionTelemetry, IExceptionTelemetry } from "./IExceptionTelemetry";
|
|
7
|
+
import { IMetricTelemetry } from "./IMetricTelemetry";
|
|
8
|
+
import { IPageViewPerformanceTelemetry } from "./IPageViewPerformanceTelemetry";
|
|
5
9
|
import { IPageViewTelemetry } from "./IPageViewTelemetry";
|
|
6
|
-
import { IExceptionTelemetry, IAutoExceptionTelemetry } from "./IExceptionTelemetry";
|
|
7
10
|
import { ITraceTelemetry } from "./ITraceTelemetry";
|
|
8
|
-
import { IMetricTelemetry } from "./IMetricTelemetry";
|
|
9
|
-
import { IPageViewPerformanceTelemetry } from "./IPageViewPerformanceTelemetry";
|
|
10
|
-
import { ICookieMgr, ITelemetryItem } from "@microsoft/applicationinsights-core-js";
|
|
11
11
|
|
|
12
12
|
export interface IAppInsights {
|
|
13
13
|
|
|
@@ -5,10 +5,10 @@ import { IApplication } from "./Context/IApplication";
|
|
|
5
5
|
import { IDevice } from "./Context/IDevice";
|
|
6
6
|
import { IInternal } from "./Context/IInternal";
|
|
7
7
|
import { ILocation } from "./Context/ILocation";
|
|
8
|
-
import {
|
|
8
|
+
import { IOperatingSystem } from "./Context/IOperatingSystem";
|
|
9
9
|
import { ISession } from "./Context/ISession";
|
|
10
10
|
import { ITelemetryTrace } from "./Context/ITelemetryTrace";
|
|
11
|
-
import {
|
|
11
|
+
import { IUserContext } from "./Context/IUser";
|
|
12
12
|
import { IWeb } from "./Context/IWeb";
|
|
13
13
|
|
|
14
14
|
export interface ITelemetryContext {
|
|
@@ -66,4 +66,4 @@ export interface ITelemetryContext {
|
|
|
66
66
|
* session id obtained from session manager.
|
|
67
67
|
*/
|
|
68
68
|
getSessionId: () => string;
|
|
69
|
-
}
|
|
69
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
|
|
4
|
-
import { SeverityLevel } from "./Contracts/SeverityLevel"
|
|
4
|
+
import { SeverityLevel } from "./Contracts/SeverityLevel";
|
|
5
5
|
import { IPartC } from "./IPartC";
|
|
6
6
|
|
|
7
7
|
export interface ITraceTelemetry extends IPartC {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
|
|
4
|
+
import { FieldType } from "../../Enums";
|
|
4
5
|
import { IData } from "../../Interfaces/Contracts/IData";
|
|
5
6
|
import { ISerializable } from "../../Interfaces/Telemetry/ISerializable";
|
|
6
|
-
import { FieldType } from "../../Enums";
|
|
7
7
|
|
|
8
8
|
export class Data<TDomain> implements IData<TDomain>, ISerializable {
|
|
9
9
|
|
|
@@ -32,4 +32,4 @@ export class Data<TDomain> implements IData<TDomain>, ISerializable {
|
|
|
32
32
|
this.baseType = baseType;
|
|
33
33
|
this.baseData = data;
|
|
34
34
|
}
|
|
35
|
-
}
|
|
35
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IExceptionDetails } from "./IExceptionDetails";
|
|
2
1
|
import { IDomain } from "./IDomain";
|
|
2
|
+
import { IExceptionDetails } from "./IExceptionDetails";
|
|
3
3
|
import { SeverityLevel } from "./SeverityLevel";
|
|
4
4
|
/**
|
|
5
5
|
* An instance of Exception represents a handled or unhandled exception that occurred during execution of the monitored application.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { ICookieMgr, ITelemetryItem } from "@microsoft/applicationinsights-core-js";
|
|
1
2
|
import { IEventTelemetry } from "./IEventTelemetry";
|
|
2
|
-
import {
|
|
3
|
-
import { IExceptionTelemetry, IAutoExceptionTelemetry } from "./IExceptionTelemetry";
|
|
4
|
-
import { ITraceTelemetry } from "./ITraceTelemetry";
|
|
3
|
+
import { IAutoExceptionTelemetry, IExceptionTelemetry } from "./IExceptionTelemetry";
|
|
5
4
|
import { IMetricTelemetry } from "./IMetricTelemetry";
|
|
6
5
|
import { IPageViewPerformanceTelemetry } from "./IPageViewPerformanceTelemetry";
|
|
7
|
-
import {
|
|
6
|
+
import { IPageViewTelemetry } from "./IPageViewTelemetry";
|
|
7
|
+
import { ITraceTelemetry } from "./ITraceTelemetry";
|
|
8
8
|
export interface IAppInsights {
|
|
9
9
|
/**
|
|
10
10
|
* Get the current cookie manager for this instance
|
|
@@ -2,10 +2,10 @@ import { IApplication } from "./Context/IApplication";
|
|
|
2
2
|
import { IDevice } from "./Context/IDevice";
|
|
3
3
|
import { IInternal } from "./Context/IInternal";
|
|
4
4
|
import { ILocation } from "./Context/ILocation";
|
|
5
|
-
import {
|
|
5
|
+
import { IOperatingSystem } from "./Context/IOperatingSystem";
|
|
6
6
|
import { ISession } from "./Context/ISession";
|
|
7
7
|
import { ITelemetryTrace } from "./Context/ITelemetryTrace";
|
|
8
|
-
import {
|
|
8
|
+
import { IUserContext } from "./Context/IUser";
|
|
9
9
|
import { IWeb } from "./Context/IWeb";
|
|
10
10
|
export interface ITelemetryContext {
|
|
11
11
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { FieldType } from "../../Enums";
|
|
1
2
|
import { IData } from "../../Interfaces/Contracts/IData";
|
|
2
3
|
import { ISerializable } from "../../Interfaces/Telemetry/ISerializable";
|
|
3
|
-
import { FieldType } from "../../Enums";
|
|
4
4
|
export declare class Data<TDomain> implements IData<TDomain>, ISerializable {
|
|
5
5
|
/**
|
|
6
6
|
* The data contract for serializing this object.
|