1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00
metamask-extension/app
Mark Stacey 05b007aa35 Fix provider approval metadata (#7349)
* Omit MetaMask `extensionId` from site metadata

The site metadata was updated in #7218 to include the extension id of
the extension connecting to MetaMask. This was done to allow external
extensions to connect with MetaMask, so that we could show the id on
the provider approval screen.

Unbeknownst to me at the time, the extension id was being set for all
connections to MetaMask from dapps. The id was set to MetaMask's id,
because the connections are made through MetaMask's contentscript.

This has been updated to only set the id when accepting a connection
from a different extension.

* Fix `siteMetadata` property names

In #7218 a few things were added to the site metadata, so the provider
approval controller was middleware was updated to accept the site
metadata as an object rather than accepting each property as a separate
parameter. Unfortunately we failed to notice that the site name and
icon were named differently in the site metadata than they were in the
provider approval controller, so the names of those properties were
unintentionally changed in the controller state.

The provider approval controller has been updated to restore the
original property names of `siteTitle` and `siteIcon`. An unused prop
that was added to the provider approval page in #7218 has also been
removed.
2019-11-04 17:29:25 -04:00
..
_locales Add "Retry" option for failed transactions (#7296) 2019-10-28 10:58:46 -02:30
fonts Update design of phishing warning screen 2019-02-05 13:18:24 -03:30
images Update ETH logo, update deposit Ether logo height and width (#7239) 2019-10-02 10:15:44 -06:00
scripts Fix provider approval metadata (#7349) 2019-11-04 17:29:25 -04:00
vendor/trezor Close window after opening fullscreen (#6966) 2019-08-08 11:50:32 -03:00
home.html 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30
loading.html refactor & change html pages 2019-05-04 18:57:19 +02:00
manifest.json Version v7.4.0 2019-11-01 00:55:16 -03:00
notification.html 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30
phishing.html Update design of phishing warning screen 2019-02-05 13:18:24 -03:30
popup.html 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30
trezor-usb-permissions.html trezor v5 working on firefox 2018-08-05 02:43:02 -04:00
unsupport.html Rename files 2018-05-29 12:44:37 +08:00