aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/idb-bridge/src/bridge-idb.ts2
-rw-r--r--packages/idb-bridge/src/idb-wpt-ported/idbobjectstore-rename-store.test.ts2
-rw-r--r--packages/idb-bridge/src/idbtypes.ts2
-rw-r--r--packages/idb-bridge/src/tree/b+tree.ts2
-rw-r--r--packages/pogen/example/test.ts6
-rw-r--r--packages/taler-util/src/backupTypes.ts2
-rw-r--r--packages/taler-util/src/talerTypes.ts4
-rw-r--r--packages/taler-wallet-cli/src/clk.ts4
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/faultInjection.ts2
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/harness.ts8
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/merchantApiTypes.ts2
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/sync.ts2
-rw-r--r--packages/taler-wallet-core/src/db.ts6
-rw-r--r--packages/taler-wallet-core/src/operations/errors.ts2
-rw-r--r--packages/taler-wallet-core/src/operations/pay.ts2
-rw-r--r--packages/taler-wallet-core/src/operations/reserves.ts4
-rw-r--r--packages/taler-wallet-core/src/operations/transactions.ts2
-rw-r--r--packages/taler-wallet-core/src/pending-types.ts4
-rw-r--r--packages/taler-wallet-core/src/util/query.ts2
-rw-r--r--packages/taler-wallet-core/src/wallet.ts2
-rw-r--r--packages/taler-wallet-webextension/src/wxApi.ts2
21 files changed, 32 insertions, 32 deletions
diff --git a/packages/idb-bridge/src/bridge-idb.ts b/packages/idb-bridge/src/bridge-idb.ts
index 2b4602361..58cec8673 100644
--- a/packages/idb-bridge/src/bridge-idb.ts
+++ b/packages/idb-bridge/src/bridge-idb.ts
@@ -2512,7 +2512,7 @@ export class BridgeIDBTransaction
this._db._upgradeTransaction = null;
}
- // All steps before happend synchronously. Now
+ // All steps before happened synchronously. Now
// we asynchronously roll back the backend transaction,
// if necessary/possible.
diff --git a/packages/idb-bridge/src/idb-wpt-ported/idbobjectstore-rename-store.test.ts b/packages/idb-bridge/src/idb-wpt-ported/idbobjectstore-rename-store.test.ts
index 40f4dda98..b60e932b9 100644
--- a/packages/idb-bridge/src/idb-wpt-ported/idbobjectstore-rename-store.test.ts
+++ b/packages/idb-bridge/src/idb-wpt-ported/idbobjectstore-rename-store.test.ts
@@ -206,7 +206,7 @@ test("WPT idbobjectstore-rename-store.html (subtest 3)", async (t) => {
await checkStoreIndexes(
t,
store,
- "The object store index should have the expected contens before " +
+ "The object store index should have the expected contents before " +
"any renaming",
);
return database.close();
diff --git a/packages/idb-bridge/src/idbtypes.ts b/packages/idb-bridge/src/idbtypes.ts
index 7bd0eaaaa..fe9003d6d 100644
--- a/packages/idb-bridge/src/idbtypes.ts
+++ b/packages/idb-bridge/src/idbtypes.ts
@@ -128,7 +128,7 @@ export interface Event {
*/
readonly currentTarget: EventTarget | null;
/**
- * Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.
+ * Returns true if preventDefault() was invoked successfully to indicate cancellation, and false otherwise.
*/
readonly defaultPrevented: boolean;
/**
diff --git a/packages/idb-bridge/src/tree/b+tree.ts b/packages/idb-bridge/src/tree/b+tree.ts
index a45a98620..abe65e355 100644
--- a/packages/idb-bridge/src/tree/b+tree.ts
+++ b/packages/idb-bridge/src/tree/b+tree.ts
@@ -836,7 +836,7 @@ export default class BTree<K = any, V = any>
/**
* Scans and potentially modifies values for a subsequence of keys.
* Note: the callback `onFound` should ideally be a pure function.
- * Specfically, it must not insert items, call clone(), or change
+ * Specifically, it must not insert items, call clone(), or change
* the collection except via return value; out-of-band editing may
* cause an exception or may cause incorrect data to be sent to
* the callback (duplicate or missed items). It must not cause a
diff --git a/packages/pogen/example/test.ts b/packages/pogen/example/test.ts
index 021f3f328..6577fa314 100644
--- a/packages/pogen/example/test.ts
+++ b/packages/pogen/example/test.ts
@@ -38,7 +38,7 @@ It has multiple lines, and a leading empty line.
*/
console.log(i18n`Hello9," '" World`);
-// Comments with space inbetween do not count
+// Comments with space in between do not count
console.log(i18n`Hello10
," '" Wo
@@ -58,7 +58,7 @@ function foo(...args: any[]) {
console.log(foo`Another string, must be excluded`);
-// First occurence
+// First occurrence
console.log(i18n`This message appears twice`);
-// Second occurence
+// Second occurrence
console.log(i18n`This message appears twice`);
diff --git a/packages/taler-util/src/backupTypes.ts b/packages/taler-util/src/backupTypes.ts
index b31b8e58b..fc6aaaad5 100644
--- a/packages/taler-util/src/backupTypes.ts
+++ b/packages/taler-util/src/backupTypes.ts
@@ -975,7 +975,7 @@ export interface BackupReserve {
/**
* Wire information (as payto URI) for the bank account that
- * transfered funds for this reserve.
+ * transferred funds for this reserve.
*/
sender_wire?: string;
diff --git a/packages/taler-util/src/talerTypes.ts b/packages/taler-util/src/talerTypes.ts
index 1019ce478..bc04fc2f6 100644
--- a/packages/taler-util/src/talerTypes.ts
+++ b/packages/taler-util/src/talerTypes.ts
@@ -264,7 +264,7 @@ export interface AuditorHandle {
url: string;
}
-// Delivery location, losely modeled as a subset of
+// Delivery location, loosely modeled as a subset of
// ISO20022's PostalAddress25.
export interface Location {
// Nation with its own government.
@@ -676,7 +676,7 @@ export class ExchangeKeysJson {
}
/**
- * Wire fees as anounced by the exchange.
+ * Wire fees as announced by the exchange.
*/
export class WireFeesJson {
/**
diff --git a/packages/taler-wallet-cli/src/clk.ts b/packages/taler-wallet-cli/src/clk.ts
index a905464bd..ca6dcc1a4 100644
--- a/packages/taler-wallet-cli/src/clk.ts
+++ b/packages/taler-wallet-cli/src/clk.ts
@@ -478,12 +478,12 @@ export class CommandGroup<GN extends keyof any, TG> {
try {
r = this.myAction(parsedArgs);
} catch (e) {
- console.error(`An error occured while running ${currentName}`);
+ console.error(`An error occurred while running ${currentName}`);
console.error(e);
process.exit(1);
}
Promise.resolve(r).catch((e) => {
- console.error(`An error occured while running ${currentName}`);
+ console.error(`An error occurred while running ${currentName}`);
console.error(e);
process.exit(1);
});
diff --git a/packages/taler-wallet-cli/src/integrationtests/faultInjection.ts b/packages/taler-wallet-cli/src/integrationtests/faultInjection.ts
index 60549154b..474482ec0 100644
--- a/packages/taler-wallet-cli/src/integrationtests/faultInjection.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/faultInjection.ts
@@ -155,7 +155,7 @@ export class FaultProxy {
return;
}
if (faultRespContext.responseBody) {
- // We must accomodate for potentially changed content length
+ // We must accommodate for potentially changed content length
faultRespContext.responseHeaders[
"content-length"
] = `${faultRespContext.responseBody.byteLength}`;
diff --git a/packages/taler-wallet-cli/src/integrationtests/harness.ts b/packages/taler-wallet-cli/src/integrationtests/harness.ts
index 9c7aa2852..b6ea02696 100644
--- a/packages/taler-wallet-cli/src/integrationtests/harness.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/harness.ts
@@ -130,7 +130,7 @@ export async function sh(
command: string,
env: { [index: string]: string | undefined } = process.env,
): Promise<string> {
- console.log("runing command", command);
+ console.log("running command", command);
return new Promise((resolve, reject) => {
const stdoutChunks: Buffer[] = [];
const proc = spawn(command, {
@@ -188,7 +188,7 @@ export async function runCommand(
args: string[],
env: { [index: string]: string | undefined } = process.env,
): Promise<string> {
- console.log("runing command", shellescape([command, ...args]));
+ console.log("running command", shellescape([command, ...args]));
return new Promise((resolve, reject) => {
const stdoutChunks: Buffer[] = [];
const proc = spawn(command, args, {
@@ -882,7 +882,7 @@ export class ExchangeService implements ExchangeServiceInterface {
"${TALER_DATA_HOME}/exchange/live-keys/",
);
config.setString(
- "exchage",
+ "exchange",
"revocation_dir",
"${TALER_DATA_HOME}/exchange/revocations",
);
@@ -1589,7 +1589,7 @@ export async function runTestWithState(
const handleSignal = (s: string) => {
console.warn(
- `**** received fatal proces event, terminating test ${testName}`,
+ `**** received fatal process event, terminating test ${testName}`,
);
gc.shutdownSync();
process.exit(1);
diff --git a/packages/taler-wallet-cli/src/integrationtests/merchantApiTypes.ts b/packages/taler-wallet-cli/src/integrationtests/merchantApiTypes.ts
index 9d4529354..a93a0ed25 100644
--- a/packages/taler-wallet-cli/src/integrationtests/merchantApiTypes.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/merchantApiTypes.ts
@@ -211,7 +211,7 @@ export interface TransactionWireTransfer {
// execution time of the wire transfer
execution_time: Timestamp;
- // Total amount that has been wire transfered
+ // Total amount that has been wire transferred
// to the merchant
amount: AmountString;
diff --git a/packages/taler-wallet-cli/src/integrationtests/sync.ts b/packages/taler-wallet-cli/src/integrationtests/sync.ts
index e0f9e22c3..695f9a47e 100644
--- a/packages/taler-wallet-cli/src/integrationtests/sync.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/sync.ts
@@ -43,7 +43,7 @@ export interface SyncConfig {
httpPort: number;
/**
- * Database connection string (ony postgres is supported).
+ * Database connection string (only postgres is supported).
*/
database: string;
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<T, StoreTypes extends Store<string, {}>>(
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
diff --git a/packages/taler-wallet-webextension/src/wxApi.ts b/packages/taler-wallet-webextension/src/wxApi.ts
index c14047cf0..cbebfb214 100644
--- a/packages/taler-wallet-webextension/src/wxApi.ts
+++ b/packages/taler-wallet-webextension/src/wxApi.ts
@@ -48,7 +48,7 @@ export interface ExtendedPermissionsResponse {
export interface UpgradeResponse {
/**
* Is a reset required because of a new DB version
- * that can't be atomatically upgraded?
+ * that can't be automatically upgraded?
*/
dbResetRequired: boolean;