Releases: LedgerHQ/device-sdk-ts
Release list
@ledgerhq/dmk-ledger-wallet@0.6.0
Minor Changes
- #1901
b5fc8f0Thanks @benruseau! - Add a bootloader recovery mode toFlashMcuDeviceAction.FlashMcuDAInputnow
takes amode:{ mode: "osUpdate", finalFirmware }keeps the previous
behaviour, while{ mode: "bootloaderRecovery" }resolves the MCU from what the
device reports, for a device stuck in bootloader mode with no known update path.
The forced MCU versions are now per mode, matching the two legacy flows: an OS
update only aliases a bootloader reporting no version, and resolves everything
else from the MCU catalog constrained by the firmware being installed, while a
recovery keeps the full set of hops. An OS update on a device reporting
bootloader 0.6, 0.7 or 0.9 previously skipped the catalog and ignored the
final firmware.
Patch Changes
@ledgerhq/device-signer-kit-tron@0.3.0
Minor Changes
-
#1902
698f5e7Thanks @aussedatlo! - Show a saved contact name in place of the raw recipient address when reviewing a Tron transaction, matched against the address book given towithAddressBook. Only the transaction recipient is matched, and a contact the device rejects never costs the signature.encodeTronAddressanddecodeTronAddressare exported alongside, since registering a contact through the contacts kit takes the raw address bytes an address book holds as base58. -
#1893
7ea891aThanks @aussedatlo! - Provide TRC10 token names to the device when signing a transaction, so TRC10 transfers are clear-signed instead of blind-signed
Patch Changes
- Updated dependencies [
acf298b,ac41ccc,5030e85,1fe060e,f275d1e,c6a2056,f4a3bee,856461c,acd0c05,762139e]:- @ledgerhq/device-contacts-kit@0.5.0
- @ledgerhq/context-module@2.6.0
- @ledgerhq/device-management-kit@1.9.1
All notable changes to this project will be documented in this file.
@ledgerhq/device-signer-kit-solana@1.13.1
Patch Changes
-
#1889
2a313beThanks @fAnselmi-Ledger! - Support blind-signing Solana v1 transactions -
#1888
9ff5a40Thanks @fAnselmi-Ledger! - Lock in substructure framing + warn on pinned skips -
#1877
ac41cccThanks @fAnselmi-Ledger! - Plumb ACCOUNT_RESET domain fields + TOKEN_ACCOUNT_STATE paths 2 & 5 + ALT for resets -
#1886
5030e85Thanks @fAnselmi-Ledger! - Add ACCOUNT_SCHEMA host pre-check for stale CAL descriptors -
#1834
fd2c61dThanks @paoun-ledger! - Fix generic clear-signing when a hide-rule target, an owner association or a token-value fallback account is supplied by an Address Lookup Table. -
Updated dependencies [
ac41ccc,5030e85,1fe060e,f275d1e,c6a2056,f4a3bee,856461c,acd0c05,762139e]:- @ledgerhq/context-module@2.6.0
- @ledgerhq/device-management-kit@1.9.1
@ledgerhq/device-signer-kit-ethereum@1.18.1
Patch Changes
-
#1859
ecb75ffThanks @pvautherin-ledger! - Update type for SignTransaction/TypedData factories -
Updated dependencies [
acf298b,ac41ccc,5030e85,1fe060e,f275d1e,c6a2056,f4a3bee,856461c,acd0c05,762139e]:- @ledgerhq/device-contacts-kit@0.5.0
- @ledgerhq/context-module@2.6.0
- @ledgerhq/device-management-kit@1.9.1
@ledgerhq/device-management-kit@1.9.1
Patch Changes
-
#1868
f4a3beeThanks @jiyuzhuang! - Fix off-by-one in the SE flags onboarding state byte mapping:0x00now correctly maps toOnboardingState.WelcomeScreen1instead ofOnboardingState.Unknown. Add missingOnboardingState.Pinat0x06. -
#1847
856461cThanks @jiyuzhuang! - Expose parsed endorsement, seed word, and onboarding information from the secure element flags returned byGetOsVersionCommand. Onboarding status is mapped to theOnboardingStatestring enum (0x01–0x10); unmapped bytes including0x00becomeOnboardingState.Unknown. -
#1855
acd0c05Thanks @jiyuzhuang! - ExposeSeedWordCountas named numeric values (12,18,24) onGetOsVersionCommandseed word information. The public type remains the union12 | 18 | 24(const object, not a numeric enum). Reserved encodings remainundefined. -
#1900
762139eThanks @benruseau! - Remove hardcoded livecommonversion in HttpManagerApiDataSource
@ledgerhq/device-contacts-kit@0.5.0
@ledgerhq/context-module@2.6.0
Minor Changes
-
#1893
1fe060eThanks @aussedatlo! - Add a Tron chain with a TRC10 token loader, resolving the token descriptor from the transaction alone -
#1834
f275d1eThanks @paoun-ledger! - Surface the Solana CAL instruction-descriptor fields the requirement builder was dropping:hide_rulesandowner_association, plusTOKEN_VALUE.FALLBACK_ACCOUNTandVALUE_FLOW_PORT.ACTIVE_WHENon the port shapes.
Patch Changes
-
#1877
ac41cccThanks @fAnselmi-Ledger! - Plumb ACCOUNT_RESET domain fields + TOKEN_ACCOUNT_STATE paths 2 & 5 + ALT for resets -
#1886
5030e85Thanks @fAnselmi-Ledger! - Add ACCOUNT_SCHEMA host pre-check for stale CAL descriptors -
#1881
c6a2056Thanks @fAnselmi-Ledger! - nativePreBalance DTO + owner-without-mint warn for TOKEN_ACCOUNT_STATE -
Updated dependencies [
f4a3bee,856461c,acd0c05,762139e]:- @ledgerhq/device-management-kit@1.9.1
@ledgerhq/device-contacts-kit@0.4.1
Patch Changes
- #1864
3b8b2a0Thanks @daniel-choinski-ledger! - Fix Rename Contact failing with 0x686A on OS builds that still require the EDIT
CONTACT NAME derivation path (e.g. Flex 1.7.0-rc2). The kit now sends the
DERIVATION_PATH(tag 0x69) conditionally, based on the device OS version read
freshly from the device: OS builds below the model's cutoff
(renameDerivationPathRequiredBelowOsVersion, e.g.1.7.0-rc3for Flex) get the
path they require, while the cutoff build and later (rc3, final, GA) get the
path-free payload they expect — so no build ever receives the wrong shape. The
cutoff lives as data inContactsVersionRequirementsand can be removed in one
commit once no in-the-field OS predates it.
Also map 0x686A to an actionable message, and give every address-book command a
sane default for unmapped status words, so a host never receives a bare
UnknownDeviceExchangeError.
- #1863
d133b46Thanks @daniel-choinski-ledger! - Fix Rename Contact failing with a false version-requirement error. The OS
version guard now reads the firmware version freshly viaGetOsVersionafter
reaching the dashboard, instead of the device session state (whose
firmwareVersionis often absent when an app was open at start). A
GetOsVersionfailure surfaces as the command error itself, not a
ContactsVersionRequirementError.
@ledgerhq/device-transport-kit-mockserver@1.1.1
Patch Changes
-
#1848
e16b990Thanks @aussedatlo! - Keep polling for available devices after a failed request. AcatchErroron the outer pipeline replaced the poll timer along with the failed request, so one unreachable moment ended discovery for the rest of the subscription and a device added later was never found. -
#1849
dbf2406Thanks @aussedatlo! - Report a disconnect when a connected device leaves the mock server. The device was only discovered to be gone when an APDU sent to it failed, so a device deleted or disconnected through the API left a session that still claimed to be connected.
@ledgerhq/device-signer-kit-zcash@0.7.1
Patch Changes
-
#1851
4385b08Thanks @cted-ledger! - Map the status words the Zcash app returns for an unmet signing precondition, a version parsing failure and an RNG failure, so they surface as named errors instead of UnknownError -
#1851
86fcdffThanks @cted-ledger! - Rename the 0x6985 error to UserRejectedError, the condition the Zcash app actually reports on that status word