taler-typescript-core

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

commit 27092b405805f08366bceb1feff9b0aa4ff8e376
parent 64d3b96c06b917e85f97d7080bd82c3c6bca1817
Author: Florian Dold <florian@dold.me>
Date:   Sat, 18 Jul 2026 14:22:48 +0200

remove deprecated wallet-core request

Diffstat:
Mpackages/taler-wallet-core/src/wallet-api-types.ts | 23+++++++----------------
Mpackages/taler-wallet-core/src/wallet.ts | 11-----------
2 files changed, 7 insertions(+), 27 deletions(-)

diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts @@ -146,10 +146,10 @@ import { ListGlobalCurrencyExchangesResponse, ListSubscriptionsRequest, ListSubscriptionsResponse, + MailboxBaseUrl, MailboxConfiguration, - MailboxMessageRecord, + MailboxMessageRecordsResponse, MailboxMessagesResponse, - MailboxBaseUrl, PrepareBankIntegratedWithdrawalRequest, PrepareBankIntegratedWithdrawalResponse, PreparePayRequest, @@ -179,6 +179,11 @@ import { StartRefundQueryForUriResponse, StartRefundQueryRequest, StoredBackupList, + TaldirLookupRequest, + TaldirLookupResponse, + TaldirRegistrationCompletionRequest, + TaldirRegistrationRequest, + TaldirRegistrationResponse, TalerErrorCode, TestPayArgs, TestPayResult, @@ -206,12 +211,6 @@ import { WithdrawTestBalanceRequest, WithdrawUriInfoResponse, WithdrawalDetailsForAmount, - MailboxMessageRecordsResponse, - TaldirLookupRequest, - TaldirLookupResponse, - TaldirRegistrationRequest, - TaldirRegistrationResponse, - TaldirRegistrationCompletionRequest, } from "@gnu-taler/taler-util"; import { PaymentBalanceDetails } from "./balance.js"; import { WithdrawTestBalanceResult } from "./testing.js"; @@ -253,7 +252,6 @@ export enum WalletApiOperation { GetTransactions = "getTransactions", GetTransactionsV2 = "getTransactionsV2", GetTransactionById = "getTransactionById", - RetryPendingNow = "retryPendingNow", AbortTransaction = "abortTransaction", FailTransaction = "failTransaction", SuspendTransaction = "suspendTransaction", @@ -724,12 +722,6 @@ export type GetTransactionByIdOp = { response: Transaction; }; -export type RetryPendingNowOp = { - op: WalletApiOperation.RetryPendingNow; - request: EmptyObject; - response: EmptyObject; -}; - /** * Delete a transaction locally in the wallet. */ @@ -1735,7 +1727,6 @@ export type WalletOperations = { [WalletApiOperation.GetTransactionsV2]: GetTransactionsV2Op; [WalletApiOperation.TestingGetSampleTransactions]: TestingGetSampleTransactionsOp; [WalletApiOperation.GetTransactionById]: GetTransactionByIdOp; - [WalletApiOperation.RetryPendingNow]: RetryPendingNowOp; [WalletApiOperation.GetActiveTasks]: GetActiveTasksOp; [WalletApiOperation.DumpCoins]: DumpCoinsOp; [WalletApiOperation.SetCoinSuspended]: SetCoinSuspendedOp; diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts @@ -956,13 +956,6 @@ async function handlePrepareWithdrawExchange( ); } -async function handleRetryPendingNow( - wex: WalletExecutionContext, -): Promise<EmptyObject> { - logger.error("retryPendingNow currently not implemented"); - return {}; -} - async function handleSharePayment( wex: WalletExecutionContext, req: SharePaymentRequest, @@ -2512,10 +2505,6 @@ const handlers: { [T in WalletApiOperation]: HandlerWithValidator<T> } = { codec: codecForGetExchangeTosRequest(), handler: handleGetExchangeTos, }, - [WalletApiOperation.RetryPendingNow]: { - codec: codecForEmptyObject(), - handler: handleRetryPendingNow, - }, [WalletApiOperation.SharePayment]: { codec: codecForSharePaymentRequest(), handler: handleSharePayment,