ipfs-http-client
Version:
A client library for the IPFS HTTP API
12 lines • 406 B
JavaScript
import { createWantlist } from './wantlist.js';
import { createWantlistForPeer } from './wantlist-for-peer.js';
import { createStat } from './stat.js';
import { createUnwant } from './unwant.js';
export function createBitswap(config) {
return {
wantlist: createWantlist(config),
wantlistForPeer: createWantlistForPeer(config),
unwant: createUnwant(config),
stat: createStat(config)
};
}