taler-typescript-core

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

commit 9264887050d84d0d30d882fd0f0539ca202018e2
parent 4e16c48f2b12be7f4a34a5e42772d3ce748e7302
Author: Florian Dold <florian@dold.me>
Date:   Mon,  1 Jun 2026 12:31:52 +0200

util: parse default_p2p_push_expiration field, remove unused field

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

diff --git a/packages/taler-util/src/types-taler-exchange.ts b/packages/taler-util/src/types-taler-exchange.ts @@ -354,12 +354,6 @@ export interface ExchangeKeysResponse { */ currency: string; - // Open banking gateway base URL where wallets can - // initiate wire transfers to withdraw - // digital cash from this exchange. - // @since protocol **v30**. - open_banking_gateway?: string; - // Instructs wallets to use certain bank-specific // language (for buttons) and/or other UI/UX customization // for compliance with the rules of that bank. @@ -516,6 +510,10 @@ export interface ExchangeKeysResponse { // likely to send money to nirvana instead of where users want it. // @since in protocol **v30**. disable_direct_deposit?: boolean; + + // How long should a P2P push payment be valid by default. + // @since protocol **v35**. + default_p2p_push_expiration?: RelativeTime; } export interface ExchangeMeltRequest { @@ -2558,7 +2556,7 @@ export const codecForExchangeKeysResponse = (): Codec<ExchangeKeysResponse> => .property("tiny_amount", codecOptional(codecForAmountString())) .property("disable_direct_deposit", codecOptional(codecForBoolean())) .property("bank_compliance_language", codecOptional(codecForString())) - .property("open_banking_gateway", codecOptional(codecForURLString())) + .property("default_p2p_push_expiration", codecOptional(codecForDuration)) .deprecatedProperty("rewards_allowed") .build("TalerExchangeApi.ExchangeKeysResponse");