Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@ledgerhq/hw-transport-web-ble
Advanced tools
Ledger Hardware Wallet Web Bluetooth implementation of the communication layer
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 34,037 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 8 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.