From 2d7989efcadaf302bdda475a016d86e52f6a7f7d Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Thu, 15 Sep 2022 16:39:03 +1000 Subject: [PATCH] feat(store-js): use `createLightNode` --- store-js/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/store-js/index.html b/store-js/index.html index 169bded..ad29712 100644 --- a/store-js/index.html +++ b/store-js/index.html @@ -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 = '

Creating waku.

'; - const node = await createWaku({ defaultBootstrap: true }); + const node = await createLightNode({ defaultBootstrap: true }); timestampDiv.innerHTML = '

Starting waku.

'; await node.start();