Closed rekmarks closed 4 years ago
Fixes #5, Fixes #68, Fixes #99, Fixes #138
wallet_getPlugins
PermissionsController
getPermittedPlugins
clearDomainMetadata
PluginsController
onMetaMaskEvent
_removeAllMetaMaskEventListeners
_createMetaMaskEventListener
_generateMetaMaskListenerMethodsMap
_eventEmitterToListenerMap
plugin.approvedPermissions
initialPermissions
getSerializable
closeAllConnections
metamask-controller.js
userRejectedRequest
wallet_enable
siteMetadata
domainMetadata
Fixes #5, Fixes #68, Fixes #99, Fixes #138
Changes in Detail
wallet_getPlugins
RPC methodPermissionsController
getPermittedPlugins
,clearDomainMetadata
PluginsController
onMetaMaskEvent
listeners_removeAllMetaMaskEventListeners
,_removeAllMetaMaskEventListeners
_createMetaMaskEventListener
,_generateMetaMaskListenerMethodsMap
,_eventEmitterToListenerMap
plugin.approvedPermissions
PermissionsController
initialPermissions
getSerializable
for getting plugins without getting e.g. their source codecloseAllConnections
inmetamask-controller.js
and its use inPluginsController
userRejectedRequest
error fromwallet_enable
if no permissions were grantedsiteMetadata
todomainMetadata
everywhere