Skip to content

Commit 0043e9b

Browse files
authoredSep 8, 2020
chore: docs update (#44)
1 parent a024a96 commit 0043e9b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const DelegatedContentRouting = require('libp2p-delegated-content-routing')
3131
const ipfsHttpClient = require('ipfs-http-client')
3232

3333
// default is to use ipfs.io
34-
const routing = new DelegatedContentRouing(peerId, ipfsHttpClient({
34+
const routing = new DelegatedContentRouting(peerId, ipfsHttpClient({
3535
// use default api settings
3636
protocol: 'https',
3737
port: 443,

‎src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class DelegatedContentRouting {
2121
* Create a new DelegatedContentRouting instance.
2222
*
2323
* @param {PeerID} peerId - the id of the node that is using this routing.
24-
* @param {object} [client] - an instance of the ipfs-http-client module
24+
* @param {object} client - an instance of the ipfs-http-client module
2525
*/
2626
constructor (peerId, client) {
2727
if (peerId == null) {

0 commit comments

Comments
 (0)
Please sign in to comment.