diff options
author | Florian Dold <florian@dold.me> | 2021-06-14 16:08:58 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-06-14 16:08:58 +0200 |
commit | 1cde390c23f2668a3777752632c48febd10a28ee (patch) | |
tree | d5efa59c867b8a92e32fde37da841c4c0b8154fd /packages/taler-wallet-core/src/operations/refresh.ts | |
parent | bed86d96135d3f7faa34d9c1e377c8fb2b06abea (diff) | |
download | wallet-core-1cde390c23f2668a3777752632c48febd10a28ee.tar.xz |
fix up imports, no more esm in tests
Diffstat (limited to 'packages/taler-wallet-core/src/operations/refresh.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/refresh.ts | 19 |
1 files changed, 9 insertions, 10 deletions
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 <http://www.gnu.org/licenses/> */ -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"); |