@microsoft/applicationinsights-web-basic 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/aib.2.js +39 -19
- package/browser/aib.2.js.map +1 -1
- package/browser/aib.2.min.js +2 -2
- package/browser/aib.2.min.js.map +1 -1
- package/browser/aib.3.0.0-beta.2210-10.integrity.json +26 -0
- package/browser/{aib.3.0.0-beta.2210-08.js → aib.3.0.0-beta.2210-10.js} +40 -20
- package/browser/aib.3.0.0-beta.2210-10.js.map +1 -0
- package/browser/aib.3.0.0-beta.2210-10.min.js +6 -0
- package/browser/aib.3.0.0-beta.2210-10.min.js.map +1 -0
- package/dist/applicationinsights-web-basic.api.json +24 -2
- package/dist/applicationinsights-web-basic.d.ts +1 -1
- package/dist/applicationinsights-web-basic.js +39 -19
- package/dist/applicationinsights-web-basic.js.map +1 -1
- package/dist/applicationinsights-web-basic.min.js +2 -2
- package/dist/applicationinsights-web-basic.min.js.map +1 -1
- package/dist/applicationinsights-web-basic.rollup.d.ts +1 -1
- package/dist-esm/__DynamicConstants.js +1 -1
- package/dist-esm/index.js +1 -1
- package/package.json +4 -4
- package/types/tsdoc-metadata.json +1 -1
- package/browser/aib.3.0.0-beta.2210-08.integrity.json +0 -26
- package/browser/aib.3.0.0-beta.2210-08.js.map +0 -1
- package/browser/aib.3.0.0-beta.2210-08.min.js +0 -6
- package/browser/aib.3.0.0-beta.2210-08.min.js.map +0 -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",
|
|
@@ -182,6 +182,7 @@
|
|
|
182
182
|
"text": "export declare const enum _eInternalMessageId "
|
|
183
183
|
}
|
|
184
184
|
],
|
|
185
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCore/types/JavaScriptSDK.Enums/LoggingEnums.d.ts",
|
|
185
186
|
"releaseTag": "Public",
|
|
186
187
|
"name": "_eInternalMessageId",
|
|
187
188
|
"preserveMemberOrder": false,
|
|
@@ -1992,6 +1993,7 @@
|
|
|
1992
1993
|
"text": " "
|
|
1993
1994
|
}
|
|
1994
1995
|
],
|
|
1996
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCore/types/JavaScriptSDK/AppInsightsCore.d.ts",
|
|
1995
1997
|
"releaseTag": "Public",
|
|
1996
1998
|
"name": "AppInsightsCore",
|
|
1997
1999
|
"preserveMemberOrder": false,
|
|
@@ -3783,6 +3785,7 @@
|
|
|
3783
3785
|
"text": "export declare class ApplicationInsights "
|
|
3784
3786
|
}
|
|
3785
3787
|
],
|
|
3788
|
+
"fileUrlPath": "../D:/a/1/s/AISKULight/types/index.d.ts",
|
|
3786
3789
|
"releaseTag": "Public",
|
|
3787
3790
|
"name": "ApplicationInsights",
|
|
3788
3791
|
"preserveMemberOrder": false,
|
|
@@ -4446,6 +4449,7 @@
|
|
|
4446
4449
|
"text": "export declare const enum eSeverityLevel "
|
|
4447
4450
|
}
|
|
4448
4451
|
],
|
|
4452
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCommon/types/Interfaces/Contracts/SeverityLevel.d.ts",
|
|
4449
4453
|
"releaseTag": "Public",
|
|
4450
4454
|
"name": "eSeverityLevel",
|
|
4451
4455
|
"preserveMemberOrder": false,
|
|
@@ -4576,6 +4580,7 @@
|
|
|
4576
4580
|
"text": " "
|
|
4577
4581
|
}
|
|
4578
4582
|
],
|
|
4583
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCore/types/JavaScriptSDK.Interfaces/IAppInsightsCore.d.ts",
|
|
4579
4584
|
"releaseTag": "Public",
|
|
4580
4585
|
"name": "IAppInsightsCore",
|
|
4581
4586
|
"preserveMemberOrder": false,
|
|
@@ -6052,6 +6057,7 @@
|
|
|
6052
6057
|
"text": "export interface IAutoExceptionTelemetry "
|
|
6053
6058
|
}
|
|
6054
6059
|
],
|
|
6060
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCommon/types/Interfaces/IExceptionTelemetry.d.ts",
|
|
6055
6061
|
"releaseTag": "Public",
|
|
6056
6062
|
"name": "IAutoExceptionTelemetry",
|
|
6057
6063
|
"preserveMemberOrder": false,
|
|
@@ -6318,6 +6324,7 @@
|
|
|
6318
6324
|
"text": "export interface IConfiguration "
|
|
6319
6325
|
}
|
|
6320
6326
|
],
|
|
6327
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCore/types/JavaScriptSDK.Interfaces/IConfiguration.d.ts",
|
|
6321
6328
|
"releaseTag": "Public",
|
|
6322
6329
|
"name": "IConfiguration",
|
|
6323
6330
|
"preserveMemberOrder": false,
|
|
@@ -6999,6 +7006,7 @@
|
|
|
6999
7006
|
"text": " "
|
|
7000
7007
|
}
|
|
7001
7008
|
],
|
|
7009
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCommon/types/Interfaces/IDependencyTelemetry.d.ts",
|
|
7002
7010
|
"releaseTag": "Public",
|
|
7003
7011
|
"name": "IDependencyTelemetry",
|
|
7004
7012
|
"preserveMemberOrder": false,
|
|
@@ -7328,6 +7336,7 @@
|
|
|
7328
7336
|
"text": " "
|
|
7329
7337
|
}
|
|
7330
7338
|
],
|
|
7339
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCommon/types/Interfaces/IEventTelemetry.d.ts",
|
|
7331
7340
|
"releaseTag": "Public",
|
|
7332
7341
|
"name": "IEventTelemetry",
|
|
7333
7342
|
"preserveMemberOrder": false,
|
|
@@ -7413,6 +7422,7 @@
|
|
|
7413
7422
|
"text": "> "
|
|
7414
7423
|
}
|
|
7415
7424
|
],
|
|
7425
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCore/types/JavaScriptSDK.Interfaces/IAppInsightsCore.d.ts",
|
|
7416
7426
|
"releaseTag": "Public",
|
|
7417
7427
|
"typeParameters": [
|
|
7418
7428
|
{
|
|
@@ -7560,6 +7570,7 @@
|
|
|
7560
7570
|
"text": " "
|
|
7561
7571
|
}
|
|
7562
7572
|
],
|
|
7573
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCommon/types/Interfaces/IMetricTelemetry.d.ts",
|
|
7563
7574
|
"releaseTag": "Public",
|
|
7564
7575
|
"name": "IMetricTelemetry",
|
|
7565
7576
|
"preserveMemberOrder": false,
|
|
@@ -7780,6 +7791,7 @@
|
|
|
7780
7791
|
"text": " "
|
|
7781
7792
|
}
|
|
7782
7793
|
],
|
|
7794
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCommon/types/Interfaces/IPageViewPerformanceTelemetry.d.ts",
|
|
7783
7795
|
"releaseTag": "Public",
|
|
7784
7796
|
"name": "IPageViewPerformanceTelemetry",
|
|
7785
7797
|
"preserveMemberOrder": false,
|
|
@@ -8027,6 +8039,7 @@
|
|
|
8027
8039
|
"text": " "
|
|
8028
8040
|
}
|
|
8029
8041
|
],
|
|
8042
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCommon/types/Interfaces/IPageViewTelemetry.d.ts",
|
|
8030
8043
|
"releaseTag": "Public",
|
|
8031
8044
|
"name": "IPageViewTelemetry",
|
|
8032
8045
|
"preserveMemberOrder": false,
|
|
@@ -8238,6 +8251,7 @@
|
|
|
8238
8251
|
"text": "export interface IPlugin "
|
|
8239
8252
|
}
|
|
8240
8253
|
],
|
|
8254
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCore/types/JavaScriptSDK.Interfaces/ITelemetryPlugin.d.ts",
|
|
8241
8255
|
"releaseTag": "Public",
|
|
8242
8256
|
"name": "IPlugin",
|
|
8243
8257
|
"preserveMemberOrder": false,
|
|
@@ -8472,6 +8486,7 @@
|
|
|
8472
8486
|
"text": "export interface ITelemetryItem "
|
|
8473
8487
|
}
|
|
8474
8488
|
],
|
|
8489
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCore/types/JavaScriptSDK.Interfaces/ITelemetryItem.d.ts",
|
|
8475
8490
|
"releaseTag": "Public",
|
|
8476
8491
|
"name": "ITelemetryItem",
|
|
8477
8492
|
"preserveMemberOrder": false,
|
|
@@ -8765,6 +8780,7 @@
|
|
|
8765
8780
|
"text": " "
|
|
8766
8781
|
}
|
|
8767
8782
|
],
|
|
8783
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCore/types/JavaScriptSDK.Interfaces/ITelemetryPlugin.d.ts",
|
|
8768
8784
|
"releaseTag": "Public",
|
|
8769
8785
|
"name": "ITelemetryPlugin",
|
|
8770
8786
|
"preserveMemberOrder": false,
|
|
@@ -8872,6 +8888,7 @@
|
|
|
8872
8888
|
"text": " "
|
|
8873
8889
|
}
|
|
8874
8890
|
],
|
|
8891
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCommon/types/Interfaces/ITraceTelemetry.d.ts",
|
|
8875
8892
|
"releaseTag": "Public",
|
|
8876
8893
|
"name": "ITraceTelemetry",
|
|
8877
8894
|
"preserveMemberOrder": false,
|
|
@@ -9016,6 +9033,7 @@
|
|
|
9016
9033
|
"text": ";"
|
|
9017
9034
|
}
|
|
9018
9035
|
],
|
|
9036
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCore/types/JavaScriptSDK/HelperFuncs.d.ts",
|
|
9019
9037
|
"returnTypeTokenRange": {
|
|
9020
9038
|
"startIndex": 9,
|
|
9021
9039
|
"endIndex": 10
|
|
@@ -9110,6 +9128,7 @@
|
|
|
9110
9128
|
"text": " "
|
|
9111
9129
|
}
|
|
9112
9130
|
],
|
|
9131
|
+
"fileUrlPath": "../D:/a/1/s/channels/applicationinsights-channel-js/types/Sender.d.ts",
|
|
9113
9132
|
"releaseTag": "Public",
|
|
9114
9133
|
"name": "Sender",
|
|
9115
9134
|
"preserveMemberOrder": false,
|
|
@@ -10248,6 +10267,7 @@
|
|
|
10248
10267
|
"text": "export declare const enum SendRequestReason "
|
|
10249
10268
|
}
|
|
10250
10269
|
],
|
|
10270
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCore/types/JavaScriptSDK.Enums/SendRequestReason.d.ts",
|
|
10251
10271
|
"releaseTag": "Public",
|
|
10252
10272
|
"name": "SendRequestReason",
|
|
10253
10273
|
"preserveMemberOrder": false,
|
|
@@ -10487,6 +10507,7 @@
|
|
|
10487
10507
|
"text": ";"
|
|
10488
10508
|
}
|
|
10489
10509
|
],
|
|
10510
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCommon/types/Interfaces/Contracts/SeverityLevel.d.ts",
|
|
10490
10511
|
"releaseTag": "Public",
|
|
10491
10512
|
"name": "SeverityLevel",
|
|
10492
10513
|
"typeTokenRange": {
|
|
@@ -10526,6 +10547,7 @@
|
|
|
10526
10547
|
"text": ">"
|
|
10527
10548
|
}
|
|
10528
10549
|
],
|
|
10550
|
+
"fileUrlPath": "../D:/a/1/s/shared/AppInsightsCommon/types/Interfaces/Contracts/SeverityLevel.d.ts",
|
|
10529
10551
|
"isReadonly": true,
|
|
10530
10552
|
"releaseTag": "Public",
|
|
10531
10553
|
"name": "SeverityLevel",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript Web SDK - Basic, 3.0.0-beta.2210-
|
|
2
|
+
* Application Insights JavaScript Web SDK - Basic, 3.0.0-beta.2210-10
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -1063,6 +1063,22 @@
|
|
|
1063
1063
|
var _DYN_SPAN_ID = "spanId";
|
|
1064
1064
|
var _DYN_TRACE_FLAGS = "traceFlags";
|
|
1065
1065
|
|
|
1066
|
+
var aggregationErrorType;
|
|
1067
|
+
function throwAggregationError(message, sourceErrors) {
|
|
1068
|
+
if (!aggregationErrorType) {
|
|
1069
|
+
aggregationErrorType = createCustomError("AggregationError", function (self, args) {
|
|
1070
|
+
if (args[_DYN_LENGTH$2 ] > 1) {
|
|
1071
|
+
self.errors = args[1];
|
|
1072
|
+
}
|
|
1073
|
+
});
|
|
1074
|
+
}
|
|
1075
|
+
var theMessage = message || "One or more errors occurred.";
|
|
1076
|
+
arrForEach(sourceErrors, function (srcError, idx) {
|
|
1077
|
+
theMessage += "\n".concat(idx, " > ").concat(dumpObj(srcError));
|
|
1078
|
+
});
|
|
1079
|
+
throw new aggregationErrorType(message, sourceErrors || []);
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1066
1082
|
var UNDEFINED_VALUE$1 = undefined;
|
|
1067
1083
|
var STR_EMPTY = "";
|
|
1068
1084
|
var STR_CHANNELS = "channels";
|
|
@@ -1478,7 +1494,7 @@
|
|
|
1478
1494
|
}
|
|
1479
1495
|
|
|
1480
1496
|
var _objDefineProperty = ObjDefineProperty;
|
|
1481
|
-
var version = "3.0.0-beta.2210-
|
|
1497
|
+
var version = "3.0.0-beta.2210-10";
|
|
1482
1498
|
var instanceName = "." + newId(6);
|
|
1483
1499
|
var _dataUid = 0;
|
|
1484
1500
|
function _createAccessor(target, prop, value) {
|
|
@@ -1789,14 +1805,11 @@
|
|
|
1789
1805
|
});
|
|
1790
1806
|
}
|
|
1791
1807
|
catch (e) {
|
|
1792
|
-
var message = "Watcher [" + dumpObj(callback) + "] failed [" + dumpObj(e) + "]";
|
|
1793
1808
|
var logger = cfgHandler[_DYN_LOGGER ];
|
|
1794
1809
|
if (logger) {
|
|
1795
|
-
|
|
1796
|
-
}
|
|
1797
|
-
else {
|
|
1798
|
-
throwInvalidAccess(message);
|
|
1810
|
+
logger[_DYN_THROW_INTERNAL ](1 , 107 , "Watcher [" + dumpObj(callback) + "] failed [" + dumpObj(e) + "]");
|
|
1799
1811
|
}
|
|
1812
|
+
throw e;
|
|
1800
1813
|
}
|
|
1801
1814
|
finally {
|
|
1802
1815
|
theState.act = prevWatcher || null;
|
|
@@ -1810,13 +1823,27 @@
|
|
|
1810
1823
|
_watcherTimer.cancel();
|
|
1811
1824
|
_watcherTimer = null;
|
|
1812
1825
|
}
|
|
1826
|
+
var watcherFailures_1 = [];
|
|
1813
1827
|
arrForEach(notifyHandlers, function (handler) {
|
|
1814
1828
|
if (handler.fn) {
|
|
1815
|
-
|
|
1829
|
+
try {
|
|
1830
|
+
_useHandler(handler, handler.fn);
|
|
1831
|
+
}
|
|
1832
|
+
catch (e) {
|
|
1833
|
+
watcherFailures_1[_DYN_PUSH$1 ](e);
|
|
1834
|
+
}
|
|
1816
1835
|
}
|
|
1817
1836
|
});
|
|
1818
1837
|
if (_waitingHandlers) {
|
|
1819
|
-
|
|
1838
|
+
try {
|
|
1839
|
+
_notifyWatchers();
|
|
1840
|
+
}
|
|
1841
|
+
catch (e) {
|
|
1842
|
+
watcherFailures_1[_DYN_PUSH$1 ](e);
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
if (watcherFailures_1[_DYN_LENGTH$2 ] > 0) {
|
|
1846
|
+
throwAggregationError("Unexpected watcher error occurred: ", watcherFailures_1);
|
|
1820
1847
|
}
|
|
1821
1848
|
}
|
|
1822
1849
|
}
|
|
@@ -3676,10 +3703,8 @@
|
|
|
3676
3703
|
}
|
|
3677
3704
|
}));
|
|
3678
3705
|
_notificationManager = notificationManager;
|
|
3679
|
-
_self[strNotificationManager] = notificationManager;
|
|
3680
3706
|
_initDebugListener();
|
|
3681
3707
|
_initPerfManager();
|
|
3682
|
-
_initExtConfig();
|
|
3683
3708
|
_self[_DYN_LOGGER ] = logger || new DiagnosticLogger(config);
|
|
3684
3709
|
_configHandler[_DYN_LOGGER ] = _self[_DYN_LOGGER ];
|
|
3685
3710
|
var cfgExtensions = config[STR_EXTENSIONS ];
|
|
@@ -3736,9 +3761,7 @@
|
|
|
3736
3761
|
return _notificationManager;
|
|
3737
3762
|
};
|
|
3738
3763
|
_self[_DYN_ADD_NOTIFICATION_LIS1 ] = function (listener) {
|
|
3739
|
-
|
|
3740
|
-
_notificationManager[_DYN_ADD_NOTIFICATION_LIS1 ](listener);
|
|
3741
|
-
}
|
|
3764
|
+
_self[_DYN_GET_NOTIFY_MGR ]()[_DYN_ADD_NOTIFICATION_LIS1 ](listener);
|
|
3742
3765
|
};
|
|
3743
3766
|
_self[_DYN_REMOVE_NOTIFICATION_2 ] = function (listener) {
|
|
3744
3767
|
if (_notificationManager) {
|
|
@@ -3916,7 +3939,6 @@
|
|
|
3916
3939
|
});
|
|
3917
3940
|
}
|
|
3918
3941
|
details[_DYN_SET_DF ](theConfig, defaultConfig);
|
|
3919
|
-
_initExtConfig();
|
|
3920
3942
|
});
|
|
3921
3943
|
_configHandler[_DYN_NOTIFY ]();
|
|
3922
3944
|
_doUpdate(updateState);
|
|
@@ -4141,6 +4163,7 @@
|
|
|
4141
4163
|
return true;
|
|
4142
4164
|
}
|
|
4143
4165
|
function _initDebugListener() {
|
|
4166
|
+
!_notificationManager && _self[_DYN_GET_NOTIFY_MGR ]();
|
|
4144
4167
|
_addUnloadHook(_configHandler[_DYN_WATCH ](function (details) {
|
|
4145
4168
|
var disableDbgExt = details.cfg.disableDbgExt;
|
|
4146
4169
|
if (disableDbgExt === true && _debugListener) {
|
|
@@ -4164,9 +4187,6 @@
|
|
|
4164
4187
|
}
|
|
4165
4188
|
}));
|
|
4166
4189
|
}
|
|
4167
|
-
function _initExtConfig() {
|
|
4168
|
-
_configHandler.cfg[STR_EXTENSION_CONFIG ].NotificationManager = _notificationManager;
|
|
4169
|
-
}
|
|
4170
4190
|
function _doUpdate(updateState) {
|
|
4171
4191
|
var updateCtx = createProcessTelemetryUpdateContext(_getPluginChain(), _self);
|
|
4172
4192
|
if (!_self._updateHook || _self._updateHook(updateCtx, updateState) !== true) {
|
|
@@ -5662,7 +5682,7 @@
|
|
|
5662
5682
|
}
|
|
5663
5683
|
}
|
|
5664
5684
|
var EnvelopeCreator = {
|
|
5665
|
-
Version: "3.0.0-beta.2210-
|
|
5685
|
+
Version: "3.0.0-beta.2210-10"
|
|
5666
5686
|
};
|
|
5667
5687
|
function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
|
|
5668
5688
|
EnvelopeCreatorInit(logger, telemetryItem);
|