1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00
metamask-extension/docs
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
..
components
extension_description
add-to-chrome.md
add-to-firefox.md
adding-new-networks.md
architecture.png Rename accountManager usages (#6790) 2019-07-10 16:31:48 -02:30
bumping_version.md
creating-metrics-events.md
design-system.md
developing-on-deps.md
development-visualization.md
form_persisting_architecture.md
limited_site_access.md
multi_vault_planning.md
porting_to_new_environment.md
publishing.md
QA_Guide.md
README.md
secret-preferences.md
send-screen-QA-checklist.md
sensitive-release.md
state_dump.md
team.md
transaction-flow.png
translating-guide.md
trezor-emulator.md
video_script.txt

Documentation

These docs relate to how to contribute to the MetaMask project itself.

You can find the latest version of MetaMask on our official website.

For help using MetaMask, visit our User Support Site.

For up to the minute news, follow our Twitter or Medium pages.

To learn how to develop MetaMask-compatible applications, visit our Developer Docs.