Skip to content

v9.11.1

Compare
Choose a tag to compare
@polkadot-js-bot polkadot-js-bot released this 08 Jan 08:49
  • 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