@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 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.addDays(new Date(), 1), 'yyyy-MM-dd') + 'T23:59:59.999-03:00',
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(addDays(new Date(), 1), 'yyyy-MM-dd') + 'T23:59:59.999-03:00',
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "5.5.1-beta.1",
3
+ "version": "5.5.1",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },