From da59c85d2da6541ba54578adb43db1e4bf12dafa Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 22 Apr 2023 18:36:56 +0200 Subject: get rid of deprecated bankBaseUrl in more places --- packages/taler-wallet-core/src/bank-api-client.ts | 7 +------ packages/taler-wallet-core/src/dbless.ts | 3 --- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'packages/taler-wallet-core') diff --git a/packages/taler-wallet-core/src/bank-api-client.ts b/packages/taler-wallet-core/src/bank-api-client.ts index ac8eedc27..33f12172b 100644 --- a/packages/taler-wallet-core/src/bank-api-client.ts +++ b/packages/taler-wallet-core/src/bank-api-client.ts @@ -57,10 +57,6 @@ export interface BankAccountBalanceResponse { } export interface BankServiceHandle { - /** - * @deprecated - */ - readonly baseUrl: string; readonly bankAccessApiBaseUrl: string; readonly http: HttpRequestLibrary; } @@ -155,10 +151,9 @@ export namespace BankApi { debitAccountPayto: string; }, ) { - let maybeBaseUrl = bank.baseUrl; let url = new URL( `taler-wire-gateway/${params.exchangeBankAccount.accountName}/admin/add-incoming`, - maybeBaseUrl, + bank.bankAccessApiBaseUrl, ); await bank.http.postJson( url.href, diff --git a/packages/taler-wallet-core/src/dbless.ts b/packages/taler-wallet-core/src/dbless.ts index 3fb56924d..87e3984b6 100644 --- a/packages/taler-wallet-core/src/dbless.ts +++ b/packages/taler-wallet-core/src/dbless.ts @@ -112,7 +112,6 @@ export async function checkReserve( export interface TopupReserveWithDemobankArgs { http: HttpRequestLibrary; reservePub: string; - bankBaseUrl: string; bankAccessApiBaseUrl: string; exchangeInfo: ExchangeInfo; amount: AmountString; @@ -122,7 +121,6 @@ export async function topupReserveWithDemobank( args: TopupReserveWithDemobankArgs, ) { const { - bankBaseUrl, http, bankAccessApiBaseUrl, amount, @@ -130,7 +128,6 @@ export async function topupReserveWithDemobank( reservePub, } = args; const bankHandle: BankServiceHandle = { - baseUrl: bankBaseUrl, bankAccessApiBaseUrl: bankAccessApiBaseUrl, http, }; -- cgit v1.2.3