Upgrade priority: Low. Recommended for users wanting to keep updated with chain changes.
Important In the 4.0 version the default package type has been changed to ESM modules by default. This should not affect usage, however since the output formats changed, a new major version is required.
Contributed:
- Expose
unknownTypes
on the registry interface (Thanks to https://github.com/ii-ii-ii)
Changes:
- Build to ESM by default (with cjs versions via export map)
- Enum
.toSON()
now encodes all keys ascamelCase
(aligning with the output from Substrate) - Add
createdAtHash?: Hash
toCodec
interface (filled-in by storage retrievals) - Expose the source hash as
wamHash
on Abi parsed instances - Use
parentHash
when creating mortal era (handles frequent forks better) - Add
AccountInfoWithTripleRefCount
to cater for latest Substrate - Add upgrade block for Westend 49