chore: update light-js (#64)
This commit is contained in:
parent
6816040389
commit
d62e3579fd
|
@ -76,13 +76,13 @@
|
||||||
createDecoder,
|
createDecoder,
|
||||||
utf8ToBytes,
|
utf8ToBytes,
|
||||||
bytesToUtf8,
|
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 {
|
import {
|
||||||
enrTree,
|
enrTree,
|
||||||
DnsNodeDiscovery,
|
DnsNodeDiscovery,
|
||||||
wakuDnsDiscovery,
|
wakuDnsDiscovery,
|
||||||
} from "https://unpkg.com/@waku/discovery@0.0.2-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-fd60cc2.0/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 peerIdDiv = document.getElementById("peer-id");
|
||||||
const remotePeerIdDiv = document.getElementById("remote-peer-id");
|
const remotePeerIdDiv = document.getElementById("remote-peer-id");
|
||||||
|
@ -127,9 +127,7 @@
|
||||||
|
|
||||||
statusDiv.innerHTML = "<p>Creating Waku node.</p>";
|
statusDiv.innerHTML = "<p>Creating Waku node.</p>";
|
||||||
const node = await createLightNode({
|
const node = await createLightNode({
|
||||||
shardInfo: {
|
contentTopics: [ContentTopic],
|
||||||
contentTopics: [ContentTopic]
|
|
||||||
},
|
|
||||||
defaultBootstrap: true,
|
defaultBootstrap: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue