UNPKG

ipfs-http-client

Version:
17 lines (15 loc) 458 B
import { createWantlist } from './wantlist.js' import { createWantlistForPeer } from './wantlist-for-peer.js' import { createStat } from './stat.js' import { createUnwant } from './unwant.js' /** * @param {import('../types').Options} config */ export function createBitswap (config) { return { wantlist: createWantlist(config), wantlistForPeer: createWantlistForPeer(config), unwant: createUnwant(config), stat: createStat(config) } }