Repository navigation
Upgrade the five SDK packages you use together. The quickstart
uses synthetic payment evidence and the compatibility matrix
lists the tested runtimes and adapters.
| Package | Version |
|---|---|
| @1hubengineering/verifier | 0.3.0 |
| @1hubengineering/storage-sql | 0.3.0 |
| @1hubengineering/adapter-drizzle | 0.3.0 |
| @1hubengineering/adapter-prisma | 0.3.0 |
| @1hubengineering/provider-cbe | 0.3.0 |
SDK changes
- Use
@1hubengineering/verifier/comparisonfor browser-safe comparison and ETB
functions. Receipt retrieval and atomic claims run in the Node.js backend. - Reference text is case-sensitive and accepts up to 255 characters. A string
containing only whitespace is rejected as an expectation. An explicit blank
expectation requiresreferenceRequired: falseand matches a blank or absent
receipt note. A conflicting or invalid note still fails the check. Telebirr
uses Customer Note and CBE uses Reason / Type of service. - The CBE provider handles the data-backed receipt layout and exposes the offline
checkCbeBrowserdiagnostic. It requires the pinned Playwright version,
matching Chromium, and a working OS sandbox. The Telebirr adapter supports
its current note layout and optional host-configured SSH socket. checkProviderConnectivitytests TLS to the fixed official destinations
without submitting a receipt. Malformed evidence on a bound idempotency key
returnsIDEMPOTENCY_CONFLICT. A receipt match leaves settlement and
fulfillment with the host.
Upgrade and rollback
Back up your store and replace the SDK across API processes and workers before
registering expectations that use the new reference rules. The 0.2.0 SQL schema
and payload version are unchanged. Records using references rejected by 0.2.0
may fail to open after a rollback. Use a compatible deployment and preserve all
claims written since the upgrade. Keep active 0.1.1 stores on their existing
runtime until a supported claim-preserving cutover is available.
The verification playground, benchmark runner, CLI, and worker are private
repository packages. The benchmark uses synthetic workloads and its separately
recorded environment. It does not establish live provider performance.
Publication and verification
- Source commit 8213fff63f1f.
- Hosted Linux CI passed on Node 24.22.3 and 26.13.1.
- Local pnpm verify passed 708 tests, including all nine SQLite, PostgreSQL and MySQL adapter cells. A fresh installed consumer upgraded persisted npm 0.2.0 data, kept the committed claim and event, and exercised the new reference rules.
- Local browser checks passed the seven Pages routes, versioned API links and the synthetic timeout flow. The benchmark retains the version and conditions of its historical runs.
All five npm packages use the latest tag. A fresh npm consumer verified receipt,
idempotency and durable-job workflows. Registry publisher, maintainers, SHA-256
and SHA-512 integrity matched the archives. The Pages deployment
succeeded and the live docs and API display 0.3.0.
Each attached SDK archive has a SHA-256 checksum in SHA256SUMS and an npm
integrity hash in manifest.json.