Skip to content

v0.4.0-beta2 - Ledger TEXTUAL signing & single-prompt gas estimation (beta)

Pre-release
Pre-release

Choose a tag to compare

@thismars thismars released this 06 May 03:24
· 14 commits to main since this release

⚠️ Security advisory: This release ships axios 1.15.1, which has publicly disclosed prototype pollution issues (GHSA-q8qp-cvcw-x6jj high, GHSA-3w6x-2g7m-8v23 moderate). Upgrade to v0.4.1.


What's Changed

Beta pre-release for testnet validation before promoting to v0.4.0.

Highlights

  • Ledger hardware wallet support with `SIGN_MODE_TEXTUAL` (#23) — Web HID & Node HID transports, AMINO/TEXTUAL auto-routing, full TEXTUAL renderer
  • Single-prompt Ledger gas estimation — `getGasEstimationXxx` builds a dummy-signed TxRaw for the simulate call, so the device only prompts once per tx
  • `FirmaStaking.getRedelegationListFromValidator` — chain-wide redelegation query for a given validator (src or dst)
  • TestNet/MainNet endpoint URL migration
  • `longToNumber` overflow guard restored for uint64 decoding (Contract / NFT / Token)
  • Privacy-aware Ledger debug logging behind `DEBUG_LEDGER` / `DEBUG_LEDGER_CBOR`

Install

npm install @firmachain/firma-js@beta

Full Changelog: v0.3.8...v0.4.0-beta2