I am using Substrate Connect in the browser following the docs for a custom chain spec. When I try to create a new ScProvider like the documentation suggests i get an error that I am missing a variable in the constructor.
TS2554: Expected 2-3 arguments, but got 1. 41 | // Create the provider for the custom chain 42 | const customSpec = JSON.stringify(jsonCustomSpec); > 43 | const provider = new ScProvider(customSpec);
In the substrate lib the constructor code is asking for SubstrateConnect. Any ideas on this?