taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 68f3c3b4470244270ec9be074d10441f56880f05
parent 0b6b757f659cc1a1c770d994c05c361033b56c06
Author: Sebastian <sebasjm@gmail.com>
Date:   Mon, 20 Feb 2023 12:37:05 -0300

pretty

Diffstat:
Mpackages/taler-wallet-core/src/bank-api-client.ts | 5++++-
Mpackages/taler-wallet-core/src/crypto/workers/worker-common.ts | 5++++-
Mpackages/taler-wallet-core/src/host-impl.node.ts | 5+----
Mpackages/taler-wallet-core/src/operations/deposits.ts | 1-
Mpackages/taler-wallet-core/src/operations/exchanges.ts | 7++++++-
Mpackages/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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -370,7 +370,6 @@ export type SuspendTransactionOp = { response: EmptyObject; }; - /** * Resume a transaction */