From 8137a5129a1a0715baea9a61d191af157bbdf30d Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Mon, 27 Mar 2023 13:56:52 +1100 Subject: [PATCH] update packages versions --- docs/browser/build-chat-app.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/browser/build-chat-app.mdx b/docs/browser/build-chat-app.mdx index a5ec66d..5e3ce1c 100644 --- a/docs/browser/build-chat-app.mdx +++ b/docs/browser/build-chat-app.mdx @@ -94,7 +94,7 @@ const textInput = document.getElementById("textInput") Create and start a Waku Node: ```js -import {createLightNode} from "https://unpkg.com/@waku/create@0.0.6/bundle/index.js" +import {createLightNode} from "https://unpkg.com/@waku/create@0.0.9/bundle/index.js" const wakuNode = await createLightNode({defaultBootstrap: true}) await wakuNode.start() @@ -112,7 +112,7 @@ Your Waku node needs to connect to a remote node in order to access the network. To wait for this, use the `waitForRemotePeer` function: ```js -import * as waku from "https://unpkg.com/@waku/core@0.0.10/bundle/index.js" +import * as waku from "https://unpkg.com/@waku/core@0.0.13/bundle/index.js" await waku.waitForRemotePeer(wakuNode) ``` @@ -169,7 +169,7 @@ We will store messages as a `utf-8` string. Listen to messages using the decoder and add them to the `messages` div upon reception: ```ts -import * as utils from "https://unpkg.com/@waku/utils@0.0.10/bundle/index.js" +import * as utils from "https://unpkg.com/@waku/utils@0.0.3/bundle/index.js" wakuNode.filter.subscribe([decoder], (message) => { const str = utils.bytesToUtf8(message.payload)