@helia/verified-fetch
Version:
A fetch-like API for obtaining verified & trustless IPFS content on the web
8 lines • 500 B
TypeScript
import type { DelegatedRoutingV1HttpApiClient } from '@helia/delegated-routing-v1-http-api-client';
import type { ServiceMap } from '@libp2p/interface';
type DelegatedRoutingServices = Record<`delegatedRouting${number}`, ((components?: unknown) => DelegatedRoutingV1HttpApiClient)>;
export type ServiceFactoryMap<T extends ServiceMap = ServiceMap> = {
[Property in keyof T]: (components: any & T) => T[Property];
} & DelegatedRoutingServices;
export {};
//# sourceMappingURL=libp2p-types.d.ts.map