From d62e3579fd2af329fd0c18786f73d49885f45f26 Mon Sep 17 00:00:00 2001 From: Sasha <118575614+weboko@users.noreply.github.com> Date: Wed, 1 May 2024 01:08:38 +0200 Subject: [PATCH] chore: update light-js (#64) --- examples/experimental/light-js/index.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/examples/experimental/light-js/index.html b/examples/experimental/light-js/index.html index ee9f703..76a061c 100644 --- a/examples/experimental/light-js/index.html +++ b/examples/experimental/light-js/index.html @@ -76,13 +76,13 @@ createDecoder, utf8ToBytes, bytesToUtf8, - } from "https://unpkg.com/@waku/sdk@0.0.25-fd60cc2.0/bundle/index.js"; + } from "https://unpkg.com/@waku/sdk@0.0.25/bundle/index.js"; import { enrTree, DnsNodeDiscovery, wakuDnsDiscovery, - } from "https://unpkg.com/@waku/discovery@0.0.2-fd60cc2.0/bundle/index.js"; - import { messageHash } from "https://unpkg.com/@waku/message-hash@0.1.13-fd60cc2.0/bundle/index.js"; + } from "https://unpkg.com/@waku/discovery@0.0.2/bundle/index.js"; + import { messageHash } from "https://unpkg.com/@waku/message-hash@0.1.13/bundle/index.js"; const peerIdDiv = document.getElementById("peer-id"); const remotePeerIdDiv = document.getElementById("remote-peer-id"); @@ -127,9 +127,7 @@ statusDiv.innerHTML = "

Creating Waku node.

"; const node = await createLightNode({ - shardInfo: { - contentTopics: [ContentTopic] - }, + contentTopics: [ContentTopic], defaultBootstrap: true, });