[ CONVEX COMPONENT · STABLE · MIT ]
@vllnt/convex-suppression
Do-not-contact suppression list + opt-in proof (GDPR/CAN-SPAM), hash-keyed and channel-aware
STABLE 0.1.0 · 1 GitHub star
Package details
Install
The untagged install gets the latest stable version (0.1.0). The canary tag tracks main (0.1.1-canary.054f7dd).
pnpm add @vllnt/convex-suppression
pnpm add @vllnt/convex-suppression@canaryRegister the component
Add it to your app’s convex/convex.config.ts, then run npx convex dev to generate the references.
import { defineApp } from "convex/server";
import suppression from "@vllnt/convex-suppression/convex.config";
const app = defineApp();
app.use(suppression);
export default app;Use it
Usage, options and examples are in the package README.
Downloads
- Last 7 days
- 23
- Since first publish
- 1,857
Downloads per week since 14 June 2026, oldest on the left. Weeks count back from 21 November 2026, so the first one may be shorter than seven days.
23 downloads in the last 7 days. 1,857 downloads since 14 June 2026. Source: npm, counted through 21 November 2026.
Show downloads per week as a table
| Week | Downloads |
|---|---|
| 14 June 2026 to 20 June 2026 | 539 |
| 21 June 2026 to 27 June 2026 | 68 |
| 28 June 2026 to 4 July 2026 | 29 |
| 5 July 2026 to 11 July 2026 | 31 |
| 12 July 2026 to 18 July 2026 | 14 |
| 19 July 2026 to 25 July 2026 | 4 |
| 26 July 2026 to 1 August 2026 | 10 |
| 2 August 2026 to 8 August 2026 | 8 |
| 9 August 2026 to 15 August 2026 | 21 |
| 16 August 2026 to 22 August 2026 | 10 |
| 23 August 2026 to 29 August 2026 | 8 |
| 30 August 2026 to 5 September 2026 | 553 |
| 6 September 2026 to 12 September 2026 | 90 |
| 13 September 2026 to 19 September 2026 | 21 |
| 20 September 2026 to 26 September 2026 | 12 |
| 27 September 2026 to 3 October 2026 | 31 |
| 4 October 2026 to 10 October 2026 | 16 |
| 11 October 2026 to 17 October 2026 | 15 |
| 18 October 2026 to 24 October 2026 | 12 |
| 25 October 2026 to 31 October 2026 | 174 |
| 1 November 2026 to 7 November 2026 | 127 |
| 8 November 2026 to 14 November 2026 | 41 |
| 15 November 2026 to 21 November 2026 | 23 |
Release history
Every release on a timeline, oldest on the left. A tall mark with its version is a stable release; a short mark is a canary build. The time axis is the one of the downloads chart, so a release stands above the week it shipped in.
1 stable release and 8 canary builds since 14 June 2026. Latest stable: 0.1.0 on 1 September 2026.
Show every release as a table
| Version | Kind | Published |
|---|---|---|
| 0.1.1-canary.054f7dd | canary | 31 October 2026 |
| 0.1.0 | stable | 1 September 2026 |
| 0.1.0-canary.d5294fa | canary | 31 August 2026 |
| 0.1.0-canary.e93c190 | canary | 31 August 2026 |
| 0.1.0-canary.65361c7 | canary | 31 August 2026 |
| 0.1.0-canary.f74dec0 | canary | 16 June 2026 |
| 0.1.0-canary.017a87d | canary | 16 June 2026 |
| 0.1.0-canary.581d956 | canary | 16 June 2026 |
| 0.1.0-canary.261f634 | canary | 14 June 2026 |
Changelog
The newest stable releases of @vllnt/convex-suppression, with the notes from its changelog.
0.1.0
Added
- First release of
@vllnt/convex-suppression— the hash-keyed do-not-contact suppression list + opt-in proof (GDPR opt-out / CAN-SPAM). suppress(contactHash, reason, { channel? })adds a(contactHash, channel)anti-membership tombstone;reasonisunsubscribe/bounce/complaint/manual/global. Omittingchannelmarks a global all-channel suppression.unsuppress(contactHash, channel?)removes an entry (a rare, audited re-subscribe); returns whether an entry was removed.isSuppressed(contactHash, channel?)returns the matching suppression (a global tombstone matches every channel and wins) ornull.recordOptIn(contactHash, { listKey?, source, proof? })records an opt-in proof;getOptInProof(contactHash, listKey?)fetches it.isEligible(contactHash, { channel?, listKey?, requireOptIn? })— the single send gate:¬suppressed [∧ confirmed]. Suppression always blocks; the opt-in requirement is per call.- Hash-keyed: the component stores only the host's opaque
contactHash, never raw PII, so a suppression survives erasure of the subject. - Idempotent writes: re-suppressing or re-recording an opt-in on its key tuple updates in place — a replayed bounce/complaint/confirmation webhook never duplicates a row.
- Typed generics:
Suppression<TProof>with an optionalproofValidatorhost parser narrowing the opaque stored opt-inproofat the client boundary on write and read — nov.any()dump, no unchecked cast. - Server-sourced time: every handler stamps
createdAt/confirmedAtfromDate.now()inside the mutation — no caller-supplied clock. - Mount-safe: correct under multiple
app.use(component, { name })mounts — each instance is a sandboxed, independent do-not-contact list.
Changed
- Treat Convex
_generatedoutput as CLI-owned, exclude it from formatting, and expose a dedicated codegen script. - Refresh all direct dependencies to their latest compatible releases for canary validation.
- Require
convex@^1.45.0and updateconvex-testto^0.0.56.
- First release of
Licence
Released under the MIT licence. The full text is in the source repository.
[ PACKAGE ]
- Stable
- 0.1.0
- Canary
- 0.1.1-canary.054f7dd
- GitHub stars
- 1 GitHub star
- Licence
- MIT
- Issues
- Open an issue