From 97cabcd1ee7bc034aef305e4ef66a520bb0fc055 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 29 Feb 2024 08:00:31 -0300 Subject: applying changes suggested by codespell --- packages/taler-util/src/amounts.ts | 2 +- packages/taler-util/src/http-client/types.ts | 2 +- packages/taler-util/src/sha256.ts | 2 +- packages/taler-util/src/taler-error-codes.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/taler-util') diff --git a/packages/taler-util/src/amounts.ts b/packages/taler-util/src/amounts.ts index 363682bf0..4b7063fd2 100644 --- a/packages/taler-util/src/amounts.ts +++ b/packages/taler-util/src/amounts.ts @@ -449,7 +449,7 @@ export class Amounts { static mult(a: AmountLike, n: number): Result { a = this.jsonifyAmount(a); if (!Number.isInteger(n)) { - throw Error("amount can only be multipied by an integer"); + throw Error("amount can only be multiplied by an integer"); } if (n < 0) { throw Error("amount can only be multiplied by a positive integer"); diff --git a/packages/taler-util/src/http-client/types.ts b/packages/taler-util/src/http-client/types.ts index ceae84c0c..e9266e6a3 100644 --- a/packages/taler-util/src/http-client/types.ts +++ b/packages/taler-util/src/http-client/types.ts @@ -2513,7 +2513,7 @@ export namespace TalerMerchantApi { interface PaidRefundStatusResponse { // Text to be shown to the point-of-sale staff as a proof of - // payment (present only if re-usable OTP algorithm is used). + // payment (present only if reusable OTP algorithm is used). pos_confirmation?: string; // True if the order has been subjected to diff --git a/packages/taler-util/src/sha256.ts b/packages/taler-util/src/sha256.ts index 321e5d827..ba8f09279 100644 --- a/packages/taler-util/src/sha256.ts +++ b/packages/taler-util/src/sha256.ts @@ -145,7 +145,7 @@ export class HashSha256 { } // Resets hash state making it possible - // to re-use this instance to hash other data. + // to reuse this instance to hash other data. reset(): this { this.state[0] = 0x6a09e667; this.state[1] = 0xbb67ae85; diff --git a/packages/taler-util/src/taler-error-codes.ts b/packages/taler-util/src/taler-error-codes.ts index 4cd4a7e15..2c65255df 100644 --- a/packages/taler-util/src/taler-error-codes.ts +++ b/packages/taler-util/src/taler-error-codes.ts @@ -2368,7 +2368,7 @@ export enum TalerErrorCode { MERCHANT_PRIVATE_POST_ORDERS_WIRE_DEADLINE_IS_NEVER = 2506, /** - * The order ceration request is invalid because the given payment deadline is in the past. + * The order creation request is invalid because the given payment deadline is in the past. * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400). * (A value of 0 indicates that the error is generated client-side). */ -- cgit v1.2.3