commit b1889d732f6b32bc7f77e76651d75285a74e765f
parent 2d3581b773f6591e44b124dc73a4ac843faca7a6
Author: Florian Dold <florian@dold.me>
Date: Sat, 30 May 2026 01:03:13 +0200
rename wire_transfer_gateway to prepared_transfer_url
Diffstat:
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/packages/taler-util/src/types-taler-exchange.ts b/packages/taler-util/src/types-taler-exchange.ts
@@ -781,7 +781,7 @@ export interface ExchangeWireAccount {
// request (short) wire transfer subjects to wire funds to this
// exchange without having to encode the full public key.
// @since protocol **v34**.
- wire_transfer_gateway?: string;
+ prepared_transfer_url?: string;
// Restrictions that apply to bank accounts that would send
// funds to the exchange (crediting this exchange bank account).
@@ -810,7 +810,7 @@ export const codecForExchangeWireAccount = (): Codec<ExchangeWireAccount> =>
buildCodecForObject<ExchangeWireAccount>()
.property("conversion_url", codecOptional(codecForStringURL()))
.property("open_banking_gateway", codecOptional(codecForStringURL()))
- .property("wire_transfer_gateway", codecOptional(codecForStringURL()))
+ .property("prepared_transfer_url", codecOptional(codecForStringURL()))
.property("credit_restrictions", codecForList(codecForAny()))
.property("debit_restrictions", codecForList(codecForAny()))
.property("master_sig", codecForEddsaSignature())
diff --git a/packages/taler-wallet-core/src/exchanges.ts b/packages/taler-wallet-core/src/exchanges.ts
@@ -679,7 +679,7 @@ async function validateWireInfo(
conversionUrl: a.conversion_url,
creditRestrictions: a.credit_restrictions,
debitRestrictions: a.debit_restrictions,
- wireTransferGatewayUrl: a.wire_transfer_gateway,
+ wireTransferGatewayUrl: a.prepared_transfer_url,
});
isValid = v;
}
diff --git a/packages/taler-wallet-core/src/withdraw.ts b/packages/taler-wallet-core/src/withdraw.ts
@@ -4188,10 +4188,10 @@ async function fetchAccount(
if (
reservePub != null &&
reservePriv != null &&
- acct.wire_transfer_gateway != null
+ acct.prepared_transfer_url != null
) {
const prepClient = new TalerPreparedTransferHttpClient(
- acct.wire_transfer_gateway,
+ acct.prepared_transfer_url,
);
const mySig = eddsaSign(decodeCrock(reservePub), decodeCrock(reservePriv));
const resp = succeedOrThrow(