George Marshall
87bba78d1f
Updating all instances of Metamask to MetaMask in content, comments and tests ( #14848 )
3 years ago
Mark Stacey
e34a5ee0eb
Update `protobufjs` and remove obsolete advisory exclusion ( #14841 )
...
The package `protobufjs` has been updated from v6.11.2 to v6.11.3. This
addresses a security advisory.
The advisory `GHSA-fwr7-v2mv-hh25` has also been removed from our list
of ignored advisories.
These two changes should fix the `test-deps-audit` failures.
3 years ago
Frederik Bolding
239f5f7fa6
Include snap version in pill ( #14803 )
...
* Include snap version in pill
* snaps authorship styling
* styling
* Fix linting
* Fix linting
Co-authored-by: eriknson <eriks@mail.se>
3 years ago
hilvmason
1b23ea1352
Update PULL_REQUEST_TEMPLATE.md ( #14790 )
3 years ago
Soralit
efdc3149aa
fix: keystone transaction qrcode has no white spacing ( #14798 )
3 years ago
Guillaume Roux
b599035a12
Snap notifications integration ( #14605 )
...
* begin controller implentation
* add NotificationController
* create selectors and actions
* update actions tu use forceUpdateMetamaskState
* Basic notification UI
* fix typo and remove console.log
* lint
* more css
* add notifications scroll
* add translations and fix some css
* Fix rebase and edit colors
* add flask tags
* add flask tag to routes component
* add missing flask tags
* add tests
* fix tests
* store notification expiration delay in constant
* address requested changes
* rename to unreadNotificationsCount
* add missing flask tag
3 years ago
Jyoti Puri
95c230127c
Upgrade @metamask/eth-ledger-bridge-keyring ( #14799 )
3 years ago
Frederik Bolding
7ce4868401
snaps-skunkworks@0.15.0 ( #14772 )
...
* snaps-skunkworks@0.15.0
* Update patch
* Update tofu and LavaMoat policy
3 years ago
Thomas Huang
db6998c66a
Fix proptype errors in network dropdown, tx list item details, and account details modal tests ( #14747 )
3 years ago
Dan J Miller
8961ea5d1b
Ensure transaction type is correctly updated on edit ( #14721 )
...
* updated state on edit
* Update transaction type in updateEditableParams method instead of in the send duck
* Fix unit test
* Fix unit tests
* Fix and improve unit tests
Co-authored-by: dragana8 <dragana.simic@consensys.net>
3 years ago
benlwyre
f6643e853c
Add fiat onboarding for AVAX and MATIC through Wyre ( #14683 )
3 years ago
dependabot[bot]
377c621dd4
Bump @metamask/contract-metadata from 1.33.0 to 1.35.0 ( #14791 )
...
Bumps [@metamask/contract-metadata ](https://github.com/MetaMask/contract-metadata ) from 1.33.0 to 1.35.0.
- [Release notes](https://github.com/MetaMask/contract-metadata/releases )
- [Commits](https://github.com/MetaMask/contract-metadata/commits )
---
updated-dependencies:
- dependency-name: "@metamask/contract-metadata"
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
Ariella Vu
b6ade44bc9
Slight cleanup of constants/transactions, useTransactionDisplayData, and TransactionIcon ( #14784 )
...
* TransactionIcon: alphabetize categories
* useTransactionDisplayData: rm repetitive comment
* useTransactionDisplayData: mv signatureTypes
* useTxDisplayData: import transactionGroup @typedef
* userTxDisplayData: just vertical line spacing
3 years ago
Daniel
6dbb2c4ded
Migrate the "estimateGas" API call to "getFees" for STX ( #14767 )
3 years ago
Dan J Miller
0d595df635
Ignore advisory GHSA-wm7h-9275-46v2 ( #14789 )
...
* We can safely ignore this advisory because the affected package is only used in the ipfs cli, which our use of 3box does not use, therefore the vulnerable code is not included in our build.
3 years ago
Jyoti Puri
25082ae272
Adding flag for MV3 ( #14762 )
3 years ago
Brad Decker
51986a4724
Add types to send state ( #14740 )
3 years ago
Frederik Bolding
5b8a69c721
Remove site origin on snap install ( #14752 )
...
* Remove site origin on snap install
* Fix linting + storybook
* Update local snap icon
* Fix storybook build
3 years ago
George Marshall
8fcbebc546
Update design tokens library from 1.5 to 1.6 WIP ( #14732 )
...
* Updating account menu icon color
* Updating design-tokens and making appropriate updates to extension styles
* Adding more deprecated tags to colors
* Adding spinner and removing todo comment
* Remove comment
* Updates
* Updating snapshots
* More color and ui updates
* reverting transition change
3 years ago
Ariella Vu
70bdd9729f
Enables the "Safe Transaction From" copy for safeTransferFrom transactions ( #14769 )
...
* useTransactionDisplayData:support safetransferfrom
* useTransactionDisplayData: update test
3 years ago
Brad Decker
3177c6abbb
remove draft transaction ( #14701 )
3 years ago
VSaric
623fd91d65
Fix currency conversion rate ( #14713 )
3 years ago
Daniel
f6576801d4
Fix an edge case with missing top assets in Swaps ( #14688 )
...
* If there is no array of top assets in a response, use an empty array
* Set a default empty array for 2 functions, remove an unnecessary condition
* Redirect a user from Swaps to the homepage if they switch to a chain that is not supported in Swaps
* Fix errors in the UI Console when it's not a swaps chain
3 years ago
Frederik Bolding
c833e41eee
Restore SiteOrigin chip on permission screen ( #14768 )
...
* Restore SiteOrigin chip on permission screen
* Fix linting
3 years ago
Mark Stacey
8465a3c4aa
Remove module paths from bundle ( #14763 )
...
A patch has been added to ensure lavapack no longer includes the path
for each module as part of each serialized module. This path was
originally added for debugging purposes, and is not used for anything
at runtime. The module path was an absolute path, not a relative one,
so it was an obstacle to having reproducible builds between
environments.
3 years ago
VSaric
e7d1476522
Sign button is enabled after scrolling all the way to the bottom ( #14745 )
3 years ago
Ariella Vu
e06e5599bb
EditGasFeeBtn: Insufficient number of substitutions for key "dappSuggestedTooltip" ( #14734 )
...
* EditGasFeeBtn: support missing origin dappSuggest
* EditGasFeeButton: add tooltip min-width
* EditGasFeeButton: tooltip min-width needs extra px
* EditGasFeeBtb: tooltip min-width add a bit more px
3 years ago
Alex Donesky
634cf70a71
Enhance reusable SiteOrigin component ( #14720 )
...
* extend and reuse SiteOrigin component
3 years ago
dependabot[bot]
3964940156
Bump @metamask/auto-changelog from 2.5.0 to 2.6.0 ( #14741 )
...
Bumps [@metamask/auto-changelog ](https://github.com/MetaMask/auto-changelog ) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/MetaMask/auto-changelog/releases )
- [Changelog](https://github.com/MetaMask/auto-changelog/blob/main/CHANGELOG.md )
- [Commits](https://github.com/MetaMask/auto-changelog/compare/v2.5.0...v2.6.0 )
---
updated-dependencies:
- dependency-name: "@metamask/auto-changelog"
dependency-type: direct:development
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>
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
3 years ago
Thomas Huang
11831c6ae5
Add hideEstimatedGasFee prop to sort-list and select-quote-popover tests ( #14725 )
3 years ago
VSaric
a5e07b0f18
Chain ID field use the same color pattern as the currency symbol field warning message below ( #14644 )
3 years ago
Brad Decker
5444474d82
add gas_used to gasParams for conversion ( #14627 )
3 years ago
Frederik Bolding
66c049bb35
snaps-skunkworks@0.14.0 ( #14700 )
...
* snaps-skunkworks@0.13.0
* snaps-skunkworks@0.14.0
* Fix test
* Add long-running permission copy and icon
* Run linting
* Fix typo
* Bump E2E version
3 years ago
Ariella Vu
9d058007cc
NetworksTab: make footer buttons nowrap ( #14733 )
3 years ago
Dan J Miller
944c22262f
Ensure send logs use current chain currency symbol ( #14726 )
3 years ago
Erik Marks
ca6835a86d
Use enum for test snaps website URL ( #14727 )
...
* Use enum for test snaps website
* Fix confirm snap test
3 years ago
Ariella Vu
7cfa454570
Storybook: add SignatureRequestOriginal ( #14707 )
...
* SB: add SignatureRequestOriginal
* SB:SignatureRequestOriginal: add reusable Template
* SB:SignatureRequestOriginal: add args
missing isRequired args
* SB:SignatureRequestOriginal: add eth_signTypedData
* SB:SignatureRequestOriginal: update README.mdx
* SB:README: update description
* SignatureRequestOriginal: destruct mock value
3 years ago
Ariella Vu
1464ab724f
Storybook: Fix SignatureRequest component ( #14706 )
...
* SB:SignatureRequest: fix control type
* SB:SignatureRequest: fix args
expected by sanitizeMessage
* SignatureRequests: cleanup
3 years ago
Thomas Huang
dbe89049bd
Unit test proptype ( #14564 )
...
* Change import file to root index
* Properly set showFiat proptype to bool
3 years ago
dragana8
d01a2ad7e5
Overall CSS #13441 ( #13902 )
...
* styling updates
Co-authored-by: Alex Donesky <adonesky@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
3 years ago
dragana8
a0c4febfce
"Cancel/reject all" for signature requests #13201 ( #13786 )
3 years ago
Frederik Bolding
c2cd6f8097
Bump `addons-linter` ( #14717 )
...
* Bump addons-linter
* Deduplicate yarn.lock
* Rerun yarn install and LavaMoat policy gen
3 years ago
Brad Decker
ae4efef43e
add networks without ticker trait ( #14607 )
...
* add networks without ticker trait
3 years ago
Lachlan Tweedie
eee4cc3100
Add Coinbase Pay as fiat onramp option ( #14648 )
3 years ago
Alex Donesky
23565cac2c
Bump @metamask/controllers version, remove patches ( #14618 )
3 years ago
Hassan Malik
a3917763d4
Removed onExecutionEnvironmentError ( #14698 )
...
* used correct method to stop snap
* removed dead code, snap controller already subscribes to execution environment errors
* fixed linting error
3 years ago
Daniel
d305dcba9d
Change styles for the high price impact notification in Swaps ( #14697 )
3 years ago
Bowen Sanders
77c1100858
create e2e test for manageState snap ( #14699 )
3 years ago
Dan J Miller
8948018e5a
Ensure ledger keyring message event listener are removed on metamask lock ( #14691 )
...
* Ensure ledger keyring message event listener are removed on metamask lock
* Clean up
3 years ago
Alex Donesky
5e55cf2cf2
add case in useTransactionDisplayData to handle transaction type safeTransferFrom ( #14678 )
...
* add case in useTransactionDisplayData to handle transaction type safeTransferFrom
* add test
3 years ago