Skip to content

v0.5.1

Choose a tag to compare

@AncientHodler-Demiurg AncientHodler-Demiurg released this 08 Jun 19:54
· 7 commits to main since this release

fix(ouronet-codex): 0.5.1 — coerce {decimal} payment balance before render (fixes CodexUI crash)

Expanding an Ouronet Account whose payment key holds a balance crashed the page with React error #31 (Objects are not valid as a React child): OuronetAccountsTab rendered the on-chain payment-key-balance, which Pact returns as a { decimal: "..." } object, directly as a child. Now coerced via a decimalToDisplay helper (inner string for { decimal }, passthrough for number/string, null-safe). The Stoa Accounts tab already coerced balances; this was the one unguarded render.

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