Bruno Barbieri
f2066432ba
Use Array.includes
6 years ago
Whymarrh Whitby
08c98a6df7
Show Connect Requests count in extension badge
6 years ago
Whymarrh Whitby
826eb82ed8
Use initState to avoid type-checking providerRequests in state
6 years ago
brunobar79
fb94c1bae7
remove extra semicolon
6 years ago
brunobar79
3abf9ec7db
consider hw wallets
6 years ago
Whymarrh Whitby
444c68ae53
Don't announce new UI to users switching back
6 years ago
Whymarrh Whitby
c482c9926c
Default to the new UI for first time users
6 years ago
Paul Bouchon
7fe37276a1
1102: Push publicConfigStore to next turn to avoid race conditiono ( #5777 )
6 years ago
Dan Finlay
fdea642e6d
Auto fail transactions that have been approved for over 12 hours ( #5765 )
...
* Auto fail transactions that have been approved for over 12 hours
Converts txs using a migration.
This migration uses a new helper function that generates tx-failing
migrations, and only requires a version, error message, and condition to
run on each transaction.
* Linted
* Only migrate approved txs to failed
* Cleanup
* Cleanup
* Small lint fixes
6 years ago
Whymarrh Whitby
1988e1e96b
ESLint fixes ( #5775 )
...
* eslint . --fix
* Upgrade all ESLint warnings to errors
6 years ago
Frankie
ce147bf6d8
Tx controller now uses safe event emitter ( #5769 )
...
* transactions - use safe-event-emitter over events
* tests - pass a platform object on init with a noop showTransactionNotification
* test - fix for tx-state-history-helper trying to reduce an empty array
* deps - safe-event-emitter
* lint
6 years ago
Dan Finlay
22ba0b0c2d
Resubmit approved transactions on new block ( #5752 )
...
* Add beginning of test
* Resubmit approved transactions on new block
May fix #4343 and related issues, where an error could leave
transactions stranded in the approved state.
* Remove unused test
* Re-approve transactions when retrying approved
* Add retry approved test
* Include approved in pending tx count
* Fix getPendingTxs()
* Linted
* Only throw hash error in submitted state
* Only check submitted txs for block inclusion
* Fix test expectations
6 years ago
Paul Bouchon
f6e042b7b1
1102: use meta title if it exists before title
6 years ago
Paul Bouchon
0549782595
Update Balanc3 API ( #5744 )
...
* Update balanc3 API used in TokenRatesController
* Remove demo URL and use nativeCurrency when fetching token rates
6 years ago
PaddyMc
7ce2cf4572
Fixes #3425 : Better support for batch transactions ( #5437 )
6 years ago
Paul Bouchon
c317624854
EIP-1102: Update publicConfig store concurrently with approval
6 years ago
Noah I
8bed073f20
1102: Fix inpage listener syntax ( #5708 ) ( #5709 )
6 years ago
bitpshr
718393f89a
Cleanup
6 years ago
bitpshr
a224b71837
1102: use postMessage instead of injected scripts to bypass CSP
6 years ago
bitpshr
1ce3591c8e
wip
6 years ago
bitpshr
896ae0ab89
Fix lint errors
6 years ago
bitpshr
d7b1cacabc
Remove injected script tags after use
6 years ago
bitpshr
34d80f21e2
Clear cached approval after rejection
6 years ago
bitpshr
b3f428fd1f
Move experimental provider augmentation
6 years ago
bitpshr
879997af51
Add experimental RPC method support
6 years ago
Whymarrh Whitby
26ada8a828
Update Connect Request screen design ( #5644 )
...
* Parameterize NetworkDisplay background colour
* Update design for login request screen
* Pass siteTitle, siteImage through for calls to ethereum.enable()
* Bring the site images closer together
6 years ago
bitpshr
31cb111d2e
Do not modify isApproved when locked
6 years ago
bitpshr
9984f7edeb
Mark origins as unapproved if user explicitly locks MetaMask
6 years ago
Paul Bouchon
f557d33718
Enable caching
6 years ago
bitpshr
991e08e346
isApproved should return false
6 years ago
bitpshr
72730b3929
Remove internal listeners
6 years ago
bitpshr
cc27a09a1a
rebase
6 years ago
bitpshr
d4171ccea5
Disable approval caching
6 years ago
bitpshr
cc1bab6ebb
Differentiate locked and enabled
6 years ago
bitpshr
d7618bd5c6
Code bath
6 years ago
bitpshr
ba40fcbcb4
Handle logout gracefully
6 years ago
bitpshr
f02e18dd80
Fix lint issues
6 years ago
bitpshr
ace7cfa065
Only filter selectedAddress from publicConfig store
6 years ago
bitpshr
f35466a247
Fix race condition with publicConfigStore
6 years ago
bitpshr
32630b68df
Move convenience methods to _metamask namespace
6 years ago
bitpshr
504f4a50f1
Fix lint issues
6 years ago
bitpshr
84874a639d
Add isUnlocked provider hook
6 years ago
bitpshr
573139b935
Differentiate isEnabled and isApproved hook
6 years ago
bitpshr
3a2ade4e84
Update isEnabled check
6 years ago
bitpshr
226601a956
EIP-1102: add user privacy option
6 years ago
bitpshr
bfcb73ad53
EIP-1102: add isEnabled convenience method to provider
6 years ago
bitpshr
89b4aa5d62
EIP-1102: Add option to force-enable provider
6 years ago
bitpshr
c76c9ca2c8
EIP-1102: updated implementation
6 years ago
kumavis
86f09e6bb5
network - infura - hardcode net_version and eth_chainId ( #5670 )
...
* network - infura - hardcode net_version and eth_chainId
* network - infura - add rinkeby handling
* lint fix
6 years ago
Esteban Miño
4489a57f2f
Update watchAsset ERC20 validation ( #5653 )
...
* update ERC20 token valodation for watchAsset
* update ERC20 validation test descriptions
6 years ago