@microsoft/applicationinsights-common 3.0.0-beta.2210-06 → 3.0.0-beta.2210-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 +21 -20
- 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 +21 -20
- 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/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/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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights Common JavaScript Library, 3.0.0-beta.2210-
|
|
2
|
+
* Microsoft Application Insights Common JavaScript Library, 3.0.0-beta.2210-08
|
|
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
|
-
* Application Insights JavaScript SDK - Common, 3.0.0-beta.2210-
|
|
2
|
+
* Application Insights JavaScript SDK - Common, 3.0.0-beta.2210-08
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -442,21 +442,23 @@
|
|
|
442
442
|
var _cachedGlobal = null;
|
|
443
443
|
function getGlobal(useCached) {
|
|
444
444
|
if (useCached === void 0) { useCached = true; }
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
445
|
+
var result = useCached === false ? null : _cachedGlobal;
|
|
446
|
+
if (!result) {
|
|
447
|
+
if (typeof globalThis !== strShimUndefined) {
|
|
448
|
+
result = globalThis;
|
|
448
449
|
}
|
|
449
|
-
if (typeof self !== strShimUndefined
|
|
450
|
-
|
|
450
|
+
if (!result && typeof self !== strShimUndefined) {
|
|
451
|
+
result = self;
|
|
451
452
|
}
|
|
452
|
-
if (typeof window !== strShimUndefined
|
|
453
|
-
|
|
453
|
+
if (!result && typeof window !== strShimUndefined) {
|
|
454
|
+
result = window;
|
|
454
455
|
}
|
|
455
|
-
if (typeof global !== strShimUndefined
|
|
456
|
-
|
|
456
|
+
if (!result && typeof global !== strShimUndefined) {
|
|
457
|
+
result = global;
|
|
457
458
|
}
|
|
459
|
+
_cachedGlobal = result;
|
|
458
460
|
}
|
|
459
|
-
return
|
|
461
|
+
return result;
|
|
460
462
|
}
|
|
461
463
|
function throwTypeError(message) {
|
|
462
464
|
throw new TypeError(message);
|
|
@@ -1038,7 +1040,7 @@
|
|
|
1038
1040
|
return result;
|
|
1039
1041
|
}
|
|
1040
1042
|
|
|
1041
|
-
var version = "3.0.0-beta.2210-
|
|
1043
|
+
var version = "3.0.0-beta.2210-08";
|
|
1042
1044
|
var instanceName = "." + newId(6);
|
|
1043
1045
|
var _dataUid = 0;
|
|
1044
1046
|
function createUniqueNamespace(name, includeVersion) {
|
|
@@ -1049,16 +1051,15 @@
|
|
|
1049
1051
|
var CFG_HANDLER_LINK = symbolFor("[[ai_dynCfg_1]]");
|
|
1050
1052
|
function _cfgDeepCopy(source) {
|
|
1051
1053
|
if (source) {
|
|
1054
|
+
var target_1;
|
|
1052
1055
|
if (isArray(source)) {
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
}
|
|
1058
|
-
return result_1;
|
|
1056
|
+
target_1 = [];
|
|
1057
|
+
target_1[_DYN_LENGTH$1 ] = source[_DYN_LENGTH$1 ];
|
|
1058
|
+
}
|
|
1059
|
+
else if (isPlainObject(source)) {
|
|
1060
|
+
target_1 = {};
|
|
1059
1061
|
}
|
|
1060
|
-
if (
|
|
1061
|
-
var target_1 = {};
|
|
1062
|
+
if (target_1) {
|
|
1062
1063
|
objForEachKey$1(source, function (key, value) {
|
|
1063
1064
|
target_1[key] = _cfgDeepCopy(value);
|
|
1064
1065
|
});
|