From 38b4e3cc557bf83cc8e07288cc9d405f252a8d61 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 1 Apr 2024 14:09:12 -0300 Subject: codespell --- packages/taler-harness/src/index.ts | 4 ++-- packages/taler-util/src/wallet-types.ts | 14 +++++++------- packages/web-util/src/context/activity.ts | 4 ++-- packages/web-util/src/context/bank-api.ts | 4 ++-- packages/web-util/src/context/merchant-api.ts | 4 ++-- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/packages/taler-harness/src/index.ts b/packages/taler-harness/src/index.ts index 4b0319a3e..daa246c80 100644 --- a/packages/taler-harness/src/index.ts +++ b/packages/taler-harness/src/index.ts @@ -607,7 +607,7 @@ deploymentCli help: "URL location of the libeufin bank backend" }) .requiredOption("merchantToken", ["--merchant-management-token"], clk.STRING, { - help: "acces token of the default instance in the merchant backend" + help: "access token of the default instance in the merchant backend" }) .maybeOption("bankToken", ["--bank-admin-token"], clk.STRING, { help: "libeufin bank admin's password if the account creation is restricted" @@ -824,7 +824,7 @@ deploymentCli new_password: randomPassword, }); if (resp.type === "fail") { - console.error(`unable to change bank pasword for user ${id}, status ${resp.case}`) + console.error(`unable to change bank password for user ${id}, status ${resp.case}`) if (resp.case !== HttpStatusCode.Accepted) { console.error(j2s(resp.detail)); } else { diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index c179a2aec..e5eb618f0 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -579,7 +579,7 @@ export enum CoinStatus { Fresh = "fresh", /** - * Coin was lost as the denomination is not useable anymore. + * Coin was lost as the denomination is not usable anymore. */ DenomLoss = "denom-loss", @@ -633,11 +633,11 @@ export interface CoinDumpJson { withdrawal_reserve_pub: string | undefined; coin_status: CoinStatus; spend_allocation: - | { - id: string; - amount: AmountString; - } - | undefined; + | { + id: string; + amount: AmountString; + } + | undefined; /** * Information about the age restriction */ @@ -836,7 +836,7 @@ export const codecForPreparePayResultPaymentPossible = ) .build("PreparePayResultPaymentPossible"); -export interface BalanceDetails {} +export interface BalanceDetails { } /** * Detailed reason for why the wallet's balance is insufficient. diff --git a/packages/web-util/src/context/activity.ts b/packages/web-util/src/context/activity.ts index 460c01096..c38f133a1 100644 --- a/packages/web-util/src/context/activity.ts +++ b/packages/web-util/src/context/activity.ts @@ -18,7 +18,7 @@ import { ObservabilityEvent, TalerAuthenticationHttpClient, TalerBankConversionH type Listener = (e: Event) => void; type Unsuscriber = () => void; -export type Suscriber = (fn: Listener) => Unsuscriber; +export type Subscriber = (fn: Listener) => Unsuscriber; export class ActiviyTracker { private observers = new Array>(); @@ -50,7 +50,7 @@ export interface APIClient { getRemoteConfig(): Promise; VERSION: string; lib: T, - onActivity: Suscriber; + onActivity: Subscriber; cancelRequest(id: string): void; } diff --git a/packages/web-util/src/context/bank-api.ts b/packages/web-util/src/context/bank-api.ts index bd0653451..a5e5654ac 100644 --- a/packages/web-util/src/context/bank-api.ts +++ b/packages/web-util/src/context/bank-api.ts @@ -35,7 +35,7 @@ import { h, } from "preact"; import { useContext, useEffect, useState } from "preact/hooks"; -import { APIClient, ActiviyTracker, BankLib, Suscriber } from "./activity.js"; +import { APIClient, ActiviyTracker, BankLib, Subscriber } from "./activity.js"; import { useTranslationContext } from "./translation.js"; import { BrowserFetchHttpLib, ErrorLoading } from "../index.browser.js"; @@ -49,7 +49,7 @@ export type BankContextType = { config: TalerCorebankApi.Config; lib: BankLib; hints: VersionHint[]; - onActivity: Suscriber; + onActivity: Subscriber; cancelRequest: (eventId: string) => void; }; diff --git a/packages/web-util/src/context/merchant-api.ts b/packages/web-util/src/context/merchant-api.ts index 23ea05cd2..9e2869b62 100644 --- a/packages/web-util/src/context/merchant-api.ts +++ b/packages/web-util/src/context/merchant-api.ts @@ -39,7 +39,7 @@ import { APIClient, ActiviyTracker, MerchantLib, - Suscriber, + Subscriber, } from "./activity.js"; import { useTranslationContext } from "./translation.js"; import { BrowserFetchHttpLib, ErrorLoading } from "../index.browser.js"; @@ -54,7 +54,7 @@ export type MerchantContextType = { config: TalerMerchantApi.VersionResponse; lib: MerchantLib; hints: VersionHint[]; - onActivity: Suscriber; + onActivity: Subscriber; cancelRequest: (eventId: string) => void; }; -- cgit v1.2.3