mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
Pass the correct params for swap SDK
This commit is contained in:
parent
63b0896db9
commit
6d53f7bebe
1 changed files with 3 additions and 4 deletions
|
@ -22,15 +22,14 @@ class MoonpayExchangeWebView extends BasePage {
|
|||
const moonPay = window.MoonPayWebSdk.init;
|
||||
|
||||
const moonPaySdk = moonPay({
|
||||
flow: 'buy',
|
||||
flow: 'swapsCustomerSetup',
|
||||
environment: 'production',
|
||||
variant: 'newTab',
|
||||
params: {
|
||||
apiKey: '${secrets.moonPayApiKey}',
|
||||
theme: 'dark',
|
||||
baseCurrencyCode: 'usd',
|
||||
baseCurrencyAmount: '100',
|
||||
defaultCurrencyCode: 'eth'
|
||||
amountCurrencyCode: 'usd',
|
||||
amount: '100',
|
||||
},
|
||||
debug: $kDebugMode
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue