diff options
author | Kevin Serrano <kevin.serrano@consensys.net> | 2017-09-06 06:48:15 +0800 |
---|---|---|
committer | Kevin Serrano <kevin.serrano@consensys.net> | 2017-09-06 06:48:15 +0800 |
commit | 3e2bd1988180d058c3637f84e47a2382cdb5513c (patch) | |
tree | 059a9eecd3f6c0330326d90ad9fa4159c3895ddf | |
parent | e647337a8a34d8fb4b5a8081888ec32ce5fd27a0 (diff) | |
parent | 32c799a1359a0d558fec257c5e1bbd0e31d086f6 (diff) | |
download | tangerine-wallet-browser-3e2bd1988180d058c3637f84e47a2382cdb5513c.tar tangerine-wallet-browser-3e2bd1988180d058c3637f84e47a2382cdb5513c.tar.gz tangerine-wallet-browser-3e2bd1988180d058c3637f84e47a2382cdb5513c.tar.bz2 tangerine-wallet-browser-3e2bd1988180d058c3637f84e47a2382cdb5513c.tar.lz tangerine-wallet-browser-3e2bd1988180d058c3637f84e47a2382cdb5513c.tar.xz tangerine-wallet-browser-3e2bd1988180d058c3637f84e47a2382cdb5513c.tar.zst tangerine-wallet-browser-3e2bd1988180d058c3637f84e47a2382cdb5513c.zip |
Merge branch 'master' into readd-loose
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | app/scripts/lib/auto-reload.js | 2 | ||||
-rw-r--r-- | ui/app/components/pending-msg.js | 15 |
3 files changed, 16 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e6835e7bc..aa9e1ab6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,11 +3,13 @@ ## Current Master - Make eth_sign deprecation warning less noisy +- Add useful link to eth_sign deprecation warning. - Fix bug with network version serialization over synchronous RPC - Add MetaMask version to state logs. - Add the total amount of tokens when multiple tokens are added under the token list - Use HTTPS links for Etherscan. - 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 diff --git a/app/scripts/lib/auto-reload.js b/app/scripts/lib/auto-reload.js index 62aaf405c..cce31c3d2 100644 --- a/app/scripts/lib/auto-reload.js +++ b/app/scripts/lib/auto-reload.js @@ -11,7 +11,7 @@ function setupDappAutoReload (web3, observable) { get: (_web3, key) => { // show warning once on web3 access 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 } // get the time of use diff --git a/ui/app/components/pending-msg.js b/ui/app/components/pending-msg.js index b7133cda8..834719c53 100644 --- a/ui/app/components/pending-msg.js +++ b/ui/app/components/pending-msg.js @@ -35,10 +35,21 @@ PendingMsg.prototype.render = function () { style: { margin: '10px', }, - }, `Signing this message can have + }, [ + `Signing this message can have dangerous side effects. Only sign messages from sites you fully trust with your entire account. - This dangerous method will be removed in a future version.`), + This dangerous method will be removed in a future version. `, + h('a', { + href: 'https://medium.com/metamask/the-new-secure-way-to-sign-data-in-your-browser-6af9dd2a1527', + style: { color: 'rgb(247, 134, 28)' }, + onClick: (event) => { + event.preventDefault() + const url = 'https://medium.com/metamask/the-new-secure-way-to-sign-data-in-your-browser-6af9dd2a1527' + global.platform.openWindow({ url }) + }, + }, 'Read more here.'), + ]), // message details h(PendingTxDetails, state), |