diff options
Diffstat (limited to 'packages/taler-wallet-core/src/internal-wallet-state.ts')
-rw-r--r-- | packages/taler-wallet-core/src/internal-wallet-state.ts | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/packages/taler-wallet-core/src/internal-wallet-state.ts b/packages/taler-wallet-core/src/internal-wallet-state.ts index 20f8a7511..b1389a359 100644 --- a/packages/taler-wallet-core/src/internal-wallet-state.ts +++ b/packages/taler-wallet-core/src/internal-wallet-state.ts @@ -55,6 +55,7 @@ import { import { TimerGroup } from "./util/timer.js"; import { WalletConfig } from "./wallet-api-types.js"; import { IDBFactory } from "@gnu-taler/idb-bridge"; +import { ReadyExchangeSummary } from "./index.js"; export const EXCHANGE_COINS_LOCK = "exchange-coins-lock"; export const EXCHANGE_RESERVES_LOCK = "exchange-reserves-lock"; @@ -107,17 +108,14 @@ export interface ExchangeOperations { }>, exchangeBaseUrl: string, ): Promise<ExchangeDetailsRecord | undefined>; - updateExchangeFromUrl( + fetchFreshExchange( ws: InternalWalletState, baseUrl: string, options?: { forceNow?: boolean; cancellationToken?: CancellationToken; }, - ): Promise<{ - exchange: ExchangeEntryRecord; - exchangeDetails: ExchangeDetailsRecord; - }>; + ): Promise<ReadyExchangeSummary>; } export interface RecoupOperations { |