chore(light-js): bump @waku/core to 0.0.7

This commit is contained in:
fryorcraken.eth 2022-12-16 12:29:52 +11:00
parent a6f292fb04
commit c889e5468d
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -39,12 +39,12 @@
<script type="module"> <script type="module">
import * as utils from "https://unpkg.com/@waku/byte-utils@0.0.2/bundle/index.js"; import * as utils from "https://unpkg.com/@waku/byte-utils@0.0.2/bundle/index.js";
import { createLightNode } from "https://unpkg.com/@waku/create@0.0.4/bundle/index.js"; import { createLightNode } from "https://unpkg.com/@waku/create@0.0.5/bundle/index.js";
import { waitForRemotePeer } from "https://unpkg.com/@waku/core@0.0.6/bundle/lib/wait_for_remote_peer.js";
import { import {
EncoderV0, waitForRemotePeer,
DecoderV0, createEncoder,
} from "https://unpkg.com/@waku/core@0.0.6/bundle/lib/waku_message/version_0.js"; createDecoder,
} from "https://unpkg.com/@waku/core@0.0.7/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");
@ -58,8 +58,8 @@
const sendButton = document.getElementById("sendButton"); const sendButton = document.getElementById("sendButton");
const ContentTopic = "/js-waku-examples/1/chat/utf8"; const ContentTopic = "/js-waku-examples/1/chat/utf8";
const decoder = new DecoderV0(ContentTopic); const decoder = createDecoder(ContentTopic);
const encoder = new EncoderV0(ContentTopic); const encoder = createEncoder(ContentTopic);
let messages = []; let messages = [];
let unsubscribe; let unsubscribe;