From 68f3c3b4470244270ec9be074d10441f56880f05 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 20 Feb 2023 12:37:05 -0300 Subject: pretty --- packages/taler-wallet-core/src/bank-api-client.ts | 5 ++++- packages/taler-wallet-core/src/crypto/workers/worker-common.ts | 5 ++++- packages/taler-wallet-core/src/host-impl.node.ts | 5 +---- packages/taler-wallet-core/src/operations/deposits.ts | 1 - packages/taler-wallet-core/src/operations/exchanges.ts | 7 ++++++- packages/taler-wallet-core/src/wallet-api-types.ts | 1 - 6 files changed, 15 insertions(+), 9 deletions(-) diff --git a/packages/taler-wallet-core/src/bank-api-client.ts b/packages/taler-wallet-core/src/bank-api-client.ts index addec709f..f807d2daa 100644 --- a/packages/taler-wallet-core/src/bank-api-client.ts +++ b/packages/taler-wallet-core/src/bank-api-client.ts @@ -36,7 +36,10 @@ import { TalerError, TalerErrorCode, } from "@gnu-taler/taler-util"; -import { HttpRequestLibrary, readSuccessResponseJsonOrThrow } from "@gnu-taler/taler-util/http"; +import { + HttpRequestLibrary, + readSuccessResponseJsonOrThrow, +} from "@gnu-taler/taler-util/http"; const logger = new Logger("bank-api-client.ts"); diff --git a/packages/taler-wallet-core/src/crypto/workers/worker-common.ts b/packages/taler-wallet-core/src/crypto/workers/worker-common.ts index 9f23cf685..63147ce92 100644 --- a/packages/taler-wallet-core/src/crypto/workers/worker-common.ts +++ b/packages/taler-wallet-core/src/crypto/workers/worker-common.ts @@ -23,7 +23,10 @@ import { stringifyError as safeStringifyError, TalerErrorCode, } from "@gnu-taler/taler-util"; -import { getErrorDetailFromException, makeErrorDetail } from "@gnu-taler/taler-util"; +import { + getErrorDetailFromException, + makeErrorDetail, +} from "@gnu-taler/taler-util"; import { TalerCryptoInterfaceR } from "../cryptoImplementation.js"; import { CryptoWorkerRequestMessage, diff --git a/packages/taler-wallet-core/src/host-impl.node.ts b/packages/taler-wallet-core/src/host-impl.node.ts index ec57e0ebe..097b5856a 100644 --- a/packages/taler-wallet-core/src/host-impl.node.ts +++ b/packages/taler-wallet-core/src/host-impl.node.ts @@ -35,16 +35,13 @@ import * as fs from "fs"; import { NodeThreadCryptoWorkerFactory } from "./crypto/workers/nodeThreadWorker.js"; import { SynchronousCryptoWorkerFactoryPlain } from "./crypto/workers/synchronousWorkerFactoryPlain.js"; import { openTalerDatabase } from "./index.js"; -import { - createPlatformHttpLib, -} from "@gnu-taler/taler-util/http"; +import { createPlatformHttpLib } from "@gnu-taler/taler-util/http"; import { SetTimeoutTimerAPI } from "./util/timer.js"; import { Wallet } from "./wallet.js"; import { DefaultNodeWalletArgs, makeTempfileId } from "./host-common.js"; const logger = new Logger("host-impl.node.ts"); - /** * Get a wallet instance with default settings for node. * diff --git a/packages/taler-wallet-core/src/operations/deposits.ts b/packages/taler-wallet-core/src/operations/deposits.ts index 9d71f020f..1e696a1d6 100644 --- a/packages/taler-wallet-core/src/operations/deposits.ts +++ b/packages/taler-wallet-core/src/operations/deposits.ts @@ -82,7 +82,6 @@ import { getTotalRefreshCost } from "./refresh.js"; */ const logger = new Logger("deposits.ts"); - export async function checkDepositKycStatus( ws: InternalWalletState, exchangeUrl: string, diff --git a/packages/taler-wallet-core/src/operations/exchanges.ts b/packages/taler-wallet-core/src/operations/exchanges.ts index 2b6a881dd..08d30eac6 100644 --- a/packages/taler-wallet-core/src/operations/exchanges.ts +++ b/packages/taler-wallet-core/src/operations/exchanges.ts @@ -50,7 +50,12 @@ import { WireFeeMap, WireInfo, } from "@gnu-taler/taler-util"; -import { HttpRequestLibrary, readSuccessResponseTextOrThrow, readSuccessResponseJsonOrThrow, getExpiry } from "@gnu-taler/taler-util/http"; +import { + HttpRequestLibrary, + readSuccessResponseTextOrThrow, + readSuccessResponseJsonOrThrow, + getExpiry, +} from "@gnu-taler/taler-util/http"; import { DenominationRecord, DenominationVerificationStatus, diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts index dc62f0c0f..36c7677ac 100644 --- a/packages/taler-wallet-core/src/wallet-api-types.ts +++ b/packages/taler-wallet-core/src/wallet-api-types.ts @@ -370,7 +370,6 @@ export type SuspendTransactionOp = { response: EmptyObject; }; - /** * Resume a transaction */ -- cgit v1.2.3