@tangle-js/ld-proofs
Version:
Linked Data Proofs on the Tangle. Powered by IOTA Identity & IOTA Streams
12 lines (11 loc) • 333 B
TypeScript
/**
* JSON-LD @context loader.
*
* @param url The URL of the LD @context.
* @param options Options.
* @returns The LD document and the final URL after following redirects.
*/
export declare function customLdContextLoader(url: string, options: any): Promise<{
document: Record<string, unknown>;
documentUrl: string;
}>;