Skip to content

Which package

Five packages, all MIT, all published together at the version of each treaty release (v0.0.13 today). Pin an exact version.

You want to Use
Send or receive a CloudEvent, build a subject or type, or verify a relay delivery treaty-cloudevents
Validate a SuperPipeline event body, or look up an event’s type and dataschema treaty-event-schemas
Post or read a board-room Matrix event: a gate, question, follow-up, waiting card, notice or answer treaty-matrix-events
Check ids, token claims, the card prompt or the run join key against the shared corpus treaty-ecosystem-identity
Write events in the same transaction as the change, and handle each incoming event once treaty-outbox
Terminal window
npm install @superjackfruitlabs/treaty-cloudevents@0.0.13

Every package is an ES module with its TypeScript types. The data packages (event-schemas, matrix-events, ecosystem-identity) export their JSON files by subpath, so a reader in another language can take the same files from the package or from the repository.

Packages are published from GitHub Actions with npm provenance when a vX.Y.Z tag is pushed. Each release’s notes are on the GitHub releases page.