github polkadot-js/api v5.4.1

latest releases: v14.0.1, v13.2.1, v13.1.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.