mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-28 16:31:35 +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:
2
test/fixtures/browser.js
vendored
2
test/fixtures/browser.js
vendored
@ -3,5 +3,5 @@
|
||||
const multiaddr = require('multiaddr')
|
||||
|
||||
module.exports.MULTIADDRS_WEBSOCKETS = [
|
||||
multiaddr('/ip4/127.0.0.1/tcp/15001/ws')
|
||||
multiaddr('/ip4/127.0.0.1/tcp/15001/ws/p2p/QmckxVrJw1Yo8LqvmDJNUmdAsKtSbiKWmrXJFyKmUraBoN')
|
||||
]
|
||||
|
5
test/fixtures/swarm.key.js
vendored
Normal file
5
test/fixtures/swarm.key.js
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
'use strict'
|
||||
|
||||
module.exports = '/key/swarm/psk/1.0.0/\n' +
|
||||
'/base16/\n' +
|
||||
'411f0a244cbbc25ecbb2b070d00a1832516ded521eb3ee3aa13189efe2e2b9a2'
|
Reference in New Issue
Block a user