npm @polkadot/api 3.9.1
v3.9.1

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

Upgrade priority: Low.

  • Important The Result<T, E> has been updated in the generation and the base types to follow the Rust version 100%. This means {as, is}Error is now available as {as, is}Err on the Result type. The older versions can still be used, but the *Error interfaces are now marked as deprecated.

Changes:

  • Adjust Result<T, E> interface to be 100% compatible with the Rust version
  • Add the 2028 upgrade to the known upgrades (optimizing certain .at queries)
  • Adjust council derives to cater for latest Substrate & Polkadot
  • Adjust Rococo know type definitions to cater for the latest update
  • Update types for latest Polkadot/Substrate
  • Add generic arguments for TypeScript users to .entries/.keys to deal with the key typings

Don't miss a new api release

NewReleases is sending notifications on new releases.