mirror of
https://github.com/status-im/js-waku-examples.git
synced 2025-01-24 05:49:38 +00:00
feat(store-js): use createLightNode
This commit is contained in:
parent
8e57b8a668
commit
2d7989efca
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user