diff options
Diffstat (limited to 'demobank/index.js')
-rw-r--r-- | demobank/index.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demobank/index.js b/demobank/index.js index cbbe29e8e..cd8329975 100644 --- a/demobank/index.js +++ b/demobank/index.js @@ -12824,7 +12824,7 @@ var codecForGetPlanForWithdrawRequest = codecForGetPlanForWalletInitiatedOperati var codecForGetPlanForDepositRequest = codecForGetPlanForWalletInitiatedOperation().property("type", codecForConstString(TransactionType.Deposit)).property("account", codecForString()).build("GetPlanForDepositRequest"); var codecForGetPlanForPushDebitRequest = codecForGetPlanForWalletInitiatedOperation().property("type", codecForConstString(TransactionType.PeerPushDebit)).build("GetPlanForPushDebitRequest"); var codecForGetPlanForPullCreditRequest = codecForGetPlanForWalletInitiatedOperation().property("type", codecForConstString(TransactionType.PeerPullCredit)).property("exchangeUrl", codecForString()).build("GetPlanForPullCreditRequest"); -var codecForGetPlanForPaymentRequest = buildCodecForObject().property("type", codecForConstString(TransactionType.Payment)).property("maxDepositFee", codecForAmountString()).property("maxWireFee", codecForAmountString()).build("GetPlanForPaymentRequest"); +var codecForGetPlanForPaymentRequest = buildCodecForObject().property("type", codecForConstString(TransactionType.Payment)).property("maxDepositFee", codecForAmountString()).build("GetPlanForPaymentRequest"); var codecForGetPlanForPullDebitRequest = buildCodecForObject().property("type", codecForConstString(TransactionType.PeerPullDebit)).build("GetPlanForPullDebitRequest"); var codecForGetPlanForPushCreditRequest = buildCodecForObject().property("type", codecForConstString(TransactionType.PeerPushCredit)).build("GetPlanForPushCreditRequest"); var BalanceFlag; @@ -25221,9 +25221,9 @@ function PaytoWireTransferForm({ assertUnreachable(parsed); } } - const amountStr = parsed.params["amount"] ?? `${config.currency}:0`; + const amountStr = !parsed.params ? void 0 : parsed.params["amount"]; if (amountStr) { - const amount2 = Amounts.parse(parsed.params["amount"]); + const amount2 = Amounts.parse(amountStr); if (amount2) { setAmount(Amounts.stringifyValue(amount2)); } @@ -29548,7 +29548,7 @@ var AccountPage = utils_exports.compose( // src/pages/BankFrame.tsx init_preact_module(); init_hooks_module(); -var GIT_HASH = true ? "4a2df56038c7afc882e6c05bdba26440eac06e4f" : void 0; +var GIT_HASH = true ? "b0a07c2c729d6ac1ac43ce6ce31cfaf51dc5fd55" : void 0; var VERSION = true ? "0.9.3-dev.29" : void 0; function BankFrame({ children, |