diff options
author | Florian Dold <florian@dold.me> | 2024-02-19 19:45:26 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-02-19 20:07:45 +0100 |
commit | e1a7bf4825162b4b95669ae6b4552589f4a64217 (patch) | |
tree | c8bdfe19ed9ed120e44d7c4be04a10bcfd1e67ff /packages/taler-wallet-core/src/dbless.ts | |
parent | 0b044475a96ae140754ce478af41fc24424d7cc3 (diff) | |
download | wallet-core-e1a7bf4825162b4b95669ae6b4552589f4a64217.tar.xz |
wallet-core: better import hygiene, cleanup withdrawals
Diffstat (limited to 'packages/taler-wallet-core/src/dbless.ts')
-rw-r--r-- | packages/taler-wallet-core/src/dbless.ts | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/packages/taler-wallet-core/src/dbless.ts b/packages/taler-wallet-core/src/dbless.ts index 968d3b958..e538a6e76 100644 --- a/packages/taler-wallet-core/src/dbless.ts +++ b/packages/taler-wallet-core/src/dbless.ts @@ -29,29 +29,26 @@ import { AbsoluteTime, AgeRestriction, AmountJson, - Amounts, AmountString, + Amounts, + DenominationPubKey, + ExchangeBatchDepositRequest, + ExchangeBatchWithdrawRequest, + ExchangeMeltRequest, + ExchangeProtocolVersion, + Logger, TalerCorebankApiClient, + UnblindedSignature, codecForAny, codecForBankWithdrawalOperationPostResponse, codecForBatchDepositSuccess, codecForExchangeMeltResponse, codecForExchangeRevealResponse, - codecForWithdrawResponse, - DenominationPubKey, + codecForExchangeWithdrawBatchResponse, encodeCrock, - ExchangeBatchDepositRequest, - ExchangeMeltRequest, - ExchangeProtocolVersion, - ExchangeWithdrawRequest, getRandomBytes, hashWire, - Logger, parsePaytoUri, - UnblindedSignature, - ExchangeBatchWithdrawRequest, - ExchangeWithdrawBatchResponse, - codecForExchangeWithdrawBatchResponse, } from "@gnu-taler/taler-util"; import { HttpRequestLibrary, @@ -59,16 +56,10 @@ import { } from "@gnu-taler/taler-util/http"; import { TalerCryptoInterface } from "./crypto/cryptoImplementation.js"; import { DenominationRecord } from "./db.js"; -import { - ExchangeInfo, - ExchangeKeysDownloadResult, - isWithdrawableDenom, -} from "./index.js"; +import { ExchangeInfo } from "./exchanges.js"; import { assembleRefreshRevealRequest } from "./refresh.js"; -import { - getBankStatusUrl, - getBankWithdrawalInfo, -} from "./withdraw.js"; +import { isWithdrawableDenom } from "./util/denominations.js"; +import { getBankStatusUrl, getBankWithdrawalInfo } from "./withdraw.js"; const logger = new Logger("dbless.ts"); |