@tonder.io/ionic-lite-sdk 0.0.23-beta → 0.0.24-beta

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 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,7 +6,7 @@ Tonder SDK Lite to integrate REST service
6
6
 
7
7
  You can install using NPM
8
8
  ```bash
9
- npm i @tonder/ionic-lite-sdk
9
+ npm i @tonder.io/ionic-lite-sdk
10
10
  ```
11
11
 
12
12
  or using an script tag
@@ -23,7 +23,7 @@ Add dependencies to the root of the app (index.html)
23
23
  ## Usage
24
24
  ## Import LiteCheckout class
25
25
  ```javascript
26
- import { LiteCheckout } from "@tonder/ionic-lite-sdk"
26
+ import { LiteCheckout } from "@tonder.io/ionic-lite-sdk"
27
27
  ```
28
28
  ## Create instance
29
29
 
@@ -353,6 +353,10 @@ const routerData = {
353
353
  business_id: business.pk,
354
354
  payment_id: jsonResponsePayment.pk,
355
355
  source: 'ionic-lite-sdk',
356
+ metadata: {
357
+ name: "xxxxx"
358
+ },
359
+ currency: "MXN"
356
360
  };
357
361
 
358
362
  const jsonResponseRouter = await liteCheckout.startCheckoutRouter(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tonder.io/ionic-lite-sdk",
3
- "version": "0.0.23-beta",
3
+ "version": "0.0.24-beta",
4
4
  "description": "Tonder ionic lite SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",