Skip to content

Commit 1b391eb

Browse files
committed
Version 2.2.4
1 parent 9325dbb commit 1b391eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

__tests__/index.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ import { NativeModules } from 'react-native';
99

1010
test(`it calls MixpanelReactNative initialize`, async () => {
1111
const mixpanel = await Mixpanel.init("token", true);
12-
expect(NativeModules.MixpanelReactNative.initialize).toBeCalledWith("token", true, false, {"$lib_version": "2.2.3", "mp_lib": "react-native"});
12+
expect(NativeModules.MixpanelReactNative.initialize).toBeCalledWith("token", true, false, {"$lib_version": "2.2.4", "mp_lib": "react-native"});
1313
});
1414

1515
test(`it calls MixpanelReactNative initialize with optOut and superProperties`, async () => {
1616
const mixpanel = new Mixpanel("token", true);
1717
mixpanel.init(true, {"super": "property"})
18-
expect(NativeModules.MixpanelReactNative.initialize).toBeCalledWith("token", true, true, {"$lib_version": "2.2.3", "mp_lib": "react-native", "super": "property"}, "https://api.mixpanel.com");
18+
expect(NativeModules.MixpanelReactNative.initialize).toBeCalledWith("token", true, true, {"$lib_version": "2.2.4", "mp_lib": "react-native", "super": "property"}, "https://api.mixpanel.com");
1919
});
2020

2121
test(`it calls MixpanelReactNative setServerURL`, async () => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mixpanel-react-native",
3-
"version": "2.2.3",
3+
"version": "2.2.4",
44
"description": "Official React Native Tracking Library for Mixpanel Analytics",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)