From 49979485f15bf4b8cf4b599d225d19b959b12dab Mon Sep 17 00:00:00 2001 From: Sasha Date: Tue, 20 Jun 2023 01:02:06 +0200 Subject: [PATCH] migrate relay-js --- examples/relay-js/index.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/examples/relay-js/index.html b/examples/relay-js/index.html index 21cab54..4160505 100644 --- a/examples/relay-js/index.html +++ b/examples/relay-js/index.html @@ -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");