@jimrising/easymerchantsdk-react-native 1.5.5 → 1.5.7

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/README.md CHANGED
@@ -7,7 +7,7 @@ To add the path of sdk in your project. Open your `package.json` file and inside
7
7
 
8
8
  ```json
9
9
  "dependencies": {
10
- "@jimrising/easymerchantsdk-react-native": "^1.5.5"
10
+ "@jimrising/easymerchantsdk-react-native": "^1.5.7"
11
11
  },
12
12
  ```
13
13
 
@@ -179,10 +179,10 @@ const App = () => {
179
179
  apiKey: 'apiKey',
180
180
  secretKey: 'secretKey',
181
181
  jsonConfig: {
182
- environment: 'STAGING',
182
+ environment: 'staging', // lowercase staging, sandbox, production
183
183
  amount,
184
184
  tokenOnly: false,
185
- currency: 'USD',
185
+ currency: 'usd',
186
186
  saveCard: true,
187
187
  saveAccount: true,
188
188
  authenticatedACH: true,
@@ -220,8 +220,6 @@ const App = () => {
220
220
  },
221
221
  },
222
222
  grailPayParams: {
223
- accessToken: '251|uTijpDGfrS88UR2V1cZNMQ8S4hUJA0sVzsnsoUZF',
224
- vendorId: '251',
225
223
  role: 'business',
226
224
  timeout: 10,
227
225
  isSandbox: true,
@@ -2,8 +2,8 @@
2
2
  #import <React/RCTLog.h>
3
3
  #import <React/RCTBridgeModule.h>
4
4
 
5
- #import <easymerchantsdk-Swift.h>
6
- //#import <easymerchantsdk/easymerchantsdk-Swift.h>
5
+ //#import <easymerchantsdk-Swift.h>
6
+ #import <easymerchantsdk/easymerchantsdk-Swift.h>
7
7
 
8
8
  @interface EasyMerchantSdk ()
9
9
  @property (nonatomic, strong) EasyMerchantSdkPlugin *sdkPluginInstance;
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = 'easymerchantsdk'
3
- s.version = '1.5.5'
3
+ s.version = '1.5.7'
4
4
  s.summary = 'A React Native SDK for Easy Merchant.'
5
5
  s.description = <<-DESC
6
6
  A React Native SDK to enable Easy Merchant functionality in mobile applications.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jimrising/easymerchantsdk-react-native",
3
- "version": "1.5.5",
3
+ "version": "1.5.7",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {