aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/tip.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-06-14 16:08:58 +0200
committerFlorian Dold <florian@dold.me>2021-06-14 16:08:58 +0200
commit1cde390c23f2668a3777752632c48febd10a28ee (patch)
treed5efa59c867b8a92e32fde37da841c4c0b8154fd /packages/taler-wallet-core/src/operations/tip.ts
parentbed86d96135d3f7faa34d9c1e377c8fb2b06abea (diff)
downloadwallet-core-1cde390c23f2668a3777752632c48febd10a28ee.tar.xz
fix up imports, no more esm in tests
Diffstat (limited to 'packages/taler-wallet-core/src/operations/tip.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/tip.ts15
1 files changed, 7 insertions, 8 deletions
diff --git a/packages/taler-wallet-core/src/operations/tip.ts b/packages/taler-wallet-core/src/operations/tip.ts
index b96a8fcef..d82331632 100644
--- a/packages/taler-wallet-core/src/operations/tip.ts
+++ b/packages/taler-wallet-core/src/operations/tip.ts
@@ -37,19 +37,12 @@ import {
CoinSourceType,
CoinStatus,
} from "../db.js";
-import {
- URL,
- readSuccessResponseJsonOrThrow,
- encodeCrock,
- getRandomBytes,
- getHttpResponseErrorDetails,
-} from "../index.js";
import { j2s } from "@gnu-taler/taler-util";
import { checkDbInvariant, checkLogicInvariant } from "../util/invariants.js";
import { initRetryInfo, updateRetryInfoTimeout } from "../util/retries.js";
import { guardOperationException, makeErrorDetails } from "./errors.js";
import { updateExchangeFromUrl } from "./exchanges.js";
-import { InternalWalletState } from "./state";
+import { InternalWalletState } from "./state.js";
import {
getExchangeWithdrawalInfo,
updateWithdrawalDenoms,
@@ -57,6 +50,12 @@ import {
selectWithdrawalDenominations,
denomSelectionInfoToState,
} from "./withdraw.js";
+import { URL } from "../util/url.js";
+import {
+ getHttpResponseErrorDetails,
+ readSuccessResponseJsonOrThrow,
+} from "../util/http.js";
+import { encodeCrock, getRandomBytes } from "../crypto/talerCrypto.js";
const logger = new Logger("operations/tip.ts");