-
-
Notifications
You must be signed in to change notification settings - Fork 134
Update utils package and rename dispose fn #234
Conversation
Updated dependencies detected. Learn more about Socket for GitHub ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to bump the minimum Node.js version first, this package still supports v14
b92612c
to
4e4bbd5
Compare
package.json
Outdated
@@ -81,7 +81,7 @@ | |||
}, | |||
"packageManager": "[email protected]", | |||
"engines": { | |||
"node": ">=14.0.0" | |||
"node": ">=16.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thoughts on moving this to a separate PR? It would be easier to keep track of that way
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think it would be better to separate the scopes into two PRs
I created 236, that we could merge before this PR
4e4bbd5
to
c02b085
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Description
This PR pulls the latest version of
@metamask/utils
, which also includes an updatedKeyring
type with an optionaldestroy
method: this allows us to remove some type narrowing and the ambiguity betweendispose
anddestroy
methods.Changes
dispose
optional method is not called anymore when destroying a keyringChecklist