@web3-storage/pail
Version:
DAG based key value store.
10 lines • 629 B
TypeScript
export function put(blocks: API.BlockFetcher, root: API.ShardLink, key: string, value: API.UnknownLink): Promise<{
root: API.ShardLink;
} & API.ShardDiff>;
export function get(blocks: API.BlockFetcher, root: API.ShardLink, key: string): Promise<API.UnknownLink | undefined>;
export function del(blocks: API.BlockFetcher, root: API.ShardLink, key: string): Promise<{
root: API.ShardLink;
} & API.ShardDiff>;
export function entries(blocks: API.BlockFetcher, root: API.ShardLink, options?: API.EntriesOptions): AsyncIterableIterator<API.ShardValueEntry>;
import * as API from './api.js';
//# sourceMappingURL=index.d.ts.map