npm @polkadot/api 5.4.1
v5.4.1

latest releases: 14.2.3, 14.2.2, 14.2.1...
3 years ago

Upgrade priority: Low. Recommended for potential users of NMap.

  • Important The ClassOf alias for createClass has been removed, use createClass (with new generics) directly

Contributed:

Changes:

  • createType<T = Codec>('...': K) now returns Codec when K is not known
  • createType does basic TypeScript type matching on the input type
  • Handle BitSequence in PortableRegistry
  • Ensure API isConnected is set before connect/disconnect events are fired
  • Move all static test support files into @polkadot/types-support
  • Align static Metadata with latest Substrate, Polkadot & Kusama
  • Adjust v14 Metadata definitions to latest version

Don't miss a new api release

NewReleases is sending notifications on new releases.