@microsoft/applicationinsights-react-native 2.5.6-nightly.2207-22 → 2.5.6
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/LICENSE +17 -17
- package/NOTICE +20434 -0
- package/PRIVACY +3 -0
- package/README.md +20 -8
- package/browser/applicationinsights-react-native.js +4 -8
- 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 +3 -3
- package/dist/applicationinsights-react-native.js +4 -8
- 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 +3 -3
- 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 +82 -73
- package/tsconfig.json +2 -2
- package/types/tsdoc-metadata.json +1 -1
package/PRIVACY
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# Data Collection
|
|
2
|
+
|
|
3
|
+
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.
|
package/README.md
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
React Native Plugin for the Application Insights Javascript SDK
|
|
4
4
|
|
|
5
5
|
## Getting Started
|
|
6
|
+
|
|
6
7
|
>**This plugin relies on [`react-native-device-info`](https://github.com/rebeccahughes/react-native-device-info). You must install and link this package. Keep `react-native-device-info` up-to-date to collect the latest device names using your app.**
|
|
7
8
|
|
|
8
9
|
```zsh
|
|
@@ -38,17 +39,28 @@ By default, this plugin automatically collects
|
|
|
38
39
|
|
|
39
40
|
## Contributing
|
|
40
41
|
|
|
41
|
-
This project welcomes contributions and suggestions.
|
|
42
|
-
Contributor License Agreement (CLA) declaring that you have the right to,
|
|
43
|
-
the rights to use your contribution. For details, visit
|
|
42
|
+
This project welcomes contributions and suggestions. Most contributions require you to
|
|
43
|
+
agree to a Contributor License Agreement (CLA) declaring that you have the right to,
|
|
44
|
+
and actually do, grant us the rights to use your contribution. For details, visit
|
|
45
|
+
https://cla.microsoft.com.
|
|
44
46
|
|
|
45
|
-
When you submit a pull request, a CLA-bot will automatically determine whether you need
|
|
46
|
-
a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the
|
|
47
|
-
provided by the bot. You will only need to do this once across all
|
|
47
|
+
When you submit a pull request, a CLA-bot will automatically determine whether you need
|
|
48
|
+
to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the
|
|
49
|
+
instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
|
|
48
50
|
|
|
49
51
|
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
|
|
50
|
-
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
|
|
51
|
-
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
|
52
|
+
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
|
|
53
|
+
or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
|
54
|
+
|
|
55
|
+
## Data Collection
|
|
56
|
+
|
|
57
|
+
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.
|
|
58
|
+
|
|
59
|
+
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.
|
|
60
|
+
|
|
61
|
+
## Trademarks
|
|
62
|
+
|
|
63
|
+
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.
|
|
52
64
|
|
|
53
65
|
## License
|
|
54
66
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - React Native Plugin, 2.5.6
|
|
2
|
+
* Application Insights JavaScript SDK - React Native Plugin, 2.5.6
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -66,9 +66,7 @@
|
|
|
66
66
|
(getGlobal() || {})["Reflect"];
|
|
67
67
|
var extendStaticsFn = function (d, b) {
|
|
68
68
|
extendStaticsFn = ObjClass["setPrototypeOf"] ||
|
|
69
|
-
({ __proto__: [] } instanceof Array && function (d, b) {
|
|
70
|
-
d.__proto__ = b;
|
|
71
|
-
}) ||
|
|
69
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
72
70
|
function (d, b) {
|
|
73
71
|
for (var p in b) {
|
|
74
72
|
if (b[strShimHasOwnProperty](p)) {
|
|
@@ -83,9 +81,7 @@
|
|
|
83
81
|
throwTypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
84
82
|
}
|
|
85
83
|
extendStaticsFn(d, b);
|
|
86
|
-
function __() {
|
|
87
|
-
this.constructor = d;
|
|
88
|
-
}
|
|
84
|
+
function __() { this.constructor = d; }
|
|
89
85
|
d[strShimPrototype] = b === null ? objCreateFn(b) : (__[strShimPrototype] = b[strShimPrototype], new __());
|
|
90
86
|
}
|
|
91
87
|
|
|
@@ -1049,7 +1045,7 @@
|
|
|
1049
1045
|
}
|
|
1050
1046
|
|
|
1051
1047
|
var _objDefineProperty = ObjDefineProperty;
|
|
1052
|
-
var version =
|
|
1048
|
+
var version = '2.8.5';
|
|
1053
1049
|
var instanceName = "." + newId(6);
|
|
1054
1050
|
var _dataUid = 0;
|
|
1055
1051
|
function _createAccessor(target, prop, value) {
|