npm @polkadot/api 1.10.1

  • Important Substrate master has updated staking, on older chains apply StakingLedger: 'StakingLedgerTo240'
  • Add rpc.system.chainType to retrieve the chain type (Development. Local, Live & Custom)
  • Adjust types for Westend after the reset
  • Adjust democracy derives, including the support of the frame-scheduler for scheduled deployments
  • Allow staking derives to work with new staking payouts, specifically tx.staking.payoutStakers
  • Cleanups to derives for democracy & staking to be more performant
  • Add Centrifuge base types to @polkadot/types-known
  • Adjust with all the latest substrate master types
  • Internally all private/protected methods/variables are now _ prefixed (Aligning with the private/protected indicators in the TS definitions)
  • Update metadata/docs-from-metadata to the latest Substrate
latest releases: 4.15.1, 4.14.2-11, 4.14.2-10...
14 months ago