Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
@ledgerhq/hw-transport-web-ble
Advanced tools
Readme
GitHub, Ledger Devs Discord, Developer Portal
Allows to communicate with Ledger Hardware Wallets.
[Web] (Bluetooth) – check browser support.
You may be using this package to open a Bluetooth connection between your web application and the device.
For a smooth and quick integration:
Extends Transport
react-native bluetooth BLE implementation
device
DevicewriteCharacteristic
CharacteristicnotifyObservable
Observable<any>deviceModel
DeviceModelimport BluetoothTransport from "@ledgerhq/hw-transport-web-ble";
Exchange with the device using APDU protocol.
apdu
BufferReturns Promise<Buffer> a promise of apdu response
observe event with { available: bool, type: string } (available is generic, type is specific) an event is emit once and then each time it changes
observer
anyScan for Ledger Bluetooth devices. On this web implementation, it only emits ONE device, the one that was selected in the UI (if any).
observer
anyopen a bluetooth device.
deviceOrId
(Device | string)globally disconnect a bluetooth device by its id.
id
anyFAQs
Ledger Hardware Wallet Web Bluetooth implementation of the communication layer
The npm package @ledgerhq/hw-transport-web-ble receives a total of 12,252 weekly downloads. As such, @ledgerhq/hw-transport-web-ble popularity was classified as popular.
We found that @ledgerhq/hw-transport-web-ble demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.