- 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:
- Fix for typegen with nested tuples (Thanks to https://github.com/sander2)
- Expose blockNumber on submittable results (Thanks to https://github.com/ken-centrality)
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