github polkadot-js/api v3.4.1

latest releases: v11.0.2, v11.0.1, v10.13.1...
3 years ago

Upgrade priority: Low. Fixes for parachain types, .entries() (with no values) and event.is(...) checks, users of these interfaces will have benefit.

  • Breaking change The derive.chain.{getBlock, subscribeNewBlocks} now return SignedBlockExtended, all with the actual extrinsics and events mapped. Users of the latter interface should take note.

Contributed:

Changes:

  • derive.chain.getBlock() now maps events to extrinsics via .extrinsics getter
  • Ensure dispatchInfo is extracted on failed extrinsics (getBlock derive)
  • Allow specification of additional signed extrinsic via API options
  • Add missing parachain types, ParaGenesisArgs
  • Correct EthTransaction type (as per the correct cargo crate)
  • Update with latest contract types for Substrate master
  • Update alias mapping for asset palette (including Substrate starting defaults)
  • Allow .entries() call where 0 keys are present
  • Fix .is on events not checking the correct index
  • Construction of i* types ow correctly checks for max positive/negative

Don't miss a new api release

NewReleases is sending notifications on new releases.