Josh Stevens
2aaec1d9fb
Stop reloading dapps on network change allowing dapps to decide if it should refresh or not ( #6330 )
...
* feat: `inpageProvider.autoRefreshOnNetworkChange` to allow dapps to control if it refreshes or not
* feat: check the `autoRefreshOnNetworkChange` before a refresh
* fix linting error
* fix: use `window.ethereum` now `web3.ethereum`
6 years ago
Paul Bouchon
9359fc875d
EIP-1102: Add deprecation message ( #5353 )
6 years ago
Esteban MIno
053e262ae7
delete web3.metamassk.watchAsset
6 years ago
Esteban MIno
56bed3f1bc
expose web3.metamask.watchAsset
6 years ago
Dan Finlay
3a6cc3c8fd
Re-enable dapp reload on network change
...
We want to give devs some time to digest [this blog post](https://medium.com/metamask/breaking-change-no-longer-reloading-pages-on-network-change-4a3e1fd2f5e7 ) before we making a breaking change to our platform.
Makes it easy to re-implement the change.
6 years ago
Erik Marks
b982961381
removed auto-reload.js, moved global web3 export to inpage.js
6 years ago
Erik Marks
f461bd8812
wip
6 years ago
Dan Finlay
70a61f8712
Make web3 deprecation notice more useful
...
Linking to a descriptive & precriptive article on a path forward.
7 years ago
kumavis
4019f318fe
inpage provider - autoreload - improve readability
7 years ago
kumavis
44dc2ba712
inpage provider - only warn web3 usage once per session
7 years ago
frankiebee
66a012550e
fix wording
7 years ago
frankiebee
ac9e84ff40
add deprecation warning for web3
7 years ago
frankiebee
717dceede8
fix spelling
8 years ago
frankiebee
473b88f399
Reload the page when switching networks for sites that use web3
8 years ago
Kevin Serrano
23263bec7d
Linting to the max.
8 years ago
kumavis
a1c3c944cf
dapp reload - fixed disconnect detection via polling
8 years ago
kumavis
0b660f4ac8
deps - extracted ensnare to module
8 years ago
Dan Finlay
a08c3bc01b
Auto linted
9 years ago
kumavis
00e9f3c6ae
inpage - refactor for modularity
9 years ago