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/deposits.ts | |
parent | 0b044475a96ae140754ce478af41fc24424d7cc3 (diff) | |
download | wallet-core-e1a7bf4825162b4b95669ae6b4552589f4a64217.tar.gz wallet-core-e1a7bf4825162b4b95669ae6b4552589f4a64217.tar.bz2 wallet-core-e1a7bf4825162b4b95669ae6b4552589f4a64217.zip |
wallet-core: better import hygiene, cleanup withdrawals
Diffstat (limited to 'packages/taler-wallet-core/src/deposits.ts')
-rw-r--r-- | packages/taler-wallet-core/src/deposits.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/taler-wallet-core/src/deposits.ts b/packages/taler-wallet-core/src/deposits.ts index b6cfa7aae..906503430 100644 --- a/packages/taler-wallet-core/src/deposits.ts +++ b/packages/taler-wallet-core/src/deposits.ts @@ -78,25 +78,24 @@ import { constructTaskIdentifier, spendCoins, } from "./common.js"; -import { DepositElementStatus, DepositGroupRecord } from "./db.js"; -import { getExchangeWireDetailsInTx } from "./exchanges.js"; import { + DepositElementStatus, + DepositGroupRecord, DepositOperationStatus, DepositTrackingInfo, KycPendingInfo, RefreshOperationStatus, - createRefreshGroup, - getCandidateWithdrawalDenomsTx, - getTotalRefreshCost, timestampPreciseToDb, timestampProtocolToDb, -} from "./index.js"; +} from "./db.js"; +import { getExchangeWireDetailsInTx } from "./exchanges.js"; import { InternalWalletState } from "./internal-wallet-state.js"; import { extractContractData, generateDepositPermissions, getTotalPaymentCost, } from "./pay-merchant.js"; +import { createRefreshGroup, getTotalRefreshCost } from "./refresh.js"; import { constructTransactionIdentifier, notifyTransition, @@ -105,6 +104,7 @@ import { import { assertUnreachable } from "./util/assertUnreachable.js"; import { selectPayCoinsNew } from "./util/coinSelection.js"; import { checkDbInvariant, checkLogicInvariant } from "./util/invariants.js"; +import { getCandidateWithdrawalDenomsTx } from "./withdraw.js"; /** * Logger. |