From 596ec23a9c4ed6fff44f849a4621b0d522a4924d Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Thu, 15 Sep 2022 16:30:54 +1000 Subject: [PATCH] feat(relay-js): use createPrivacyNode --- relay-js/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/relay-js/index.html b/relay-js/index.html index cf7e55e..b28c8e4 100644 --- a/relay-js/index.html +++ b/relay-js/index.html @@ -30,7 +30,7 @@ WakuMessage } from 'https://unpkg.com/js-waku@0.27.0/bundle/index.js'; import { - createWaku + createPrivacyNode } from 'https://unpkg.com/js-waku@0.27.0/bundle/lib/create_waku.js' import { waitForRemotePeer @@ -60,7 +60,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({defaultBootstrap: true}); + const waku = await createPrivacyNode({defaultBootstrap: true}); await waku.start(); // Had a hook to process all incoming messages on a specified content topic.