tonder-web-sdk 1.16.7 → 1.16.8
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 +5 -1
- package/package.json +1 -1
- package/types/customer.d.ts +4 -0
- package/v1/bundle.min.js +1 -1
package/README.md
CHANGED
|
@@ -438,6 +438,10 @@ const paymentData = {
|
|
|
438
438
|
postCode: "12345",
|
|
439
439
|
email: "john.doe@example.com",
|
|
440
440
|
phone: "1234567890",
|
|
441
|
+
identification:{
|
|
442
|
+
type: "CPF",
|
|
443
|
+
number: "19119119100"
|
|
444
|
+
}
|
|
441
445
|
},
|
|
442
446
|
cart: {
|
|
443
447
|
total: "100.00",
|
|
@@ -571,7 +575,7 @@ If using the Tonder SDK, include your generated signature in the `signatures` fi
|
|
|
571
575
|
|
|
572
576
|
```javascript
|
|
573
577
|
const inlineCheckout = new InlineCheckout({
|
|
574
|
-
mode: "
|
|
578
|
+
mode: "stage",
|
|
575
579
|
apiKey: "<YOUR_API_KEY>",
|
|
576
580
|
returnUrl: "https://your-website.com/checkout",
|
|
577
581
|
signatures: {
|
package/package.json
CHANGED