You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(wasm-utxo): move inspect feature from CLI to library package
Move PSBT and transaction parsing functionality from the CLI package
into the main wasm-utxo library behind the `inspect` feature flag.
This makes the parser reusable across CLI, WASM, and other consumers
while keeping optional dependencies isolated.
Key changes:
- Add `inspect` feature with dependencies (num-bigint, serde, etc.)
- Move parser implementation from CLI to src/inspect module
- Add enum-based NetworkArg for improved CLI type safety
- Add WASM bindings with runtime feature detection
- Add TypeScript wrapper at @bitgo/wasm-utxo/inspect import path
- Support both Bitcoin and Zcash transaction/PSBT formats
- Update CLI to consume inspect feature from library
- Add comprehensive documentation and examples
Breaking changes for CLI:
- Address/PSBT/TX commands now use --network value_enum
- Network arguments use short names (btc, ltc, etc.)
Issue: BTC-0
Co-authored-by: llm-git <llm-git@ttll.de>
0 commit comments