Skip to content

Update @metamask/controllers to v5.1.0#10096

Merged
Gudahtt merged 1 commit intodevelopfrom
update-metamask-controllers
Dec 17, 2020
Merged

Update @metamask/controllers to v5.1.0#10096
Gudahtt merged 1 commit intodevelopfrom
update-metamask-controllers

Conversation

@Gudahtt
Copy link
Copy Markdown
Member

@Gudahtt Gudahtt commented Dec 17, 2020

This update comes with a breaking change to the Approval controller. It now requires a defaultApprovalType parameter.

I don't think we have any use for a default approval type, but I've added a "NO_TYPE" one for now because it's a strict requirement. We should consider making this parameter optional in the future, for cases like this where it's not needed.

This update will hopefully address some caching issues we've been seeing with our phishing configuration. See here for more details: MetaMask/core#297

This update comes with a breaking change to the Approval controller. It
now requires a `defaultApprovalType` parameter.

I don't think we have any use for a default approval type, but I've
added a "NO_TYPE" one for now because it's a strict requirement. We
should consider making this parameter optional in the future, for cases
like this where it's not needed.

This update will hopefully address some caching issues we've been
seeing with our phishing configuration. See here for more details:
MetaMask/core#297
@Gudahtt Gudahtt force-pushed the update-metamask-controllers branch from 0659dde to bdc7934 Compare December 17, 2020 06:54
@Gudahtt Gudahtt marked this pull request as ready for review December 17, 2020 06:54
@Gudahtt Gudahtt requested a review from a team as a code owner December 17, 2020 06:54
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [bdc7934]
Page Load Metrics (554 ± 44 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint33675294
domContentLoaded3507425529244
load3527435549244
domInteractive3507425529244

Copy link
Copy Markdown
Member

@rekmarks rekmarks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Gudahtt Gudahtt merged commit bba2b96 into develop Dec 17, 2020
@Gudahtt Gudahtt deleted the update-metamask-controllers branch December 17, 2020 15:36
@github-actions github-actions bot locked and limited conversation to collaborators Dec 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants