use @waku/sdk for light-js

This commit is contained in:
Sasha 2023-06-20 00:50:32 +02:00
parent cb8fbe854b
commit 2abb4325bb
No known key found for this signature in database

View File

@ -42,13 +42,13 @@
<script src="https://unpkg.com/@multiformats/multiaddr@12.1.1/dist/index.min.js"></script>
<script type="module">
import * as utils from "https://unpkg.com/@waku/utils@0.0.5/bundle/bytes.js";
import { createLightNode } from "https://unpkg.com/@waku/create@0.0.13/bundle/index.js";
import {
createLightNode,
waitForRemotePeer,
createEncoder,
createDecoder,
} from "https://unpkg.com/@waku/core@0.0.17/bundle/index.js";
utils,
} from "https://unpkg.com/@waku/sdk@0.0.16/bundle/index.js";
const peerIdDiv = document.getElementById("peer-id");
const remotePeerIdDiv = document.getElementById("remote-peer-id");