@blockchaincommons/envelope - v1.0.0-beta.4
    Preparing search index...

    Function validateEdge

    • Validates an edge envelope's structure per BCR-2026-003.

      An edge may be wrapped (signed) or unwrapped. The inner envelope must have exactly three assertion predicates: 'isA', 'source', and 'target'. No other assertions are permitted on the edge subject. Mirrors the reference Envelope::validate_edge

      Parameters

      Returns void

      If a required predicate is missing or duplicated, or if any other assertion is present (edgeUnexpectedAssertion).