aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/withdraw.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-02-19 18:42:33 +0100
committerFlorian Dold <florian@dold.me>2024-02-19 18:42:33 +0100
commiteb1500e517d475aad22cfe02c8a5c5c6acefe00a (patch)
tree4572e0f8437fae4de6d6d7dade2c874af95769f2 /packages/taler-wallet-core/src/withdraw.ts
parente888d7f292f68a58fc4b56771fb8a38219d53b86 (diff)
downloadwallet-core-eb1500e517d475aad22cfe02c8a5c5c6acefe00a.tar.xz
get rid of deprecated/unused types
Diffstat (limited to 'packages/taler-wallet-core/src/withdraw.ts')
-rw-r--r--packages/taler-wallet-core/src/withdraw.ts47
1 files changed, 24 insertions, 23 deletions
diff --git a/packages/taler-wallet-core/src/withdraw.ts b/packages/taler-wallet-core/src/withdraw.ts
index a986d00a9..7e9b295bd 100644
--- a/packages/taler-wallet-core/src/withdraw.ts
+++ b/packages/taler-wallet-core/src/withdraw.ts
@@ -85,6 +85,17 @@ import {
readSuccessResponseJsonOrThrow,
throwUnexpectedRequestError,
} from "@gnu-taler/taler-util/http";
+import {
+ PendingTaskType,
+ TaskId,
+ TaskRunResult,
+ TaskRunResultType,
+ TombstoneTag,
+ TransactionContext,
+ constructTaskIdentifier,
+ makeCoinAvailable,
+ makeCoinsVisible,
+} from "./common.js";
import { EddsaKeypair } from "./crypto/cryptoImplementation.js";
import {
CoinRecord,
@@ -101,46 +112,36 @@ import {
WithdrawalRecordType,
} from "./db.js";
import {
+ ReadyExchangeSummary,
+ fetchFreshExchange,
+ getExchangePaytoUri,
+ getExchangeWireDetailsInTx,
+ listExchanges,
+ markExchangeUsed,
+} from "./exchanges.js";
+import {
WalletDbReadOnlyTransaction,
WalletDbReadWriteTransaction,
isWithdrawableDenom,
timestampPreciseToDb,
} from "./index.js";
import { InternalWalletState } from "./internal-wallet-state.js";
+import { DbAccess } from "./query.js";
import {
- TaskRunResult,
- TaskRunResultType,
- TombstoneTag,
- TransactionContext,
- constructTaskIdentifier,
- makeCoinAvailable,
- makeCoinsVisible,
-} from "./common.js";
-import { PendingTaskType, TaskId } from "./pending-types.js";
+ TransitionInfo,
+ constructTransactionIdentifier,
+ notifyTransition,
+} from "./transactions.js";
import { assertUnreachable } from "./util/assertUnreachable.js";
import {
selectForcedWithdrawalDenominations,
selectWithdrawalDenominations,
} from "./util/coinSelection.js";
import { checkDbInvariant, checkLogicInvariant } from "./util/invariants.js";
-import { DbAccess } from "./query.js";
import {
WALLET_BANK_INTEGRATION_PROTOCOL_VERSION,
WALLET_EXCHANGE_PROTOCOL_VERSION,
} from "./versions.js";
-import {
- ReadyExchangeSummary,
- fetchFreshExchange,
- getExchangePaytoUri,
- getExchangeWireDetailsInTx,
- listExchanges,
- markExchangeUsed,
-} from "./exchanges.js";
-import {
- TransitionInfo,
- constructTransactionIdentifier,
- notifyTransition,
-} from "./transactions.js";
/**
* Logger for this file.