@infrab4a/connect 5.5.1-beta.1 → 5.5.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.
- package/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -9416,7 +9416,7 @@ class MercadoPagoRequestHelper {
|
|
|
9416
9416
|
static buildPixPayment() {
|
|
9417
9417
|
return {
|
|
9418
9418
|
payment_method_id: 'pix',
|
|
9419
|
-
date_of_expiration: dateFns.format(dateFns.
|
|
9419
|
+
date_of_expiration: dateFns.format(dateFns.addHours(new Date(), 24), "yyyy-MM-dd'T'HH:mm:ss.SSSxxx"),
|
|
9420
9420
|
};
|
|
9421
9421
|
}
|
|
9422
9422
|
static buildBoletoPayment(checkout) {
|
package/index.esm.js
CHANGED
|
@@ -9392,7 +9392,7 @@ class MercadoPagoRequestHelper {
|
|
|
9392
9392
|
static buildPixPayment() {
|
|
9393
9393
|
return {
|
|
9394
9394
|
payment_method_id: 'pix',
|
|
9395
|
-
date_of_expiration: format(
|
|
9395
|
+
date_of_expiration: format(addHours(new Date(), 24), "yyyy-MM-dd'T'HH:mm:ss.SSSxxx"),
|
|
9396
9396
|
};
|
|
9397
9397
|
}
|
|
9398
9398
|
static buildBoletoPayment(checkout) {
|