Dan J Miller
a5fe919f68
Add EIP-712 support for Trezor ( #13693 )
...
* Add EIP-712 support for Trezor
Co-authored-by: alisinabh <alisina.bm@gmail.com>
Co-authored-by: matejcik <ja@matejcik.cz>
Co-authored-by: Brandon Noad <Brandon.Noad@gmail.com>
* Update eth-trezor-keyring version
Co-authored-by: Alois Klink <alois.klink@gmail.com>
Co-authored-by: alisinabh <alisina.bm@gmail.com>
Co-authored-by: matejcik <ja@matejcik.cz>
Co-authored-by: Brandon Noad <Brandon.Noad@gmail.com>
3 years ago
Alex Miller
9d92b20222
[GridPlus] Updates SDK to v0.9.10 (hotfix) ( #13691 )
...
See: https://github.com/GridPlus/gridplus-sdk/releases/tag/v0.9.10-hotfix
3 years ago
Alex Miller
6dcaa0dd97
[GridPlus] Updates corresponding to Lattice firmware v0.13.2 ( #13455 )
...
This updates `eth-lattice-keyring`, which itself updates `gridplus-sdk`.
These changes are backwards compatible but do unlock functionality in
Lattice firmware v0.13.2
Underlying Changes:
* `gridplus-sdk`: https://github.com/GridPlus/gridplus-sdk/compare/v0.9.2...v0.9.7
* `eth-lattice-keyring`: https://github.com/GridPlus/eth-lattice-keyring/compare/v0.4.0...v0.4.9
3 years ago
Dan J Miller
05138da8a7
Add EIP-712 support for Trezor ( #13693 )
...
* Add EIP-712 support for Trezor
Co-authored-by: alisinabh <alisina.bm@gmail.com>
Co-authored-by: matejcik <ja@matejcik.cz>
Co-authored-by: Brandon Noad <Brandon.Noad@gmail.com>
* Update eth-trezor-keyring version
Co-authored-by: Alois Klink <alois.klink@gmail.com>
Co-authored-by: alisinabh <alisina.bm@gmail.com>
Co-authored-by: matejcik <ja@matejcik.cz>
Co-authored-by: Brandon Noad <Brandon.Noad@gmail.com>
3 years ago
Daniel
2585f45bde
Add support for Smart Transactions ( #12676 )
3 years ago
dragana8
5095071083
Make default icons the same on mobile and extension #13264 ( #13408 )
3 years ago
PeterYinusa
ebeb2668ea
E2e mocking ( #13640 )
...
* mock gas price api
* fix error
* full url
* remove duplicated packages
* full url
* customise mock per test
* customise mock per test
* enable mocking
* enable mocking
* enable mocking by default
* duplicated packages
* update mockttp
* pass through
* pass through
3 years ago
ryanml
e4e321cc7c
Fix lockfile
3 years ago
dependabot[bot]
bcf826772e
Bump vm2 from 3.9.5 to 3.9.7 ( #13625 )
...
Bumps [vm2](https://github.com/patriksimek/vm2 ) from 3.9.5 to 3.9.7.
- [Release notes](https://github.com/patriksimek/vm2/releases )
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.5...3.9.7 )
---
updated-dependencies:
- dependency-name: vm2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
3 years ago
dependabot[bot]
1d1752135e
Bump follow-redirects from 1.14.7 to 1.14.8 ( #13612 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Dan J Miller
2dc9ce71dd
Add resolution for engine.io, a nested dependency of 3box ( #13589 )
3 years ago
dependabot[bot]
3dc60e8e30
Bump vm2 from 3.9.5 to 3.9.7 ( #13625 )
...
Bumps [vm2](https://github.com/patriksimek/vm2 ) from 3.9.5 to 3.9.7.
- [Release notes](https://github.com/patriksimek/vm2/releases )
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.5...3.9.7 )
---
updated-dependencies:
- dependency-name: vm2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
3 years ago
dependabot[bot]
3fb21fee27
Bump follow-redirects from 1.14.7 to 1.14.8 ( #13612 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Erik Marks
35ac762e10
Add Snaps via Flask ( #13462 )
...
This PR adds `snaps` under Flask build flags to the extension. This branch is mostly equivalent to the current production version of Flask, excepting some bug fixes and tweaks.
Closes #11626
3 years ago
PeterYinusa
2b1256faf4
Update to latest ChromeDriver ( #13616 )
3 years ago
Dan J Miller
44cb377ec0
Add resolution for engine.io, a nested dependency of 3box ( #13589 )
3 years ago
Dan J Miller
e84138e2bc
Add resolution for engine.io, a nested dependency of 3box ( #13589 )
3 years ago
Alex Miller
79e96f93db
[GridPlus] Updates corresponding to Lattice firmware v0.13.2 ( #13455 )
...
This updates `eth-lattice-keyring`, which itself updates `gridplus-sdk`.
These changes are backwards compatible but do unlock functionality in
Lattice firmware v0.13.2
Underlying Changes:
* `gridplus-sdk`: https://github.com/GridPlus/gridplus-sdk/compare/v0.9.2...v0.9.7
* `eth-lattice-keyring`: https://github.com/GridPlus/eth-lattice-keyring/compare/v0.4.0...v0.4.9
3 years ago
Brad Decker
d45cb6c12e
update test-dapp to 5.0.0 ( #13503 )
...
* update test-dapp to 5.0.0
* Update edit-gas-fee.spec.js
* Lint
* Update send-eth.spec.js
* Update signature-request.spec.js
* typo
Co-authored-by: PeterYinusa <peter.yinusa@consensys.net>
Co-authored-by: Alex Donesky <adonesky@gmail.com>
3 years ago
PeterYinusa
2b010710ae
update chromedriver to v97 ( #13502 )
3 years ago
Brad Decker
3dde05dbce
add resolution for simple-get ( #13471 )
3 years ago
dependabot[bot]
37f930ddf6
Bump cached-path-relative from 1.0.2 to 1.1.0 ( #13424 )
...
Bumps [cached-path-relative](https://github.com/ashaffer/cached-path-relative ) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/ashaffer/cached-path-relative/releases )
- [Commits](https://github.com/ashaffer/cached-path-relative/commits )
---
updated-dependencies:
- dependency-name: cached-path-relative
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
c3265727f2
Bump node-fetch from 2.6.1 to 2.6.7 ( #13397 )
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Brad Decker
5889d0ac45
add resolution for simple-get ( #13471 )
3 years ago
kumavis
3729e15c0c
lavamoat - @lavamoat/allow-scripts v2 ( #13428 )
3 years ago
Erik Marks
30852f76f3
Add resolution for follow-redirects ( #13301 )
...
Adds a resolution for `follow-redirects` to resolve https://github.com/advisories/GHSA-74fj-2j2h-c42q . The dependency graph is `analytics-node#axios#follow-redirects`, and neither parent package has published a fix for this vulnerability.
3 years ago
ryanml
60981f30b3
Lockfile fix
3 years ago
Brad Decker
ca5c4b7839
fix node-forge vulnerability ( #13389 )
3 years ago
dependabot[bot]
3ca6dd6583
Bump @metamask/controllers from 25.0.0 to 25.1.0 ( #13399 )
...
Bumps [@metamask/controllers ](https://github.com/MetaMask/controllers ) from 25.0.0 to 25.1.0.
- [Release notes](https://github.com/MetaMask/controllers/releases )
- [Changelog](https://github.com/MetaMask/controllers/blob/main/CHANGELOG.md )
- [Commits](https://github.com/MetaMask/controllers/compare/v25.0.0...v25.1.0 )
---
updated-dependencies:
- dependency-name: "@metamask/controllers"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
7fb5f417c4
Bump @metamask/controllers from 25.0.0 to 25.1.0 ( #13399 )
...
Bumps [@metamask/controllers ](https://github.com/MetaMask/controllers ) from 25.0.0 to 25.1.0.
- [Release notes](https://github.com/MetaMask/controllers/releases )
- [Changelog](https://github.com/MetaMask/controllers/blob/main/CHANGELOG.md )
- [Commits](https://github.com/MetaMask/controllers/compare/v25.0.0...v25.1.0 )
---
updated-dependencies:
- dependency-name: "@metamask/controllers"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Brad Decker
ec8a9384c9
fix node-forge vulnerability ( #13389 )
3 years ago
PeterYinusa
e2a8886a05
Upgrade ganache - continued ( #13354 )
...
* remove ganache-core
* use ganache v7
* convert to hex
* lint
3 years ago
dragana8
a67a5efca3
Incorrect Rounding Down of Balance #10167 ( #13337 )
3 years ago
Alex Donesky
f7849a0b7c
Add error that redirects users to Import NFT page when they attempt to add an NFT on the Import Token page ( #13271 )
...
* Add error that redirects users to Import NFT page when they attempt to add an NFT on the Import Token page
3 years ago
Jyoti Puri
9a3c917a48
Adding support for EIP-1559 in E2E tests ( #13282 )
3 years ago
Mark Stacey
48d9ca19cc
Remove unnecessary Yarn resolution ( #13305 )
...
This resolution was used to force a transitive dependency to be updated
to a specific version. But this target version was within the range
that was already requested, so a resolution is not needed. Yarn
resolutions are used for forcing a package to update to something
_outside_ of the requested range. For in-range updates, a Yarn lockfile
update is all we need, and it leaves us with less of a maintenance
burden (the resolution can clobber future updates).
3 years ago
Erik Marks
d4b6e95f89
Add resolution for follow-redirects ( #13301 )
...
Adds a resolution for `follow-redirects` to resolve https://github.com/advisories/GHSA-74fj-2j2h-c42q . The dependency graph is `analytics-node#axios#follow-redirects`, and neither parent package has published a fix for this vulnerability.
3 years ago
dependabot[bot]
ac5d06e4e3
Bump copy-props from 2.0.4 to 2.0.5 ( #13245 )
...
Bumps [copy-props](https://github.com/gulpjs/copy-props ) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/gulpjs/copy-props/releases )
- [Changelog](https://github.com/gulpjs/copy-props/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gulpjs/copy-props/compare/2.0.4...2.0.5 )
---
updated-dependencies:
- dependency-name: copy-props
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Alex Donesky
4826c8c95e
Feat/collectibles send flow ( #13048 )
...
* Add collectibles send flow
3 years ago
Mark Stacey
3732c5f71e
Add JSDoc ESLint rules ( #12112 )
...
ESLint rules have been added to enforce our JSDoc conventions. These
rules were introduced by updating `@metamask/eslint-config` to v9.
Some of the rules have been disabled because the effort to fix all lint
errors was too high. It might be easiest to enable these rules one
directory at a time, or one rule at a time.
Most of the changes in this PR were a result of running
`yarn lint:fix`. There were a handful of manual changes that seemed
obvious and simple to make. Anything beyond that and the rule was left
disabled.
3 years ago
Alex Donesky
c266d4e6af
Feat/check update collectible ownership ( #13110 )
...
* Use method to check and update collectible ownership
3 years ago
dependabot[bot]
bb390f06ae
Bump just-safe-set from 2.1.0 to 2.2.3 ( #13049 )
...
Bumps [just-safe-set](https://github.com/angus-c/just ) from 2.1.0 to 2.2.3.
- [Release notes](https://github.com/angus-c/just/releases )
- [Commits](https://github.com/angus-c/just/commits )
---
updated-dependencies:
- dependency-name: just-safe-set
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Alex Donesky
1b6e58c417
Feat/collectibles the return ( #12970 )
...
* Wire collectibles frontend UI with controller data
3 years ago
dependabot[bot]
69e27c8a82
Bump just-safe-set from 2.1.0 to 2.2.3 ( #13049 )
...
Bumps [just-safe-set](https://github.com/angus-c/just ) from 2.1.0 to 2.2.3.
- [Release notes](https://github.com/angus-c/just/releases )
- [Commits](https://github.com/angus-c/just/commits )
---
updated-dependencies:
- dependency-name: just-safe-set
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Mark Stacey
ba54a3d83b
Update ESLint config to v8 ( #12886 )
...
The ESLint config has been updated to v8. The breaking changes are:
* The Prettier rule `quoteProps` has been changed from `consistent` to
`as-needed`, meaning that if one key requires quoting, only that key is
quoted rather than all keys.
* The ESLint rule `no-shadow` has been made more strict. It now
prevents globals from being shadowed as well.
Most of these changes were applied with `yarn lint:fix`. Only the
shadowing changes required manual fixing (shadowing variable names were
either replaced with destructuring or renamed).
The dependency `globalThis` was added to the list of dynamic
dependencies in the build system, where it should have been already.
This was causing `depcheck` to fail because the new lint rules required
removing the one place where `globalThis` had been erroneously imported
previously.
A rule requiring a newline between multiline blocks and expressions has
been disabled temporarily to make this PR smaller and to avoid
introducing conflicts with other PRs.
3 years ago
Mark Stacey
d4ebf98cc4
Update `electron` from 11.4.12 to 11.5.0 ( #13037 )
...
This should include no functional changes. We only use `electron` for
`react-devtools`, which appears to still work after this update.
This replaces PR #12338 .
3 years ago
Mark Stacey
670bed4c61
Add `@metamask/rpc-methods` package ( #13027 )
...
The `selectHooks` function has been replaced with the equivalent
function from the `@metamask/rpc-methods` package, which is
functionally equivalent.
The function was included in that package so that it could be used
elsewhere in the `snaps-skunkworks` repo. Eventually the goal is to
migrate much of our RPC logic into this package so that it can be
shared across products, and by our libraries as needed.
3 years ago
Dan J Miller
c73c2d8a9f
Support EIP-1559 on Trezor Model One ( #13023 )
...
* Support EIP-1559 on Trezor Model One
* Update unit tests
* Fix unit test
* Run yarn lavamoat:auto
3 years ago
Dan J Miller
e45560859c
Support EIP-1559 on Trezor Model One ( #13023 )
...
* Support EIP-1559 on Trezor Model One
* Update unit tests
* Fix unit test
* Run yarn lavamoat:auto
3 years ago
Dan J Miller
a34f88e375
Dispose the trezor connect iframe upon lock ( #13018 )
...
* Dispose the trezor connect iframe upon lock
* Use KEYRING_TYPES.TREZOR
* Update eth-trezor-keyring version
3 years ago