mirror of
https://github.com/logos-messaging/examples.waku.org.git
synced 2026-01-08 07:43:08 +00:00
migrate relay-js
This commit is contained in:
parent
cded4d967e
commit
49979485f1
@ -33,16 +33,14 @@
|
||||
* Recommended payload is protobuf. Using simple utf-8 string for demo purposes only.
|
||||
*/
|
||||
|
||||
import {
|
||||
bytesToUtf8,
|
||||
utf8ToBytes,
|
||||
} from "https://unpkg.com/@waku/utils@0.0.5/bundle/bytes.js";
|
||||
import { createRelayNode } from "https://unpkg.com/@waku/create@0.0.13/bundle/index.js";
|
||||
import {
|
||||
waitForRemotePeer,
|
||||
createDecoder,
|
||||
createEncoder,
|
||||
} from "https://unpkg.com/@waku/core@0.0.17/bundle/index.js";
|
||||
bytesToUtf8,
|
||||
utf8ToBytes,
|
||||
createRelayNode,
|
||||
} from "https://unpkg.com/@waku/sdk@0.0.16/bundle/index.js";
|
||||
|
||||
const statusDiv = document.getElementById("status");
|
||||
const messagesDiv = document.getElementById("messages");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user