From 5f1ac595b68a712d7a7a9c654ec8b3c58c1182ce Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Sat, 6 Aug 2022 00:41:41 +1000 Subject: [PATCH] fix(examples): update using new bundles --- examples/relay-js/index.html | 8 +++++--- examples/store-js/index.html | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) 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 @@