hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

feat(wasm): fetch list of country codes and country names

Open bsayak03 opened this issue 9 months ago • 1 comments

Type of Change

  • [ ] Bugfix
  • [x] New feature
  • [ ] Enhancement
  • [ ] Refactoring
  • [ ] Dependency updates
  • [ ] Documentation
  • [ ] CI/CD

Description

Added a function get_two_letter_country_code() which fetches a list of country codes and country names for the FrontEnd to create a drop down so that the Merchant can select the country from the country list in the Dashboard.

Additional Changes

  • [ ] This PR modifies the API contract
  • [ ] This PR modifies the database schema
  • [ ] This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Checklist

  • [x] I formatted the code cargo +nightly fmt --all
  • [x] I addressed lints thrown by cargo clippy
  • [x] I reviewed the submitted code
  • [ ] I added unit tests for my changes where possible

bsayak03 avatar Mar 26 '25 11:03 bsayak03

Review changes with  SemanticDiff

Changed Files
File Status
  crates/euclid_wasm/src/lib.rs  0% smaller

semanticdiff-com[bot] avatar Mar 26 '25 11:03 semanticdiff-com[bot]