taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 220dcfc39737aa22d79e397392e3cca0fdd7d8f3
parent 96e8ba5c239c8bcb40cbe330ee599b132005e4de
Author: Florian Dold <florian@dold.me>
Date:   Tue,  7 Nov 2023 13:14:59 +0100

wallet-core: fix bogus validation

Diffstat:
Mpackages/taler-util/src/wallet-types.ts | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts @@ -557,11 +557,11 @@ export interface CoinDumpJson { withdrawal_reserve_pub: string | undefined; coin_status: CoinStatus; spend_allocation: - | { - id: string; - amount: AmountString; - } - | undefined; + | { + id: string; + amount: AmountString; + } + | undefined; /** * Information about the age restriction */ @@ -1583,7 +1583,7 @@ export const codecForIntegrationTestArgs = (): Codec<IntegrationTestArgs> => .property("merchantAuthToken", codecOptional(codecForString())) .property("amountToSpend", codecForAmountString()) .property("amountToWithdraw", codecForAmountString()) - .property("corebankApiBaseUrl", codecForAmountString()) + .property("corebankApiBaseUrl", codecForString()) .build("IntegrationTestArgs"); export interface IntegrationTestV2Args { @@ -1598,7 +1598,7 @@ export const codecForIntegrationTestV2Args = (): Codec<IntegrationTestV2Args> => .property("exchangeBaseUrl", codecForString()) .property("merchantBaseUrl", codecForString()) .property("merchantAuthToken", codecOptional(codecForString())) - .property("corebankApiBaseUrl", codecForAmountString()) + .property("corebankApiBaseUrl", codecForString()) .build("IntegrationTestV2Args"); export interface AddExchangeRequest {