mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-27 07:51:35 +00:00
chore: examples not using secio (#747)
* chore: examples not using secio * chore(docs): remove unused dep * chore(docs): remove reference of secio in setup * chore(docs): replace circuit secio reference with noise Co-authored-by: Jacob Heun <jacobheun@gmail.com>
This commit is contained in:
@ -3,7 +3,6 @@ import Libp2p from 'libp2p'
|
||||
import Websockets from 'libp2p-websockets'
|
||||
import WebRTCStar from 'libp2p-webrtc-star'
|
||||
import { NOISE } from 'libp2p-noise'
|
||||
import Secio from 'libp2p-secio'
|
||||
import Mplex from 'libp2p-mplex'
|
||||
import Bootstrap from 'libp2p-bootstrap'
|
||||
|
||||
@ -21,7 +20,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
||||
},
|
||||
modules: {
|
||||
transport: [Websockets, WebRTCStar],
|
||||
connEncryption: [NOISE, Secio],
|
||||
connEncryption: [NOISE],
|
||||
streamMuxer: [Mplex],
|
||||
peerDiscovery: [Bootstrap]
|
||||
},
|
||||
|
Reference in New Issue
Block a user