feat(store-js): use `createLightNode`

This commit is contained in:
fryorcraken.eth 2022-09-15 16:39:03 +10:00
parent 8e57b8a668
commit 2d7989efca
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
Protocols
} from 'https://unpkg.com/js-waku@0.27.0/bundle/index.js';
import {
createWaku
createLightNode
} from 'https://unpkg.com/js-waku@0.27.0/bundle/lib/create_waku.js'
import {
waitForRemotePeer
@ -34,7 +34,7 @@
try {
timestampDiv.innerHTML = '<p>Creating waku.</p>';
const node = await createWaku({ defaultBootstrap: true });
const node = await createLightNode({ defaultBootstrap: true });
timestampDiv.innerHTML = '<p>Starting waku.</p>';
await node.start();