Releases: MetaMask/superstruct
Releases · MetaMask/superstruct
3.1.0
3.0.0
Added
- Newly exports the following types:
AnyStruct
,EnumSchema
,InferStructTuple
,IsExactMatch
,IsMatch
,IsRecord
,IsTuple
,ObjectSchema
,OmitBy
,Optionalize
,PickBy
,Simplify
,UnionToIntersection
(#18).
Fixed
- BREAKING: Expose separate build entry points and type declarations for CommonJS and ESM via package manifest
exports
. (#18)
2.0.0
Changed
- Prepare package for releasing under
@metamask
organisation (#1, #3, #4, #5, #6, #7, #8, #12, #15)- The package name is now
@metamask/superstruct
. - The changelog file has been renamed to
CHANGELOG.md
, and the format has changed to fit MetaMask's changelog style.
- The package name is now
Fixed
- BREAKING: Expose CommonJS and ESM builds via package manifest
exports
(#5)- It's no longer possible to import files from the
dist
folder directly.
- It's no longer possible to import files from the