From e1a7bf4825162b4b95669ae6b4552589f4a64217 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 19 Feb 2024 19:45:26 +0100 Subject: wallet-core: better import hygiene, cleanup withdrawals --- packages/taler-wallet-core/src/deposits.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'packages/taler-wallet-core/src/deposits.ts') 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. -- cgit v1.2.3