gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: codespell


From: gnunet
Subject: [taler-wallet-core] branch master updated: codespell
Date: Mon, 01 Apr 2024 19:09:18 +0200

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 38b4e3cc5 codespell
38b4e3cc5 is described below

commit 38b4e3cc557bf83cc8e07288cc9d405f252a8d61
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Apr 1 14:09:12 2024 -0300

    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<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;
 };
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]