UNPKG

dwnpm

Version:

Decentralized Registry Package Manager (DRPM) helps developers publish, install, find and manage Decentralized Packages (DPKs) published to Decentralized Web Nodes (DWNs). DRPM does this by looking up a Decentralized Identifier (DID) to find its DID docum

21 lines 722 B
import { ContextOptions, DhtProfileCreate, ProfileContext, WebProfileCreate } from '../utils/types.js'; export declare class Context { name: string; data: ProfileContext; constructor(name: string, context: ProfileContext); get(): ProfileContext; save(options?: { name?: string; context?: ProfileContext; }): void; create(params: DhtProfileCreate | WebProfileCreate): Promise<void>; read(options: ContextOptions): void; update(options: ContextOptions): void; delete({ password, force }: { password: string; force?: boolean; }): Promise<void>; recover(options: any): void; backup(options: any): void; } //# sourceMappingURL=context.d.ts.map