npm @polkadot/api 2.3.1

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



  • 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
latest releases: 4.13.2-9, 4.13.2-8, 4.13.2-7...
7 months ago