fix: export substrate-connect WellKnownChain (#4700)

This commit is contained in:
Josep M Sobrepere
2022-03-29 07:24:57 +03:00
committed by GitHub
parent 8eb0524fed
commit b7d65fb506
@@ -34,6 +34,7 @@ const subscriptionUnsubscriptionMethods = new Map<string, string>([
const wellKnownChains = new Set(Object.values(WellKnownChain));
const scClients = new WeakMap<ScProvider, ScClient>();
export { WellKnownChain };
export class ScProvider implements ProviderInterface {
readonly #coder: RpcCoder = new RpcCoder();
readonly #spec: string | WellKnownChain;