From 1cde390c23f2668a3777752632c48febd10a28ee Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 14 Jun 2021 16:08:58 +0200 Subject: fix up imports, no more esm in tests --- packages/taler-wallet-core/src/operations/tip.ts | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'packages/taler-wallet-core/src/operations/tip.ts') 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"); -- cgit v1.2.3