File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
examples/js-libp2p-example-auto-tls Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Let's configure the relevant modules:
4646``` js
4747import { noise } from ' @chainsafe/libp2p-noise'
4848import { yamux } from ' @chainsafe/libp2p-yamux'
49- import { autoTLS } from ' @libp2p/ auto-tls'
49+ import { autoTLS } from ' @ipshipyard/libp2p- auto-tls'
5050import { loadOrCreateSelfKey } from ' @libp2p/config'
5151import { identify , identifyPush } from ' @libp2p/identify'
5252import { keychain } from ' @libp2p/keychain'
@@ -247,7 +247,7 @@ module to connect to an initial set of peers that will let us start to fill our
247247routing table and perform queries:
248248
249249``` diff
250- import { autoTLS } from '@libp2p/ auto-tls'
250+ import { autoTLS } from '@ipshipyard/libp2p- auto-tls'
251251+ import { bootstrap } from '@libp2p/bootstrap'
252252 import { loadOrCreateSelfKey } from '@libp2p/config'
253253 import { identify, identifyPush } from '@libp2p/identify'
Original file line number Diff line number Diff line change 44
55import { noise } from '@chainsafe/libp2p-noise'
66import { yamux } from '@chainsafe/libp2p-yamux'
7- import { autoTLS } from '@libp2p/ auto-tls'
7+ import { autoTLS } from '@ipshipyard/libp2p- auto-tls'
88import { loadOrCreateSelfKey } from '@libp2p/config'
99import { identify , identifyPush } from '@libp2p/identify'
1010import { keychain } from '@libp2p/keychain'
Original file line number Diff line number Diff line change 1818 "dependencies" : {
1919 "@chainsafe/libp2p-noise" : " ^16.0.0" ,
2020 "@chainsafe/libp2p-yamux" : " ^7.0.0" ,
21- "@libp2p/ auto-tls" : " ^1.0.0" ,
21+ "@ipshipyard/libp2p- auto-tls" : " ^1.0.0" ,
2222 "@libp2p/autonat" : " ^2.0.13" ,
2323 "@libp2p/bootstrap" : " ^11.0.14" ,
2424 "@libp2p/config" : " ^1.0.0" ,
Original file line number Diff line number Diff line change 44
55import { noise } from '@chainsafe/libp2p-noise'
66import { yamux } from '@chainsafe/libp2p-yamux'
7- import { autoTLS } from '@libp2p/ auto-tls'
7+ import { autoTLS } from '@ipshipyard/libp2p- auto-tls'
88import { autoNAT } from '@libp2p/autonat'
99import { bootstrap } from '@libp2p/bootstrap'
1010import { loadOrCreateSelfKey } from '@libp2p/config'
You can’t perform that action at this time.
0 commit comments