@blockchaincommons/xid - v1.0.0-beta.3
    Preparing search index...

    Class Delegate

    A delegate: a controller document and the permissions this document grants it.

    Implements

    Index
    • get xid(): XID

      The controller's XID.

      Returns XID

    • get reference(): Reference

      The reference of the controller's XID.

      Returns Reference

    • The controller's envelope, wrapped, with the permissions.

      Returns Envelope

    • A delegate from its envelope: the permissions, then the unwrapped controller parsed with XIDDocument.fromEnvelope. A sibling failure is EnvelopeParsing.

      Parameters

      • envelope: Envelope

      Returns Delegate

    • Same controller document and permissions — as the reference's equality.

      Parameters

      Returns boolean