mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add comments about legacy streams (#15492)
Two comments have been added to reference a longer explanation of what the legacy provider streams are, why we still have them, and why we want to remove them.
This commit is contained in:
parent
44f8e9e10e
commit
42c8703f3e
@ -27,6 +27,8 @@ const PHISHING_WARNING_PAGE = 'metamask-phishing-warning-page';
|
|||||||
const PHISHING_SAFELIST = 'metamask-phishing-safelist';
|
const PHISHING_SAFELIST = 'metamask-phishing-safelist';
|
||||||
const PROVIDER = 'metamask-provider';
|
const PROVIDER = 'metamask-provider';
|
||||||
|
|
||||||
|
// For more information about these legacy streams, see here:
|
||||||
|
// https://github.com/MetaMask/metamask-extension/issues/15491
|
||||||
// TODO:LegacyProvider: Delete
|
// TODO:LegacyProvider: Delete
|
||||||
const LEGACY_CONTENT_SCRIPT = 'contentscript';
|
const LEGACY_CONTENT_SCRIPT = 'contentscript';
|
||||||
const LEGACY_INPAGE = 'inpage';
|
const LEGACY_INPAGE = 'inpage';
|
||||||
|
@ -1125,6 +1125,8 @@ export default class MetamaskController extends EventEmitter {
|
|||||||
|
|
||||||
this.setupControllerEventSubscriptions();
|
this.setupControllerEventSubscriptions();
|
||||||
|
|
||||||
|
// For more information about these legacy streams, see here:
|
||||||
|
// https://github.com/MetaMask/metamask-extension/issues/15491
|
||||||
// TODO:LegacyProvider: Delete
|
// TODO:LegacyProvider: Delete
|
||||||
this.publicConfigStore = this.createPublicConfigStore();
|
this.publicConfigStore = this.createPublicConfigStore();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user