@iexec/dataprotector
Version:
This product enables users to confidentially store data–such as mail address, documents, personal information ...
5 lines (4 loc) • 564 B
TypeScript
import { IpfsNodeAndGateway, ProtectDataParams, ProtectedDataWithSecretProps } from '../types/index.js';
import { DataProtectorContractConsumer, IExecConsumer, IExecDebugConsumer } from '../types/internalTypes.js';
export type ProtectData = typeof protectData;
export declare const protectData: ({ iexec, iexecDebug, dataprotectorContractAddress, name, ipfsNode, ipfsGateway, allowDebug, data, onStatusUpdate, }: IExecConsumer & IExecDebugConsumer & DataProtectorContractConsumer & IpfsNodeAndGateway & ProtectDataParams) => Promise<ProtectedDataWithSecretProps>;