fix typos (#1343)
This commit is contained in:
parent
d8e7eca467
commit
8cfae225f2
@ -130,7 +130,7 @@ export default class Extension {
|
|||||||
|
|
||||||
this.#state.updateAuthorizedAccounts(authorizedAccountsDiff);
|
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);
|
const newDefaultAuthAccounts = this.#state.defaultAuthAccountSelection.filter((defaultSelectionAddress) => defaultSelectionAddress !== address);
|
||||||
|
|
||||||
this.#state.updateDefaultAuthAccounts(newDefaultAuthAccounts);
|
this.#state.updateDefaultAuthAccounts(newDefaultAuthAccounts);
|
||||||
|
|||||||
@ -12,7 +12,7 @@ import Injected from './Injected.js';
|
|||||||
// when sending a message from the injector to the extension, we
|
// when sending a message from the injector to the extension, we
|
||||||
// - create an event - this we send to the loader
|
// - create an event - this we send to the loader
|
||||||
// - the loader takes this event and uses port.postMessage to background
|
// - 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
|
// - this injector, listens on the events, maps it to the original
|
||||||
// - resolves/rejects the promise with the result (or sub data)
|
// - resolves/rejects the promise with the result (or sub data)
|
||||||
|
|
||||||
|
|||||||
@ -156,8 +156,8 @@ export function web3Enable (originName: string, compatInits: (() => Promise<bool
|
|||||||
/**
|
/**
|
||||||
* @summary Retrieves all the accounts across all providers
|
* @summary Retrieves all the accounts across all providers
|
||||||
* @description
|
* @description
|
||||||
* This returns the full list of account available (accross all extensions) to
|
* This returns the full list of account available (across all extensions) to
|
||||||
* the page. Filtereing options are available of a per-extension, per type and
|
* 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
|
* per-genesisHash basis. Optionally the accounts can be encoded with the provided
|
||||||
* ss58Format
|
* ss58Format
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user