@microsoft/applicationinsights-common 3.4.0-nightlybeta3.2504-05 → 3.4.0-nightlybeta3.2504-17
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/es5/applicationinsights-common.cjs.js +191 -107
- package/browser/es5/applicationinsights-common.cjs.js.map +1 -1
- package/browser/es5/applicationinsights-common.cjs.min.js +2 -2
- package/browser/es5/applicationinsights-common.cjs.min.js.map +1 -1
- package/browser/es5/applicationinsights-common.gbl.js +193 -109
- package/browser/es5/applicationinsights-common.gbl.js.map +1 -1
- package/browser/es5/applicationinsights-common.gbl.min.js +2 -2
- package/browser/es5/applicationinsights-common.gbl.min.js.map +1 -1
- package/browser/es5/applicationinsights-common.integrity.json +25 -25
- package/browser/es5/applicationinsights-common.js +193 -109
- package/browser/es5/applicationinsights-common.js.map +1 -1
- package/browser/es5/applicationinsights-common.min.js +2 -2
- package/browser/es5/applicationinsights-common.min.js.map +1 -1
- package/dist/es5/applicationinsights-common.js +191 -107
- package/dist/es5/applicationinsights-common.js.map +1 -1
- package/dist/es5/applicationinsights-common.min.js +2 -2
- package/dist/es5/applicationinsights-common.min.js.map +1 -1
- package/dist-es5/ConnectionStringParser.js +1 -1
- package/dist-es5/Constants.js +1 -1
- package/dist-es5/DomHelperFuncs.js +1 -1
- package/dist-es5/Enums.js +1 -1
- package/dist-es5/HelperFuncs.js +1 -1
- package/dist-es5/Interfaces/ConnectionString.js +1 -1
- package/dist-es5/Interfaces/Context/IApplication.js +1 -1
- package/dist-es5/Interfaces/Context/IDevice.js +1 -1
- package/dist-es5/Interfaces/Context/IInternal.js +1 -1
- package/dist-es5/Interfaces/Context/ILocation.js +1 -1
- package/dist-es5/Interfaces/Context/IOperatingSystem.js +1 -1
- package/dist-es5/Interfaces/Context/ISample.js +1 -1
- package/dist-es5/Interfaces/Context/ISession.js +1 -1
- package/dist-es5/Interfaces/Context/ISessionManager.js +1 -1
- package/dist-es5/Interfaces/Context/ITelemetryTrace.js +1 -1
- package/dist-es5/Interfaces/Context/IUser.js +1 -1
- package/dist-es5/Interfaces/Context/IWeb.js +1 -1
- package/dist-es5/Interfaces/Contracts/AvailabilityData.js +1 -1
- package/dist-es5/Interfaces/Contracts/ContextTagKeys.js +1 -1
- package/dist-es5/Interfaces/Contracts/DataPointType.js +1 -1
- package/dist-es5/Interfaces/Contracts/DependencyKind.js +1 -1
- package/dist-es5/Interfaces/Contracts/DependencySourceType.js +1 -1
- package/dist-es5/Interfaces/Contracts/IBase.js +1 -1
- package/dist-es5/Interfaces/Contracts/IData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IDataPoint.js +1 -1
- package/dist-es5/Interfaces/Contracts/IDomain.js +1 -1
- package/dist-es5/Interfaces/Contracts/IEnvelope.js +1 -1
- package/dist-es5/Interfaces/Contracts/IEventData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IExceptionData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IExceptionDetails.js +1 -1
- package/dist-es5/Interfaces/Contracts/IMessageData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IMetricData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IPageViewData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IPageViewPerfData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IRemoteDependencyData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IStackFrame.js +1 -1
- package/dist-es5/Interfaces/Contracts/RequestData.js +1 -1
- package/dist-es5/Interfaces/Contracts/SeverityLevel.js +1 -1
- package/dist-es5/Interfaces/IAppInsights.js +1 -1
- package/dist-es5/Interfaces/IConfig.js +1 -1
- package/dist-es5/Interfaces/ICorrelationConfig.js +1 -1
- package/dist-es5/Interfaces/IDependencyTelemetry.js +1 -1
- package/dist-es5/Interfaces/IEventTelemetry.js +1 -1
- package/dist-es5/Interfaces/IExceptionTelemetry.js +1 -1
- package/dist-es5/Interfaces/IMetricTelemetry.js +1 -1
- package/dist-es5/Interfaces/IPageViewPerformanceTelemetry.js +1 -1
- package/dist-es5/Interfaces/IPageViewTelemetry.js +1 -1
- package/dist-es5/Interfaces/IPartC.js +1 -1
- package/dist-es5/Interfaces/IPropertiesPlugin.js +1 -1
- package/dist-es5/Interfaces/IRequestContext.js +1 -1
- package/dist-es5/Interfaces/IStorageBuffer.js +1 -1
- package/dist-es5/Interfaces/ITelemetryContext.js +1 -1
- package/dist-es5/Interfaces/IThrottleMgr.js +1 -1
- package/dist-es5/Interfaces/ITraceTelemetry.js +1 -1
- package/dist-es5/Interfaces/PartAExtensions.js +1 -1
- package/dist-es5/Interfaces/Telemetry/IEnvelope.js +1 -1
- package/dist-es5/Interfaces/Telemetry/ISerializable.js +1 -1
- package/dist-es5/Offline.js +1 -1
- package/dist-es5/RequestResponseHeaders.js +1 -1
- package/dist-es5/StorageHelperFuncs.js +1 -1
- package/dist-es5/Telemetry/Common/Data.js +1 -1
- package/dist-es5/Telemetry/Common/DataPoint.js +1 -1
- package/dist-es5/Telemetry/Common/DataSanitizer.js +1 -1
- package/dist-es5/Telemetry/Common/Envelope.js +1 -1
- package/dist-es5/Telemetry/Event.js +1 -1
- package/dist-es5/Telemetry/Exception.js +1 -1
- package/dist-es5/Telemetry/Metric.js +1 -1
- package/dist-es5/Telemetry/PageView.js +1 -1
- package/dist-es5/Telemetry/PageViewPerformance.js +1 -1
- package/dist-es5/Telemetry/RemoteDependencyData.js +1 -1
- package/dist-es5/Telemetry/Trace.js +1 -1
- package/dist-es5/TelemetryItemCreator.js +1 -1
- package/dist-es5/ThrottleMgr.js +1 -1
- package/dist-es5/UrlHelperFuncs.js +1 -1
- package/dist-es5/Util.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-common.js +1 -1
- package/package.json +2 -2
- package/types/applicationinsights-common.d.ts +1 -1
- package/types/applicationinsights-common.namespaced.d.ts +33 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/applicationinsights-common",
|
|
3
|
-
"version": "3.4.0-nightlybeta3.2504-
|
|
3
|
+
"version": "3.4.0-nightlybeta3.2504-17",
|
|
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",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
59
|
-
"@microsoft/applicationinsights-core-js": "3.4.0-nightlybeta3.2504-
|
|
59
|
+
"@microsoft/applicationinsights-core-js": "3.4.0-nightlybeta3.2504-17",
|
|
60
60
|
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
61
61
|
"@nevware21/ts-utils": ">= 0.11.8 < 2.x"
|
|
62
62
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights Common JavaScript Library, 3.4.0-nightlybeta3.2504-
|
|
2
|
+
* Microsoft Application Insights Common JavaScript Library, 3.4.0-nightlybeta3.2504-17
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights Common JavaScript Library, 3.4.0-nightlybeta3.2504-
|
|
2
|
+
* Microsoft Application Insights Common JavaScript Library, 3.4.0-nightlybeta3.2504-17
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -777,6 +777,7 @@ declare namespace ApplicationInsights {
|
|
|
777
777
|
*/
|
|
778
778
|
addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler;
|
|
779
779
|
pollInternalLogs?(eventName?: string): ITimerHandler;
|
|
780
|
+
getStatsBeat?(statsBeatConfig?: IStatsBeatConfig): IStatsBeat;
|
|
780
781
|
stopPollingInternalLogs?(): void;
|
|
781
782
|
/**
|
|
782
783
|
* Return a new instance of the IProcessTelemetryContext for processing events
|
|
@@ -1611,6 +1612,11 @@ declare namespace ApplicationInsights {
|
|
|
1611
1612
|
* @since 3.3.2
|
|
1612
1613
|
*/
|
|
1613
1614
|
expCfg?: IExceptionConfig;
|
|
1615
|
+
/**
|
|
1616
|
+
* [Optional] Internal SDK configuration for developers
|
|
1617
|
+
* @internal
|
|
1618
|
+
*/
|
|
1619
|
+
_sdk?: IInternalSdkConfiguration;
|
|
1614
1620
|
}
|
|
1615
1621
|
|
|
1616
1622
|
interface IContextTagKeys {
|
|
@@ -2500,6 +2506,18 @@ declare namespace ApplicationInsights {
|
|
|
2500
2506
|
createOneDSPayload?: (evts: ITelemetryItem[]) => IPayloadData;
|
|
2501
2507
|
}
|
|
2502
2508
|
|
|
2509
|
+
/**
|
|
2510
|
+
* Internal SDK configuration options
|
|
2511
|
+
* @internal
|
|
2512
|
+
*/
|
|
2513
|
+
interface IInternalSdkConfiguration {
|
|
2514
|
+
/**
|
|
2515
|
+
* [Optional] Enable Internal StatsBeat
|
|
2516
|
+
* @internal
|
|
2517
|
+
*/
|
|
2518
|
+
stats?: boolean;
|
|
2519
|
+
}
|
|
2520
|
+
|
|
2503
2521
|
/**
|
|
2504
2522
|
* An alternate interface which provides automatic removal during unloading of the component
|
|
2505
2523
|
*/
|
|
@@ -3559,6 +3577,20 @@ declare namespace ApplicationInsights {
|
|
|
3559
3577
|
line: number;
|
|
3560
3578
|
}
|
|
3561
3579
|
|
|
3580
|
+
interface IStatsBeat {
|
|
3581
|
+
initialize(core: IAppInsightsCore, statsBeatConfig: IStatsBeatConfig): void;
|
|
3582
|
+
isInitialized(): boolean;
|
|
3583
|
+
count(status: number, payloadData: IPayloadData, endpoint: string): void;
|
|
3584
|
+
countException(endpoint: string, exceptionType: string): void;
|
|
3585
|
+
getEndpoint(): string;
|
|
3586
|
+
}
|
|
3587
|
+
|
|
3588
|
+
interface IStatsBeatConfig {
|
|
3589
|
+
ikey: string;
|
|
3590
|
+
endpoint: string;
|
|
3591
|
+
version?: string;
|
|
3592
|
+
}
|
|
3593
|
+
|
|
3562
3594
|
/**
|
|
3563
3595
|
* Identifies a simple interface to allow you to override the storage mechanism used
|
|
3564
3596
|
* to track unsent and unacknowledged events. When provided it must provide both
|