This repository has been archived by the owner on Jul 23, 2021. It is now read-only.
forked from MetaMask/metamask-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve specificity around web3 deprecation (MetaMask#185)
Add description & link to security concerns. Highlight how easy the migration is.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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). | ||
|