I think the validation library 'joi' might have been updated and the return value is different now.
Sanity Check
[X] If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.
Current Behavior
I'm was using onboard without a rpcUrl, worked great except for the Trezor integration:
Trezor is failing silently and no error is thrown:
https://github.com/blocknative/web3-onboard/blob/develop/packages/hw-common/src/account-select.ts#L13 https://github.com/blocknative/web3-onboard/blob/develop/packages/common/src/validation.ts#L5 https://github.com/blocknative/web3-onboard/blob/develop/packages/common/src/validation.ts#L28
Expected Behavior
To throw an error, like the source code suggests.
Steps To Reproduce
No response
What package is effected by this issue?
@web3-onboard/trezor
Is this a build or a runtime issue?
Runtime
Package Version
@web3-onboard/trezor@2.4.6
Node Version
20.2.0
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
Anything else?
I think the validation library 'joi' might have been updated and the return value is different now.
Sanity Check