1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 18:41:38 +01:00
Commit Graph

14698 Commits

Author SHA1 Message Date
Alex Donesky
3a31326199
Add fallback image/card for NFTs when image was not fetched correctly or does not exist (#15034)
* add fallback image/card for collectibles when image was not fetched correctly or does not exist

* UI and storybook updates (#15071)

* UI and storybook updates

* Adding break so token id is displayed

* subtle border fix

* Updating content

* Removing unused image

* Adding proptype descriptions

* Lint fix

Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-06-30 08:46:38 -07:00
dependabot[bot]
afb3475d17
Bump @metamask/design-tokens from 1.6.5 to 1.7.0 (#15017)
Bumps [@metamask/design-tokens](https://github.com/MetaMask/design-tokens) from 1.6.5 to 1.7.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.6.5...v1.7.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>
2022-06-29 15:40:54 -07:00
Dan J Miller
f9caa1574f
Merge pull request #15079 from MetaMask/master-sync
Master Sync after v10.16.1
2022-06-29 12:55:31 -02:30
Dan J Miller
83695c83b4
Update CHANGELOG.md
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2022-06-29 10:33:30 -02:30
Dan Miller
93c4d33cda Merge remote-tracking branch 'origin/develop' into master-sync 2022-06-29 10:22:51 -02:30
Dan Miller
24662963c5 Revert "Merge pull request #15063 from MetaMask/revert-v10.16.0"
This reverts commit 4d42715220, reversing
changes made to f09ab88891.
2022-06-29 10:21:35 -02:30
Dan J Miller
1b9130d0e2
Merge pull request #15067 from MetaMask/Version-v10.16.1
Version v10.16.1 RC
2022-06-28 18:28:40 -02:30
Dan J Miller
05f29edbeb Remove change from cb77f94 that breaks ens inputs in send flow (#15069) 2022-06-28 17:09:30 -02:30
Dan J Miller
c3623ab729
Remove change from cb77f94 that breaks ens inputs in send flow (#15069) 2022-06-28 17:06:55 -02:30
Dan Miller
52590b8fe3 Replace unit test from 7f9e24c4 with a test that is compatible with the state of ducks/send on master 2022-06-28 15:15:15 -02:30
Dan Miller
60a8d92e9c Update changelog for v10.16.1 2022-06-28 15:15:15 -02:30
Dan J Miller
7f9e24c4f0 Ensure that addresses are properly hex-prefixed in the generate ERC token transfer functions (#15064)
* Ensure that addresses are properly hex-prefixed in the generate ERC token transfer functions

* Ensure hex-prefixed addresses in send input

* Update unit tests

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-06-28 14:23:28 -02:30
Dan J Miller
cb77f94bc5
Ensure that addresses are properly hex-prefixed in the generate ERC token transfer functions (#15064)
* Ensure that addresses are properly hex-prefixed in the generate ERC token transfer functions

* Ensure hex-prefixed addresses in send input

* Update unit tests

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-06-28 14:21:09 -02:30
MetaMask Bot
51311e4024 Version v10.16.1 2022-06-28 14:42:13 +00:00
Dan J Miller
4d42715220
Merge pull request #15063 from MetaMask/revert-v10.16.0
Revert v10.16.0
2022-06-28 11:44:50 -02:30
Mark Stacey
925a19fa4a Revert "Merge pull request #14912 from MetaMask/Version-v10.16.0"
This reverts commit f09ab88891, reversing
changes made to effc761e0e.

This is being temporarily reverted to make it easier to release an
urgent fix for v10.15.1.
2022-06-28 10:41:47 -02:30
Alex Donesky
5290402181
Fix tokenIds larger than MAX_SAFE_INTEGER converted to scientific notation and failing to import (#15016)
* fix tokenIds larger than MAX_SAFE_INTEGER breaking

* add tests
2022-06-27 19:31:25 -05:00
PeterYinusa
bf9140aa57
Chromedriver v103 (#15015)
* update chromdriver to v103

* update chrome binary to v103
2022-06-24 08:41:55 -04:00
ryanml
fbbd212d3a
Merge pull request #15040 from MetaMask/master-sync
Sync `master` with `develop`
2022-06-23 16:13:52 -07:00
ryanml
50e7fe9386 Merge remote-tracking branch 'origin/develop' into master-sync 2022-06-23 12:28:06 -07:00
Dan J Miller
f09ab88891
Merge pull request #14912 from MetaMask/Version-v10.16.0
Version v10.16.0 RC
2022-06-23 16:39:20 -02:30
seaona
de228da783 Add space under Flask PR item 2022-06-23 14:33:43 +02:00
seaona
2d41e5dcfa Fix changelog release bottom list 2022-06-23 14:28:05 +02:00
seaona
7afa381b49 Merge remote-tracking branch 'origin/master' into Version-v10.16.0 2022-06-23 13:54:49 +02:00
seaona
ece2ed37cb Re-wording changelog for method resolution fix 2022-06-23 12:46:29 +02:00
seaona
c62730a7cb Signature method resolution added to changelog 2022-06-23 11:44:20 +02:00
Frederik Bolding
167af09a11 Increase likelyhood of valid method signatures being returned by getMethodData (#14937)
* Increase likelyhood of valid method signatures being returned by getMethodData

* Update coverage

* Update coverage

* Update coverage

* add a migration to clear knownMethodData

* Small typo changes

Co-authored-by: Alex <adonesky@gmail.com>
2022-06-23 11:05:40 +02:00
seaona
f85806ce97
Update v10.16.0 changelog (#14947)
* Changelog for 10.16.0 cleaned up

* Updates for fixing PR review comments

* Remove bug fix for a bug that never made it to prod

* Re-phrased fix permissions to fix currency symbol

* Update with review comment fixes and add Snaps uncategorized PRs

* Reorg

* Apply suggestions from code review - Snaps

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>

* Categorized snaps PRs under correct type

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-06-23 04:12:45 -02:30
ryanml
2d3f85687e
Merge pull request #15013 from MetaMask/master-sync
Sync `master` with `develop`
2022-06-22 18:45:21 -07:00
Ariella Vu
20023ebb4f
README.md: add PASSWORD .metamaskrc instruction (#15004) 2022-06-22 15:48:11 -05:00
ryanml
71755bf4cc Merge remote-tracking branch 'origin/develop' into master-sync 2022-06-22 12:24:48 -07:00
Dan J Miller
effc761e0e
Merge pull request #15002 from MetaMask/Version-v10.15.1
Version v10.15.1 RC
2022-06-22 15:32:24 -02:30
Daniel
5fa88bebce
Show how much a cancellation of a smart transaction will cost (#15011) 2022-06-22 18:58:51 +02:00
Dan J Miller
324ac0cd78 Add exclusion for GHSA-pfrx-2q88-qq97, which is in the 3box dependency tree but not our build (#15005) 2022-06-22 11:58:26 -02:30
Dan J Miller
82430e4659
Add exclusion for GHSA-pfrx-2q88-qq97, which is in the 3box dependency tree but not our build (#15005) 2022-06-22 11:46:58 -02:30
Frederik Bolding
ba961819f8
Backport snaps e2e fix (#15008)
* Backport snaps e2e fix

* Fix selector
2022-06-22 09:54:44 -02:30
SebSeb11
dc951c505a
fix minor german translation issue. connected=verbunden (#14997) 2022-06-21 21:37:43 -07:00
David Walsh
6ffd0ce063
Fix 14802 - Prevent children error in page container (#14809) 2022-06-21 18:38:39 -05:00
Micaiah Reid
1fd4dfbde4 Allow locally hosted RPC and Block Explorer Urls with wallet_addEthereumChain (#14272)
* add function to check if url is localhost

* allow localhost rpcUrls in `wallet_addEthereumChain`

* allow localhost blockExplorerUrls

* wrap new URL in try/catch
2022-06-21 19:42:50 -02:30
Mark Stacey
b68aee1bef
Migrate the build script to yargs (#14836)
The build script now uses `yargs` rather than `minimist`. The CLI is
now better documented, and we have additional validation for each
option.

A patch for `yargs` was required because it would blow up on the line
`Error.captureStackTrace`. For some reason when running under LavaMoat,
that property did not exist.

Closes #12766
2022-06-21 17:37:05 -02:30
Dan J Miller
850c68ebb0 Update changelog for v10.15.1 2022-06-21 17:20:40 -02:30
Frederik Bolding
506a9872f0 Update E2E tests for new test-dapp version (#14939)
* Update xDAI E2E information

* Use local Ganache instance instead of Gnosis Chain

* Bump test-dapp

* Bump test-dapp

* Enable secondary Ganache server for other test

* Fix linting

* Improve E2E stability

* Update network selector
2022-06-21 17:13:57 -02:30
Ariella Vu
479298fc89 MetaMetrics: Fixes TypeError: Object.values(...).reduce(...).flat is not a function (#14962)
* metametrics: flat is not a function

* MetaMetrics: shorten array logic
2022-06-21 17:09:15 -02:30
Dan J Miller
254e600d07 Destroy ledger keyring when removing last account in ledger keyring (#14993)
* Destroy ledger keyring when removing last account in ledger keyring

* Update unit tests
2022-06-21 17:06:36 -02:30
MetaMask Bot
390cf09b3f Version v10.15.1 2022-06-21 19:26:15 +00:00
Dan J Miller
ac7245b50c
Destroy ledger keyring when removing last account in ledger keyring (#14993)
* Destroy ledger keyring when removing last account in ledger keyring

* Update unit tests
2022-06-21 16:33:54 -02:30
George Marshall
051254dffd
Fixing tooltip theming by enforcing default theme (#14992)
* Fixing tooltip theming by enforcing background color

* Removing wide prop
2022-06-21 09:50:44 -07:00
daniba
085126d275
Move search icon and add to storybook (#14940)
* move search icon || update imports || add to story

* Optimized svg path, updated icon api and updating colors

* update other icons

* update snapshot

Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2022-06-21 10:18:35 -05:00
Olusegun Akintayo
3267d6ecc4 Only have timeout for when payload is getState (#14972)
* Only have timeout for when payload is getState

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Fix test

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
2022-06-20 17:53:17 -07:00
Frederik Bolding
5168538afe Update E2E tests for new test-dapp version (#14939)
* Update xDAI E2E information

* Use local Ganache instance instead of Gnosis Chain

* Bump test-dapp

* Bump test-dapp

* Enable secondary Ganache server for other test

* Fix linting

* Improve E2E stability

* Update network selector
2022-06-20 17:53:06 -07:00