Paul Bouchon
2ec09362c5
EIP-1102: Transitionary API ( #5256 )
6 years ago
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.
6 years ago
brunobar79
bea1cf3f3c
clean up
6 years ago
brunobar79
f7ad978474
camera working back and forth
6 years ago
brunobar79
0209148609
fixes
6 years ago
brunobar79
0940ecd57b
added camera snippet injection to inpage.js
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.
7 years ago
Erik Marks
b982961381
removed auto-reload.js, moved global web3 export to inpage.js
7 years ago
Erik Marks
f461bd8812
wip
7 years ago
bitpshr
1ef6528921
Add JSDoc to various background scripts
7 years ago
bitpshr
c9f83fe8bc
Add JSDoc to various background scripts
7 years ago
bitpshr
7129d7c0f3
Require loglevel singleton in each module that uses it
7 years ago
kumavis
00657e14a8
build - correctly set METAMASK_ENV via envify
7 years ago
Dan
ec6c3c33bd
Merge branch 'master' into NewUI-flat-merge-with-master
7 years ago
Dan Finlay
5ce94e69b3
Add useful error when duplicate web3 is detected.
...
Fixes #2507
7 years ago
Kevin Serrano
b9bbf8f329
Resolving that ugly merge.
7 years ago
kumavis
da16f39626
Merge branch 'master' of github.com:MetaMask/metamask-extension into greenkeeper/initial
7 years ago
Dan Finlay
8b1726cc55
Live update blacklist from Infura
7 years ago
Dan Finlay
1dfc0f74bf
Correct inpage to be not modified
8 years ago
Dan Finlay
d8c94fca75
Add address image map to icon factory
...
Deriving from the new address image map repository I've added here:
https://github.com/MetaMask/ethereum-contract-icons
With this PR, images for addresses added to that repository will be shown instead of jazzicons in MetaMask.
8 years ago
frankiebee
473b88f399
Reload the page when switching networks for sites that use web3
8 years ago
kumavis
7ccaa263d2
inpage - set web3.eth.defaultAccount correctly
8 years ago
kumavis
2fa60cfcbf
continue rename selectedAccount to selectedAddress
8 years ago
kumavis
b4a298e1a3
inpage - temporarily disable ping stream
8 years ago
kumavis
26b60f1b5a
inpage - correctly listen for incomming messages
8 years ago
Kevin Serrano
f5b0795ac5
change all instances of selectedAddress to selectedAccount.
8 years ago
Kevin Serrano
23263bec7d
Linting to the max.
8 years ago
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 .
8 years ago
kumavis
a1c3c944cf
dapp reload - fixed disconnect detection via polling
8 years ago
kumavis
8b9999b71e
inpage - cleanContextForImports fix
...
set to undefined instead of deleting
updates #447
8 years ago
kumavis
d7dffedf48
deps - local-message-stream extracted as module post-message-stream
8 years ago
kumavis
b2afa16925
typo fix
8 years ago
kumavis
9101812552
inpage - add try/catch to cleanContextForImports
8 years ago
kumavis
5c4c902c94
appease the linting gods
9 years ago
kumavis
7aa120e630
web3 injection - use web3 dist for faster injection
9 years ago
Dan Finlay
a08c3bc01b
Auto linted
9 years ago
kumavis
9aea88da32
multiplex - rename control to autoreload
9 years ago
kumavis
00e9f3c6ae
inpage - refactor for modularity
9 years ago
kumavis
a703706cb1
sync rpc fix
9 years ago
kumavis
aa2816010d
inpage - automatic dapp reload
9 years ago
kumavis
9fcf07db6b
inpage - add and remove 'define' from global context. updates #126
9 years ago
kumavis
d6114292d0
inpage - use publicConfigStore for selectedAccount and sync provider
9 years ago
kumavis
d840e81a10
wiring - trusted-untrusted features + remote-store
9 years ago
kumavis
1e989fb8a4
inpage - defaultAccount - fix bug
9 years ago
kumavis
38582f6aae
web3 - set defaultAccount
9 years ago
kumavis
2c47fb14e0
clean - inpage remove unused xhr mitm code
9 years ago
Dan Finlay
d4e918cc77
Point rawtestrpc at new testrpc
9 years ago
kumavis
1c8049520d
inpage - web3 class injection
9 years ago
kumavis
5fbaed23c6
internal rpc - add isMetamaskInternal flag
9 years ago
kumavis
dbd3b8f76f
disable localhost interception
9 years ago