All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Mock
eth_chainId
andnet_version
calls automatically (#3017)
- BREAKING: Add support for new state methods to
snaps-simulation
(#2966)- The
MiddlewareHooks
type was removed.
- The
- Add
hideBalances
tosnap_getPreferences
(#2978) - Allow unit testing of expanded-view notifications (#2956)
- Add
onBackgroundEvent
alias (#2974)
- Bump
@metamask/key-tree
from^9.1.2
to^10.0.1
(#2909)
- Add
snap_getInterfaceContext
JSON-RPC method (#2902)
- Add interface persistence (#2856)
- Bump MetaMask dependencies (#2853)
- Add support for button
form
property (#2830) - Add function to test
onKeyringRequest
(#2777)- The
onKeyringRequest
function can be used to test keyring requests.
- The
- Remove
eth_sign
(#2772)- This method was removed from the MetaMask extension, so any references to it in Snaps can be removed.
- Add missing dependency on
@metamask/snaps-execution-environments
(#2791)
- Move helper functions to simulation package (#2769)
- Fix invalid
exports
field (#2740)
- Initial release of
@metamask/snaps-simulation
package (#2727)