aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/exchanges.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/exchanges.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/exchanges.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/exchanges.ts13
1 files changed, 3 insertions, 10 deletions
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");