Conversation
- Add Ledger adapter infrastructure (connector-loader, vendorProfile, adapter types) - Implement Ledger keyrings for BTC, EVM, SOL, TRON chains - Add device fingerprint verification for Ledger cross-session identity - Support HID device permission and auto-selection for desktop - Add third-party hardware UI state management (toast/dialog) - Store vendor in DB settingsRaw (no schema migration needed) - Filter Ledger devices from OneKey device management and cloud sync - Fix dgram polyfill and Ledger package main field in postinstall
…Device in EVM keyring
- Use proper types for DeviceScannerUtils vendor param (EHardwareVendor) - Cast rawXpub to IRawXpub union type instead of any - Cast dbAccount to IDBUtxoAccount for xpub/xpubSegwit access - Use navigator.hid directly with @types/w3c-web-hid - Fix null→undefined for connectId param - Mark unused vendor param with underscore prefix
⛔ Snyk checks have failed. 1 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.
|
… vendor stub - Define IKeyringMap in VaultBase.ts (includes hwLedger + hwTrezor slots) - All 4 Vault files use IKeyringMap instead of inline intersection types - Replace hardcoded 'ledger' strings with EHardwareVendor.ledger in ServiceHardware and fingerprintUtils - Fix Trezor vendorProfile stub to have isThirdParty=true (prevents being treated as OneKey) - Remove unused IDBWalletType and KeyringBase imports from Vault files
9825487 to
b831cf6
Compare
- Remove non-existent ETranslations keys, use English defaultMessage - Cast avatarKey to IAllWalletAvatarImageNamesWithoutDividers - Fix null-to-undefined for connectId assignments - Fix import paths in EVM KeyringHardwareLedger - Remove path/inputDerivations from btcSignTransaction (not in SDK type) - Use (navigator as any).hid for CI compatibility
When adding an account to an existing third-party hardware wallet (Ledger, Trezor), only create accounts for the currently selected network instead of all default networks. Wallet creation still creates all default networks. BTC/LTC derive types are properly expanded when the current network is BTC/LTC.
…llet creation When creating a third-party HW wallet (Ledger/Trezor), if all chains fail due to app-not-installed, show a single toast instead of one per chain. If some chains succeed, silently filter out AppNotInstalled errors. Non-AppNotInstalled errors still surface via the existing per-chain toast loop.
b831cf6 to
34bab09
Compare
No description provided.