Fix/ledger ble#791
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
|
@SocketSecurity ignore npm/es5-ext@0.10.64 |
|
@SocketSecurity ignore npm/@ledgerhq/device-management-kit@1.2.0 |
d57bf9d to
7678297
Compare
…uest Track whether ApplySettings(PromptTemporarily) has been applied on the parent allNetwork method, and propagate that state to child methods so each sub-call doesn't re-issue the safety prompt for the same request.
LedgerDeviceManager.connect() throws this tag when dm.connect(path) hits a path not in _discovered. The connector's doConnect catch only wraps it on the BLE-direct-connect path; non-direct BLE and USB paths leaked the tag uncoded — getting mapped to ThirdPartyUnknownError (USB) or BleGattBondingFailed (BLE-non-direct) downstream. Adding the tag to DEVICE_NOT_FOUND_TAGS makes mapLedgerError classify it as HardwareErrorCode.DeviceNotFound on every path, so the upper layer produces a consistent ThirdPartyDeviceNotFound error.
1dfad99 to
dbd95ee
Compare
No description provided.