@jimrising/easymerchantsdk-react-native 1.2.8 → 1.2.9

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.2.8"
10
+ "@jimrising/easymerchantsdk-react-native": "^1.2.9"
11
11
  },
12
12
  ```
13
13
 
@@ -184,21 +184,23 @@ const App = () => {
184
184
 
185
185
  const handleBilling = async () => {
186
186
  const amount = '72';
187
+
187
188
  const billingInfo = {
188
- address: 'Chandigarh, Punjab',
189
- country: 'India',
190
- state: 'Punjab',
191
- city: 'Hoshiarpur',
192
- postal_code: '144520',
193
- additional_info: {
194
- name: 'SDK User',
195
- email: 'davinder@gmail.com',
196
- phone_number: '7888821587',
197
- country_code: '91',
198
- description: 'SDK Test'
199
- }
189
+ address: '123 Main Street',
190
+ country: 'USA',
191
+ state: 'California',
192
+ city: 'San Francisco',
193
+ postal_code: '94107',
194
+ additional_info: {
195
+ name: 'John Doe',
196
+ email: 'johndoe@example.com',
197
+ phone_number: '1234567890',
198
+ country_code: '1',
199
+ description: 'Testing SDK Integration'
200
+ }
200
201
  };
201
202
 
203
+
202
204
  const theme = {
203
205
  bodyBackgroundColor: '#F0FDF4',
204
206
  containerBackgroundColor: '#FFFFFF',
@@ -283,9 +285,6 @@ const styles = StyleSheet.create({
283
285
 
284
286
  ```
285
287
 
286
-
287
-
288
-
289
288
  You can send `null` if billing info not available.
290
289
 
291
290
 
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = 'easymerchantsdk'
3
- s.version = '1.2.8'
3
+ s.version = '1.2.9'
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.2.8",
3
+ "version": "1.2.9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {