@uvrn/visual
v5.0.1
Published
Plain-default UVRN receipt → self-contained HTML/SVG views. Picture is never the proof — every artifact carries receiptRef.
Readme
@uvrn/visual
Plain-default receipt → self-contained HTML/SVG. Picture is never the proof — every artifact embeds receiptRef.
Official design templates arrive later via the program design-handoff/ slot (D7). This package ships the unbranded default only.
Usage
import { renderHtml, renderSvg } from '@uvrn/visual';
const artifact = renderHtml(receipt);
// artifact.receiptRef === receipt.receiptHashOptional report upload (fixture-mocked in tests) uses the worker /v1/reports/upload seam — see STORE-REPORT-R2.md.
Walls
- Local default needs no R2/D1 (D2)
- No Cloudflare/D1 imports (wall 4)
- No verify/hash/sign logic in the renderer (wall 5)
