diff options
Diffstat (limited to 'packages/taler-wallet-core/src/headless')
| -rw-r--r-- | packages/taler-wallet-core/src/headless/NodeHttpLib.ts | 3 | ||||
| -rw-r--r-- | packages/taler-wallet-core/src/headless/helpers.ts | 12 |
2 files changed, 8 insertions, 7 deletions
diff --git a/packages/taler-wallet-core/src/headless/NodeHttpLib.ts b/packages/taler-wallet-core/src/headless/NodeHttpLib.ts index dc649a65e..74672cd3f 100644 --- a/packages/taler-wallet-core/src/headless/NodeHttpLib.ts +++ b/packages/taler-wallet-core/src/headless/NodeHttpLib.ts @@ -28,11 +28,10 @@ import { import { RequestThrottler } from "../util/RequestThrottler"; import Axios, { AxiosResponse } from "axios"; import { OperationFailedError, makeErrorDetails } from "../operations/errors"; -import { TalerErrorCode } from "../TalerErrorCode"; import { URL } from "../util/url"; import { Logger } from "../util/logging"; import { bytesToString } from "../crypto/talerCrypto"; -import { j2s } from "../util/helpers"; +import { TalerErrorCode } from "@gnu-taler/taler-util"; const logger = new Logger("NodeHttpLib.ts"); diff --git a/packages/taler-wallet-core/src/headless/helpers.ts b/packages/taler-wallet-core/src/headless/helpers.ts index ef97bc48e..5007a65ac 100644 --- a/packages/taler-wallet-core/src/headless/helpers.ts +++ b/packages/taler-wallet-core/src/headless/helpers.ts @@ -23,18 +23,20 @@ * Imports. */ import { Wallet } from "../wallet"; -import { MemoryBackend, BridgeIDBFactory, shimIndexedDB } from "@gnu-taler/idb-bridge"; +import { + MemoryBackend, + BridgeIDBFactory, + shimIndexedDB, +} from "@gnu-taler/idb-bridge"; import { openTalerDatabase } from "../db"; import { HttpRequestLibrary } from "../util/http"; import fs from "fs"; import { NodeThreadCryptoWorkerFactory } from "../crypto/workers/nodeThreadWorker"; -import { WalletNotification } from "../types/notifications"; -import { Database } from "../util/query"; import { NodeHttpLib } from "./NodeHttpLib"; import { Logger } from "../util/logging"; import { SynchronousCryptoWorkerFactory } from "../crypto/workers/synchronousWorker"; -import type { IDBFactory } from "@gnu-taler/idb-bridge/lib/idbtypes"; -import { Stores } from "../types/dbTypes"; +import type { IDBFactory } from "@gnu-taler/idb-bridge"; +import { WalletNotification } from "@gnu-taler/taler-util"; const logger = new Logger("headless/helpers.ts"); |
