react-native-move-sdk 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,9 +5,9 @@ React Native library for MOVE SDK - please see https://docs.movesdk.com/move/ fo
5
5
  ## Installation
6
6
 
7
7
  ```sh
8
- npm install @dolphintechnologies/react-native-move-sdk --save
8
+ npm install react-native-move-sdk --save
9
9
  #or
10
- yarn add @dolphintechnologies/react-native-move-sdk
10
+ yarn add react-native-move-sdk
11
11
  ```
12
12
 
13
13
  # iOS
@@ -70,7 +70,7 @@ public class MainApplication extends Application implements ReactApplication {
70
70
  See https://docs.movesdk.com/move/sdk-1/api-interface/react-native/intialization
71
71
 
72
72
  ```js
73
- import MoveSdk from '@dolphintechnologies/react-native-move-sdk';
73
+ import MoveSdk from 'react-native-move-sdk';
74
74
  ...
75
75
  const tripChannel = {
76
76
  id: 'CT',
@@ -134,11 +134,11 @@ If the sdk is in an error state, for example because no permission was given, th
134
134
 
135
135
  ```js
136
136
  MoveSdk.addSDKStateListener((event: { state: SdkState | null }) => {
137
- ...
137
+ ...
138
138
  });
139
139
 
140
140
  MoveSdk.addTripStateListener((event: TripState | null) => {
141
- ...
141
+ ...
142
142
  });
143
143
 
144
144
  MoveSdk.addAuthStateListener((event: AuthStateEvent) => {
@@ -146,7 +146,7 @@ MoveSdk.addAuthStateListener((event: AuthStateEvent) => {
146
146
  });
147
147
 
148
148
  MoveSdk.addAppEventListener((event: string) => {
149
- ...
149
+ ...
150
150
  });
151
151
 
152
152
  MoveSdk.addInitErrorListener((event: ConfigurationError) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-move-sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "React Native library for MOVE SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",