kumavis
d03b0547bb
inpage provider - define sendAsync on the prototype
7 years ago
kumavis
ef3bf810bf
inpage - use obj-multiplex module
7 years ago
kumavis
0e8e655fdb
inpage - distinguish pump vs pipe
7 years ago
kumavis
440a42bbc3
inpage - add idRemapMiddleware
7 years ago
kumavis
ea7e46ed38
inpage - bug fix
...
prevents mutation of original message object which causes problems with web3 1.0
7 years ago
kumavis
e294aa7e0d
inpage - lint fix
7 years ago
kumavis
cc56d0d2f6
inpage - use json-rpc-engine for inpage-provider
7 years ago
kumavis
53e410167b
inpage provider - sync rpc - default to null values
7 years ago
kumavis
da16f39626
Merge branch 'master' of github.com:MetaMask/metamask-extension into greenkeeper/initial
7 years ago
kumavis
ecaa235b5e
phishing detection - move phishing detection into contentscript and metamask controller
7 years ago
Dan Finlay
7268fcb694
Revert inpage-provider
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
Dan Finlay
ad40e4d260
Remove stream subprovider
...
Since the polling leak seems to be coming from elsewhere, and new bugs came from this, I'm rolling back this change so that we can push the other improvements sooner and fix the bug at its true root.
8 years ago
kumavis
e6b278569e
inpage-provider - disable polling after first block
8 years ago
kumavis
b217ad1ae8
clean - remove console logs
8 years ago
kumavis
1c1400b584
deps - use stream-subprovider from provider-engine
8 years ago
Dan Finlay
cbfaa6f56f
Rename stream to streamSubprovider
8 years ago
Dan Finlay
48d9a21071
Use filter subprovider in-page to avoid filter leaks
8 years ago
Dan Finlay
c5432da567
Add new streaming subprovider but getting a loop
...
Regarding #1458
Uses a new streaming subprovider architecture on an experimental branch of StreamProvider:
https://github.com/flyswatter/web3-stream-provider/tree/StreamSubprovider
8 years ago
Thomas Huang
6bdb4c8728
Fix linting warnings
8 years ago
Kevin Serrano
4033b620bd
Allowed net_version to be called synchronously
8 years ago
kumavis
2fa60cfcbf
continue rename selectedAccount to selectedAddress
8 years ago
kumavis
76ce348a04
obs-store - use published module
8 years ago
kumavis
8012ede126
background - introduce ObservableStore
8 years ago
kumavis
616721f47d
inpage-provider - add isMetaMask
...
adds `metamaskInpageProvider.isMetaMask === true`
Fixes #727
8 years ago
Dan Finlay
1861bf8e2b
Remove log
8 years ago
Dan Finlay
98527c1c25
Fix account injection bug
...
It seems `selectedAddress` was removed from the keyring-controller’s state, and is used to populate the injected current account.
I couldn't help myself, I dug around, I found a PR named [changed all instances of selectedAddress to selectedAccount](f5b0795ac5
) by @Zanibas . Sorry, Kevin! Had you actually changed all instances, this bug would not have happened.
Fixes #908
8 years ago
kumavis
c0a2eb146a
rpc - add sync uninstallFilter support
8 years ago
Kevin Serrano
f5b0795ac5
change all instances of selectedAddress to selectedAccount.
8 years ago
Kevin Serrano
d6286cd13a
Maintain linting.
8 years ago
Dan Finlay
8eb91e89bf
Increment tx ids to avoid collisions
...
Fixes #791
It was possible for two requests to have the same ID, causing a crash and loss of StreamProvider connection.
This new id generation strategy creates a random ID, and increments it for each request.
In case the id generator is included from two different processes, I'm initializing the counter at a random number, and rolling it over a large number when it gets too big.
8 years ago
Dan Finlay
f229d32442
Replace old random-id code with incrementing id generator
8 years ago
Kevin Serrano
23263bec7d
Linting to the max.
8 years ago
Dan Finlay
090959470b
Add note about callback param to sync method warning
8 years ago
kumavis
a1c3c944cf
dapp reload - fixed disconnect detection via polling
8 years ago
Dan Finlay
d02b2c4b4a
Correct async link
8 years ago
Vincent Serpoul
4cf12337f2
linting
8 years ago
Vincent Serpoul
76d63ec4e0
Error message more helpful
8 years ago
kumavis
532737a101
inpage - remap ids on response
8 years ago
kumavis
b8077983d6
inpage provider - reassign incomming ids
8 years ago
kumavis
c0f7c49105
inpage-prov - sync error - fix link
8 years ago
kumavis
53b1334d37
clean -formatting
8 years ago
kumavis
3417c421c8
inpage-provider - remove createSyncProvider, just fail
8 years ago
Dan Finlay
cdd7e40545
Make injected web3 fail hard on sync methods ( #471 )
...
Make injected web3 fail hard on sync methods
8 years ago
Dan Finlay
8fde8a8921
Manually linted
9 years ago
Dan Finlay
a08c3bc01b
Auto linted
9 years ago
kumavis
2a62d63b4f
deps - use web3-stream-provider module
9 years ago
kumavis
00e9f3c6ae
inpage - refactor for modularity
9 years ago