From c36b1b0c4c9ab63abe6d4a425724fa4bb30b79bd Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Mon, 5 Sep 2022 15:30:26 +1000 Subject: [PATCH] fix(js): waitForRemotePeer is not exported from js-waku --- relay-js/index.html | 6 ++++-- store-js/index.html | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/relay-js/index.html b/relay-js/index.html index 7e9add3..fa30dab 100644 --- a/relay-js/index.html +++ b/relay-js/index.html @@ -27,12 +27,14 @@ */ import { - waitForRemotePeer, WakuMessage } from 'https://unpkg.com/js-waku@next/bundle/index.js'; import { - createWaku + createWaku } from 'https://unpkg.com/js-waku@next/bundle/lib/create_waku.js' + import { + waitForRemotePeer + } from 'https://unpkg.com/js-waku@next/bundle/lib/wait_for_remote_peer.js' const statusDiv = document.getElementById('status'); const messagesDiv = document.getElementById('messages'); diff --git a/store-js/index.html b/store-js/index.html index 2f93522..ccb9ca8 100644 --- a/store-js/index.html +++ b/store-js/index.html @@ -14,12 +14,14 @@