summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-04-01 14:09:12 -0300
committerSebastian <sebasjm@gmail.com>2024-04-01 14:09:12 -0300
commit38b4e3cc557bf83cc8e07288cc9d405f252a8d61 (patch)
tree1bfd78bea79fefc5f1b36429d70d2c6ae85e80f8
parent2c1f3ffec19e95716a57647f35c7bd68e8565e5a (diff)
downloadwallet-core-38b4e3cc557bf83cc8e07288cc9d405f252a8d61.tar.gz
wallet-core-38b4e3cc557bf83cc8e07288cc9d405f252a8d61.tar.bz2
wallet-core-38b4e3cc557bf83cc8e07288cc9d405f252a8d61.zip
codespell
-rw-r--r--packages/taler-harness/src/index.ts4
-rw-r--r--packages/taler-util/src/wallet-types.ts14
-rw-r--r--packages/web-util/src/context/activity.ts4
-rw-r--r--packages/web-util/src/context/bank-api.ts4
-rw-r--r--packages/web-util/src/context/merchant-api.ts4
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<Event> = (e: Event) => void;
type Unsuscriber = () => void;
-export type Suscriber<Event> = (fn: Listener<Event>) => Unsuscriber;
+export type Subscriber<Event> = (fn: Listener<Event>) => Unsuscriber;
export class ActiviyTracker<Event> {
private observers = new Array<Listener<Event>>();
@@ -50,7 +50,7 @@ export interface APIClient<T, C> {
getRemoteConfig(): Promise<C>;
VERSION: string;
lib: T,
- onActivity: Suscriber<ObservabilityEvent>;
+ onActivity: Subscriber<ObservabilityEvent>;
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<ObservabilityEvent>;
+ onActivity: Subscriber<ObservabilityEvent>;
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<ObservabilityEvent>;
+ onActivity: Subscriber<ObservabilityEvent>;
cancelRequest: (eventId: string) => void;
};