1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
Commit Graph

16687 Commits

Author SHA1 Message Date
Amer Kadic
463fe40fde
Fix Unable to determine contract standard error (#18300)
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-10 21:56:02 -03:00
legobeat
6638d79932
test: increase jest testTimeout 2500->5500 (#18480) 2023-04-10 20:29:07 +09:00
dswilson4
826ac55c32
initial changes to support controls over knobs in storybook (#18502)
* initial changes to support controls over knobs in storybook

* fix linting issue
2023-04-10 13:37:07 +05:30
George Marshall
f31596af24
Fix hold to reveal button (#18496) 2023-04-10 11:27:56 +05:30
legobeat
11d61af598
deps/security: vm2@3.9.11->3.9.15 (#18512)
Fixes CVE-2023-29017 / GHSA-7jxr-cg7f-gpgv
2023-04-09 10:42:45 +09:00
dswilson4
d4e12e55e8
Part of 17670: Replace Typography with Text swap-import-token (#18479)
* Initial changes to support Text component in import token component

* linting issue fix

* fix prettier linting issue

* updated styles and attributes for boxProps

* lint leading 0
2023-04-07 08:48:30 -07:00
Nidhi Kumari
b452f40e2f
Update new send icon (#18411)
* updated send icon

* optimised svg

* updated enum
2023-04-06 17:43:15 -07:00
Dan J Miller
22cb8cefe7
Merge pull request #18486 from MetaMask/Version-v10.28.2
Version v10.28.2 RC
2023-04-06 13:12:47 -07:00
Mark Stacey
92556867f7
Update the announcement controller to v2 (#18465)
The announcement controller has been updated to v2.0.1. The breaking
change in v2 was the migration to the BaseControllerV2 API. This
affected the constructor, as well as some methods/properties that we do
not use.
2023-04-06 17:21:13 -02:30
HowardBraham
54fa7808c1
Add more info to Extensions list (#18391)
Co-authored-by: @Gudahtt
2023-04-06 11:37:55 -07:00
Dan J Miller
afc7ec3a6a Update change log 2023-04-06 15:18:17 -02:30
Dan J Miller
d8e79188a5 Fix locale file issues on chrome store (#18487) 2023-04-06 14:52:04 -02:30
Dan J Miller
c8d054a385
Fix locale file issues on chrome store (#18487) 2023-04-06 14:49:42 -02:30
MetaMask Bot
467858fb78 Version v10.29.0 2023-04-06 17:07:58 +00:00
vthomas13
227af24483 Bumping notification id's to 18 & 19 (#18460)
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-04-06 14:31:31 -02:30
Dan J Miller
43d5bf152c Fix switch-ethereum-chain handler by passing configuration id to setA… (#18483)
* Fix switch-ethereum-chain handler by passing configuration id to setActiveNetwork

* fix e2e test

* Fix e2e tests

* Update test/e2e/tests/switch-custom-network.spec.js

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>

* Revert "Update test/e2e/tests/switch-custom-network.spec.js"

This reverts commit be533ff7f25e1fd42e951d9b817b8438035ae256.

---------

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-06 14:31:31 -02:30
MetaMask Bot
0cb53f74f2 Version v10.28.2 2023-04-06 15:14:11 +00:00
vthomas13
c6cd3c9ff2
Bumping notification id's to 18 & 19 (#18460)
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-04-06 12:38:11 -02:30
Dan J Miller
afa09ddf6c
Fix switch-ethereum-chain handler by passing configuration id to setA… (#18483)
* Fix switch-ethereum-chain handler by passing configuration id to setActiveNetwork

* fix e2e test

* Fix e2e tests

* Update test/e2e/tests/switch-custom-network.spec.js

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>

* Revert "Update test/e2e/tests/switch-custom-network.spec.js"

This reverts commit be533ff7f25e1fd42e951d9b817b8438035ae256.

---------

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-06 12:37:34 -02:30
Bowen Sanders
90f4e47326
[FLASK] More Snaps E2E Optimization and Delay Reductions (#18245)
* bip32 delay reduction

* asserts changed to waitFors in 32/44

* scrollTo change

* replaced delay for firefox flake

* more reduced delays

* more delay reductions and changes

* raise paralellism to 4 for snaps tests

* additional delay changes

* fixed update code

* removed comment

* removed another comment
2023-04-06 10:57:11 -04:00
Dan J Miller
b2dc2c4639
Fix firsttimeloaded logic (#18344)
* use session storage, instead of chrome.runtime.onStartup and globalThis, for firstTimeLoaded architecture

* Ensure account tracker accounts remain defined upon service worker restart

* lint fix

* Simplify code

* Only call browser.storage.session in mv3

* Only call browser.storage.session.set after resetStates in mv3

* fix metamask controller reset states unit tests

* fix test

* fix test

* Actually fix tests

* lint fix
2023-04-06 12:13:01 -02:30
António Regadas
cf0b48a009
removes unnecessary images (#18484) 2023-04-06 15:32:01 +01:00
Danica Shen
f92e463a0f
fix: Pass correct optimism chain id to gas estimation (#18478) 2023-04-06 12:50:52 +01:00
Aditya Patel
18ff108627
Typography to text (#18382)
* Typography to text

* Update README.md

* Update README.md

* minor changes in custom file

* minor change

* Resolved Conflict issues

---------

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-04-06 16:40:14 +05:30
legobeat
a816a6e592
Fix typo: detetcted-tokens-link -> detected-tokens-link (#18408) 2023-04-06 18:31:45 +09:00
Thomas Huang
baee6f185c
Bump coverage (#18454)
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-05 13:45:02 -02:30
George Marshall
4ce605f514
Updating icon imports to TS version in component-library folder (#18449) 2023-04-05 09:11:10 -07:00
George Marshall
94292fadc9
Small update to badgewrapper story (#18450) 2023-04-05 08:37:09 -07:00
Frederik Bolding
40628da3b4
[FLASK] Fix crash when requesting unknown snap permission (#18447) 2023-04-05 15:34:33 +02:00
Albert Olivé
c52d2131d3
[MMI] Confirm-add-institutional-feature page (#18321)
* Added confirm add institutional feature page

* Finished implementing component

* Added all institutional ducks

* Fixed tests

* Removed ducks and console log

* Fixed snapshots

* Fixed messages json

* Changed method name and using useEffect

* Replace useEffect hook with a simple if statement to check if connectRequest exists and add null return statement to avoid warnings

* Remove unneeded dependency

* Added back useEffect and added a extra check to return null if connectRequest is false

* Fixed eslint problem

* Fixed all issues commented in the pr
2023-04-05 09:50:30 +01:00
Vinicius Stevam
b9c5120332
Remove openPopup from preferences controller (#18343) 2023-04-05 08:39:58 +01:00
Thomas Huang
3a38140cb6
Onboarding app header onboarding unit test and snapshot (#18254) 2023-04-04 19:59:09 -07:00
George Marshall
739075662c
Migrating Icon to typescript and deprecating JS component (#18431)
* Migrating Icon to typescript and deprecating JS component

* gw suggestions (#18434)

---------

Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-04-04 09:48:04 -07:00
OGPoyraz
6e40a0eb7e
feat: use siwe detection from @metamask/controller-utils (#18409) 2023-04-04 17:25:57 +02:00
Dan J Miller
7a8d0273a0
Don't include document in scuttling config for mv3 builds (#18356)
* Don't include document in scuttling config for mv3 builds

* Fix env var comparison

* lint fix
2023-04-04 12:45:50 -02:30
Mark Stacey
2029fb28ff
Fix MMI build (#18415)
In the MMI build, the build fencing in this component resulted in an
`else` block with no preceding `if` block, which is a syntax error.
The fence in this case was meant to include "all non-Flask build
types", MMI was mistakenly missing from that list.

Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: António Regadas <apregadas@gmail.com>
2023-04-04 10:29:10 -02:30
Mark Stacey
b8422b0b43
Merge pull request #18439 from MetaMask/master-sync
Master sync for v10.28.1
2023-04-04 10:26:58 -02:30
Mark Stacey
8f4651332f
Merge branch 'develop' into master-sync 2023-04-04 09:28:14 -02:30
Mark Stacey
7059894399
Update @metamask/swappable-obj-proxy (#18422)
* Update `@metamask/swappable-obj-proxy`

The package `@metamask/swappable-obj-proxy` has been updated to the
latest version. The breaking changes include moving the package under
the `@metamask` scope and converting it to TypeScript.

* Update policy
2023-04-04 09:27:51 -02:30
PeterYinusa
6338931e62 Conflict cleanup 10.28.1 master-sync 2023-04-04 11:38:49 +01:00
PeterYinusa
fc620d4de6 Merge remote-tracking branch 'origin/develop' into master-sync 2023-04-04 11:35:15 +01:00
Nidhi Kumari
4b271868cf
Disabled button for Import Tokens Modal when no token is selected (#18396)
* disabled button for zero token

* addressed changes
2023-04-04 11:23:05 +05:30
Mark Stacey
a6b7a72179
Merge pull request #18432 from MetaMask/Version-v10.28.1
Version v10.28.1 RC
2023-04-03 18:37:11 -02:30
Dan J Miller
40ff144472
Update CHANGELOG.md
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-04-03 18:00:45 -02:30
Dan Miller
cf92aa3b70 Update changelog for v10.28.1 2023-04-03 17:56:46 -02:30
MetaMask Bot
6aa877361b Version v10.28.1 2023-04-03 20:05:58 +00:00
Dan J Miller
d795f5313a Move all validate-source-maps-beta steps in config.yml into the respective .sh file (#18427) 2023-04-03 17:29:20 -02:30
Dan J Miller
1e079e95b0
Move all validate-source-maps-beta steps in config.yml into the respective .sh file (#18427) 2023-04-03 17:28:09 -02:30
Mark Stacey
be41b29199
Update @metamask/obs-store (#18421)
`@metamask/obs-store` has been updated from v5 to v8. The breaking
changes include updating the minimum supported Node.js version to v12,
and removing an unused class `LocalStorageStore`. v8 includes a bugfix
that resolves an accidental breaking change in v6.0.2; it's non-
breaking when updating from older versions.

This update includes type improvements. The main improvement is that
now we can type the observational store using generic parameters. The
previous version used `unknown` for the store contents.
2023-04-03 15:58:56 -02:30
Mark Stacey
74f2d27d10
Update @metamask/safe-event-emitter (#18419)
The package `safe-event-emitter` has been updated to v2. This update
includes renaming the package to be scoped under `@metamask`, and it
includes a TypeScript migration.
2023-04-03 15:57:39 -02:30