@helia/http
Version:
A lightweight implementation of IPFS over HTTP in JavaScript
13 lines • 437 B
JavaScript
import { createDelegatedRoutingV1HttpApiClient } from '@helia/delegated-routing-v1-http-api-client';
export function libp2pDefaults(options = {}) {
return {
services: {
delegatedRouting: () => createDelegatedRoutingV1HttpApiClient('https://delegated-ipfs.dev')
},
connectionManager: {
minConnections: 0
},
...options
};
}
//# sourceMappingURL=libp2p-defaults.js.map