chore(light-js): bump js-waku to 0.30.0
This commit is contained in:
parent
f1f889abbc
commit
16c97cc4b3
|
@ -22,30 +22,22 @@
|
|||
<input id='remote-multiaddr'
|
||||
type='text'
|
||||
value="/dns4/node-01.ac-cn-hongkong-c.wakuv2.test.statusim.net/tcp/443/wss/p2p/16Uiu2HAkvWiyFsgRhuJEb9JfjYxEkoHLgnUQmr1N5mKWnYjxYRVm">
|
||||
<button id='dial' type='button' disabled>Dial</button>
|
||||
<button disabled id='dial' type='button'>Dial</button>
|
||||
<br/>
|
||||
<button id='subscribe' type='button' disabled>Subscribe with Filter</button>
|
||||
<button id='unsubscribe' type='button' disabled>Unsubscribe with Filter</button>
|
||||
<button disabled id='subscribe' type='button'>Subscribe with Filter</button>
|
||||
<button disabled id='unsubscribe' type='button'>Unsubscribe with Filter</button>
|
||||
<br/>
|
||||
<label for='textInput'>Message text</label>
|
||||
<input id='textInput' placeholder='Type your message here' type='text'>
|
||||
<button id='sendButton' type='button' disabled>Send message using Light Push</button>
|
||||
<button disabled id='sendButton' type='button'>Send message using Light Push</button>
|
||||
<br/>
|
||||
<div id="messages"></div>
|
||||
|
||||
<script type='module'>
|
||||
import {
|
||||
utils,
|
||||
} from 'https://unpkg.com/js-waku@0.29.0/bundle/index.js';
|
||||
import {
|
||||
createLightNode
|
||||
} from 'https://unpkg.com/js-waku@0.29.0/bundle/lib/create_waku.js'
|
||||
import {
|
||||
waitForRemotePeer
|
||||
} from 'https://unpkg.com/js-waku@0.29.0/bundle/lib/wait_for_remote_peer.js'
|
||||
import {
|
||||
EncoderV0, DecoderV0
|
||||
} from 'https://unpkg.com/js-waku@0.29.0/bundle/lib/waku_message/version_0.js'
|
||||
import {utils} from 'https://unpkg.com/js-waku@0.30.0/bundle/index.js';
|
||||
import {createLightNode} from 'https://unpkg.com/js-waku@0.30.0/bundle/lib/create_waku.js'
|
||||
import {waitForRemotePeer} from 'https://unpkg.com/js-waku@0.30.0/bundle/lib/wait_for_remote_peer.js'
|
||||
import {EncoderV0, DecoderV0} from 'https://unpkg.com/js-waku@0.30.0/bundle/lib/waku_message/version_0.js'
|
||||
|
||||
const peerIdDiv = document.getElementById('peer-id');
|
||||
const remotePeerIdDiv = document.getElementById('remote-peer-id');
|
||||
|
|
Loading…
Reference in New Issue