@iexec/web3mail
Version:
This product enables users to confidentially store data–such as mail address, documents, personal information ...
10 lines (9 loc) • 330 B
TypeScript
interface GetOptions {
ipfsGateway?: string;
}
interface AddOptions extends GetOptions {
ipfsNode?: string;
}
declare const get: (cid: any, { ipfsGateway }?: GetOptions) => Promise<Uint8Array<ArrayBuffer>>;
declare const add: (content: any, { ipfsNode, ipfsGateway }?: AddOptions) => Promise<string>;
export { add, get };