commit 852165ddc2070c61f1e43e395fe09de4bc35cfbf parent 7908944cbc91687752b4f7f961814d7691246c88 Author: Sebastian <sebasjm@taler-systems.com> Date: Thu, 11 Jun 2026 16:42:57 -0300 fix TalerPreparedTransferHttpClient not using def http client on webex Diffstat:
5 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/packages/taler-util/src/http-impl.missing.ts b/packages/taler-util/src/http-impl.missing.ts @@ -33,6 +33,6 @@ export class HttpLibImpl implements HttpRequestLibrary { url: string, opt?: HttpRequestOptions | undefined, ): Promise<HttpResponse> { - throw new Error("Method not implemented."); + throw new Error("Method not implemented. HttpLibImpl.fetch"); } } diff --git a/packages/taler-util/src/types-taler-wallet.ts b/packages/taler-util/src/types-taler-wallet.ts @@ -3949,11 +3949,13 @@ export const codecForRunFixupRequest = (): Codec<RunFixupRequest> => export interface WithdrawalExchangeAccountDetails { /** - * Payto URI to credit the exchange. + * Payto URI to of the exchange. * * Depending on whether the (manual!) withdrawal is accepted or just * being checked, this already includes the subject with the * reserve public key. + * + * Wallet UIs should never show instructions to send money to the exchange's payto */ paytoUri: string; diff --git a/packages/taler-wallet-core/src/exchanges.ts b/packages/taler-wallet-core/src/exchanges.ts @@ -2571,19 +2571,19 @@ export class DenomLossTransactionContext implements TransactionContext { } userAbortTransaction(): Promise<void> { - throw new Error("Method not implemented."); + throw new Error("Method not implemented - DenomLossTransactionContext.userAbortTransaction"); } userSuspendTransaction(): Promise<void> { - throw new Error("Method not implemented."); + throw new Error("Method not implemented - DenomLossTransactionContext.userSuspendTransaction"); } userResumeTransaction(): Promise<void> { - throw new Error("Method not implemented."); + throw new Error("Method not implemented - DenomLossTransactionContext.userResumeTransaction"); } userFailTransaction(): Promise<void> { - throw new Error("Method not implemented."); + throw new Error("Method not implemented - DenomLossTransactionContext.userResumeTransaction"); } async userDeleteTransaction(): Promise<void> { diff --git a/packages/taler-wallet-core/src/recoup.ts b/packages/taler-wallet-core/src/recoup.ts @@ -439,19 +439,19 @@ export class RecoupTransactionContext implements TransactionContext { } userAbortTransaction(): Promise<void> { - throw new Error("Method not implemented."); + throw new Error("Method not implemented RecoupTransactionContext.userAbortTransaction"); } userSuspendTransaction(): Promise<void> { - throw new Error("Method not implemented."); + throw new Error("Method not implemented RecoupTransactionContext.userSuspendTransaction"); } userResumeTransaction(): Promise<void> { - throw new Error("Method not implemented."); + throw new Error("Method not implemented RecoupTransactionContext.userResumeTransaction"); } userFailTransaction(): Promise<void> { - throw new Error("Method not implemented."); + throw new Error("Method not implemented RecoupTransactionContext.userFailTransaction"); } async userDeleteTransaction(): Promise<void> { diff --git a/packages/taler-wallet-core/src/withdraw.ts b/packages/taler-wallet-core/src/withdraw.ts @@ -4205,6 +4205,7 @@ async function fetchAccount( ) { const prepClient = new TalerPreparedTransferHttpClient( acct.prepared_transfer_url, + { httpClient: wex.http }, ); const mySig = eddsaSign(decodeCrock(reservePub), decodeCrock(reservePriv)); const resp = succeedOrThrow(