File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ const client = createDelegatedRoutingV1HttpApiClient('https://delegated-ipfs.dev
8787})
8888
8989// per-request filter options
90- for await (const peer of client . getPeers ( peerIdFromString ( ' QmFoo ' ), {
90+ for await (const prov of getProviders ( CID . parse ( ' bafy ' ), {
9191 filterProtocols: [' transport-ipfs-gateway-http' ],
9292 filterAddrs: [' !p2p-circuit' ]
9393})) {
Original file line number Diff line number Diff line change 6060 * })
6161 *
6262 * // per-request filter options
63- * for await (const peer of client.getPeers(peerIdFromString('QmFoo '), {
63+ * for await (const prov of getProviders(CID.parse('bafy '), {
6464 * filterProtocols: ['transport-ipfs-gateway-http'],
6565 * filterAddrs: ['!p2p-circuit']
6666 * })) {
You can’t perform that action at this time.
0 commit comments