@microsoft/applicationinsights-react-native 3.0.3 → 4.0.0-nightly.2306-02

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 Native Plugin, 3.0.3
2
+ * Application Insights JavaScript SDK - React Native Plugin, 4.0.0-nightly.2306-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -1070,7 +1070,7 @@
1070
1070
  }
1071
1071
 
1072
1072
  var _objDefineProperty = ObjDefineProperty;
1073
- var version = '2.8.14';
1073
+ var version = '2.8.12';
1074
1074
  var instanceName = "." + newId(6);
1075
1075
  var _dataUid = 0;
1076
1076
  function _createAccessor(target, prop, value) {
@@ -1691,7 +1691,6 @@
1691
1691
  var AnalyticsPluginIdentifier = "ApplicationInsightsAnalytics";
1692
1692
 
1693
1693
  var UNDEF_VALUE = undefined;
1694
- var NULL_VALUE = null;
1695
1694
  var EMPTY = "";
1696
1695
  var FUNCTION = "function";
1697
1696
  var NUMBER = "number";
@@ -1740,7 +1739,7 @@
1740
1739
  }
1741
1740
  else {
1742
1741
  try {
1743
- propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? (isNumber(format) ? format : 4) : UNDEF_VALUE);
1742
+ propertyValueDump = JSON.stringify(object, null, format ? (isNumber(format) ? format : 4) : UNDEF_VALUE);
1744
1743
  }
1745
1744
  catch (e) {
1746
1745
  propertyValueDump = " - " + dumpObj(e, format);
@@ -1771,7 +1770,7 @@
1771
1770
  function _createTimerHandler(startTimer, refreshFn, cancelFn) {
1772
1771
  var _a;
1773
1772
  var ref = true;
1774
- var timerId = startTimer ? refreshFn(NULL_VALUE) : NULL_VALUE;
1773
+ var timerId = startTimer ? refreshFn(null) : null;
1775
1774
  var theTimerHandler;
1776
1775
  var _unref = function () {
1777
1776
  ref = false;
@@ -1798,7 +1797,7 @@
1798
1797
  };
1799
1798
  var _cancel = function () {
1800
1799
  timerId && cancelFn(timerId);
1801
- timerId = NULL_VALUE;
1800
+ timerId = null;
1802
1801
  };
1803
1802
  var _setEnabled = function (value) {
1804
1803
  !value && timerId && _cancel();
@@ -1820,7 +1819,7 @@
1820
1819
  return {
1821
1820
  h: theTimerHandler,
1822
1821
  dn: function () {
1823
- timerId = NULL_VALUE;
1822
+ timerId = null;
1824
1823
  }
1825
1824
  };
1826
1825
  }