1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-30 08:09:15 +01:00
Commit Graph

105 Commits

Author SHA1 Message Date
Dan Finlay
6ce119d1fb Move inpage-provider and port-stream outside
With the creation of the [metamask-extension-provider](https://github.com/MetaMask/metamask-extension-provider) we have our first non-core module that is dependent on the inpage-provider and port-stream.

To reduce the size of its dependencies, I have moved the
[metamask-inpage-provider](https://github.com/MetaMask/metamask-inpage-provider) into its own module, as well as [extension-port-stream](https://github.com/MetaMask/extension-port-stream).

This allows them to be more easily depended & iterated on by external
projects.
2018-08-20 15:45:50 -07:00
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.
2018-06-14 15:15:23 -07:00
Erik Marks
b982961381 removed auto-reload.js, moved global web3 export to inpage.js 2018-06-12 11:04:37 -07:00
Erik Marks
f461bd8812 wip 2018-06-12 09:28:50 -07:00
bitpshr
1ef6528921 Add JSDoc to various background scripts 2018-04-18 21:30:13 -04:00
bitpshr
c9f83fe8bc Add JSDoc to various background scripts 2018-04-18 17:02:08 -04:00
bitpshr
7129d7c0f3 Require loglevel singleton in each module that uses it 2018-04-13 17:56:28 -04:00
kumavis
00657e14a8 build - correctly set METAMASK_ENV via envify 2018-04-03 09:51:33 -07:00
Dan Finlay
5ce94e69b3 Add useful error when duplicate web3 is detected.
Fixes #2507
2017-10-31 09:59:26 -07:00
Kevin Serrano
b9bbf8f329
Resolving that ugly merge. 2017-10-25 15:45:26 -07:00
Dan Finlay
8b1726cc55 Live update blacklist from Infura 2017-07-26 16:30:54 -07:00
frankiebee
473b88f399 Reload the page when switching networks for sites that use web3 2017-05-24 23:00:58 -04:00
kumavis
7ccaa263d2 inpage - set web3.eth.defaultAccount correctly 2017-01-30 15:38:32 -08:00
kumavis
2fa60cfcbf continue rename selectedAccount to selectedAddress 2017-01-30 15:25:12 -08:00
Dan Finlay
77d2deb176 Merged master into dev 2016-12-19 13:37:27 -08:00
kumavis
b4a298e1a3 inpage - temporarily disable ping stream 2016-12-19 12:25:35 -08:00
kumavis
26b60f1b5a inpage - correctly listen for incomming messages 2016-12-07 14:42:38 -08:00
Kevin Serrano
f5b0795ac5
change all instances of selectedAddress to selectedAccount. 2016-11-21 16:21:16 -08:00
Kevin Serrano
23263bec7d
Linting to the max. 2016-11-11 10:26:12 -08:00
Dan Finlay
cc23158bfe Wait for first metamask data to establish ping-pong stream.
Prevents infinite reload loops when dapps take too long to load.

Fixes #746.
2016-10-18 13:51:50 -07:00
kumavis
a1c3c944cf dapp reload - fixed disconnect detection via polling 2016-10-12 12:35:55 -07:00
kumavis
8b9999b71e inpage - cleanContextForImports fix
set to undefined instead of deleting
updates #447
2016-08-22 19:22:12 -07:00
kumavis
d7dffedf48 deps - local-message-stream extracted as module post-message-stream 2016-08-11 14:04:20 -07:00
kumavis
b2afa16925 typo fix 2016-07-18 18:08:29 -07:00
kumavis
9101812552 inpage - add try/catch to cleanContextForImports 2016-07-18 17:57:23 -07:00
kumavis
5c4c902c94 appease the linting gods 2016-07-06 20:32:36 -07:00
kumavis
7aa120e630 web3 injection - use web3 dist for faster injection 2016-07-06 20:20:40 -07:00
Dan Finlay
a08c3bc01b Auto linted 2016-06-21 13:18:32 -07:00
kumavis
9aea88da32 multiplex - rename control to autoreload 2016-05-22 18:21:34 -07:00
kumavis
00e9f3c6ae inpage - refactor for modularity 2016-05-22 15:23:16 -07:00
kumavis
a703706cb1 sync rpc fix 2016-05-19 16:53:16 -07:00
kumavis
aa2816010d inpage - automatic dapp reload 2016-05-05 16:04:43 -07:00
kumavis
9fcf07db6b inpage - add and remove 'define' from global context. updates #126 2016-04-29 15:38:24 -07:00
kumavis
d6114292d0 inpage - use publicConfigStore for selectedAccount and sync provider 2016-04-15 13:04:17 -07:00
kumavis
d840e81a10 wiring - trusted-untrusted features + remote-store 2016-04-15 12:12:04 -07:00
kumavis
1e989fb8a4 inpage - defaultAccount - fix bug 2016-04-14 21:11:35 -07:00
kumavis
38582f6aae web3 - set defaultAccount 2016-04-14 11:31:15 -07:00
kumavis
2c47fb14e0 clean - inpage remove unused xhr mitm code 2016-04-14 10:28:57 -07:00
Dan Finlay
d4e918cc77 Point rawtestrpc at new testrpc 2016-04-12 14:48:48 -07:00
kumavis
1c8049520d inpage - web3 class injection 2016-03-05 15:03:43 -08:00
kumavis
5fbaed23c6 internal rpc - add isMetamaskInternal flag 2016-02-15 14:43:39 -08:00
kumavis
dbd3b8f76f disable localhost interception 2016-02-15 11:03:50 -08:00
kumavis
519d4b1192 logging - add localhost interception message 2016-02-15 11:03:07 -08:00
kumavis
a487c8a952 intercept xhrs for localhost:8545 2016-02-14 21:53:54 -08:00
kumavis
066996396f context wiring - handle and log errors 2016-02-10 11:46:13 -08:00
kumavis
ebf60843fa sync - slow account polling to 4s 2016-02-08 17:13:30 -08:00
kumavis
b239bacd36 rpc - sync - add support for sync eth_accounts + eth_coinbase 2016-01-31 00:29:06 -08:00
kumavis
c46eb81611 rpc - sync - add warning for unsupported eth_accounts 2016-01-30 23:35:52 -08:00
kumavis
c2eb3f6524 add basic sync support 2016-01-30 23:15:38 -08:00
kumavis
72a747165d migrate to ProviderEngine zero-client 2015-12-18 22:05:16 -08:00
kumavis
2ecea44f92 major - migrate to blockapps-web3 2015-10-09 23:14:18 -07:00
kumavis
6bf98c6923 load from storage on start and export unsignedTxs on remote connect 2015-08-01 23:36:03 -07:00
kumavis
dcfd89db1b store unconfirmedTxs in chrome sync storage 2015-08-01 22:23:33 -07:00
kumavis
fd9871acae builds smoothly + forwards txs to extension 2015-08-01 20:50:29 -07:00
kumavis
cc1bb92f9d build overhaul + basic structure 2015-08-01 16:33:31 -07:00