Mark Stacey
4b59d6099a
Fix token list when balance is zero ( #8250 )
...
The token list would be stuck on "Loading" when there was at least one
token, but the balance of all tokens was zero. This bug was only
present on `develop`, and has not affected any published version of the
extension.
This was introduced in #8223 , which removed what at the time seemed to
be an unnecessary update step. It turns out that the step was required
as a workaround to this bug with the token tracker.
The bug was fixed in https://github.com/MetaMask/eth-token-tracker/pull/33
and published in v2.0.0 of `@metamask/eth-token-tracker`.
5 years ago
Mark Stacey
2965eba1dd
Update lockfile to remove redundant requirement ( #8236 )
...
This redundancy is removed automatically by `yarn` upon each install.
This was accidentally left in the lockfile in #8228
5 years ago
Whymarrh Whitby
e729add61d
Use caniuse-lite@1.0.30001036 ( #8228 )
5 years ago
Erik Marks
2301d9980e
Wait for extension unlock before processing eth_requestAccounts ( #8149 )
...
* eth_requestAccounts: wait on unlock
return error on duplicate eth_requestAccounts
add getUnlockPromise mock to permissions unit tests
* only await unlock if already permitted
* add notification badge for wait on unlock
* fixup
* more fixup
* cleanup
* update keyring controller, us its unlock event
* move keyring update unlock logic to unlock event handler
* fix unit tests
* delete onUnlock handler
* fix eth-keyring-controller resolution
* update eth-keyring-controller
5 years ago
Whymarrh Whitby
f7d906b489
Use acorn@7.1.1 ( #8215 )
5 years ago
Whymarrh Whitby
4d38a59182
Use acorn@5.7.4 and acorn@6.4.1 ( #8203 )
5 years ago
Whymarrh Whitby
8b1bde9ae3
Use kind-of@6.0.3 ( #8202 )
5 years ago
Whymarrh Whitby
5c158ed11d
Force resolve all minimist versions to minimist@1.2.5 ( #8206 )
5 years ago
Erik Marks
b1d090ac4d
Add permissions controller unit tests ( #7969 )
...
* add permissions controller, log, middleware, and restricted method unit tests
* fix permissions-related bugs
* convert permissions log to controller-like class
* add permissions unit test coverage requirements
* update rpc-cap
Co-Authored-By: Whymarrh Whitby <whymarrh.whitby@gmail.com>
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
5 years ago
kumavis
7686edadb0
Build system refactor ( #8140 )
...
* build - start static asset task cleanup
* build - simplify manifest tasks
* build - refactor + rename some tasks
* build - various cleanups
* manifest - fix ref from controller
* build - drop gulp for simple async tasks
* build - breakout gulpfile into multiple files
* build - rename some tasks
* build - use task fn refs instead of string names
* build - bundle all scripts first, except for contentscript
* build - improve task timeline
* deps - update lock
* build - improve task time printout
* build/scripts - remove intermediate named task
* build - use 'yarn build' for task entry points
* build - properly run tasks via runTask for timeline display
* development/announcer - fix manifest path + clean
* build - lint fix
* build - make all defined tasks possible entry points
* build/task - properly report errors during task
* ci - fix sesify/lavamoat-viz build command
* build/scripts - run each bundle in separate processes
* lint fix
* build - forward childProcess logs to console
* build/task - fix parallel/series stream end event
* build/scripts refactor contentscript+inpage into a single task
* build/static - use the fs for 150x speedup zomg
* lint fix
* build/static - fix css copy
* Update development/build/scripts.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/scripts.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/index.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* deps - remove redundant mkdirp
* deps - remove unused pumpify
* deps - remove redundant merge-deep
* deps - prefer is-stream of isstream
* deps - remove clone for lodash.cloneDeep
* clean - remove commented code
* build/static - use fs.copy + fast-glob instead of linux cp for better platform support
* build/manifest - standardize task naming
* build/display - clean - remove unused code
* bugfix - fix fs.promises import
* build - create "clean" as named task for use as entrypoint
* build/static - fix for copying dirs
* Update development/build/task.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/display.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/display.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/display.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* build - use task refs, tasks only return promises not streams, etc
* lint fi bad merge + lint
* build - one last cleanup + refactor
* build - add comments introducing file
* build/manifest - fix bug + subtasks dont beed to be named
* Update package.json
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* build/task - remove unused fn
* Update package.json
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/styles.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/styles.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
5 years ago
Mark Stacey
293741766f
Update `@metamask/eth-ledger-bridge-keyring` ( #8164 )
...
This updates the package to match the version used on `master`
See #8162 and #8163 for details
5 years ago
Whymarrh Whitby
21c1c2a14e
Use @metamask/eth-ledger-bridge-keyring@0.2.2 ( #8155 )
...
* Use @metamask/eth-ledger-bridge-keyring@0.2.2
* Update usages of eth-ledger-bridge-keyring
5 years ago
Mark Stacey
c905fb0817
Update lockfile to remove unnecessary dependency
...
An update to the manifest in #8124 made this dependency unnecessary,
but it was accidentally left in the lockfile.
5 years ago
Whymarrh Whitby
cf85f56989
Use sinon@9.0.0 ( #8123 )
5 years ago
Whymarrh Whitby
f5317e5ab6
Use json-rpc-engine@5.1.8 ( #8124 )
5 years ago
Mark Stacey
b6487f08b7
Allow changing Storybook preview backgrounds ( #8111 )
...
The `@storybook/addon-backgrounds' addon has been added, which allows
changing the component preview background. By default no background
colors are defined, though there is a helpful grid button. A "light"
and "dark" background option has been added globally. Additional
story-specific backgrounds or global backgrounds can be added later if
necessary.
5 years ago
Mark Stacey
2d74fbc75c
Fix `superagent` peer dependency warning ( #8116 )
...
This warning was resolved by updating `pubnub`, which is the dependency
that uses `superagent-proxy` which is causing this warning. The
resolution we added to address a security advisory is also no longer
required.
5 years ago
Mark Stacey
cf8875c57b
Update Storybook dependencies to v5.3.14 ( #8115 )
...
This was primarily done to make explicit that we're using v5.3.x. Our
manifest listed `^5.2.x` but we had already updated to `v5.3.9` in the
lockfile. v5.3.0 lays much of the groundwork for the planned v6.0
release, and includes many changes.
The changes between v5.3.9 and v5.3.14 include various bug fixes, none
of which affect us as far as I know.
Peer dependencies required by Storybook have also been added. These
were already in our dependencies indirectly either way.
5 years ago
Whymarrh Whitby
8d0a757ab5
Use end-of-stream@1.4.4 ( #8098 )
5 years ago
Whymarrh Whitby
5eb95625ca
Remove react-tooltip-component ( #8099 )
5 years ago
Whymarrh Whitby
169ab8adc9
Remove recompose ( #8097 )
5 years ago
Whymarrh Whitby
fcd404015b
Use gulp-replace@1.0.0 ( #8095 )
5 years ago
Whymarrh Whitby
81d8237654
Use eslint-plugin-react@7.18.3 ( #8085 )
5 years ago
Whymarrh Whitby
ec1227fded
Use lockfile-lint@4.0.0 ( #8088 )
5 years ago
Whymarrh Whitby
e8dc8abd5c
Use concurrently@5.1.0 ( #8087 )
5 years ago
Whymarrh Whitby
6c9b7fc8c7
Use gulp-babel@8.0.0 ( #8086 )
5 years ago
Whymarrh Whitby
ef8ea9b188
Remove eslint-plugin-chai ( #8089 )
5 years ago
Konstantin
6f47fece56
Implementation encrypt/decrypt feature ( #7831 )
...
Implement `eth_decrypt` and `eth_getEncryptionPublicKey`. This allows decryption backed by the user's private key. The message decryption uses a confirmation flow similar to the messaging signing flow, where the message to be decrypted is also able to be decrypted inline for the user to read directly before confirming.
5 years ago
Whymarrh Whitby
cab2f1b769
Use react-redux@7.2.0 ( #8069 )
5 years ago
Whymarrh Whitby
8f26f5a021
Remove redux-test-utils dependency ( #8070 )
...
* Remove usages of redux-test-utils
* Remove redux-test-utils dependency
5 years ago
ricky
1f9e3b89d4
Add optional chaining ( #8052 )
...
* Add plugin-proposal-optional-chaining
* Use optional chaining to provide error fallback
5 years ago
Whymarrh Whitby
9c45ae0552
Use http-server@0.12.1 ( #8066 )
5 years ago
Whymarrh Whitby
b5cdbcb581
Update redux-related dependencies ( #8068 )
5 years ago
Whymarrh Whitby
8a04642cd3
Update dependencies to resolve security advisories ( #8064 )
5 years ago
Mark Stacey
f26f52560d
Update packages to address security advisory ( #8061 )
...
Update packages to address the following security advisories:
* https://www.npmjs.com/advisories/1474
* https://www.npmjs.com/advisories/1475
* https://www.npmjs.com/advisories/1476
* https://www.npmjs.com/advisories/1480
* https://www.npmjs.com/advisories/1482
5 years ago
Erik Marks
9376c47dd1
update packages
5 years ago
Whymarrh Whitby
85430746ad
Update mocha version ( #8028 )
...
* Use mocha@7.0.1
* Remove bad async test
5 years ago
Whymarrh Whitby
7f3cf07f94
Update sinon and proxyquire ( #8027 )
...
* Use sinon@8.1.1
* Use proxyquire@2.1.3
* Move sinon mocking out of global scope into hooks
5 years ago
Whymarrh Whitby
4f3fc95d50
Update ESLint rules for test suite ( #8023 )
...
* Use @metamask/eslint-config@1.1.0
* Use eslint-plugin-mocha@6.2.2
* Mark root ESLint config as root
* Update Mocha ESLint rules with shared ESLint config
5 years ago
Erik Marks
8e307f8d71
update inpage-provider; minor fixes ( #7997 )
5 years ago
Whymarrh Whitby
08c7322203
Remove last remaining usages of `npm run` ( #7994 )
...
* Remove last remaining usages of `npm run`
* Use nyc@15.0.0
5 years ago
Whymarrh Whitby
25bcdfcac8
Fix SendAmountRow tests ( #7968 )
...
* Rewrite SendAmountRow tests to avoid flakiness
* Use sinon@5.0.1
* Dedupe supports-color versions
5 years ago
Whymarrh Whitby
59937fe35a
Remove redundant eth-*-keyring versions from yarn.lock ( #7984 )
5 years ago
Whymarrh Whitby
2aa22fa9d7
Use gulp@4.0.2 ( #7982 )
5 years ago
Whymarrh Whitby
75769e5809
Use eth-keyring-controller@5.5.0 ( #7980 )
5 years ago
Whymarrh Whitby
8610c1cf47
Use eth-json-rpc-infura@4.0.2 ( #7981 )
5 years ago
Whymarrh Whitby
313ee0c5e1
Use envify@4.1.0 ( #7983 )
5 years ago
Whymarrh Whitby
b80afc6493
Use ethereum-ens-network-map for network support ( #7960 )
5 years ago
Whymarrh Whitby
6747b7f02d
Update ethereum-ens-network-map in lockfile ( #7959 )
...
* Update yarn.lock cross-spawn versions
* Use ethereum-ens-network-map@1.0.2
5 years ago
Whymarrh Whitby
608a1fc298
Remove cross-env ( #7950 )
5 years ago