MetaMask / core

This monorepo is a collection of packages used across multiple MetaMask clients
MIT License
287 stars 178 forks source link

Add the new `default` snap dialog approval type to `ApprovalType` #4598

Closed GuillaumeRx closed 2 weeks ago

GuillaumeRx commented 1 month ago

The value should be snap_dialog as in DIALOG_APPROVAL_TYPES at https://github.com/MetaMask/snaps/blob/6a8b17be57123b7f8c65909154a701eea9abd09f/packages/snaps-rpc-methods/src/restricted/dialog.ts#L49

ritave commented 3 weeks ago

This issue is part of https://github.com/MetaMask/metamask-extension/pull/26304#discussion_r1701658713

After #4630 is released we should update the metamask-extension constant