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/exchanges.ts | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'packages/taler-wallet-core/src/operations/exchanges.ts') diff --git a/packages/taler-wallet-core/src/operations/exchanges.ts b/packages/taler-wallet-core/src/operations/exchanges.ts index 1f9a2ea6a..1948f70e1 100644 --- a/packages/taler-wallet-core/src/operations/exchanges.ts +++ b/packages/taler-wallet-core/src/operations/exchanges.ts @@ -47,15 +47,6 @@ import { WireInfo, WalletStoresV1, } from "../db.js"; -import { - URL, - readSuccessResponseJsonOrThrow, - getExpiryTimestamp, - readSuccessResponseTextOrThrow, - encodeCrock, - hash, - decodeCrock, -} from "../index.js"; import { j2s, canonicalizeBaseUrl } from "@gnu-taler/taler-util"; import { updateRetryInfoTimeout, initRetryInfo } from "../util/retries.js"; import { @@ -69,9 +60,11 @@ import { WALLET_CACHE_BREAKER_CLIENT_VERSION, WALLET_EXCHANGE_PROTOCOL_VERSION, } from "./versions.js"; -import { HttpRequestLibrary } from "../util/http.js"; +import { getExpiryTimestamp, HttpRequestLibrary, readSuccessResponseJsonOrThrow, readSuccessResponseTextOrThrow } from "../util/http.js"; import { CryptoApi } from "../crypto/workers/cryptoApi.js"; import { DbAccess, GetReadOnlyAccess } from "../util/query.js"; +import { decodeCrock, encodeCrock, hash } from "../crypto/talerCrypto.js"; +import { URL } from "../util/url.js"; const logger = new Logger("exchanges.ts"); -- cgit v1.2.3