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 49e694a commit 25fefdaCopy full SHA for 25fefda
src/node.js
@@ -5,7 +5,7 @@ import config from './config.js';
5
6
const provider = new WsProvider(config.network.addresses, 10000);
7
8
-export const api = new ApiPromise({ provider });
+export let api = new ApiPromise({ provider });
9
10
export async function connect() {
11
await api.isReadyOrError;
0 commit comments