Skip to content

Releases

Payment Verifier 0.3.0

Choose a tag to compare

@1hubengineering 1hubengineering released this 19 Nov 23:09

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/comparison for 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 requires referenceRequired: false and 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
    checkCbeBrowser diagnostic. 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.
  • checkProviderConnectivity tests TLS to the fixed official destinations
    without submitting a receipt. Malformed evidence on a bound idempotency key
    returns IDEMPOTENCY_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.

Developer guide ·
API reference

Payment Verifier 0.1.1

Choose a tag to compare

@1hubengineering 1hubengineering released this 18 Nov 23:37

Payment Verifier 0.1.1

The five packages now use shorter names under @1hubengineering. Replace the
core and all installed adapters together. Export subpaths and the database schema
are unchanged.

Previous name Install at 0.1.1
receipt-verifier @1hubengineering/verifier
receipt-verifier-storage-sql @1hubengineering/storage-sql
receipt-verifier-adapter-drizzle @1hubengineering/adapter-drizzle
receipt-verifier-adapter-prisma @1hubengineering/adapter-prisma
receipt-verifier-provider-cbe @1hubengineering/provider-cbe

The renamed Drizzle adapter targets Drizzle ORM 1.0.0-rc.5; the old 0.1.0
adapter targeted 0.45.4. See the compatibility matrix.
Receipt matching does not confirm settlement or authorize fulfillment.

Source: fc9b4d0.
All 525 local tests and Node 24/26 hosted checks
passed. The installed registry consumer verified all five archives and exercised
receipt and durable-job workflows. The GitHub 0.1.0 archive is unchanged.

Receipt verification libraries 0.1.0

Choose a tag to compare

@1hubengineering 1hubengineering released this 18 Nov 16:22

Initial public release of five embedded receipt-verification libraries at 0.1.0 under @1hubengineering. Registry publisher/maintainer, SHA-256/SHA-512 integrity and a fresh registry-installed receipt/idempotency/durable-job consumer all passed verification. Every registry archive matches the reviewed source-bound release artifact.

Receipt matching, local claims, settlement and fulfillment remain separate. Every receipt-only result retains settlement UNCONFIRMED. No live bank validation, settlement proof or hosted payment service is claimed.

  • Core: exact ETB, immutable host expectations, fail-closed evidence and atomic claims/results/outbox.
  • Nine tested direct SQL, Drizzle 0.45.4 and Prisma 7.10.1 engine/client cells across PostgreSQL, MySQL and local SQLite.
  • Optional encrypted durable jobs with bounds, leases/retries, stale-owner fencing and actual process crash recovery.
  • Optional CBE browser requires native OS sandboxing and receives no inherited host secrets.
  • CLI, worker and Fastify host-auth/order example remain private npm applications, available as repository source.

Validation: pnpm verify passed locally and on both hosted Node 24.22.3 and 26.13.1 minimums: 237 fast/application/provider tests, 243 real-engine contract cases, all 11 frozen reference tests, builds/types/lint/publint and isolated installed npm consumers. Ten frozen originals still match byte-for-byte; production dependency audit reported zero advisories.

Source: c4464f0
CI: https://github.com/1hubengineering/verify_payment_v1/actions/runs/44339379792
Compatibility: https://github.com/1hubengineering/verify_payment_v1/blob/c4464f0f26db808806d4877fc57b0254ba495c38/docs/development/compatibility.md
Migrations: https://github.com/1hubengineering/verify_payment_v1/blob/c4464f0f26db808806d4877fc57b0254ba495c38/docs/development/migrations.md

Assets are the reviewed, reproducible tarballs with SHA256SUMS and SHA-512 integrity manifest. Source ownership/ISC and external license boundaries were reviewed independently of GitHub/npm identity. No npm OIDC provenance attestation is claimed.

Published npm packages:

Registry verification: pnpm release:check artifacts/v0.1.0-c4464f0f26db/manifest.json passed after account approval. All five packages import in an isolated npm consumer; actual SQLite receipt/idempotency and durable-job flows passed with settlement UNCONFIRMED. The full nine-cell matrix is established by the source/tarball acceptance above, not by live provider traffic.