summaryrefslogtreecommitdiff
path: root/packages/taler-util/src
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-02-29 08:00:31 -0300
committerSebastian <sebasjm@gmail.com>2024-02-29 08:00:31 -0300
commit97cabcd1ee7bc034aef305e4ef66a520bb0fc055 (patch)
treeb01cbd0f0f06ce1a3f4629a6b9d061e210cabe7f /packages/taler-util/src
parent46898aef5f6e238dbfe1b54cf1cf99a276b7d114 (diff)
downloadwallet-core-97cabcd1ee7bc034aef305e4ef66a520bb0fc055.tar.gz
wallet-core-97cabcd1ee7bc034aef305e4ef66a520bb0fc055.tar.bz2
wallet-core-97cabcd1ee7bc034aef305e4ef66a520bb0fc055.zip
applying changes suggested by codespell
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r--packages/taler-util/src/amounts.ts2
-rw-r--r--packages/taler-util/src/http-client/types.ts2
-rw-r--r--packages/taler-util/src/sha256.ts2
-rw-r--r--packages/taler-util/src/taler-error-codes.ts2
4 files changed, 4 insertions, 4 deletions
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).
*/