UNPKG

interface-ipfs-core

Version:

A test suite and interface you can use to implement a IPFS core interface.

17 lines (15 loc) 303 B
import { webSockets } from '@libp2p/websockets' import { all } from '@libp2p/websockets/filters' export function ipfsOptionsWebsocketsFilterAll () { return { libp2p: { config: { transports: [ webSockets({ filter: all }) ] } } } }