File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const DelegatedContentRouting = require('libp2p-delegated-content-routing')
31
31
const ipfsHttpClient = require (' ipfs-http-client' )
32
32
33
33
// default is to use ipfs.io
34
- const routing = new DelegatedContentRouing (peerId, ipfsHttpClient ({
34
+ const routing = new DelegatedContentRouting (peerId, ipfsHttpClient ({
35
35
// use default api settings
36
36
protocol: ' https' ,
37
37
port: 443 ,
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class DelegatedContentRouting {
21
21
* Create a new DelegatedContentRouting instance.
22
22
*
23
23
* @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
25
25
*/
26
26
constructor ( peerId , client ) {
27
27
if ( peerId == null ) {
You can’t perform that action at this time.
0 commit comments