Skip to content

Commit 6d09888

Browse files
authored
fix: update auto tls module name (#202)
Auto-TLS is published under `@ipshipyard/libp2p-auto-tls`
1 parent 40a439f commit 6d09888

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

examples/js-libp2p-example-auto-tls/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Let's configure the relevant modules:
4646
```js
4747
import { noise } from '@chainsafe/libp2p-noise'
4848
import { yamux } from '@chainsafe/libp2p-yamux'
49-
import { autoTLS } from '@libp2p/auto-tls'
49+
import { autoTLS } from '@ipshipyard/libp2p-auto-tls'
5050
import { loadOrCreateSelfKey } from '@libp2p/config'
5151
import { identify, identifyPush } from '@libp2p/identify'
5252
import { 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
247247
routing 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'

examples/js-libp2p-example-auto-tls/auto-confirm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import { noise } from '@chainsafe/libp2p-noise'
66
import { yamux } from '@chainsafe/libp2p-yamux'
7-
import { autoTLS } from '@libp2p/auto-tls'
7+
import { autoTLS } from '@ipshipyard/libp2p-auto-tls'
88
import { loadOrCreateSelfKey } from '@libp2p/config'
99
import { identify, identifyPush } from '@libp2p/identify'
1010
import { keychain } from '@libp2p/keychain'

examples/js-libp2p-example-auto-tls/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
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",

examples/js-libp2p-example-auto-tls/trust-free.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import { noise } from '@chainsafe/libp2p-noise'
66
import { yamux } from '@chainsafe/libp2p-yamux'
7-
import { autoTLS } from '@libp2p/auto-tls'
7+
import { autoTLS } from '@ipshipyard/libp2p-auto-tls'
88
import { autoNAT } from '@libp2p/autonat'
99
import { bootstrap } from '@libp2p/bootstrap'
1010
import { loadOrCreateSelfKey } from '@libp2p/config'

0 commit comments

Comments
 (0)