npm @polkadot/types 6.9.1
v6.9.1

latest releases: 13.2.1, 13.1.1, 13.0.1...
2 years ago

Upgrade priority: Medium. Recommended for metadata v14 parachains. For TS users, the package now support TypeScript 4.5.2 and allows extraction of user types from metadata v14.

Contributed:

Changes:

  • Adjust runtime *::{Call, Event} matching for metadata v14
  • Adjust derive decoration with (optional) known methods
  • Expose *{Call, Event, Error} TS types for metadata v14
  • Align Option .toJSON output with Substrate input
  • Optimize Enum, Struct, Option & Number decoding paths
  • Ajust PascalCase conversions with function from util
  • Prepare pre-v13 types for optional injection
  • Adjustments for TS 4.5.2 support (flatten type infers)

Don't miss a new types release

NewReleases is sending notifications on new releases.