juspay / hyperswitch-web

Hyperswitch Web SDK: A Rescript powered React library for seamless payment integration and customization.
https://hyperswitch.io/
Apache License 2.0
53 stars 60 forks source link

refactor: async await refactoring - 1 #768

Closed PritishBudhiraja closed 1 week ago

PritishBudhiraja commented 2 weeks ago

Type of Change

Description

for better code readability and enhancing dev experience let's start using async await from now on in our code base.

Will raise multiple PR's for the same so it won't cause issue in reviewing.

How did you test it?

Code compilation and basic sanity.

Files touched in this -

  1. states.json fetching
  2. Paze
  3. Plaid
  4. SavedPaymentManagement.res - Payment method management
  5. QR Code display

Need to test these flows like nothing should break in this.

Checklist

semanticdiff-com[bot] commented 2 weeks ago

Review changes with  SemanticDiff

seekshiva commented 1 week ago

@Sanskar2001 there is some timeout error that happened while Cypress was running. Can you check on it?

seekshiva commented 1 week ago

Merging this PR ignoring the cypress error.