Skip to content

Commit

Permalink
chore: bump basic examples to new version (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
weboko committed May 9, 2023
1 parent 383ea21 commit 85268b6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions examples/light-chat/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import * as utils from "https://unpkg.com/@waku/utils@0.0.4/bundle/bytes.js";
import * as wakuCreate from "https://unpkg.com/@waku/create@0.0.12/bundle/index.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.13/bundle/index.js";
import {
waitForRemotePeer,
createDecoder,
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";

Expand Down
6 changes: 3 additions & 3 deletions examples/light-js/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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.4/bundle/bytes.js";
import { createLightNode } from "https://unpkg.com/@waku/create@0.0.12/bundle/index.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.13/bundle/index.js";
import {
waitForRemotePeer,
createEncoder,
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 remotePeerIdDiv = document.getElementById("remote-peer-id");
Expand Down
6 changes: 3 additions & 3 deletions examples/relay-js/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
import {
bytesToUtf8,
utf8ToBytes,
} from "https://unpkg.com/@waku/utils@0.0.4/bundle/bytes.js";
import { createRelayNode } from "https://unpkg.com/@waku/create@0.0.12/bundle/index.js";
} 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.16/bundle/index.js";
} from "https://unpkg.com/@waku/core@0.0.17/bundle/index.js";

const statusDiv = document.getElementById("status");
const messagesDiv = document.getElementById("messages");
Expand Down
4 changes: 2 additions & 2 deletions examples/store-js/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
import {
defaultLibp2p,
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 {
wakuStore,
WakuNode,
waitForRemotePeer,
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
Expand Down

0 comments on commit 85268b6

Please sign in to comment.