We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af2ac32 commit 711ce29Copy full SHA for 711ce29
src/initializeInpageProvider.ts
@@ -52,6 +52,9 @@ export function initializeProvider({
52
shouldSetOnWindow = true,
53
shouldShimWeb3 = false,
54
}: InitializeProviderOptions): MetaMaskInpageProvider {
55
+ if (!jsonRpcStreamName) {
56
+ throw new Error('Required paramater: jsonRpcStreamName');
57
+ }
58
const provider = new MetaMaskInpageProvider(connectionStream, {
59
jsonRpcStreamName,
60
logger,
0 commit comments