@microsoft/applicationinsights-react-native 2.4.5-nightly.2203-02 → 2.4.5-nightly.2204-23
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 +10 -5
- 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 +23 -13
- package/dist/applicationinsights-react-native.d.ts +1 -1
- package/dist/applicationinsights-react-native.js +10 -5
- 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.4.5-nightly.
|
|
2
|
+
* Application Insights JavaScript SDK - React Native Plugin, 2.4.5-nightly.2204-23
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
/*!
|
|
89
|
-
* Microsoft Dynamic Proto Utility, 1.1.
|
|
89
|
+
* Microsoft Dynamic Proto Utility, 1.1.5
|
|
90
90
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
91
91
|
*/
|
|
92
92
|
var Constructor = 'constructor';
|
|
@@ -99,6 +99,7 @@
|
|
|
99
99
|
var DynInstChkTag = '_dynInstChk';
|
|
100
100
|
var DynAllowInstChkTag = DynInstChkTag;
|
|
101
101
|
var DynProtoDefaultOptions = '_dfOpts';
|
|
102
|
+
var DynProtoPolyProto = "_dynProto";
|
|
102
103
|
var UnknownValue = '_unknown_';
|
|
103
104
|
var str__Proto = "__proto__";
|
|
104
105
|
var strUseBaseInst = 'useBaseInst';
|
|
@@ -120,8 +121,11 @@
|
|
|
120
121
|
if (_objGetPrototypeOf) {
|
|
121
122
|
return _objGetPrototypeOf(target);
|
|
122
123
|
}
|
|
123
|
-
var newProto = target[str__Proto] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
|
|
124
|
+
var newProto = target[DynProtoPolyProto] || target[str__Proto] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
|
|
124
125
|
if (newProto) {
|
|
126
|
+
if (!target[DynProtoPolyProto]) {
|
|
127
|
+
target[DynProtoPolyProto] = newProto;
|
|
128
|
+
}
|
|
125
129
|
return newProto;
|
|
126
130
|
}
|
|
127
131
|
}
|
|
@@ -280,8 +284,9 @@
|
|
|
280
284
|
visited.push(thisProto);
|
|
281
285
|
thisProto = _getObjProto(thisProto);
|
|
282
286
|
}
|
|
287
|
+
return false;
|
|
283
288
|
}
|
|
284
|
-
return
|
|
289
|
+
return true;
|
|
285
290
|
}
|
|
286
291
|
function _getObjName(target, unknownValue) {
|
|
287
292
|
if (_hasOwnProperty(target, Prototype)) {
|
|
@@ -623,7 +628,7 @@
|
|
|
623
628
|
if (isUserAct === void 0) { isUserAct = false; }
|
|
624
629
|
var message = new _InternalLogMessage(msgId, msg, isUserAct, properties);
|
|
625
630
|
if (_self.enableDebugExceptions()) {
|
|
626
|
-
throw message;
|
|
631
|
+
throw dumpObj(message);
|
|
627
632
|
}
|
|
628
633
|
else {
|
|
629
634
|
var logFunc = severity === LoggingSeverity.CRITICAL ? strErrorToConsole : strWarnToConsole;
|