taler-typescript-core

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

commit 6f73cef93009747aaee4f29ecdf0327d847493bd
parent 6aa3639b9817f25906957c62490c931c1de2989c
Author: Florian Dold <dold@taler.net>
Date:   Wed, 22 Jul 2026 11:07:21 +0200

wallet: apply prettier to the touched sources

Diffstat:
Mpackages/taler-wallet-core/src/coinSelection.test.ts | 5++++-
Mpackages/taler-wallet-core/src/kyc.test.ts | 6+++++-
Mpackages/taler-wallet-core/src/wallet.ts | 5+----
3 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/packages/taler-wallet-core/src/coinSelection.test.ts b/packages/taler-wallet-core/src/coinSelection.test.ts @@ -585,7 +585,10 @@ test("deposit max ignores coins that cost more to deposit than they are worth", ...args([defaultFeeConfig(kudos`5`, 1)]), ); const withDust = testing_getMaxDepositAmountForAvailableCoins( - ...args([defaultFeeConfig(kudos`5`, 1), defaultFeeConfig(kudos`0.005`, 10)]), + ...args([ + defaultFeeConfig(kudos`5`, 1), + defaultFeeConfig(kudos`0.005`, 10), + ]), ); assert.strictEqual(Amounts.stringifyValue(withoutDust.rawAmount), "4.99"); diff --git a/packages/taler-wallet-core/src/kyc.test.ts b/packages/taler-wallet-core/src/kyc.test.ts @@ -83,7 +83,11 @@ test("a breached hard limit wins over a smaller breached soft limit", async (t) ); // Order of the rules must not matter. assert.strictEqual( - await checkLimit(rules.slice().reverse(), LimitOperationType.withdraw, "KUDOS:100"), + await checkLimit( + rules.slice().reverse(), + LimitOperationType.withdraw, + "KUDOS:100", + ), LimitCheckResult.DeniedVerboten, ); }); diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts @@ -85,10 +85,7 @@ import { } from "./observable-wrappers.js"; import { ProgressContext } from "./progress.js"; import { TransactionAbortedError } from "./query.js"; -import { - dispatchRequestInternal, - isWalletInitOperation, -} from "./requests.js"; +import { dispatchRequestInternal, isWalletInitOperation } from "./requests.js"; import { TaskScheduler, TaskSchedulerImpl } from "./shepherd.js"; import { rematerializeTransactions } from "./transactions.js"; import {