1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00
metamask-extension/app
Dan Finlay 78cdee23c0
Abstract domain provider from its stream transport (#6670)
* Abstract domain provider from its stream transport

Creating new provider-consuming extensions, like [a new
platform](https://github.com/MetaMask/metamask-extension/blob/develop/docs/porting_to_new_environment.md)
can be frustrating for new contributors because our provider
construction has been tangled with our streaming interface.

Here I've broken up our streaming domain connection from the provider
construction, so developers can more easily construct local and
domain-restricted providers without dealing with streams.

* Abstract public API from stream interface

* clean up noop

* Document non-streaming interface

* getSiteMetadata must be async

* Clean up filters on stream end

* Document cleaning up filters

* Allow named filterMiddleware to be cleaned up

* Linted

* Require site metadata

* Destroy any destroyable middleware during cleanup

* Lint
2019-07-15 16:28:04 -07:00
..
_locales Lint .json files (#6852) 2019-07-15 11:03:22 -03:00
fonts Update design of phishing warning screen 2019-02-05 13:18:24 -03:30
images [ImgBot] Optimize images (#1) (#6829) 2019-07-10 11:37:20 -03:00
scripts Abstract domain provider from its stream transport (#6670) 2019-07-15 16:28:04 -07:00
vendor/trezor handle onDisconnect 2018-08-22 13:39:43 -04:00
home.html Bundle some ui dependencies separately to limit the build size of ui.js 2018-10-31 20:47:22 -02:30
loading.html refactor & change html pages 2019-05-04 18:57:19 +02:00
manifest.json Version 6.7.2 RC1 2019-07-04 14:14:03 -02:30
notification.html Add loading view to notification.html (#6648) 2019-06-19 14:22:02 -07:00
phishing.html Update design of phishing warning screen 2019-02-05 13:18:24 -03:30
popup.html Bundle some ui dependencies separately to limit the build size of ui.js 2018-10-31 20:47:22 -02:30
trezor-usb-permissions.html trezor v5 working on firefox 2018-08-05 02:43:02 -04:00
unsupport.html