@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,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadata": {
|
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
-
"toolVersion": "7.
|
|
5
|
-
"schemaVersion":
|
|
4
|
+
"toolVersion": "7.33.1",
|
|
5
|
+
"schemaVersion": 1010,
|
|
6
6
|
"oldestForwardsCompatibleVersion": 1001,
|
|
7
7
|
"tsdocConfig": {
|
|
8
8
|
"$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
|
|
@@ -191,6 +191,7 @@
|
|
|
191
191
|
"text": " "
|
|
192
192
|
}
|
|
193
193
|
],
|
|
194
|
+
"fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-properties-js/types/Interfaces/IPropTelemetryContext.d.ts",
|
|
194
195
|
"releaseTag": "Public",
|
|
195
196
|
"name": "IPropTelemetryContext",
|
|
196
197
|
"preserveMemberOrder": false,
|
|
@@ -871,6 +872,7 @@
|
|
|
871
872
|
"text": "export interface ISessionConfig "
|
|
872
873
|
}
|
|
873
874
|
],
|
|
875
|
+
"fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-properties-js/types/Context/Session.d.ts",
|
|
874
876
|
"releaseTag": "Public",
|
|
875
877
|
"name": "ISessionConfig",
|
|
876
878
|
"preserveMemberOrder": false,
|
|
@@ -1095,6 +1097,7 @@
|
|
|
1095
1097
|
"text": " "
|
|
1096
1098
|
}
|
|
1097
1099
|
],
|
|
1100
|
+
"fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-properties-js/types/PropertiesPlugin.d.ts",
|
|
1098
1101
|
"releaseTag": "Public",
|
|
1099
1102
|
"name": "PropertiesPlugin",
|
|
1100
1103
|
"preserveMemberOrder": false,
|
|
@@ -1410,6 +1413,7 @@
|
|
|
1410
1413
|
"text": " "
|
|
1411
1414
|
}
|
|
1412
1415
|
],
|
|
1416
|
+
"fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-properties-js/types/Context/Session.d.ts",
|
|
1413
1417
|
"releaseTag": "Public",
|
|
1414
1418
|
"name": "Session",
|
|
1415
1419
|
"preserveMemberOrder": false,
|
|
@@ -1519,6 +1523,7 @@
|
|
|
1519
1523
|
"text": "export declare class _SessionManager "
|
|
1520
1524
|
}
|
|
1521
1525
|
],
|
|
1526
|
+
"fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-properties-js/types/Context/Session.d.ts",
|
|
1522
1527
|
"releaseTag": "Public",
|
|
1523
1528
|
"name": "SessionManager",
|
|
1524
1529
|
"preserveMemberOrder": false,
|
|
@@ -1685,6 +1690,7 @@
|
|
|
1685
1690
|
"text": " "
|
|
1686
1691
|
}
|
|
1687
1692
|
],
|
|
1693
|
+
"fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-properties-js/types/TelemetryContext.d.ts",
|
|
1688
1694
|
"releaseTag": "Public",
|
|
1689
1695
|
"name": "TelemetryContext",
|
|
1690
1696
|
"preserveMemberOrder": false,
|
|
@@ -2791,6 +2797,7 @@
|
|
|
2791
2797
|
"text": " "
|
|
2792
2798
|
}
|
|
2793
2799
|
],
|
|
2800
|
+
"fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-properties-js/types/Context/TelemetryTrace.d.ts",
|
|
2794
2801
|
"releaseTag": "Public",
|
|
2795
2802
|
"name": "TelemetryTrace",
|
|
2796
2803
|
"preserveMemberOrder": false,
|
|
@@ -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
|
}
|