chore: bump basic examples to new version (#235)

This commit is contained in:
Sasha 2023-05-09 22:40:04 +02:00 committed by GitHub
parent 383ea2180c
commit 85268b69e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 11 deletions

View File

@ -1,10 +1,10 @@
import * as utils from "https://unpkg.com/@waku/utils@0.0.4/bundle/bytes.js"; import * as utils from "https://unpkg.com/@waku/utils@0.0.5/bundle/bytes.js";
import * as wakuCreate from "https://unpkg.com/@waku/create@0.0.12/bundle/index.js"; import * as wakuCreate from "https://unpkg.com/@waku/create@0.0.13/bundle/index.js";
import { import {
waitForRemotePeer, waitForRemotePeer,
createDecoder, createDecoder,
createEncoder, createEncoder,
} from "https://unpkg.com/@waku/core@0.0.16/bundle/index.js"; } from "https://unpkg.com/@waku/core@0.0.17/bundle/index.js";
const CONTENT_TOPIC = "/toy-chat/2/huilong/proto"; const CONTENT_TOPIC = "/toy-chat/2/huilong/proto";

View File

@ -42,13 +42,13 @@
<script src="https://unpkg.com/@multiformats/multiaddr@12.1.1/dist/index.min.js"></script> <script src="https://unpkg.com/@multiformats/multiaddr@12.1.1/dist/index.min.js"></script>
<script type="module"> <script type="module">
import * as utils from "https://unpkg.com/@waku/utils@0.0.4/bundle/bytes.js"; 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.12/bundle/index.js"; import { createLightNode } from "https://unpkg.com/@waku/create@0.0.13/bundle/index.js";
import { import {
waitForRemotePeer, waitForRemotePeer,
createEncoder, createEncoder,
createDecoder, createDecoder,
} from "https://unpkg.com/@waku/core@0.0.16/bundle/index.js"; } from "https://unpkg.com/@waku/core@0.0.17/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");

View File

@ -36,13 +36,13 @@
import { import {
bytesToUtf8, bytesToUtf8,
utf8ToBytes, utf8ToBytes,
} from "https://unpkg.com/@waku/utils@0.0.4/bundle/bytes.js"; } from "https://unpkg.com/@waku/utils@0.0.5/bundle/bytes.js";
import { createRelayNode } from "https://unpkg.com/@waku/create@0.0.12/bundle/index.js"; import { createRelayNode } from "https://unpkg.com/@waku/create@0.0.13/bundle/index.js";
import { import {
waitForRemotePeer, waitForRemotePeer,
createDecoder, createDecoder,
createEncoder, createEncoder,
} from "https://unpkg.com/@waku/core@0.0.16/bundle/index.js"; } from "https://unpkg.com/@waku/core@0.0.17/bundle/index.js";
const statusDiv = document.getElementById("status"); const statusDiv = document.getElementById("status");
const messagesDiv = document.getElementById("messages"); const messagesDiv = document.getElementById("messages");

View File

@ -17,13 +17,13 @@
import { import {
defaultLibp2p, defaultLibp2p,
defaultPeerDiscovery, defaultPeerDiscovery,
} from "https://unpkg.com/@waku/create@0.0.12/bundle/index.js"; } from "https://unpkg.com/@waku/create@0.0.13/bundle/index.js";
import { import {
wakuStore, wakuStore,
WakuNode, WakuNode,
waitForRemotePeer, waitForRemotePeer,
createDecoder, createDecoder,
} from "https://unpkg.com/@waku/core@0.0.16/bundle/index.js"; } from "https://unpkg.com/@waku/core@0.0.17/bundle/index.js";
/** /**
* This example demonstrates how to use the js-waku minified bundle * This example demonstrates how to use the js-waku minified bundle