@minespider/core-bundles
Version:
A high-level SDK for Minespider Core. It abstract the low-level features from the core SDK for a more high-level usage such as DAPPs. Some of the features are 1:1 with the SDK some others abstract some low-level interactions or multiple actions
13 lines • 416 B
TypeScript
interface Options {
password?: string;
}
export declare class StorageFacade {
set(key: string, value: string, options?: Options): Promise<void>;
get(key: string, options?: Options): Promise<string>;
exists(key: string): Promise<boolean>;
delete(key: string): Promise<void>;
private encryptWithPassword;
private decryptWithPassword;
}
export {};
//# sourceMappingURL=StorageFacade.d.ts.map