@microsoft/applicationinsights-common 3.0.0-beta.2304-10 → 3.0.0-beta.2304-12
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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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/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 +6 -0
- package/dist-es5/Interfaces/IStorageBuffer.js.map +1 -0
- 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/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 +22 -1
- package/types/applicationinsights-common.namespaced.d.ts +22 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/applicationinsights-common",
|
|
3
|
-
"version": "3.0.0-beta.2304-
|
|
3
|
+
"version": "3.0.0-beta.2304-12",
|
|
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": "3.0.1",
|
|
55
|
-
"@microsoft/applicationinsights-core-js": "3.0.0-beta.2304-
|
|
55
|
+
"@microsoft/applicationinsights-core-js": "3.0.0-beta.2304-12",
|
|
56
56
|
"@microsoft/dynamicproto-js": "^2.0.2",
|
|
57
57
|
"@nevware21/ts-utils": ">= 0.9.4 < 2.x"
|
|
58
58
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights Common JavaScript Library, 3.0.0-beta.2304-
|
|
2
|
+
* Microsoft Application Insights Common JavaScript Library, 3.0.0-beta.2304-12
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -726,6 +726,10 @@ export declare interface IConfig {
|
|
|
726
726
|
* @defaultValue true
|
|
727
727
|
*/
|
|
728
728
|
enableSessionStorageBuffer?: boolean;
|
|
729
|
+
/**
|
|
730
|
+
* If specified, overrides the storage & retrieval mechanism that is used to manage unsent telemetry.
|
|
731
|
+
*/
|
|
732
|
+
bufferOverride?: IStorageBuffer;
|
|
729
733
|
/**
|
|
730
734
|
* @deprecated Use either disableCookiesUsage or specify a cookieCfg with the enabled value set.
|
|
731
735
|
* If true, the SDK will not store or read any data from cookies. Default is false. As this field is being deprecated, when both
|
|
@@ -1882,6 +1886,23 @@ declare interface IStackFrame {
|
|
|
1882
1886
|
line: number;
|
|
1883
1887
|
}
|
|
1884
1888
|
|
|
1889
|
+
/**
|
|
1890
|
+
* Identifies a simple interface to allow you to override the storage mechanism used
|
|
1891
|
+
* to track unsent and unacknowledged events. When provided it must provide both
|
|
1892
|
+
* the get and set item functions.
|
|
1893
|
+
* @since 2.8.12
|
|
1894
|
+
*/
|
|
1895
|
+
export declare interface IStorageBuffer {
|
|
1896
|
+
/**
|
|
1897
|
+
* Retrieves the stored value for a given key
|
|
1898
|
+
*/
|
|
1899
|
+
getItem(logger: IDiagnosticLogger, name: string): string;
|
|
1900
|
+
/**
|
|
1901
|
+
* Sets the stored value for a given key
|
|
1902
|
+
*/
|
|
1903
|
+
setItem(logger: IDiagnosticLogger, name: string, data: string): boolean;
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1885
1906
|
export { isValidSpanId }
|
|
1886
1907
|
|
|
1887
1908
|
export { isValidTraceId }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights Common JavaScript Library, 3.0.0-beta.2304-
|
|
2
|
+
* Microsoft Application Insights Common JavaScript Library, 3.0.0-beta.2304-12
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -721,6 +721,10 @@ declare namespace ApplicationInsights {
|
|
|
721
721
|
* @defaultValue true
|
|
722
722
|
*/
|
|
723
723
|
enableSessionStorageBuffer?: boolean;
|
|
724
|
+
/**
|
|
725
|
+
* If specified, overrides the storage & retrieval mechanism that is used to manage unsent telemetry.
|
|
726
|
+
*/
|
|
727
|
+
bufferOverride?: IStorageBuffer;
|
|
724
728
|
/**
|
|
725
729
|
* @deprecated Use either disableCookiesUsage or specify a cookieCfg with the enabled value set.
|
|
726
730
|
* If true, the SDK will not store or read any data from cookies. Default is false. As this field is being deprecated, when both
|
|
@@ -1877,6 +1881,23 @@ declare namespace ApplicationInsights {
|
|
|
1877
1881
|
line: number;
|
|
1878
1882
|
}
|
|
1879
1883
|
|
|
1884
|
+
/**
|
|
1885
|
+
* Identifies a simple interface to allow you to override the storage mechanism used
|
|
1886
|
+
* to track unsent and unacknowledged events. When provided it must provide both
|
|
1887
|
+
* the get and set item functions.
|
|
1888
|
+
* @since 2.8.12
|
|
1889
|
+
*/
|
|
1890
|
+
interface IStorageBuffer {
|
|
1891
|
+
/**
|
|
1892
|
+
* Retrieves the stored value for a given key
|
|
1893
|
+
*/
|
|
1894
|
+
getItem(logger: IDiagnosticLogger, name: string): string;
|
|
1895
|
+
/**
|
|
1896
|
+
* Sets the stored value for a given key
|
|
1897
|
+
*/
|
|
1898
|
+
setItem(logger: IDiagnosticLogger, name: string, data: string): boolean;
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1880
1901
|
export { isValidSpanId }
|
|
1881
1902
|
|
|
1882
1903
|
export { isValidTraceId }
|