mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Make web3 deprecation notice more useful
Linking to a descriptive & precriptive article on a path forward.
This commit is contained in:
parent
2885a95471
commit
70a61f8712
@ -8,6 +8,7 @@
|
|||||||
- Add the total amount of tokens when multiple tokens are added under the token list
|
- Add the total amount of tokens when multiple tokens are added under the token list
|
||||||
- Use HTTPS links for Etherscan.
|
- Use HTTPS links for Etherscan.
|
||||||
- Update Support center link to new one with HTTPS.
|
- Update Support center link to new one with HTTPS.
|
||||||
|
- Make web3 deprecation notice more useful by linking to a descriptive article.
|
||||||
|
|
||||||
## 3.9.11 2017-8-24
|
## 3.9.11 2017-8-24
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ function setupDappAutoReload (web3, observable) {
|
|||||||
get: (_web3, key) => {
|
get: (_web3, key) => {
|
||||||
// show warning once on web3 access
|
// show warning once on web3 access
|
||||||
if (!hasBeenWarned && key !== 'currentProvider') {
|
if (!hasBeenWarned && key !== 'currentProvider') {
|
||||||
console.warn('MetaMask: web3 will be deprecated in the near future in favor of the ethereumProvider \nhttps://github.com/ethereum/mist/releases/tag/v0.9.0')
|
console.warn('MetaMask: web3 will be deprecated in the near future in favor of the ethereumProvider \nhttps://github.com/MetaMask/faq/blob/master/detecting_metamask.md#web3-deprecation')
|
||||||
hasBeenWarned = true
|
hasBeenWarned = true
|
||||||
}
|
}
|
||||||
// get the time of use
|
// get the time of use
|
||||||
|
Loading…
x
Reference in New Issue
Block a user