Skip to content

Releases: polkadot-js/api

v9.11.1

08 Jan 08:49
Compare
Choose a tag to compare
  • Breaking change For users of ScProvider you now need to explicitly pass @substrate/connect as a parameter. This means the code needs to be adjusted as follows -
import { ScProvider } from '@polkadot/api';
import * as Sc from '@substrate/connect';

const provider = new ScProvider(Sc, Sc.WellKnownChain.polkadot);

Contributed:

Changes:

  • The ScProvider interface now needs receive an @substrate/connect instance
  • Along with the above ScProvider.WellKnownChains has been removed
  • Update to latest Polkadot, Kusama & Substrate metadata

v9.10.5

27 Dec 16:14
Compare
Choose a tag to compare

Changes:

  • Revert 9.10.4 paymentInfo changes (fallback only works on struct, not Weight)

v9.10.4

25 Dec 17:09
Compare
Choose a tag to compare

Changes:

  • Align runtime paymentInfo calls with Substrate (w/ decoding fallbacks)

v9.10.3

17 Dec 12:00
Compare
Choose a tag to compare

Changes:

  • Add override for Structs where registry appear as a field
  • Update to latest Polkadot, Kusama & Substrate metadata
  • Kusama 9320/9340/9350 & Westend 9330/9340/9350 upgrade blocks

v9.10.2

09 Dec 12:25
Compare
Choose a tag to compare

Changes:

  • Fix derive.balances.account detection for system vs balances

v9.10.1

04 Dec 11:52
Compare
Choose a tag to compare
  • Important Since 9.2.1 the recommended way of accessing WellKnownChain for light clients is via ScProvider.WellKnownChain. This release removes the explicit export from the ScProvider root.

Changes:

  • Adjust payloads to use BlockHash types (as applicable)
  • Adjust type-only imports in ScProvider
  • Update to latest Polkadot, Kusama & Substrate metadata
  • Update to @polkadot/util 10.2.1

v9.9.4

28 Nov 10:39
Compare
Choose a tag to compare

Changes:

  • Fix dispatchQueue preimage retrieval in derives
  • No change from incorrectly published 9.9.3

v9.9.2

27 Nov 17:30
Compare
Choose a tag to compare

Changes:

  • Update to latest Polkadot, Kusama & Substrate metadata

v9.9.1

20 Nov 13:47
Compare
Choose a tag to compare

Changes:

  • Update to latest Polkadot, Kusama & Substrate metadata
  • Adjust code for latest Eslint & TS released versions

v9.8.2

16 Nov 18:25
Compare
Choose a tag to compare

Changes:

  • Adjust api.rpc.payment.queryInfo to always return WeightV1 responses
  • Mark api.rpc.payment.queryInfo as deprecated (will be in a future Substrate version)