Skip to content

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 09 Jun 00:37
· 28 commits to main since this release
feat(ts): export setPricingDir/clearPricingDir; release 0.2.2 (PRI-2123)

Promote the cross-runtime pricing-dir shim from test-only code to public API so Bun
consumers can pin OBOL_PRICING_DIR at runtime (a plain process.env write doesn't reach
Rust's getenv across bun:ffi). Move test/pricing-env.ts -> src/, re-export from index.ts,
dogfood it from the test via the public surface. Add local ambient decls + a bun:ffi
@ts-expect-error so the now-statically-exported module is DTS-clean under tsconfig
types:[] (else tsup's dts build — and the release — fails). Bumps to 0.2.2.

Unblocks Prudence (PRI-2122) + quorum.

Co-Authored-By: Hermes@cd9c94f1 (Opus 4.8)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>