@microsoft/applicationinsights-react-js 3.4.2-nightly.2302-06 → 3.4.2

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - React Plugin, 3.4.2-nightly.2302-06
2
+ * Application Insights JavaScript SDK - React Plugin, 3.4.2
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -124,7 +124,7 @@
124
124
  }
125
125
 
126
126
  /*!
127
- * Microsoft Dynamic Proto Utility, 1.1.7
127
+ * Microsoft Dynamic Proto Utility, 1.1.9
128
128
  * Copyright (c) Microsoft and contributors. All rights reserved.
129
129
  */
130
130
  var _a;
@@ -906,17 +906,17 @@
906
906
  var _loggingLevelConsole;
907
907
  var _loggingLevelTelemetry;
908
908
  var _maxInternalMessageLimit;
909
- var _enableDebugExceptions;
909
+ var _enableDebug;
910
910
  dynamicProto(DiagnosticLogger, this, function (_self) {
911
911
  _setDefaultsFromConfig(config || {});
912
912
  _self.consoleLoggingLevel = function () { return _loggingLevelConsole; };
913
913
  _self.telemetryLoggingLevel = function () { return _loggingLevelTelemetry; };
914
914
  _self.maxInternalMessageLimit = function () { return _maxInternalMessageLimit; };
915
- _self[_DYN_ENABLE_DEBUG_EXCEPTI4 ] = function () { return _enableDebugExceptions; };
915
+ _self[_DYN_ENABLE_DEBUG_EXCEPTI4 ] = function () { return _enableDebug; };
916
916
  _self.throwInternal = function (severity, msgId, msg, properties, isUserAct) {
917
917
  if (isUserAct === void 0) { isUserAct = false; }
918
918
  var message = new _InternalLogMessage(msgId, msg, isUserAct, properties);
919
- if (_enableDebugExceptions) {
919
+ if (_enableDebug) {
920
920
  throw dumpObj(message);
921
921
  }
922
922
  else {
@@ -989,7 +989,7 @@
989
989
  _loggingLevelConsole = getCfgValue(config.loggingLevelConsole, 0);
990
990
  _loggingLevelTelemetry = getCfgValue(config.loggingLevelTelemetry, 1);
991
991
  _maxInternalMessageLimit = getCfgValue(config.maxMessageLimit, 25);
992
- _enableDebugExceptions = getCfgValue(config[_DYN_ENABLE_DEBUG_EXCEPTI4 ], false);
992
+ _enableDebug = getCfgValue(config.enableDebug, getCfgValue(config[_DYN_ENABLE_DEBUG_EXCEPTI4 ], false));
993
993
  }
994
994
  function _areInternalMessagesThrottled() {
995
995
  return _messageCount >= _maxInternalMessageLimit;
@@ -1196,7 +1196,7 @@
1196
1196
  }
1197
1197
 
1198
1198
  var _objDefineProperty = ObjDefineProperty;
1199
- var version = '2.8.10';
1199
+ var version = '2.8.12';
1200
1200
  var instanceName = "." + newId(6);
1201
1201
  var _dataUid = 0;
1202
1202
  function _createAccessor(target, prop, value) {