@microsoft/applicationinsights-react-native 3.0.1-nightly.2212-01 → 3.0.1-nightly.2212-03
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/README.md +2 -2
- package/browser/applicationinsights-react-native.js +52 -24
- 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 +7 -2
- package/dist/applicationinsights-react-native.d.ts +1 -1
- package/dist/applicationinsights-react-native.js +52 -24
- 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/DeviceInfo/DeviceModule.js +1 -1
- package/dist-esm/DeviceInfo/ReactNativeDeviceInfo.js +1 -1
- package/dist-esm/Interfaces/IDeviceInfoModule.js +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 +1 -1
- package/types/tsdoc-metadata.json +1 -1
package/README.md
CHANGED
|
@@ -103,11 +103,11 @@ or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any addi
|
|
|
103
103
|
|
|
104
104
|
As this SDK is designed to enable applications to perform data collection which is sent to the Microsoft collection endpoints the following is required to identify our privacy statement.
|
|
105
105
|
|
|
106
|
-
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft
|
|
106
|
+
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft's privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.
|
|
107
107
|
|
|
108
108
|
## Trademarks
|
|
109
109
|
|
|
110
|
-
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow [Microsoft
|
|
110
|
+
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow [Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.
|
|
111
111
|
|
|
112
112
|
## License
|
|
113
113
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - React Native Plugin, 3.0.1-nightly.2212-
|
|
2
|
+
* Application Insights JavaScript SDK - React Native Plugin, 3.0.1-nightly.2212-03
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -26,21 +26,23 @@
|
|
|
26
26
|
var _cachedGlobal = null;
|
|
27
27
|
function getGlobal(useCached) {
|
|
28
28
|
if (useCached === void 0) { useCached = true; }
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
var result = useCached === false ? null : _cachedGlobal;
|
|
30
|
+
if (!result) {
|
|
31
|
+
if (typeof globalThis !== strShimUndefined) {
|
|
32
|
+
result = globalThis;
|
|
32
33
|
}
|
|
33
|
-
if (typeof self !== strShimUndefined
|
|
34
|
-
|
|
34
|
+
if (!result && typeof self !== strShimUndefined) {
|
|
35
|
+
result = self;
|
|
35
36
|
}
|
|
36
|
-
if (typeof window !== strShimUndefined
|
|
37
|
-
|
|
37
|
+
if (!result && typeof window !== strShimUndefined) {
|
|
38
|
+
result = window;
|
|
38
39
|
}
|
|
39
|
-
if (typeof global !== strShimUndefined
|
|
40
|
-
|
|
40
|
+
if (!result && typeof global !== strShimUndefined) {
|
|
41
|
+
result = global;
|
|
41
42
|
}
|
|
43
|
+
_cachedGlobal = result;
|
|
42
44
|
}
|
|
43
|
-
return
|
|
45
|
+
return result;
|
|
44
46
|
}
|
|
45
47
|
function throwTypeError(message) {
|
|
46
48
|
throw new TypeError(message);
|
|
@@ -66,7 +68,9 @@
|
|
|
66
68
|
(getGlobal() || {})["Reflect"];
|
|
67
69
|
var extendStaticsFn = function (d, b) {
|
|
68
70
|
extendStaticsFn = ObjClass["setPrototypeOf"] ||
|
|
69
|
-
({ __proto__: [] } instanceof Array && function (d, b) {
|
|
71
|
+
({ __proto__: [] } instanceof Array && function (d, b) {
|
|
72
|
+
d.__proto__ = b;
|
|
73
|
+
}) ||
|
|
70
74
|
function (d, b) {
|
|
71
75
|
for (var p in b) {
|
|
72
76
|
if (b[strShimHasOwnProperty](p)) {
|
|
@@ -81,14 +85,18 @@
|
|
|
81
85
|
throwTypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
82
86
|
}
|
|
83
87
|
extendStaticsFn(d, b);
|
|
84
|
-
function __() {
|
|
88
|
+
function __() {
|
|
89
|
+
this.constructor = d;
|
|
90
|
+
}
|
|
85
91
|
d[strShimPrototype] = b === null ? objCreateFn(b) : (__[strShimPrototype] = b[strShimPrototype], new __());
|
|
86
92
|
}
|
|
87
93
|
|
|
88
94
|
/*!
|
|
89
|
-
* Microsoft Dynamic Proto Utility, 1.1.
|
|
95
|
+
* Microsoft Dynamic Proto Utility, 1.1.7
|
|
90
96
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
91
97
|
*/
|
|
98
|
+
var _a;
|
|
99
|
+
var UNDEFINED = "undefined";
|
|
92
100
|
var Constructor = 'constructor';
|
|
93
101
|
var Prototype = 'prototype';
|
|
94
102
|
var strFunction = 'function';
|
|
@@ -102,13 +110,37 @@
|
|
|
102
110
|
var UnknownValue = '_unknown_';
|
|
103
111
|
var str__Proto$1 = "__proto__";
|
|
104
112
|
var DynProtoBaseProto = "_dyn" + str__Proto$1;
|
|
113
|
+
var DynProtoGlobalSettings = "__dynProto$Gbl";
|
|
105
114
|
var DynProtoCurrent = "_dynInstProto";
|
|
106
115
|
var strUseBaseInst = 'useBaseInst';
|
|
107
116
|
var strSetInstFuncs = 'setInstFuncs';
|
|
108
117
|
var Obj = Object;
|
|
109
118
|
var _objGetPrototypeOf$1 = Obj["getPrototypeOf"];
|
|
110
119
|
var _objGetOwnProps = Obj["getOwnPropertyNames"];
|
|
111
|
-
|
|
120
|
+
function _getGlobal() {
|
|
121
|
+
var result;
|
|
122
|
+
if (typeof globalThis !== UNDEFINED) {
|
|
123
|
+
result = globalThis;
|
|
124
|
+
}
|
|
125
|
+
if (!result && typeof self !== UNDEFINED) {
|
|
126
|
+
result = self;
|
|
127
|
+
}
|
|
128
|
+
if (!result && typeof window !== UNDEFINED) {
|
|
129
|
+
result = window;
|
|
130
|
+
}
|
|
131
|
+
if (!result && typeof global !== UNDEFINED) {
|
|
132
|
+
result = global;
|
|
133
|
+
}
|
|
134
|
+
return result || {};
|
|
135
|
+
}
|
|
136
|
+
var _gbl = _getGlobal();
|
|
137
|
+
var _gblInst = _gbl[DynProtoGlobalSettings] || (_gbl[DynProtoGlobalSettings] = {
|
|
138
|
+
o: (_a = {},
|
|
139
|
+
_a[strSetInstFuncs] = true,
|
|
140
|
+
_a[strUseBaseInst] = true,
|
|
141
|
+
_a),
|
|
142
|
+
n: 1000
|
|
143
|
+
});
|
|
112
144
|
function _hasOwnProperty(obj, prop) {
|
|
113
145
|
return obj && Obj[Prototype].hasOwnProperty.call(obj, prop);
|
|
114
146
|
}
|
|
@@ -302,15 +334,15 @@
|
|
|
302
334
|
}
|
|
303
335
|
var classProto = theClass[Prototype];
|
|
304
336
|
if (!_checkPrototype(classProto, target)) {
|
|
305
|
-
_throwTypeError("[" + _getObjName(theClass) + "]
|
|
337
|
+
_throwTypeError("[" + _getObjName(theClass) + "] not in hierarchy of [" + _getObjName(target) + "]");
|
|
306
338
|
}
|
|
307
339
|
var className = null;
|
|
308
340
|
if (_hasOwnProperty(classProto, DynClassName)) {
|
|
309
341
|
className = classProto[DynClassName];
|
|
310
342
|
}
|
|
311
343
|
else {
|
|
312
|
-
className = DynClassNamePrefix + _getObjName(theClass, "_") + "$" +
|
|
313
|
-
|
|
344
|
+
className = DynClassNamePrefix + _getObjName(theClass, "_") + "$" + _gblInst.n;
|
|
345
|
+
_gblInst.n++;
|
|
314
346
|
classProto[DynClassName] = className;
|
|
315
347
|
}
|
|
316
348
|
var perfOptions = dynamicProto[DynProtoDefaultOptions];
|
|
@@ -327,11 +359,7 @@
|
|
|
327
359
|
}
|
|
328
360
|
_populatePrototype(classProto, className, target, instFuncs, setInstanceFunc !== false);
|
|
329
361
|
}
|
|
330
|
-
|
|
331
|
-
setInstFuncs: true,
|
|
332
|
-
useBaseInst: true
|
|
333
|
-
};
|
|
334
|
-
dynamicProto[DynProtoDefaultOptions] = perfDefaults;
|
|
362
|
+
dynamicProto[DynProtoDefaultOptions] = _gblInst.o;
|
|
335
363
|
|
|
336
364
|
var _DYN_INITIALIZE = "initialize";
|
|
337
365
|
var _DYN_NAME = "name";
|
|
@@ -1042,7 +1070,7 @@
|
|
|
1042
1070
|
}
|
|
1043
1071
|
|
|
1044
1072
|
var _objDefineProperty = ObjDefineProperty;
|
|
1045
|
-
var version = '2.8.
|
|
1073
|
+
var version = '2.8.9';
|
|
1046
1074
|
var instanceName = "." + newId(6);
|
|
1047
1075
|
var _dataUid = 0;
|
|
1048
1076
|
function _createAccessor(target, prop, value) {
|