-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
chore: updates deposit region list #16887
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Missing Constant and Incorrect File Extensions
The FIAT_CURRENCIES constant, previously exported from constants.ts, is missing from the new modular structure and is not re-exported from index.ts, breaking existing code. Additionally, all re-export statements in index.ts incorrectly include the .ts file extension (e.g., ./cryptoCurrencies.ts), which can cause compilation errors.
app/components/UI/Ramp/Deposit/constants/index.ts#L1-L40
metamask-mobile/app/components/UI/Ramp/Deposit/constants/index.ts
Lines 1 to 40 in 62fe26f
| // Re-export all interfaces and constants from the separated files | |
| export type { | |
| DepositCryptoCurrency, | |
| } from './cryptoCurrencies.ts'; | |
| export { | |
| USDC_TOKEN, | |
| USDT_TOKEN, | |
| SUPPORTED_DEPOSIT_TOKENS, | |
| } from './cryptoCurrencies.ts'; | |
| export type { | |
| DepositPaymentMethod, | |
| } from './paymentMethods.ts'; | |
| export { | |
| DEBIT_CREDIT_PAYMENT_METHOD, | |
| SEPA_PAYMENT_METHOD, | |
| APPLE_PAY_PAYMENT_METHOD, | |
| SUPPORTED_PAYMENT_METHODS, | |
| } from './paymentMethods.ts'; | |
| export type { | |
| DepositFiatCurrency, | |
| } from './constants.ts'; | |
| export { | |
| USD_CURRENCY, | |
| EUR_CURRENCY, | |
| TRANSAK_NETWORKS, | |
| TRANSAK_SUPPORT_URL, | |
| } from './constants.ts'; | |
| export type { | |
| DepositRegion, | |
| } from './regions.ts'; | |
| export { | |
| DEPOSIT_REGIONS, | |
| } from './regions.ts'; |
Was this report helpful? Give feedback by reacting with 👍 or 👎
|
|


Description
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist