taler-typescript-core

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

commit 7347a5d794f3829b19b5963753fe0adbacd573f8
parent daf91276b5fc16d92cd6d0886e4aa4d433461b7e
Author: Sebastian <sebasjm@gmail.com>
Date:   Tue,  8 Apr 2025 18:18:14 -0300

add rule name

Diffstat:
Mpackages/taler-harness/src/integrationtests/test-kyc-merchant-deposit.ts | 10----------
Mpackages/taler-util/src/types-taler-exchange.ts | 4++++
2 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/packages/taler-harness/src/integrationtests/test-kyc-merchant-deposit.ts b/packages/taler-harness/src/integrationtests/test-kyc-merchant-deposit.ts @@ -83,7 +83,6 @@ export async function runKycMerchantDepositTest(t: GlobalTestState) { const { merchant, - walletClient, bankClient, exchange, exchangeBankAccount, @@ -116,15 +115,6 @@ export async function runKycMerchantDepositTest(t: GlobalTestState) { // Withdraw digital cash into the wallet. - const wres = await withdrawViaBankV3(t, { - bankClient, - amount: "TESTKUDOS:50", - exchange: exchange, - walletClient: walletClient, - }); - - await wres.withdrawalFinishedCond; - let kycRespOne: MerchantAccountKycRedirectsResponse | undefined = undefined; while (1) { diff --git a/packages/taler-util/src/types-taler-exchange.ts b/packages/taler-util/src/types-taler-exchange.ts @@ -1789,6 +1789,9 @@ export interface AccountLimit { // in the UI that would cause violations of hard limits. // Made optional in **v21** with a default of 'false' if missing. soft_limit?: boolean; + + // FIXME: undocumented + rule_name?: string; } export interface KycProcessClientInformation { @@ -2514,6 +2517,7 @@ export const codecForAccountLimit = (): Codec<AccountLimit> => .property("timeframe", codecForDuration) .property("threshold", codecForAmountString()) .property("soft_limit", codecOptional(codecForBoolean())) + .property("rule_name", codecOptional(codecForString())) .build("TalerExchangeApi.AccountLimit"); export const codecForZeroLimitedOperation = (): Codec<ZeroLimitedOperation> =>