mixpanel-react-native 3.0.7 → 3.0.8
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 +10 -0
- package/javascript/mixpanel-network.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
#
|
|
2
2
|
|
|
3
|
+
## [v3.0.8](https://github.com/mixpanel/mixpanel-react-native/tree/v3.0.8) (2024-11-21)
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
|
|
7
|
+
- encodeURIComponent body JSON data [\#277](https://github.com/mixpanel/mixpanel-react-native/pull/277)
|
|
8
|
+
|
|
9
|
+
#
|
|
10
|
+
|
|
3
11
|
## [v3.0.7](https://github.com/mixpanel/mixpanel-react-native/tree/v3.0.7) (2024-09-26)
|
|
4
12
|
|
|
5
13
|
### Fixes
|
|
@@ -472,3 +480,5 @@ This major release removes all remaining calls to Mixpanel's `/decide` API endpo
|
|
|
472
480
|
|
|
473
481
|
|
|
474
482
|
|
|
483
|
+
|
|
484
|
+
|
|
@@ -26,7 +26,7 @@ export const MixpanelNetwork = (() => {
|
|
|
26
26
|
headers: {
|
|
27
27
|
"Content-Type": "application/x-www-form-urlencoded",
|
|
28
28
|
},
|
|
29
|
-
body: `data=${JSON.stringify(data)}`,
|
|
29
|
+
body: `data=${encodeURIComponent(JSON.stringify(data))}`,
|
|
30
30
|
});
|
|
31
31
|
|
|
32
32
|
const responseBody = await response.json();
|