npm @polkadot/api 2.3.1
v2.3.1

latest releases: 11.0.2, 11.0.1, 10.13.1...
3 years ago

Upgrade priority: Low. Recommended for api-contracts developers and those using large messages via Node.js WS.

Contributed:

Changes:

  • Expose dispatch{Error, Info} on all .tx results (less boilerplate on info checks)
  • Add missing primitive types inside contracts type parsing
  • Adjust api-contract to expose Contract.{query, tx}.<message> and Blueprint.tx.<constructor>
  • Rework contracts registry to be generic to all scale-info definitions
  • Allow for auto-max weight on contract read/exec (useful in estimation)
  • Fix memoization where BigInt params are passed

Don't miss a new api release

NewReleases is sending notifications on new releases.