This repository has been archived by the owner on Jun 27, 2022. It is now read-only.
Releases: LedgerHQ/ledgerjs
Releases · LedgerHQ/ledgerjs
v4.60.1
v4.60.0
Migrating logs
logs are centralized in library @ledgerhq/logs
to make it easier to use across Ledger projects.
- @ledgerhq/hw-transport (all transports):
setDebugMode
usage is deprecated and is now a noop. - @ledgerhq/hw-transport-node-hid:
setListenDevicesDebug
usage is deprecated and is now a noop. - imports on
"@ledgerhq/hw-transport-web-ble/lib/debug"
will need to be replaced by@ledgerhq/logs
(same for the react-native version)
The way to get logs is by using @ledgerhq/logs
library (doc: https://github.com/LedgerHQ/ledgerjs/tree/master/packages/logs )
APDU are logged as type "apdu"
. This PR also add more logs like for instance the ability to see the hid frames as well.
v4.59.0
- hw-transport-http: rollback to ws@6 because ws@7 have issues in some JS context that don't support Object spread. (apparent case of ledger-live-desktop on linux inside internal process!)
- hw-app-btc: Fix XST: set default versino to v2 for XST not to have timestamp
v4.58.0
- Update build dependencies and update to
[email protected]
that supports Node 12.
v4.57.0
- #355 WebUSB transport: fixes
isSupported
function that tells when webusb is available. (it was returning true whennavigator.usb===null
) - #356
@ledgerhq/devices
: Implement support for an incoming usbproductId
change. - #353 WebBLE transport: Allow more time after a pairing to attempt to fix a firmware bug (that forget the bondings if not disconnecting). Bug still seems to happen in Chrome Android.
v4.56.0
- #350 WebUSB: requestDevice() permission modal will only appear if a previously accepted device is not connected. a WebUSB transport instance also properly emits "disconnect" to be able to re-suggest user an UI to re-connect (it still needs to be in context of a click).
- hw-transport-http (proxy): implement logs.
v4.7.6
v4.6.0
v4.3.0
- #87 Add a lock on a transport which prevents race condition to occur if you call twice an async method on a hw-app-* . For instance, you sign a transaction and at the same time, without waiting its completion, you call another method like "get public address". The apdu commands could have been interleaved and unexpected problem could occur on user side. The lock will make any concurrent calls to throw an exception to prevent such race condition to happen.
hw-app-str
: Detect attempt at signing multi-op Stellar transaction and throw descriptive error : #99 by @lenondupe- bunch of improvments in our internal
currencies
library (formatShort, localization, icons update,..)