Releases: MetaMask/utils
Releases · MetaMask/utils
11.2.0
Added
- Add optional
signEip7702Authorization
method to Keyring
type (#231)
11.1.0
Added
- Add additional CAIP-19 types (
CaipAsset{Namespace,Reference,TokenId}
support (#227)
- Add CAIP-19
CaipAssetTypeOrId
(#229)
- This one combines both
CaipAssetType
and CaipAssetId
to avoid relying on superstruct.union
, resulting in better error messages.
- Add
definePattern
superstruct helper (#228)
- Allow to define a
superstruct.pattern
while naming the struct and enforcing its type.
Changed
- Use named structs for all CAIP types (#228)
11.0.1
Fixed
- Improve error message for invalid JSON values (#224)
11.0.0
Changed
- BREAKING:
generateRandomMnemonic
now returns Promise<void>
instead of void
(#222)
10.0.1
Added
- Add Solana CAIP namespace (#219)
10.0.0
Changed
- BREAKING: Drop support for Node.js versions 16, 21 (#212)
- Improve JSON validation performance (#218)
9.3.0
Added
- Add support for CAIP-19 (#183)
- Add
Bip122
member to KnownCaipNamespace
(#213)
9.2.1
Fixed
- Fix wrong types for CAIP-2 and CAIP-10 structs (#210)
9.2.0
Added
- Add
Wallet
member to KnownCaipNamespace
enum (#207)
9.1.0
Added
- Add
PublicInterface
type (#197)