From 9b89387535cce603f80c9280063ffc7641279143 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 27 Apr 2021 23:42:25 +0200 Subject: fix spelling issues --- packages/taler-wallet-core/src/db.ts | 6 +++--- packages/taler-wallet-core/src/operations/errors.ts | 2 +- packages/taler-wallet-core/src/operations/pay.ts | 2 +- packages/taler-wallet-core/src/operations/reserves.ts | 4 ++-- packages/taler-wallet-core/src/operations/transactions.ts | 2 +- packages/taler-wallet-core/src/pending-types.ts | 4 ++-- packages/taler-wallet-core/src/util/query.ts | 2 +- packages/taler-wallet-core/src/wallet.ts | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) (limited to 'packages/taler-wallet-core/src') diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index 640ff24af..eb0de5646 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -264,7 +264,7 @@ export interface ReserveRecord { /** * Wire information (as payto URI) for the bank account that - * transfered funds for this reserve. + * transferred funds for this reserve. */ senderWire?: string; @@ -1528,7 +1528,7 @@ export interface RecoupGroupRecord { retryInfo: RetryInfo; /** - * Last error that occured, if any. + * Last error that occurred, if any. */ lastError: TalerErrorDetails | undefined; } @@ -1598,7 +1598,7 @@ export interface BackupProviderRecord { retryInfo: RetryInfo; /** - * Last error that occured, if any. + * Last error that occurred, if any. */ lastError: TalerErrorDetails | undefined; } diff --git a/packages/taler-wallet-core/src/operations/errors.ts b/packages/taler-wallet-core/src/operations/errors.ts index 61e8c5754..d788405ff 100644 --- a/packages/taler-wallet-core/src/operations/errors.ts +++ b/packages/taler-wallet-core/src/operations/errors.ts @@ -49,7 +49,7 @@ export class OperationFailedAndReportedError extends Error { } /** - * This exception is thrown when an error occured and the caller is + * This exception is thrown when an error occurred and the caller is * responsible for recording the failure in the database. */ export class OperationFailedError extends Error { diff --git a/packages/taler-wallet-core/src/operations/pay.ts b/packages/taler-wallet-core/src/operations/pay.ts index 12cefdc8b..2e8228e6e 100644 --- a/packages/taler-wallet-core/src/operations/pay.ts +++ b/packages/taler-wallet-core/src/operations/pay.ts @@ -1218,7 +1218,7 @@ export async function checkPaymentByProposalId( proposalId = proposal.proposalId; - // First check if we already payed for it. + // First check if we already paid for it. const purchase = await ws.db.get(Stores.purchases, proposalId); if (!purchase) { diff --git a/packages/taler-wallet-core/src/operations/reserves.ts b/packages/taler-wallet-core/src/operations/reserves.ts index 9467287a7..984ce5a6b 100644 --- a/packages/taler-wallet-core/src/operations/reserves.ts +++ b/packages/taler-wallet-core/src/operations/reserves.ts @@ -261,7 +261,7 @@ export async function forceQueryReserve( } /** - * First fetch information requred to withdraw from the reserve, + * First fetch information required to withdraw from the reserve, * then deplete the reserve, withdrawing coins until it is empty. * * The returned promise resolves once the reserve is set to the @@ -467,7 +467,7 @@ async function incrementReserveRetry( /** * Update the information about a reserve that is stored in the wallet - * by quering the reserve's exchange. + * by querying the reserve's exchange. * * If the reserve have funds that are not allocated in a withdrawal group yet * and are big enough to withdraw with available denominations, diff --git a/packages/taler-wallet-core/src/operations/transactions.ts b/packages/taler-wallet-core/src/operations/transactions.ts index 94925da16..8ee02c059 100644 --- a/packages/taler-wallet-core/src/operations/transactions.ts +++ b/packages/taler-wallet-core/src/operations/transactions.ts @@ -72,7 +72,7 @@ function shouldSkipSearch( } /** - * Retrive the full event history for this wallet. + * Retrieve the full event history for this wallet. */ export async function getTransactions( ws: InternalWalletState, diff --git a/packages/taler-wallet-core/src/pending-types.ts b/packages/taler-wallet-core/src/pending-types.ts index cefaa23ec..c16f729bc 100644 --- a/packages/taler-wallet-core/src/pending-types.ts +++ b/packages/taler-wallet-core/src/pending-types.ts @@ -16,7 +16,7 @@ /** * Type and schema definitions for pending operations in the wallet. - * + * * These are only used internally, and are not part of the public * interface to the wallet. */ @@ -87,7 +87,7 @@ export interface PendingExchangeCheckRefreshOperation { } /** - * Some interal error happened in the wallet. This pending operation + * Some internal error happened in the wallet. This pending operation * should *only* be reported for problems in the wallet, not when * a problem with a merchant/exchange/etc. occurs. */ diff --git a/packages/taler-wallet-core/src/util/query.ts b/packages/taler-wallet-core/src/util/query.ts index d0b8c2ef6..4c37a7254 100644 --- a/packages/taler-wallet-core/src/util/query.ts +++ b/packages/taler-wallet-core/src/util/query.ts @@ -397,7 +397,7 @@ function runWithTransaction>( if (tx.error) { logger.error("Transaction aborted with error:", tx.error); } else { - logger.error("Trasaction aborted (no error)"); + logger.error("Transaction aborted (no error)"); } reject(TransactionAbort); }; diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 3e34efe94..bf277659e 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -522,7 +522,7 @@ export class Wallet { } /** - * First fetch information requred to withdraw from the reserve, + * First fetch information required to withdraw from the reserve, * then deplete the reserve, withdrawing coins until it is empty. * * The returned promise resolves once the reserve is set to the -- cgit v1.2.3