Skip to content

Commit

Permalink
Version 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zihejia committed Jul 28, 2021
1 parent c8dc3db commit 4527585
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MixpanelDemo/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4734,7 +4734,7 @@ mixin-deep@^1.2.0:
is-extendable "^1.0.1"

"mixpanel-react-native@file:..":
version "1.2.4"
version "1.3.0"

mkdirp@^0.5.1:
version "0.5.5"
Expand Down
2 changes: 1 addition & 1 deletion __tests__/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { NativeModules } from 'react-native';

test(`it calls MixpanelReactNative initialize`, async () => {
const mixpanel = await Mixpanel.init("token");
expect(NativeModules.MixpanelReactNative.initialize).toBeCalledWith("token", false, {"$lib_version": "1.2.4", "mp_lib": "react-native"});
expect(NativeModules.MixpanelReactNative.initialize).toBeCalledWith("token", false, {"$lib_version": "1.3.0", "mp_lib": "react-native"});
});

test(`it calls MixpanelReactNative setServerURL`, async () => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mixpanel-react-native",
"version": "1.2.4",
"version": "1.3.0",
"description": "Official React Native Tracking Library for Mixpanel Analytics",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 4527585

Please sign in to comment.