github polkadot-js/api v4.10.1

latest releases: v14.0.1, v13.2.1, v13.1.1...
3 years ago

Upgrade priority: Medium. Recommended for uses of Polkadot/Kusama 9010 runtimes.

  • Breaking change Support for the contracts V2 compatibility has been dropped in @polkadot/api-contract

Contributed:

Changes:

  • Allow for Bounded* type usage (as per latest Substrate)
  • Adjust internal TS definitions for providers
  • Fix ContractRx query result definitions (no extra Observable)
  • Handle contract call RPC result directly as Raw (returned as hex)
  • Use BN_* constants as non-specified defaults in contract interfaces
  • Remove all type overrides for node/node-template (API tracks latest)
  • Contracts ABI now supports metadata version where indexes are 0-based
  • Remove support for the old-style V2 contracts from @polkadot/api-contract
  • Adjust historic decoration, return as-at registry via getHeader, getMetadata & getRuntimeVersion
  • Adjust VecFixed to allow for the handling of hex inputs
  • Adjust Compact<*> to allow for wrapped toBigInt() conversions
  • Fix isPedantic decoding to correctly handle Text
  • Cater for new phragmenElection module naming
  • Add Kusama & Westend 9010 upgrade blocks
  • Adjust CompactSolution for 24 nominators
  • Bump static metadata to latest Substrate

Don't miss a new api release

NewReleases is sending notifications on new releases.