@helia/verified-fetch
Version:
A fetch-like API for obtaining verified & trustless IPFS content on the web
12 lines • 435 B
TypeScript
import { BasePlugin } from './plugin-base.js';
import type { PluginContext } from '../index.ts';
/**
* Handles loading JSON and CBOR content
*/
export declare class IpldPlugin extends BasePlugin {
readonly id = "ipld-plugin";
readonly codes: number[];
canHandle({ terminalElement, accept }: PluginContext): boolean;
handle(context: PluginContext): Promise<Response>;
}
//# sourceMappingURL=plugin-handle-ipld.d.ts.map