Alex Donesky
8df8f81df7
Deprecate extensionizer for webextension-polyfill ( #13960 )
...
* deprecate extensionizer for webextension-polyfill
* fix tests
* remove extensionizer
* fix browser windows api calls
* fix broken on firefox
* fix getAcceptLanguages call
* update more browser apis that are now promisified
* remove unnecessary console error ignoring in e2e tests
3 years ago
Frederik Bolding
87636bfdf7
snaps-skunkworks@0.10.3 ( #14041 )
3 years ago
Alex Donesky
e3ea4f2cd0
Fix issue where we show contract address as recipient when calling safe transfer method on erc721 or erc1155 contracts ( #13535 )
...
* fix issue where we show contract address as recipient when calling safe transfer method on erc721 or erc1155 contracts
* updates function name getTransactionData -> parseStandardTokenTransactionData, and adds documentation
3 years ago
Dan J Miller
5cc135e5d7
Bump controllers to 27 ( #13985 )
3 years ago
Erik Marks
a3355d9ca5
@metamask/controllers@26.0.0 ( #13867 )
...
* @metamask/controllers@26.0.0
3 years ago
Guillaume Roux
ad28c81a39
General backgrounds and borders design token updates ( #13764 )
...
Co-authored-by: Guillaume Roux <guillaumeroux123@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
3 years ago
Dan J Miller
c441ab6947
Bump controllers to 27 ( #13985 )
3 years ago
Erik Marks
da1b8dd4bb
Fix yarn.lock ( #13941 )
3 years ago
Erik Marks
118480280c
snaps-skunkworks@0.10.2 ( #13901 )
3 years ago
dependabot[bot]
2c19ecc3da
Bump @metamask/design-tokens from 1.4.0 to 1.4.2 ( #13920 )
...
Bumps [@metamask/design-tokens ](https://github.com/MetaMask/design-tokens ) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/MetaMask/design-tokens/releases )
- [Changelog](https://github.com/MetaMask/design-tokens/blob/main/CHANGELOG.md )
- [Commits](https://github.com/MetaMask/design-tokens/compare/v1.4.0...v1.4.2 )
---
updated-dependencies:
- dependency-name: "@metamask/design-tokens"
dependency-type: direct:production
update-type: version-update:semver-patch
...
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
259e30abc2
@metamask/controllers@26.0.0 ( #13867 )
...
* @metamask/controllers@26.0.0
3 years ago
Alex Miller
7ec8bd49c7
[GridPlus] Updates Lattice dependencies ( #13834 )
3 years ago
PeterYinusa
4f6eb02854
update chromedriver ( #13854 )
3 years ago
VSaric
bea907e437
Create password page ( #13792 )
3 years ago
Alex Miller
6206dbdfe4
[GridPlus] Updates Lattice dependencies ( #13834 )
3 years ago
dependabot[bot]
718d84b211
Bump @metamask/design-tokens from 1.3.0 to 1.4.0 ( #13832 )
...
Bumps [@metamask/design-tokens ](https://github.com/MetaMask/design-tokens ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/MetaMask/design-tokens/releases )
- [Changelog](https://github.com/MetaMask/design-tokens/blob/main/CHANGELOG.md )
- [Commits](https://github.com/MetaMask/design-tokens/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: "@metamask/design-tokens"
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
Mark Stacey
68f42a2fb9
Improve unit tests for `SrpInput` component ( #13803 )
...
The library `@testing-library/user-event` has been updated to the
latest beta version, so that our unit tests better model real user
interactions. In particular, I found that previously the `paste` event
was missing the `clipboardData` API, so it was impossible to implement
any custom handling of paste events (which we will need in later PRs).
See the `v14.0.0-beta.1` release notes for a list of all breaking
changes [1]. The main change is that all methods now return Promises.
The `paste` method has also been dramatically simplified.
The unit tests have also been updated to reset all mocks before each
test. These tests don't have any shared mocks, but this is generally a
good practice, to ensure that tests don't develop accidental inter-
dependencies.
[1]: https://github.com/testing-library/user-event/releases/tag/v14.0.0-beta.1
3 years ago
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
Guillaume Roux
23e6c073c4
Dark Theme setup and button theming ( #13651 )
...
* Add design-tokens and apply colors to button
* swap more colors
* tweak button and add dark theme switch to storybook
* tweak buttons
* fix typo
* remove comments
* add dep to ignored list
* fix linting issue
* fix linting issues
* Updating some styles and removing some deprecated buttons (#13742 )
* Updating some styles and removing some deprecated buttons
* Warning button fixes
* Fixing warning text for darkmode
* bump design tokens and update storybook theme strategy
Co-authored-by: George Marshall <george.marshall@consensys.net>
3 years ago
dependabot[bot]
d239d0fddb
Bump @metamask/design-tokens from 1.2.0 to 1.3.0 ( #13749 )
...
Bumps [@metamask/design-tokens ](https://github.com/MetaMask/design-tokens ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/MetaMask/design-tokens/releases )
- [Changelog](https://github.com/MetaMask/design-tokens/blob/main/CHANGELOG.md )
- [Commits](https://github.com/MetaMask/design-tokens/compare/v1.2.0...v1.3.0 )
---
updated-dependencies:
- dependency-name: "@metamask/design-tokens"
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
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
Mark Stacey
f49e5076f3
Refactor: Extract SRP input from create vault component ( #13720 )
...
This is a pure refactor that extracts the SRP input from the
`CreateNewVault` component. This is intended to make future changes to
the SRP input easier, and to reduce duplication between the old and new
onboarding flows.
Extensive unit tests have been added for the new SRP input component.
A new test library was added (`@testing-library/user-event`) for
simulating user events with components rendered using the
`@testing-library` library.
A new helper method has been added (`renderWithLocalization`) for
rendering components using `@testing-library` with just our
localization contexts added as a wrapper. The localization contexts
were already added by the `renderWithProviders` helper function, but
there is no need for a Redux provider in these unit tests.
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
George Marshall
a1eaa33b45
Installing design tokens and writing docs in storybook ( #13657 )
...
* Installing design tokens and writing docs in storybook
* Adding design-tokens to dep check ignore
* Link updates, Sentence casing, better css code formatting, other grammer fixes
3 years ago
Dan J Miller
96b82349a0
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
0145041d0b
[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
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