@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 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(
@@ -143,6 +143,9 @@ export type StartCheckoutResponse = {
143
143
  return_url: string;
144
144
  verify_transaction_status_url: string;
145
145
  };
146
+ iframe_resources?: {
147
+ iframe: string;
148
+ };
146
149
  };
147
150
  actions: {
148
151
  name: string;
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.25-beta",
4
4
  "description": "Tonder ionic lite SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -149,6 +149,9 @@ export type StartCheckoutResponse = {
149
149
  return_url: string;
150
150
  verify_transaction_status_url: string;
151
151
  };
152
+ iframe_resources?: {
153
+ iframe: string;
154
+ };
152
155
  };
153
156
  actions: {
154
157
  name: string;