diff --git a/examples/relay-js/index.html b/examples/relay-js/index.html index dec722d157..8dbe291b42 100644 --- a/examples/relay-js/index.html +++ b/examples/relay-js/index.html @@ -27,10 +27,12 @@ */ import { - createWaku, waitForRemotePeer, WakuMessage - } from '../../dist/bundle.js'; + } from '../../bundle/index.js'; + import { + createWaku, + } from '../../bundle/lib/create_waku.js'; const statusDiv = document.getElementById('status'); const messagesDiv = document.getElementById('messages'); @@ -56,7 +58,7 @@ // We are currently working on migrating this method to DNS Discovery. // // https://js-waku.wakuconnect.dev/classes/waku.Waku.html#create - const waku = await createWaku({ bootstrap: { default: true } }); + const waku = await createWaku({ defaultBootstrap: true }); await waku.start(); // Had a hook to process all incoming messages on a specified content topic. diff --git a/examples/store-js/index.html b/examples/store-js/index.html index cee9a3367a..a5f06d3a94 100644 --- a/examples/store-js/index.html +++ b/examples/store-js/index.html @@ -14,10 +14,12 @@