Skip to content
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.

Commit

Permalink
Improve specificity around web3 deprecation (MetaMask#185)
Browse files Browse the repository at this point in the history
Add description & link to security concerns. Highlight how easy the migration is.
  • Loading branch information
danfinlay authored Oct 20, 2020
1 parent 6586262 commit 09653f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/guide/provider-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ Although it is possible that your dependencies use the `publicConfigStore`, we h

## Replacing `window.web3`

For historical reasons, MetaMask injects [`[email protected]`](https://github.com/ethereum/web3.js/tree/0.20.7) into all web pages.
This version of `web3` is deprecated, and is no longer maintained by the [web3.js](https://github.com/ethereum/web3.js/) team.
For historical reasons, MetaMask has injected [`[email protected]`](https://github.com/ethereum/web3.js/tree/0.20.7) into all web pages.
This version of `web3` is deprecated, [has known security issues](https://github.com/ethereum/web3.js/issues/3065), and is no longer maintained by the [web3.js](https://github.com/ethereum/web3.js/) team, so the only way we can continue providing a secure experience to our developers is by removing this library.

If your website relies on our `window.web3` object, your Ethereum-related functionality will break when we stop injecting `window.web3`.
Continue reading to learn more about the migration options.
Continue reading to learn more about the migration options. Some are as simple as a one-line change.

::: tip
Regardless of how you choose to migrate, you will probably want to read the `[email protected]` documentation, which you can find [here](https://github.com/ethereum/web3.js/blob/0.20.7/DOCUMENTATION.md).
Expand Down

0 comments on commit 09653f1

Please sign in to comment.