Description
The bitbox-api dependency is severely outdated (v0.2.1, current: v0.12.0).
Known bug in v0.2.1
ethSupported() incorrectly calls wasm.pairedbitbox_cardanoSupported instead of pairedbitbox_ethSupported, returning false for Multi editions that do support ETH. This bug persists through at least v0.12.0.
Workaround in place: The code now attempts ETH operations directly instead of relying on ethSupported() (see bitbox.hook.ts).
Blocker for upgrade
v0.12.0 uses ESM module resolution (./webhid without .js extension) which is incompatible with the current Webpack/react-app-rewired setup. Upgrading requires either:
- Configuring Webpack to resolve extensionless ESM imports (via
config-overrides.js)
- Or migrating the build tooling (e.g. to Vite)
Upstream issue
The ethSupported() WASM binding bug should be reported to BitBoxSwiss/bitbox-api-rs.
Description
The
bitbox-apidependency is severely outdated (v0.2.1, current: v0.12.0).Known bug in v0.2.1
ethSupported()incorrectly callswasm.pairedbitbox_cardanoSupportedinstead ofpairedbitbox_ethSupported, returningfalsefor Multi editions that do support ETH. This bug persists through at least v0.12.0.Workaround in place: The code now attempts ETH operations directly instead of relying on
ethSupported()(seebitbox.hook.ts).Blocker for upgrade
v0.12.0 uses ESM module resolution (
./webhidwithout.jsextension) which is incompatible with the current Webpack/react-app-rewired setup. Upgrading requires either:config-overrides.js)Upstream issue
The
ethSupported()WASM binding bug should be reported to BitBoxSwiss/bitbox-api-rs.