@microsoft/applicationinsights-react-js 3.3.1 → 3.3.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-js.js +11 -6
- package/browser/applicationinsights-react-js.js.map +1 -1
- package/browser/applicationinsights-react-js.min.js +2 -2
- package/browser/applicationinsights-react-js.min.js.map +1 -1
- package/dist/applicationinsights-react-js.api.json +1 -1
- package/dist/applicationinsights-react-js.d.ts +1 -1
- package/dist/applicationinsights-react-js.js +11 -6
- package/dist/applicationinsights-react-js.js.map +1 -1
- package/dist/applicationinsights-react-js.min.js +2 -2
- package/dist/applicationinsights-react-js.min.js.map +1 -1
- package/dist/applicationinsights-react-js.rollup.d.ts +1 -1
- package/dist-esm/AppInsightsContext.js +1 -1
- package/dist-esm/AppInsightsErrorBoundary.js +1 -1
- package/dist-esm/Interfaces/IReactExtensionConfig.js +1 -1
- package/dist-esm/ReactPlugin.js +1 -1
- package/dist-esm/applicationinsights-react-js.js +1 -1
- package/dist-esm/useTrackEvent.js +1 -1
- package/dist-esm/useTrackMetric.js +1 -1
- package/dist-esm/withAITracking.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 Plugin, 3.3.
|
|
2
|
+
* Application Insights JavaScript SDK - React Plugin, 3.3.2
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
/*!
|
|
125
|
-
* Microsoft Dynamic Proto Utility, 1.1.
|
|
125
|
+
* Microsoft Dynamic Proto Utility, 1.1.5
|
|
126
126
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
127
127
|
*/
|
|
128
128
|
var Constructor = 'constructor';
|
|
@@ -135,6 +135,7 @@
|
|
|
135
135
|
var DynInstChkTag = '_dynInstChk';
|
|
136
136
|
var DynAllowInstChkTag = DynInstChkTag;
|
|
137
137
|
var DynProtoDefaultOptions = '_dfOpts';
|
|
138
|
+
var DynProtoPolyProto = "_dynProto";
|
|
138
139
|
var UnknownValue = '_unknown_';
|
|
139
140
|
var str__Proto$1 = "__proto__";
|
|
140
141
|
var strUseBaseInst = 'useBaseInst';
|
|
@@ -156,8 +157,11 @@
|
|
|
156
157
|
if (_objGetPrototypeOf$1) {
|
|
157
158
|
return _objGetPrototypeOf$1(target);
|
|
158
159
|
}
|
|
159
|
-
var newProto = target[str__Proto$1] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
|
|
160
|
+
var newProto = target[DynProtoPolyProto] || target[str__Proto$1] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
|
|
160
161
|
if (newProto) {
|
|
162
|
+
if (!target[DynProtoPolyProto]) {
|
|
163
|
+
target[DynProtoPolyProto] = newProto;
|
|
164
|
+
}
|
|
161
165
|
return newProto;
|
|
162
166
|
}
|
|
163
167
|
}
|
|
@@ -316,8 +320,9 @@
|
|
|
316
320
|
visited.push(thisProto);
|
|
317
321
|
thisProto = _getObjProto$1(thisProto);
|
|
318
322
|
}
|
|
323
|
+
return false;
|
|
319
324
|
}
|
|
320
|
-
return
|
|
325
|
+
return true;
|
|
321
326
|
}
|
|
322
327
|
function _getObjName(target, unknownValue) {
|
|
323
328
|
if (_hasOwnProperty(target, Prototype)) {
|
|
@@ -995,7 +1000,7 @@
|
|
|
995
1000
|
if (isUserAct === void 0) { isUserAct = false; }
|
|
996
1001
|
var message = new _InternalLogMessage(msgId, msg, isUserAct, properties);
|
|
997
1002
|
if (_self.enableDebugExceptions()) {
|
|
998
|
-
throw message;
|
|
1003
|
+
throw dumpObj(message);
|
|
999
1004
|
}
|
|
1000
1005
|
else {
|
|
1001
1006
|
var logFunc = severity === 1 ? strErrorToConsole : strWarnToConsole;
|
|
@@ -1283,7 +1288,7 @@
|
|
|
1283
1288
|
}
|
|
1284
1289
|
|
|
1285
1290
|
var _objDefineProperty = ObjDefineProperty;
|
|
1286
|
-
var version = "2.8.
|
|
1291
|
+
var version = "2.8.2";
|
|
1287
1292
|
var instanceName = "." + newId(6);
|
|
1288
1293
|
var _dataUid = 0;
|
|
1289
1294
|
function _createAccessor(target, prop, value) {
|