@tonder.io/ionic-lite-sdk 0.0.23-beta → 0.0.25-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.
- package/README.md +6 -2
- package/dist/types/responses.d.ts +3 -0
- package/package.json +1 -1
- package/src/types/responses.ts +3 -0
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