@microsoft/applicationinsights-web-basic 2.8.12-nightly.2303-06 → 2.8.12-nightly.2303-07
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.8.12-nightly.2303-07.integrity.json +26 -0
- package/browser/{aib.2.8.12-nightly.2303-06.js → aib.2.8.12-nightly.2303-07.js} +8 -8
- package/browser/aib.2.8.12-nightly.2303-07.js.map +1 -0
- package/browser/aib.2.8.12-nightly.2303-07.min.js +6 -0
- package/browser/aib.2.8.12-nightly.2303-07.min.js.map +1 -0
- package/browser/aib.2.js +7 -7
- 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/dist/applicationinsights-web-basic.api.json +27 -0
- package/dist/applicationinsights-web-basic.api.md +1 -0
- package/dist/applicationinsights-web-basic.d.ts +5 -1
- package/dist/applicationinsights-web-basic.js +7 -7
- 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 +5 -1
- package/dist-esm/__DynamicConstants.js +1 -1
- package/dist-esm/index.js +1 -1
- package/package.json +4 -4
- package/browser/aib.2.8.12-nightly.2303-06.integrity.json +0 -26
- package/browser/aib.2.8.12-nightly.2303-06.js.map +0 -1
- package/browser/aib.2.8.12-nightly.2303-06.min.js +0 -6
- package/browser/aib.2.8.12-nightly.2303-06.min.js.map +0 -1
|
@@ -4977,6 +4977,33 @@
|
|
|
4977
4977
|
"endIndex": 2
|
|
4978
4978
|
}
|
|
4979
4979
|
},
|
|
4980
|
+
{
|
|
4981
|
+
"kind": "PropertySignature",
|
|
4982
|
+
"canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration#enableDebug:member",
|
|
4983
|
+
"docComment": "/**\n * If enabled, uncaught exceptions will be thrown to help with debugging\n */\n",
|
|
4984
|
+
"excerptTokens": [
|
|
4985
|
+
{
|
|
4986
|
+
"kind": "Content",
|
|
4987
|
+
"text": "enableDebug?: "
|
|
4988
|
+
},
|
|
4989
|
+
{
|
|
4990
|
+
"kind": "Content",
|
|
4991
|
+
"text": "boolean"
|
|
4992
|
+
},
|
|
4993
|
+
{
|
|
4994
|
+
"kind": "Content",
|
|
4995
|
+
"text": ";"
|
|
4996
|
+
}
|
|
4997
|
+
],
|
|
4998
|
+
"isReadonly": false,
|
|
4999
|
+
"isOptional": true,
|
|
5000
|
+
"releaseTag": "Public",
|
|
5001
|
+
"name": "enableDebug",
|
|
5002
|
+
"propertyTypeTokenRange": {
|
|
5003
|
+
"startIndex": 1,
|
|
5004
|
+
"endIndex": 2
|
|
5005
|
+
}
|
|
5006
|
+
},
|
|
4980
5007
|
{
|
|
4981
5008
|
"kind": "PropertySignature",
|
|
4982
5009
|
"canonicalReference": "@microsoft/applicationinsights-web-basic!IConfiguration#enableDebugExceptions:member",
|
|
@@ -309,6 +309,7 @@ export interface IConfiguration {
|
|
|
309
309
|
disableInstrumentationKeyValidation?: boolean;
|
|
310
310
|
disablePageShowEvents?: string[];
|
|
311
311
|
disablePageUnloadEvents?: string[];
|
|
312
|
+
enableDebug?: boolean;
|
|
312
313
|
enableDebugExceptions?: boolean;
|
|
313
314
|
enablePerfMgr?: boolean;
|
|
314
315
|
endpointUrl?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft.ApplicationInsights, 2.8.12-nightly.2303-
|
|
2
|
+
* Microsoft.ApplicationInsights, 2.8.12-nightly.2303-07
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -1076,6 +1076,10 @@ declare namespace ApplicationInsights {
|
|
|
1076
1076
|
* 2: logs to iKey: severity >= WARNING
|
|
1077
1077
|
*/
|
|
1078
1078
|
loggingLevelTelemetry?: number;
|
|
1079
|
+
/**
|
|
1080
|
+
* If enabled, uncaught exceptions will be thrown to help with debugging
|
|
1081
|
+
*/
|
|
1082
|
+
enableDebug?: boolean;
|
|
1079
1083
|
/**
|
|
1080
1084
|
* If enabled, uncaught exceptions will be thrown to help with debugging
|
|
1081
1085
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript Web SDK - Basic, 2.8.12-nightly.2303-
|
|
2
|
+
* Application Insights JavaScript Web SDK - Basic, 2.8.12-nightly.2303-07
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -1221,17 +1221,17 @@
|
|
|
1221
1221
|
var _loggingLevelConsole;
|
|
1222
1222
|
var _loggingLevelTelemetry;
|
|
1223
1223
|
var _maxInternalMessageLimit;
|
|
1224
|
-
var
|
|
1224
|
+
var _enableDebug;
|
|
1225
1225
|
dynamicProto(DiagnosticLogger, this, function (_self) {
|
|
1226
1226
|
_setDefaultsFromConfig(config || {});
|
|
1227
1227
|
_self.consoleLoggingLevel = function () { return _loggingLevelConsole; };
|
|
1228
1228
|
_self.telemetryLoggingLevel = function () { return _loggingLevelTelemetry; };
|
|
1229
1229
|
_self.maxInternalMessageLimit = function () { return _maxInternalMessageLimit; };
|
|
1230
|
-
_self[_DYN_ENABLE_DEBUG_EXCEPTI4 ] = function () { return
|
|
1230
|
+
_self[_DYN_ENABLE_DEBUG_EXCEPTI4 ] = function () { return _enableDebug; };
|
|
1231
1231
|
_self.throwInternal = function (severity, msgId, msg, properties, isUserAct) {
|
|
1232
1232
|
if (isUserAct === void 0) { isUserAct = false; }
|
|
1233
1233
|
var message = new _InternalLogMessage(msgId, msg, isUserAct, properties);
|
|
1234
|
-
if (
|
|
1234
|
+
if (_enableDebug) {
|
|
1235
1235
|
throw dumpObj(message);
|
|
1236
1236
|
}
|
|
1237
1237
|
else {
|
|
@@ -1304,7 +1304,7 @@
|
|
|
1304
1304
|
_loggingLevelConsole = getCfgValue(config.loggingLevelConsole, 0);
|
|
1305
1305
|
_loggingLevelTelemetry = getCfgValue(config.loggingLevelTelemetry, 1);
|
|
1306
1306
|
_maxInternalMessageLimit = getCfgValue(config.maxMessageLimit, 25);
|
|
1307
|
-
|
|
1307
|
+
_enableDebug = getCfgValue(config.enableDebug, getCfgValue(config[_DYN_ENABLE_DEBUG_EXCEPTI4 ], false));
|
|
1308
1308
|
}
|
|
1309
1309
|
function _areInternalMessagesThrottled() {
|
|
1310
1310
|
return _messageCount >= _maxInternalMessageLimit;
|
|
@@ -1561,7 +1561,7 @@
|
|
|
1561
1561
|
}
|
|
1562
1562
|
|
|
1563
1563
|
var _objDefineProperty = ObjDefineProperty;
|
|
1564
|
-
var version = "2.8.12-nightly.2303-
|
|
1564
|
+
var version = "2.8.12-nightly.2303-07";
|
|
1565
1565
|
var instanceName = "." + newId(6);
|
|
1566
1566
|
var _dataUid = 0;
|
|
1567
1567
|
function _createAccessor(target, prop, value) {
|
|
@@ -5135,7 +5135,7 @@
|
|
|
5135
5135
|
}
|
|
5136
5136
|
}
|
|
5137
5137
|
var EnvelopeCreator = {
|
|
5138
|
-
Version: "2.8.12-nightly.2303-
|
|
5138
|
+
Version: "2.8.12-nightly.2303-07"
|
|
5139
5139
|
};
|
|
5140
5140
|
function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
|
|
5141
5141
|
EnvelopeCreatorInit(logger, telemetryItem);
|