@microsoft/applicationinsights-properties-js 3.0.0-beta.2210-08 → 3.0.0-beta.2210-10
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-properties-js.integrity.json +9 -9
- package/browser/applicationinsights-properties-js.js +36 -9
- package/browser/applicationinsights-properties-js.js.map +1 -1
- package/browser/applicationinsights-properties-js.min.js +2 -2
- package/browser/applicationinsights-properties-js.min.js.map +1 -1
- package/dist/applicationinsights-properties-js.api.json +9 -2
- package/dist/applicationinsights-properties-js.d.ts +1 -1
- package/dist/applicationinsights-properties-js.js +36 -9
- package/dist/applicationinsights-properties-js.js.map +1 -1
- package/dist/applicationinsights-properties-js.min.js +2 -2
- package/dist/applicationinsights-properties-js.min.js.map +1 -1
- package/dist/applicationinsights-properties-js.rollup.d.ts +1 -1
- package/dist-esm/Context/Application.js +1 -1
- package/dist-esm/Context/Device.js +1 -1
- package/dist-esm/Context/Internal.js +1 -1
- package/dist-esm/Context/Location.js +1 -1
- package/dist-esm/Context/Session.js +1 -1
- package/dist-esm/Context/TelemetryTrace.js +1 -1
- package/dist-esm/Context/User.js +1 -1
- package/dist-esm/Interfaces/IPropTelemetryContext.js +1 -1
- package/dist-esm/Interfaces/IPropertiesConfig.js +1 -1
- package/dist-esm/PropertiesPlugin.js +1 -1
- package/dist-esm/TelemetryContext.js +1 -1
- package/dist-esm/__DynamicConstants.js +1 -1
- package/dist-esm/applicationinsights-properties-js.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-properties-js",
|
|
3
|
-
"version": "3.0.0-beta.2210-
|
|
3
|
+
"version": "3.0.0-beta.2210-10",
|
|
4
4
|
"ext": {
|
|
5
5
|
"@js": {
|
|
6
6
|
"file": "applicationinsights-properties-js.js",
|
|
7
7
|
"type": "text/javascript; charset=utf-8",
|
|
8
|
-
"integrity": "sha256-
|
|
8
|
+
"integrity": "sha256-CqiNJM9aNaxTmCexHJUZJp2gF5kecOsmrSFCwjTI38Q= sha384-nIKHtSGW/GrQkfTf1TIzFbJt969IyIUzQN/7Dx+czBttOfxhR7uJ+0XAbWhr+1L7 sha512-NfV6S+RhGTu/Hjnvcp4hhLMVXARWFEj5Ml92EzeLcc/39gF101tJbKXDGg4i5z5CyYzUy0E516RZ0msuKOXovA==",
|
|
9
9
|
"hashes": {
|
|
10
|
-
"sha256": "
|
|
11
|
-
"sha384": "+
|
|
12
|
-
"sha512": "
|
|
10
|
+
"sha256": "CqiNJM9aNaxTmCexHJUZJp2gF5kecOsmrSFCwjTI38Q=",
|
|
11
|
+
"sha384": "nIKHtSGW/GrQkfTf1TIzFbJt969IyIUzQN/7Dx+czBttOfxhR7uJ+0XAbWhr+1L7",
|
|
12
|
+
"sha512": "NfV6S+RhGTu/Hjnvcp4hhLMVXARWFEj5Ml92EzeLcc/39gF101tJbKXDGg4i5z5CyYzUy0E516RZ0msuKOXovA=="
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"@min.js": {
|
|
16
16
|
"file": "applicationinsights-properties-js.min.js",
|
|
17
17
|
"type": "text/javascript; charset=utf-8",
|
|
18
|
-
"integrity": "sha256-
|
|
18
|
+
"integrity": "sha256-cxKE9tcwsWprXJCUyEJNXl/zD1k3zCIGSW/MhyuWDS4= sha384-OXgymObIff9BzIaUvW3QK+ZHY6+1/jcWIIrvoVNxh3AVCMMQaxMJGtCIlr8FP2f2 sha512-0J3vo9TDh5XUwW8ORiPXsjOEeyafmOvkXT6W77exk+fDX571tvCqTbowUY5E/A4f77R7Pbc82zMVmq57G1gC0w==",
|
|
19
19
|
"hashes": {
|
|
20
|
-
"sha256": "
|
|
21
|
-
"sha384": "
|
|
22
|
-
"sha512": "
|
|
20
|
+
"sha256": "cxKE9tcwsWprXJCUyEJNXl/zD1k3zCIGSW/MhyuWDS4=",
|
|
21
|
+
"sha384": "OXgymObIff9BzIaUvW3QK+ZHY6+1/jcWIIrvoVNxh3AVCMMQaxMJGtCIlr8FP2f2",
|
|
22
|
+
"sha512": "0J3vo9TDh5XUwW8ORiPXsjOEeyafmOvkXT6W77exk+fDX571tvCqTbowUY5E/A4f77R7Pbc82zMVmq57G1gC0w=="
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2210-
|
|
2
|
+
* Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2210-10
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -848,6 +848,22 @@
|
|
|
848
848
|
var _DYN_SET_CTX = "setCtx";
|
|
849
849
|
var _DYN_COMPLETE = "complete";
|
|
850
850
|
|
|
851
|
+
var aggregationErrorType;
|
|
852
|
+
function throwAggregationError(message, sourceErrors) {
|
|
853
|
+
if (!aggregationErrorType) {
|
|
854
|
+
aggregationErrorType = createCustomError("AggregationError", function (self, args) {
|
|
855
|
+
if (args[_DYN_LENGTH$2 ] > 1) {
|
|
856
|
+
self.errors = args[1];
|
|
857
|
+
}
|
|
858
|
+
});
|
|
859
|
+
}
|
|
860
|
+
var theMessage = message || "One or more errors occurred.";
|
|
861
|
+
arrForEach(sourceErrors, function (srcError, idx) {
|
|
862
|
+
theMessage += "\n".concat(idx, " > ").concat(dumpObj(srcError));
|
|
863
|
+
});
|
|
864
|
+
throw new aggregationErrorType(message, sourceErrors || []);
|
|
865
|
+
}
|
|
866
|
+
|
|
851
867
|
var UNDEFINED_VALUE = undefined;
|
|
852
868
|
var STR_EMPTY = "";
|
|
853
869
|
var STR_CORE = "core";
|
|
@@ -1110,7 +1126,7 @@
|
|
|
1110
1126
|
}
|
|
1111
1127
|
|
|
1112
1128
|
var _objDefineProperty = ObjDefineProperty;
|
|
1113
|
-
var version = "3.0.0-beta.2210-
|
|
1129
|
+
var version = "3.0.0-beta.2210-10";
|
|
1114
1130
|
var instanceName = "." + newId(6);
|
|
1115
1131
|
var _dataUid = 0;
|
|
1116
1132
|
function _createAccessor(target, prop, value) {
|
|
@@ -1421,14 +1437,11 @@
|
|
|
1421
1437
|
});
|
|
1422
1438
|
}
|
|
1423
1439
|
catch (e) {
|
|
1424
|
-
var message = "Watcher [" + dumpObj(callback) + "] failed [" + dumpObj(e) + "]";
|
|
1425
1440
|
var logger = cfgHandler[_DYN_LOGGER ];
|
|
1426
1441
|
if (logger) {
|
|
1427
|
-
|
|
1428
|
-
}
|
|
1429
|
-
else {
|
|
1430
|
-
throwInvalidAccess(message);
|
|
1442
|
+
logger[_DYN_THROW_INTERNAL ](1 , 107 , "Watcher [" + dumpObj(callback) + "] failed [" + dumpObj(e) + "]");
|
|
1431
1443
|
}
|
|
1444
|
+
throw e;
|
|
1432
1445
|
}
|
|
1433
1446
|
finally {
|
|
1434
1447
|
theState.act = prevWatcher || null;
|
|
@@ -1442,13 +1455,27 @@
|
|
|
1442
1455
|
_watcherTimer.cancel();
|
|
1443
1456
|
_watcherTimer = null;
|
|
1444
1457
|
}
|
|
1458
|
+
var watcherFailures_1 = [];
|
|
1445
1459
|
arrForEach(notifyHandlers, function (handler) {
|
|
1446
1460
|
if (handler.fn) {
|
|
1447
|
-
|
|
1461
|
+
try {
|
|
1462
|
+
_useHandler(handler, handler.fn);
|
|
1463
|
+
}
|
|
1464
|
+
catch (e) {
|
|
1465
|
+
watcherFailures_1[_DYN_PUSH ](e);
|
|
1466
|
+
}
|
|
1448
1467
|
}
|
|
1449
1468
|
});
|
|
1450
1469
|
if (_waitingHandlers) {
|
|
1451
|
-
|
|
1470
|
+
try {
|
|
1471
|
+
_notifyWatchers();
|
|
1472
|
+
}
|
|
1473
|
+
catch (e) {
|
|
1474
|
+
watcherFailures_1[_DYN_PUSH ](e);
|
|
1475
|
+
}
|
|
1476
|
+
}
|
|
1477
|
+
if (watcherFailures_1[_DYN_LENGTH$2 ] > 0) {
|
|
1478
|
+
throwAggregationError("Unexpected watcher error occurred: ", watcherFailures_1);
|
|
1452
1479
|
}
|
|
1453
1480
|
}
|
|
1454
1481
|
}
|