@me2em/pact
    Preparing search index...

    Function assembleInvite

    • Assembles INVITE against the verified prefix events (PACTS §7.5, D13): the quorum comes from the constitution active before the event.

      Parameters

      • events: Event[]

        The verified journal prefix.

      • input: InviteInput

        Invite parameters; ep is required under im: 'pinned' (D13).

      • signerKeys: Uint8Array[]

        Pact keys of the signing members (quorum decides).

      • Optionalclock: Clock

        Optional clock injection (Р4); defaults to the system clock.

      Returns Event

      The assembled, verified INVITE event.

      PactError on any verification failure (B-7 — fail-closed).

      const invite = assembleInvite(events, { an: 'identity' }, [founderKey]);