@microsoft/applicationinsights-react-native 2.5.1 → 2.5.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.
- package/browser/applicationinsights-react-native.js +11 -6
- package/browser/applicationinsights-react-native.js.map +1 -1
- package/browser/applicationinsights-react-native.min.js +2 -2
- package/browser/applicationinsights-react-native.min.js.map +1 -1
- package/dist/applicationinsights-react-native.api.json +1 -1
- package/dist/applicationinsights-react-native.d.ts +1 -1
- package/dist/applicationinsights-react-native.js +11 -6
- package/dist/applicationinsights-react-native.js.map +1 -1
- package/dist/applicationinsights-react-native.min.js +2 -2
- package/dist/applicationinsights-react-native.min.js.map +1 -1
- package/dist/applicationinsights-react-native.rollup.d.ts +1 -1
- package/dist-esm/Interfaces/INativeDevice.js +1 -1
- package/dist-esm/Interfaces/IReactNativePluginConfig.js +1 -1
- package/dist-esm/Interfaces/index.js +1 -1
- package/dist-esm/ReactNativePlugin.js +1 -1
- package/dist-esm/index.js +1 -1
- package/package.json +4 -4
- package/types/tsdoc-metadata.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - React Native Plugin, 2.5.
|
|
2
|
+
* Application Insights JavaScript SDK - React Native Plugin, 2.5.2
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
}
|
|
328
328
|
|
|
329
329
|
/*!
|
|
330
|
-
* Microsoft Dynamic Proto Utility, 1.1.
|
|
330
|
+
* Microsoft Dynamic Proto Utility, 1.1.5
|
|
331
331
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
332
332
|
*/
|
|
333
333
|
var Constructor = 'constructor';
|
|
@@ -340,6 +340,7 @@
|
|
|
340
340
|
var DynInstChkTag = '_dynInstChk';
|
|
341
341
|
var DynAllowInstChkTag = DynInstChkTag;
|
|
342
342
|
var DynProtoDefaultOptions = '_dfOpts';
|
|
343
|
+
var DynProtoPolyProto = "_dynProto";
|
|
343
344
|
var UnknownValue = '_unknown_';
|
|
344
345
|
var str__Proto = "__proto__";
|
|
345
346
|
var strUseBaseInst = 'useBaseInst';
|
|
@@ -361,8 +362,11 @@
|
|
|
361
362
|
if (_objGetPrototypeOf) {
|
|
362
363
|
return _objGetPrototypeOf(target);
|
|
363
364
|
}
|
|
364
|
-
var newProto = target[str__Proto] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
|
|
365
|
+
var newProto = target[DynProtoPolyProto] || target[str__Proto] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
|
|
365
366
|
if (newProto) {
|
|
367
|
+
if (!target[DynProtoPolyProto]) {
|
|
368
|
+
target[DynProtoPolyProto] = newProto;
|
|
369
|
+
}
|
|
366
370
|
return newProto;
|
|
367
371
|
}
|
|
368
372
|
}
|
|
@@ -521,8 +525,9 @@
|
|
|
521
525
|
visited.push(thisProto);
|
|
522
526
|
thisProto = _getObjProto(thisProto);
|
|
523
527
|
}
|
|
528
|
+
return false;
|
|
524
529
|
}
|
|
525
|
-
return
|
|
530
|
+
return true;
|
|
526
531
|
}
|
|
527
532
|
function _getObjName(target, unknownValue) {
|
|
528
533
|
if (_hasOwnProperty(target, Prototype)) {
|
|
@@ -720,7 +725,7 @@
|
|
|
720
725
|
if (isUserAct === void 0) { isUserAct = false; }
|
|
721
726
|
var message = new _InternalLogMessage(msgId, msg, isUserAct, properties);
|
|
722
727
|
if (_self.enableDebugExceptions()) {
|
|
723
|
-
throw message;
|
|
728
|
+
throw dumpObj(message);
|
|
724
729
|
}
|
|
725
730
|
else {
|
|
726
731
|
var logFunc = severity === 1 ? strErrorToConsole : strWarnToConsole;
|
|
@@ -1000,7 +1005,7 @@
|
|
|
1000
1005
|
}
|
|
1001
1006
|
|
|
1002
1007
|
var _objDefineProperty = ObjDefineProperty;
|
|
1003
|
-
var version = "2.8.
|
|
1008
|
+
var version = "2.8.2";
|
|
1004
1009
|
var instanceName = "." + newId(6);
|
|
1005
1010
|
var _dataUid = 0;
|
|
1006
1011
|
function _createAccessor(target, prop, value) {
|