mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-13 01:01:23 +00:00
refactor: crypto and pnet (#469)
* feat: add initial plaintext 2 module * refactor: initial refactor of pnet * chore: fix lint * fix: update plaintext api usage * test: use plaintext for test crypto * chore: update deps test: update dialer suite scope * feat: add connection protection to the upgrader * refactor: cleanup and lint fix * chore: remove unncessary transforms * chore: temporarily disable bundlesize * chore: add missing dep * fix: use it-handshake to prevent overreading * chore(fix): PR feedback updates * chore: apply suggestions from code review Co-Authored-By: Vasco Santos <vasco.santos@moxy.studio>
This commit is contained in:
@ -4,7 +4,7 @@ const PeerId = require('peer-id')
|
||||
const Peers = require('../fixtures/peers')
|
||||
|
||||
module.exports = {
|
||||
tag: '/insecure',
|
||||
protocol: '/insecure',
|
||||
secureInbound: (localPeer, stream) => {
|
||||
return {
|
||||
conn: stream,
|
||||
|
Reference in New Issue
Block a user