This commit is contained in:
Thibaut Sardan 2024-04-08 17:54:49 +01:00 committed by GitHub
parent d8e7eca467
commit 8cfae225f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -130,7 +130,7 @@ export default class Extension {
this.#state.updateAuthorizedAccounts(authorizedAccountsDiff);
// cycle through default account selection for auth and remove any occurence of the account
// cycle through default account selection for auth and remove any occurrence of the account
const newDefaultAuthAccounts = this.#state.defaultAuthAccountSelection.filter((defaultSelectionAddress) => defaultSelectionAddress !== address);
this.#state.updateDefaultAuthAccounts(newDefaultAuthAccounts);

View File

@ -12,7 +12,7 @@ import Injected from './Injected.js';
// when sending a message from the injector to the extension, we
// - create an event - this we send to the loader
// - the loader takes this event and uses port.postMessage to background
// - on response, the loader creates a reponse event
// - on response, the loader creates a response event
// - this injector, listens on the events, maps it to the original
// - resolves/rejects the promise with the result (or sub data)

View File

@ -156,8 +156,8 @@ export function web3Enable (originName: string, compatInits: (() => Promise<bool
/**
* @summary Retrieves all the accounts across all providers
* @description
* This returns the full list of account available (accross all extensions) to
* the page. Filtereing options are available of a per-extension, per type and
* This returns the full list of account available (across all extensions) to
* the page. Filtering options are available of a per-extension, per type and
* per-genesisHash basis. Optionally the accounts can be encoded with the provided
* ss58Format
*/