github polkadot-js/api v9.11.1

latest releases: v13.1.1, v13.0.1, v12.4.2...
20 months ago
  • 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

Don't miss a new api release

NewReleases is sending notifications on new releases.