@me2em/pact
    Preparing search index...

    Function assembleAct

    • Assembles ACT against the verified prefix events (PACTS §7.5) — the pact's primary decision record.

      Parameters

      • events: Event[]

        The verified journal prefix.

      • input: ActInput

        Inline doc (≤ 2048 B, requires the matching dh commitment, D34) or a bare dh; optional note (≤ 32 chars).

      • 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 ACT event.

      PactError on any verification failure (B-7).

      const act = assembleAct(events, { no: 'approved' }, [memberKey]);