@microsoft/applicationinsights-common 3.1.0-nightly3.2401-23 → 3.1.0-nightly3.2402-03
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 +11 -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 +13 -4
- 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 +13 -4
- 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 +11 -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 +14 -1
- package/dist-es5/Enums.js.map +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 +5 -1
- package/dist-es5/Telemetry/Exception.js.map +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 +2 -2
- package/dist-es5/applicationinsights-common.js.map +1 -1
- package/package.json +2 -2
- package/types/applicationinsights-common.d.ts +22 -1
- package/types/applicationinsights-common.namespaced.d.ts +22 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 3.1.0-nightly3.
|
|
2
|
+
* Application Insights JavaScript SDK - Common, 3.1.0-nightly3.2402-03
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
'use strict';
|
|
@@ -1277,7 +1277,7 @@ function newId(maxLength) {
|
|
|
1277
1277
|
return result;
|
|
1278
1278
|
}
|
|
1279
1279
|
|
|
1280
|
-
var version =
|
|
1280
|
+
var version = "3.0.5";
|
|
1281
1281
|
var instanceName = "." + newId(6);
|
|
1282
1282
|
var _dataUid = 0;
|
|
1283
1283
|
function _canAcceptData(target) {
|
|
@@ -2864,6 +2864,10 @@ var DistributedTracingModes = createEnumStyle({
|
|
|
2864
2864
|
AI_AND_W3C: 1 ,
|
|
2865
2865
|
W3C: 2
|
|
2866
2866
|
});
|
|
2867
|
+
var EventPersistence = createEnumStyle({
|
|
2868
|
+
Normal: 1 ,
|
|
2869
|
+
Critical: 2
|
|
2870
|
+
});
|
|
2867
2871
|
|
|
2868
2872
|
var _canUseLocalStorage = undefined;
|
|
2869
2873
|
var _canUseSessionStorage = undefined;
|
|
@@ -3672,6 +3676,9 @@ var Exception = /** @class */ (function () {
|
|
|
3672
3676
|
if (!properties) {
|
|
3673
3677
|
properties = {};
|
|
3674
3678
|
}
|
|
3679
|
+
if (id) {
|
|
3680
|
+
properties.id = id;
|
|
3681
|
+
}
|
|
3675
3682
|
_self[_DYN_EXCEPTIONS ] = [new _ExceptionDetails(logger, exception, properties)];
|
|
3676
3683
|
_self[_DYN_PROPERTIES ] = dataSanitizeProperties(logger, properties);
|
|
3677
3684
|
_self[_DYN_MEASUREMENTS ] = dataSanitizeMeasurements(logger, measurements);
|
|
@@ -3691,6 +3698,7 @@ var Exception = /** @class */ (function () {
|
|
|
3691
3698
|
}
|
|
3692
3699
|
if (exception.id) {
|
|
3693
3700
|
_self.id = exception.id;
|
|
3701
|
+
exception[_DYN_PROPERTIES ].id = exception.id;
|
|
3694
3702
|
}
|
|
3695
3703
|
if (exception[_DYN_PROBLEM_GROUP ]) {
|
|
3696
3704
|
_self[_DYN_PROBLEM_GROUP ] = exception[_DYN_PROBLEM_GROUP ];
|
|
@@ -4410,6 +4418,7 @@ exports.DisabledPropertyName = DisabledPropertyName;
|
|
|
4410
4418
|
exports.DistributedTracingModes = DistributedTracingModes;
|
|
4411
4419
|
exports.Envelope = Envelope;
|
|
4412
4420
|
exports.Event = Event$1;
|
|
4421
|
+
exports.EventPersistence = EventPersistence;
|
|
4413
4422
|
exports.Exception = Exception;
|
|
4414
4423
|
exports.Extensions = Extensions;
|
|
4415
4424
|
exports.HttpMethod = HttpMethod;
|