@microsoft/applicationinsights-react-native 2.4.3-nightly.2201-02 → 2.4.3
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 +18 -14
- 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.d.ts +1 -1
- package/dist/applicationinsights-react-native.js +18 -14
- 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 +67 -70
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - React Native Plugin, 2.4.3
|
|
2
|
+
* Application Insights JavaScript SDK - React Native Plugin, 2.4.3
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -23,20 +23,24 @@
|
|
|
23
23
|
var ObjDefineProperty = ObjClass["defineProperty"];
|
|
24
24
|
var ObjHasOwnProperty = ObjProto[strShimHasOwnProperty];
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
26
|
+
var _cachedGlobal = null;
|
|
27
|
+
function getGlobal(useCached) {
|
|
28
|
+
if (useCached === void 0) { useCached = true; }
|
|
29
|
+
if (!_cachedGlobal || !useCached) {
|
|
30
|
+
if (typeof globalThis !== strShimUndefined && globalThis) {
|
|
31
|
+
_cachedGlobal = globalThis;
|
|
32
|
+
}
|
|
33
|
+
if (typeof self !== strShimUndefined && self) {
|
|
34
|
+
_cachedGlobal = self;
|
|
35
|
+
}
|
|
36
|
+
if (typeof window !== strShimUndefined && window) {
|
|
37
|
+
_cachedGlobal = window;
|
|
38
|
+
}
|
|
39
|
+
if (typeof global !== strShimUndefined && global) {
|
|
40
|
+
_cachedGlobal = global;
|
|
41
|
+
}
|
|
38
42
|
}
|
|
39
|
-
return
|
|
43
|
+
return _cachedGlobal;
|
|
40
44
|
}
|
|
41
45
|
function throwTypeError(message) {
|
|
42
46
|
throw new TypeError(message);
|