mirror of
https://github.com/logos-messaging/examples.waku.org.git
synced 2026-01-02 12:53:08 +00:00
use @waku/sdk for light-js
This commit is contained in:
parent
cb8fbe854b
commit
2abb4325bb
@ -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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user