mixpanel-react-native 3.0.4 → 3.0.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  #
2
2
 
3
+ ## [v3.0.5](https://github.com/mixpanel/mixpanel-react-native/tree/v3.0.5) (2024-05-14)
4
+
5
+ ### Fixes
6
+
7
+ - fix: resolve import issue for MixpanelMain [\#253](https://github.com/mixpanel/mixpanel-react-native/pull/253)
8
+
9
+ #
10
+
3
11
  ## [v3.0.4](https://github.com/mixpanel/mixpanel-react-native/tree/v3.0.4) (2024-05-13)
4
12
 
5
13
  ### Fixes
@@ -436,3 +444,5 @@ This major release removes all remaining calls to Mixpanel's `/decide` API endpo
436
444
 
437
445
 
438
446
 
447
+
448
+
@@ -93,7 +93,7 @@
93
93
 
94
94
  <dt class="tag-source">Source:</dt>
95
95
  <dd class="tag-source"><ul class="dummy"><li>
96
- <a href="index.js.html">index.js</a>, <a href="index.js.html#line38">line 38</a>
96
+ <a href="index.js.html">index.js</a>, <a href="index.js.html#line39">line 39</a>
97
97
  </li></ul></dd>
98
98
 
99
99
 
@@ -4516,7 +4516,7 @@ To clear all superProperties, use clearSuperProperties()
4516
4516
  <br class="clear">
4517
4517
 
4518
4518
  <footer>
4519
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Mon May 13 2024 11:52:17 GMT-0700 (Pacific Daylight Time)
4519
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Tue May 14 2024 09:36:01 GMT-0700 (Pacific Daylight Time)
4520
4520
  </footer>
4521
4521
 
4522
4522
  <script> prettyPrint(); </script>
@@ -957,7 +957,7 @@ If the property exists and is not list-valued, the union will be ignored.
957
957
  <br class="clear">
958
958
 
959
959
  <footer>
960
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Mon May 13 2024 11:52:17 GMT-0700 (Pacific Daylight Time)
960
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Tue May 14 2024 09:36:01 GMT-0700 (Pacific Daylight Time)
961
961
  </footer>
962
962
 
963
963
  <script> prettyPrint(); </script>
package/docs/People.html CHANGED
@@ -1625,7 +1625,7 @@ If the property exists and is not list-valued, the union will be ignored.
1625
1625
  <br class="clear">
1626
1626
 
1627
1627
  <footer>
1628
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Mon May 13 2024 11:52:17 GMT-0700 (Pacific Daylight Time)
1628
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Tue May 14 2024 09:36:01 GMT-0700 (Pacific Daylight Time)
1629
1629
  </footer>
1630
1630
 
1631
1631
  <script> prettyPrint(); </script>
package/docs/index.html CHANGED
@@ -203,7 +203,7 @@ Please refer to our <a href="https://mixpanel.com/legal/app-store-privacy-detai
203
203
  <br class="clear">
204
204
 
205
205
  <footer>
206
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Mon May 13 2024 11:52:17 GMT-0700 (Pacific Daylight Time)
206
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Tue May 14 2024 09:36:01 GMT-0700 (Pacific Daylight Time)
207
207
  </footer>
208
208
 
209
209
  <script> prettyPrint(); </script>
@@ -31,6 +31,7 @@
31
31
  import {Platform, NativeModules} from "react-native";
32
32
  import packageJson from "./package.json";
33
33
  const {MixpanelReactNative} = NativeModules;
34
+ import MixpanelMain from "mixpanel-react-native/javascript/mixpanel-main"
34
35
 
35
36
  const DevicePlatform = {
36
37
  Unknown: "Unknown",
@@ -83,7 +84,6 @@ export class Mixpanel {
83
84
  );
84
85
  }
85
86
 
86
- const MixpanelMain = require("mixpanel-react-native/javascript/mixpanel-main");
87
87
  this.mixpanelImpl = new MixpanelMain(token, trackAutomaticEvents, storage);
88
88
  }
89
89
 
@@ -1038,7 +1038,7 @@ class ObjectHelper {
1038
1038
  <br class="clear">
1039
1039
 
1040
1040
  <footer>
1041
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Mon May 13 2024 11:52:17 GMT-0700 (Pacific Daylight Time)
1041
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Tue May 14 2024 09:36:01 GMT-0700 (Pacific Daylight Time)
1042
1042
  </footer>
1043
1043
 
1044
1044
  <script> prettyPrint(); </script>
package/index.js CHANGED
@@ -3,6 +3,7 @@
3
3
  import {Platform, NativeModules} from "react-native";
4
4
  import packageJson from "./package.json";
5
5
  const {MixpanelReactNative} = NativeModules;
6
+ import MixpanelMain from "mixpanel-react-native/javascript/mixpanel-main"
6
7
 
7
8
  const DevicePlatform = {
8
9
  Unknown: "Unknown",
@@ -55,7 +56,6 @@ export class Mixpanel {
55
56
  );
56
57
  }
57
58
 
58
- const MixpanelMain = require("mixpanel-react-native/javascript/mixpanel-main");
59
59
  this.mixpanelImpl = new MixpanelMain(token, trackAutomaticEvents, storage);
60
60
  }
61
61
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mixpanel-react-native",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
4
4
  "description": "Official React Native Tracking Library for Mixpanel Analytics",
5
5
  "main": "index.js",
6
6
  "scripts": {