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/refresh.ts | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'packages/taler-wallet-core/src/operations/refresh.ts') diff --git a/packages/taler-wallet-core/src/operations/refresh.ts b/packages/taler-wallet-core/src/operations/refresh.ts index 0b0eb4c4a..c442a7c90 100644 --- a/packages/taler-wallet-core/src/operations/refresh.ts +++ b/packages/taler-wallet-core/src/operations/refresh.ts @@ -14,7 +14,7 @@ GNU Taler; see the file COPYING. If not, see */ -import { encodeCrock, getRandomBytes } from "../crypto/talerCrypto"; +import { encodeCrock, getRandomBytes } from "../crypto/talerCrypto.js"; import { CoinRecord, CoinSourceType, @@ -36,10 +36,10 @@ import { } from "@gnu-taler/taler-util"; import { AmountJson, Amounts } from "@gnu-taler/taler-util"; import { amountToPretty } from "@gnu-taler/taler-util"; -import { readSuccessResponseJsonOrThrow } from "../util/http"; -import { checkDbInvariant } from "../util/invariants"; +import { readSuccessResponseJsonOrThrow } from "../util/http.js"; +import { checkDbInvariant } from "../util/invariants.js"; import { Logger } from "@gnu-taler/taler-util"; -import { initRetryInfo, updateRetryInfoTimeout } from "../util/retries"; +import { initRetryInfo, updateRetryInfoTimeout } from "../util/retries.js"; import { Duration, durationFromSpec, @@ -51,14 +51,13 @@ import { timestampDifference, timestampMin, } from "@gnu-taler/taler-util"; -import { URL } from "../util/url"; -import { guardOperationException } from "./errors"; -import { updateExchangeFromUrl } from "./exchanges"; -import { EXCHANGE_COINS_LOCK, InternalWalletState } from "./state"; -import { isWithdrawableDenom, selectWithdrawalDenominations } from "./withdraw"; +import { URL } from "../util/url.js"; +import { guardOperationException } from "./errors.js"; +import { updateExchangeFromUrl } from "./exchanges.js"; +import { EXCHANGE_COINS_LOCK, InternalWalletState } from "./state.js"; +import { isWithdrawableDenom, selectWithdrawalDenominations } from "./withdraw.js"; import { RefreshNewDenomInfo } from "../crypto/cryptoTypes.js"; import { GetReadWriteAccess } from "../util/query.js"; -import { Wallet } from "../wallet.js"; const logger = new Logger("refresh.ts"); -- cgit v1.2.3