@microsoft/applicationinsights-common 2.8.9-nightly.2210-03 → 2.8.9-nightly.2210-04
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 +46 -22
- 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.api.json +1 -1
- package/dist/applicationinsights-common.d.ts +1 -1
- package/dist/applicationinsights-common.js +46 -22
- 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 +3 -3
- package/types/tsdoc-metadata.json +1 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "applicationinsights-common",
|
|
3
|
-
"version": "2.8.9-nightly.2210-
|
|
3
|
+
"version": "2.8.9-nightly.2210-04",
|
|
4
4
|
"ext": {
|
|
5
5
|
"@js": {
|
|
6
6
|
"file": "applicationinsights-common.js",
|
|
7
7
|
"type": "text/javascript; charset=utf-8",
|
|
8
|
-
"integrity": "sha256-
|
|
8
|
+
"integrity": "sha256-tcPbtyDgoCTtpR3liMZxvzbDdwV1qE3BKRRBxFB+A7M= sha384-CmCGBc1jARDwGtWVM8Mjd7u6k8Y1p2KVk8Qfwu3skn2cr2s0FylkH/g9CG5O8Hp/ sha512-IVeeT0OwQLY+StPwJ0Q3X1mhQ/JFN9NqNjYExBX+XgFYNGj2jgJmexgWTsLiFswbvk+IyRaU3l0LchYBXsmDJg==",
|
|
9
9
|
"hashes": {
|
|
10
|
-
"sha256": "
|
|
11
|
-
"sha384": "
|
|
12
|
-
"sha512": "
|
|
10
|
+
"sha256": "tcPbtyDgoCTtpR3liMZxvzbDdwV1qE3BKRRBxFB+A7M=",
|
|
11
|
+
"sha384": "CmCGBc1jARDwGtWVM8Mjd7u6k8Y1p2KVk8Qfwu3skn2cr2s0FylkH/g9CG5O8Hp/",
|
|
12
|
+
"sha512": "IVeeT0OwQLY+StPwJ0Q3X1mhQ/JFN9NqNjYExBX+XgFYNGj2jgJmexgWTsLiFswbvk+IyRaU3l0LchYBXsmDJg=="
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"@min.js": {
|
|
16
16
|
"file": "applicationinsights-common.min.js",
|
|
17
17
|
"type": "text/javascript; charset=utf-8",
|
|
18
|
-
"integrity": "sha256-
|
|
18
|
+
"integrity": "sha256-AoNkhHVHwV4PSHPIekeGrf+urYMegvmVQyeNwl10tNo= sha384-lZeIWpxVFBeZbCOib/mQONJWqrQ2ESGdW+eoE7LA3EIoC+y+DGremrShZcmEXHkW sha512-Y1nNEBirDAVOjZbuILBqV7z+hFPq4TA071a96gAvEtL/huxUXYTizAhi97O/Pe/5b36NpgjUAXnBOE24RPa4cA==",
|
|
19
19
|
"hashes": {
|
|
20
|
-
"sha256": "
|
|
21
|
-
"sha384": "
|
|
22
|
-
"sha512": "
|
|
20
|
+
"sha256": "AoNkhHVHwV4PSHPIekeGrf+urYMegvmVQyeNwl10tNo=",
|
|
21
|
+
"sha384": "lZeIWpxVFBeZbCOib/mQONJWqrQ2ESGdW+eoE7LA3EIoC+y+DGremrShZcmEXHkW",
|
|
22
|
+
"sha512": "Y1nNEBirDAVOjZbuILBqV7z+hFPq4TA071a96gAvEtL/huxUXYTizAhi97O/Pe/5b36NpgjUAXnBOE24RPa4cA=="
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 2.8.9-nightly.2210-
|
|
2
|
+
* Application Insights JavaScript SDK - Common, 2.8.9-nightly.2210-04
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -23,21 +23,23 @@
|
|
|
23
23
|
var _cachedGlobal = null;
|
|
24
24
|
function getGlobal(useCached) {
|
|
25
25
|
if (useCached === void 0) { useCached = true; }
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
var result = useCached === false ? null : _cachedGlobal;
|
|
27
|
+
if (!result) {
|
|
28
|
+
if (typeof globalThis !== strShimUndefined) {
|
|
29
|
+
result = globalThis;
|
|
29
30
|
}
|
|
30
|
-
if (typeof self !== strShimUndefined
|
|
31
|
-
|
|
31
|
+
if (!result && typeof self !== strShimUndefined) {
|
|
32
|
+
result = self;
|
|
32
33
|
}
|
|
33
|
-
if (typeof window !== strShimUndefined
|
|
34
|
-
|
|
34
|
+
if (!result && typeof window !== strShimUndefined) {
|
|
35
|
+
result = window;
|
|
35
36
|
}
|
|
36
|
-
if (typeof global !== strShimUndefined
|
|
37
|
-
|
|
37
|
+
if (!result && typeof global !== strShimUndefined) {
|
|
38
|
+
result = global;
|
|
38
39
|
}
|
|
40
|
+
_cachedGlobal = result;
|
|
39
41
|
}
|
|
40
|
-
return
|
|
42
|
+
return result;
|
|
41
43
|
}
|
|
42
44
|
function throwTypeError(message) {
|
|
43
45
|
throw new TypeError(message);
|
|
@@ -482,9 +484,11 @@
|
|
|
482
484
|
}
|
|
483
485
|
|
|
484
486
|
/*!
|
|
485
|
-
* Microsoft Dynamic Proto Utility, 1.1.
|
|
487
|
+
* Microsoft Dynamic Proto Utility, 1.1.7
|
|
486
488
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
487
489
|
*/
|
|
490
|
+
var _a$1;
|
|
491
|
+
var UNDEFINED = "undefined";
|
|
488
492
|
var Constructor = 'constructor';
|
|
489
493
|
var Prototype = 'prototype';
|
|
490
494
|
var strFunction = 'function';
|
|
@@ -498,13 +502,37 @@
|
|
|
498
502
|
var UnknownValue = '_unknown_';
|
|
499
503
|
var str__Proto = "__proto__";
|
|
500
504
|
var DynProtoBaseProto = "_dyn" + str__Proto;
|
|
505
|
+
var DynProtoGlobalSettings = "__dynProto$Gbl";
|
|
501
506
|
var DynProtoCurrent = "_dynInstProto";
|
|
502
507
|
var strUseBaseInst = 'useBaseInst';
|
|
503
508
|
var strSetInstFuncs = 'setInstFuncs';
|
|
504
509
|
var Obj = Object;
|
|
505
510
|
var _objGetPrototypeOf = Obj["getPrototypeOf"];
|
|
506
511
|
var _objGetOwnProps = Obj["getOwnPropertyNames"];
|
|
507
|
-
|
|
512
|
+
function _getGlobal() {
|
|
513
|
+
var result;
|
|
514
|
+
if (typeof globalThis !== UNDEFINED) {
|
|
515
|
+
result = globalThis;
|
|
516
|
+
}
|
|
517
|
+
if (!result && typeof self !== UNDEFINED) {
|
|
518
|
+
result = self;
|
|
519
|
+
}
|
|
520
|
+
if (!result && typeof window !== UNDEFINED) {
|
|
521
|
+
result = window;
|
|
522
|
+
}
|
|
523
|
+
if (!result && typeof global !== UNDEFINED) {
|
|
524
|
+
result = global;
|
|
525
|
+
}
|
|
526
|
+
return result || {};
|
|
527
|
+
}
|
|
528
|
+
var _gbl = _getGlobal();
|
|
529
|
+
var _gblInst = _gbl[DynProtoGlobalSettings] || (_gbl[DynProtoGlobalSettings] = {
|
|
530
|
+
o: (_a$1 = {},
|
|
531
|
+
_a$1[strSetInstFuncs] = true,
|
|
532
|
+
_a$1[strUseBaseInst] = true,
|
|
533
|
+
_a$1),
|
|
534
|
+
n: 1000
|
|
535
|
+
});
|
|
508
536
|
function _hasOwnProperty(obj, prop) {
|
|
509
537
|
return obj && Obj[Prototype].hasOwnProperty.call(obj, prop);
|
|
510
538
|
}
|
|
@@ -698,15 +726,15 @@
|
|
|
698
726
|
}
|
|
699
727
|
var classProto = theClass[Prototype];
|
|
700
728
|
if (!_checkPrototype(classProto, target)) {
|
|
701
|
-
_throwTypeError("[" + _getObjName(theClass) + "]
|
|
729
|
+
_throwTypeError("[" + _getObjName(theClass) + "] not in hierarchy of [" + _getObjName(target) + "]");
|
|
702
730
|
}
|
|
703
731
|
var className = null;
|
|
704
732
|
if (_hasOwnProperty(classProto, DynClassName)) {
|
|
705
733
|
className = classProto[DynClassName];
|
|
706
734
|
}
|
|
707
735
|
else {
|
|
708
|
-
className = DynClassNamePrefix + _getObjName(theClass, "_") + "$" +
|
|
709
|
-
|
|
736
|
+
className = DynClassNamePrefix + _getObjName(theClass, "_") + "$" + _gblInst.n;
|
|
737
|
+
_gblInst.n++;
|
|
710
738
|
classProto[DynClassName] = className;
|
|
711
739
|
}
|
|
712
740
|
var perfOptions = dynamicProto[DynProtoDefaultOptions];
|
|
@@ -723,11 +751,7 @@
|
|
|
723
751
|
}
|
|
724
752
|
_populatePrototype(classProto, className, target, instFuncs, setInstanceFunc !== false);
|
|
725
753
|
}
|
|
726
|
-
|
|
727
|
-
setInstFuncs: true,
|
|
728
|
-
useBaseInst: true
|
|
729
|
-
};
|
|
730
|
-
dynamicProto[DynProtoDefaultOptions] = perfDefaults;
|
|
754
|
+
dynamicProto[DynProtoDefaultOptions] = _gblInst.o;
|
|
731
755
|
|
|
732
756
|
var strWindow = "window";
|
|
733
757
|
var strDocument = "document";
|
|
@@ -1148,7 +1172,7 @@
|
|
|
1148
1172
|
}
|
|
1149
1173
|
|
|
1150
1174
|
var _objDefineProperty = ObjDefineProperty;
|
|
1151
|
-
var version = "2.8.9-nightly.2210-
|
|
1175
|
+
var version = "2.8.9-nightly.2210-04";
|
|
1152
1176
|
var instanceName = "." + newId(6);
|
|
1153
1177
|
var _dataUid = 0;
|
|
1154
1178
|
function _createAccessor(target, prop, value) {
|