mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2024-12-05 02:10:18 +00:00
remove unused code
This commit is contained in:
parent
dda89e9626
commit
239b4a6e2c
@ -16,20 +16,3 @@ export const makeDefaultPeer = () => {
|
||||
|
||||
// @ts-ignore
|
||||
globalThis.defaultPeer = makeDefaultPeer();
|
||||
|
||||
// TODO! remove after implementing smoke test (DXJ-253)
|
||||
// @ts-ignore
|
||||
window.demo = async () => {
|
||||
// @ts-ignore
|
||||
const peer: FluencePeer = globalThis.defaultPeer;
|
||||
|
||||
await peer.start({
|
||||
connectTo: {
|
||||
multiaddr: '/ip4/127.0.0.1/tcp/4310/ws/p2p/12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3',
|
||||
peerId: '12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3',
|
||||
},
|
||||
});
|
||||
|
||||
const res = await checkConnection(peer);
|
||||
console.log('Check connection res', res);
|
||||
};
|
||||
|
@ -1 +0,0 @@
|
||||
/dist/
|
Loading…
Reference in New Issue
Block a user