x-app-sdk 1.1.0 → 1.1.1

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 +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -143,9 +143,9 @@ Thực hiện yêu cầu thanh toán qua SuperApp.
143
143
  import { paymentRequest } from 'x-app-sdk';
144
144
 
145
145
  const paymentData = {
146
- amount: 100000,
147
- description: 'Thanh toán đơn hàng',
148
- orderId: 'ORDER123'
146
+ partnerOrderId: "ORDER123";
147
+ totalAmount: 100000;
148
+ extra: "JSON data, string...."; // optional
149
149
  };
150
150
 
151
151
  paymentRequest(paymentData).then(result => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-app-sdk",
3
3
  "private": false,
4
- "version": "1.1.0",
4
+ "version": "1.1.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",