import { CapFinder } from "https://deno.land/x/willow@0.2.1/src/wgps/cap_finder.ts";
Helps you get capabilities for given entries
Constructors
new
CapFinder(opts: { handleStoreOurs: HandleStore<ReadCapability>; schemes: { namespace: NamespaceScheme<NamespaceId>; subspace: SubspaceScheme<SubspaceId>; accessControl: AccessControlScheme<ReadCapability, Receiver, SyncSignature, ReceiverSecretKey, NamespaceId, SubspaceId>; }; })Methods
private
getNamespaceKey(namespace: NamespaceId): stringaddCap(handle: bigint)
findCapHandle(entry: Entry<NamespaceId, SubspaceId, PayloadDigest>): bigint | undefined