Implements

Hierarchy

  • AgentData

Implements

Constructors

Properties

#private: any
currentSpace: undefined | `did:key:${string}`
delegations: Map<string, {
    delegation: Delegation<Capabilities>;
    meta: DelegationMeta;
}>

Type declaration

meta: AgentMeta
principal: Signer<`did:key:${string}`, SigAlg>
spaces: Map<`did:${string}:${string}`, SpaceMeta>

Methods

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

    Deprecated

  • Export data in a format safe to pass to structuredClone().

    Returns AgentDataExport

  • Parameters

    Returns Promise<void>

  • Parameters

    • did: `did:key:${string}`

    Returns Promise<void>

    Deprecated

  • Create a new AgentData instance from the passed initialization data.

    Parameters

    Returns Promise<AgentData>

Generated using TypeDoc