Skip to content

@ledgerhq/live-desktop@4.20.0

Choose a tag to compare

@github-actions github-actions released this 11 Sep 15:32
· 496 commits to develop since this release
657069a

4.20.0

Minor Changes

  • #21371 56bf73c Thanks @vpenskyi-ledger! - Fix NoFundsStake modal passing raw currency object to Swap live-app instead of expected { toCurrencyId } format, causing the Receive field to not be pre-filled when navigating from Earn zero-balance account flow

  • #21042 d5e1c7d Thanks @ooke-ledger! - Tell the two Hyperliquid account-picker states apart.

    The perps receiving step used one description for both states, so users who already had a Hyperliquid account were told to add one. It now reads "Select an account you want to deposit funds into to place your trades" when accounts exist, and keeps "To fund your perps, you need a Hyperliquid account.

  • #21515 7f4723c Thanks @sarneijim! - Bump Segment analytics SDKs for retry, rate-limit and security fixes (LIVE-35839)

  • #21433 8f8f1a4 Thanks @mcayuelas-ledger! - Add a web ContactAddressPicker dialog skeleton to the Pay contact flow and open it from the desktop Pay tab when a contact is pressed. The address list UI and the account/send handoff on address selection land in follow-ups.

  • #21355 fc74af8 Thanks @semeano! - Offer the Zcash memo only to shielded recipients. A memo travels in a shielded output, so a transparent recipient could never receive one, yet the send flow showed the input for every Zcash address and made the user fill or skip it. Send descriptors can now distinguish static memo support from recipient-specific visibility, and a memo left over from an earlier shielded recipient is dropped when the recipient turns transparent, so it can no longer reach the transaction builder.

  • #21434 b7f83a1 Thanks @tonykhaov! - Add persisted Pay Request verify-hint state in @features/flow-pay-request.

  • #21408 c270975 Thanks @tonykhaov! - Add a first-time Popover on desktop Pay Request Verify.

  • #21367 d182d46 Thanks @claudiiafg! - Fix the Ledger Sync entry point from Contacts: align the introduction copy and artwork with the production design, only show it when the user actually tries to add a contact or an address, start the flow on "Choose your sync method", and return to Contacts instead of the Portfolio once the flow is done on Mobile.

  • #21470 5b79eb3 Thanks @claudiiafg! - Fix the Contacts add address flow stalling on Continue by only offering networks the device can register an address on: EVM networks running their own coin app, such as Ethereum Classic, Sonic and Sei, are no longer selectable

  • #21453 3b0dbae Thanks @mcayuelas-ledger! - Add the web ContactAddressPicker dialog to the Pay contact flow and open it from the desktop Pay tab when a contact is pressed. The picker lists the contact's addresses segmented by network with asset-aware icons, resolved through the view model, and exposes an optional add-address action that routes to the contact's add-address flow. Address grouping, icon resolution and truncation are shared from @features/flow-contacts. The account/send handoff on address selection lands in a follow-up.

  • #21587 46b51dd Thanks @claudiiafg! - Fix the Contacts feature introduction so closing it counts as seen and keeps you on the Contacts list, instead of navigating back and reopening the introduction on the next visit.

  • #21601 96661b4 Thanks @mateuszpalosz-ext! - part 1 for Aleo bond flow

  • #21746 c2e2276 Thanks @amaslakov! - Add the error message shown when the protocol refuses a Tezos stake amount as too small

  • #21401 8c40cc1 Thanks @claudiiafg! - Skip the extra confirmation modal when editing a contact or address name. Apply changes now starts the device action directly when needed, and the Apply CTA shows the Ledger logo in that case.

  • #21440 0089a4b Thanks @claudiiafg! - Drive Contacts add-address confirmation through the Device Intent Executor instead of mocked Continue screens, including prefill and Send entry points.

  • #21374 d6e689f Thanks @tonykhaov! - Update the desktop Pay feature tour layout and copy to match mockups (LIVE-36499).

  • #21418 60ee73c Thanks @liviuciulinaru! - Rename CARD_API_URL to CARD_BAANX_API_URL, keep the production defaults, and drop the Env vars section from the Card / Pay DevTool.

  • #21548 55bd216 Thanks @mcayuelas-ledger! - Add a getCardOnboardingStatus RTK Query endpoint and a schema-validated mock fixture.

  • #21550 6ed1820 Thanks @mcayuelas-ledger! - Mount and persist the card onboarding widget in Ledger Wallet Desktop.

  • #21546 85474db Thanks @semeano! - Change show private balance label.

  • #21248 9672658 Thanks @OlivierFreyssinet! - Edit an external address on the device from Contacts. The device intent now calls @ledgerhq/device-contacts-kit's ContactsManager.editExternalAddressIdentifier() and ContactsManager.editExternalAddressScope(), each returning the rotated address proof to persist while the group's name proof passes through untouched, and both apps render the confirmation step and one InfoState per failure.

    The device serves address and label edits as two separate commands, so an edit changing both asks the user to confirm twice, showing the same waiting screen for each step rather than numbering them. Nothing partial is ever stored: an abandoned or rejected edit leaves the record untouched, and a retry restarts the whole chain.

  • #21247 a55d4ca Thanks @OlivierFreyssinet! - Rename a contact on the device from Contacts. The device intent now calls @ledgerhq/device-contacts-kit's ContactsManager.renameContact(), which returns the rotated name proof to persist, and both apps render the confirmation step and one InfoState per failure. A rejection keeps the job open so the user can retry on the same device.

    Rename is a blockchain-agnostic dashboard operation, so it initializes on the dashboard (BOLOS) rather than a coin app: a contact with no address is renameable, and an outdated device surfaces as an OS-update screen instead of an app-update one.

  • #21269 8c83fe6 Thanks @aussedatlo! - Show the emulated device's screen at the foot of the desktop sidebar while the mock server transport is driving it, and let its buttons and touchscreen be pressed.

  • #21269 9c67330 Thanks @aussedatlo! - Let a launch MOCK_SERVER_TRANSPORT=1 turn the mock server transport on, instead of the developer toggle's stored value always winning.

  • #21269 8f8d63e Thanks @aussedatlo! - Add a "Mock server transport" toggle in the desktop developer settings, so the Device Management Kit connects to a device mock server instead of a physical device. Configured by MOCK_SERVER_TRANSPORT, MOCK_SERVER_TRANSPORT_URL, MOCK_SERVER_SESSION and MOCK_SERVER_SEED, with a top bar indicator showing whether the server is reachable.

  • #21390 8c98d3b Thanks @gre-ledger! - Remove Storybook from the desktop app: drop the .storybook config, the rsbuild.storybook.config.js builder, every *.stories.* file and the Storybook-only dependencies (storybook, @storybook/*, storybook-react-rsbuild, @rsbuild/*, @vitest/mocker, events). The STORYBOOK_ENV branches around electron access are gone, so clipboard and shell are now imported directly, and the shared Jest electron mock exposes clipboard. The now-dead *.stories.tsx exclusions in the repo Sonar and @ledgerhq/react-ui build configs are removed too.

  • #21477 9175a6d Thanks @semeano! - Change Zcash private sync button label

  • #21223 e92cf97 Thanks @vtaranushenko-ext-ledger! - Route Casper through the generic coin-framework bridge (LIVE-35912/35914/35915).

    • coin-casper: createApi() now returns a CoinModuleImpl (dropping the throwing stubs for unsupported capabilities; withDefaults fills them). craftTransactionData delegates to the framework helper. getTransferIdFromMemo bridges the legacy StringMemo<"transferId"> shape and the new {type:"transferId"} framework shape until LIVE-35735 unifies them.
    • live-common: Casper added to genericCoinFrameworkFamilies.json; LiveConfig key config_casper_generic_bridge (default true) provides a runtime kill-switch to fall back to the legacy bridge without a deploy.
    • Desktop/Mobile: useTransferIdChange hook extracted and shared between MemoField / TransferIdField / MemoTagInput / ScreenEditTransferId; now writes both transferId (legacy bridge) and memoType/memoValue (generic path) so both bridges read the same user input correctly.
  • #21513 9dd7db0 Thanks @mcayuelas-ledger! - Add a Pay success screen to the Send flow. When the flow is launched from the Pay tab and the transaction succeeds, it now routes to a dedicated PAY_SUCCESS step that shows the recipient, amount, source account (with network icon) and a link to the transaction details, instead of the standard confirmation step. Exposes a presentational PaySuccess component from @features/flow-pay-contact and wires it in ledger-live-desktop via an MVVM PaySuccessScreen + usePaySuccessViewModel.

  • #21372 961792b Thanks @mcayuelas-ledger! - Gate the Pay tab contacts section behind the contacts feature flag (lwdContacts on desktop, lwmContacts on mobile)

  • #21302 1e883b3 Thanks @mdomanski-ext-ledger! - feat: read Hedera staking validators through an on-demand query on desktop, with loading and fetch-error states

  • #21305 7aca4c8 Thanks @mdomanski-ext-ledger! - refactor: drop the Hedera preload layer now that no consumer reads it, and fold useHederaEnrichedDelegationV2 back into useHederaEnrichedDelegation

  • #21358 6561cf0 Thanks @mdomanski-ext-ledger! - refactor: serve the Hedera validators list from an RTK Query api instead of React Query

  • #21378 b864c2c Thanks @mcayuelas-ledger! - Fix MarketBanner/Market list navigation so clicking Arbitrum opens the ARB asset detail instead of the Ethereum one, by passing the market ledger ids in the navigation state and preventing a bare market id from colliding with a same-named chain id

  • #21616 5e971b5 Thanks @gre-ledger! - Migrate BIG_NUMBER_DECIMAL_PLACES off @ledgerhq/live-env: every call site now inlines the constant and the definition is removed. @ledgerhq/live-currency-format drops its @ledgerhq/live-env dependency altogether.

  • #21269 63002c4 Thanks @aussedatlo! - Open the mock server's configuration UI by right-clicking the top bar indicator, on the session Ledger Live is already using. A left click still copies the session token.

  • #21269 2a39225 Thanks @aussedatlo! - Reset BASE_SOCKET_URL when the mock server transport is turned off, so the legacy scriptrunner flows stop pointing at the mock server.

  • #21269 778076c Thanks @aussedatlo! - Keep the mock server session token reactive in the top bar indicator, so a token published after the first render can still be copied.

  • #21474 54351c2 Thanks @claudiiafg! - Group unavailable assets and networks under a "Not available yet" section in the asset and network selection lists

  • #21458 40ba77b Thanks @semeano! - Fix Zcash private balance sync staying at 0% when started from the UFVK export modal

  • #21283 761cf3e Thanks @lpaquet-ledger! - add earn banner to success transation modal

  • #21359 36ea18d Thanks @tonykhaov! - Route the Noah webview to signup or signin when noahAuth is set (LIVE-35383).

  • #21299 ac0311e Thanks @tonykhaov! - Present the Pay cash-to-stable intro as a desktop dialog before the Noah handoff (LIVE-35383).

  • #21428 c3de11c Thanks @liviuciulinaru! - Show a Card login intro sheet on the first press of the card's action (LIVE-36793). The sheet has two
    buttons. "Log in to Baanx" runs the OAuth2 hosted login. "Create an account" opens the provider's
    own signup page, /onboarding/signup on the new CARD_BAANX_HOSTED_UI host, in the same browser. The
    intro shows once: a new persisted payCardLoginIntro flag goes up when a login the card holder just
    started reaches ready, and it survives an app restart inside the shared payCard blob. A hydrated
    session raises nothing. A tester resets the flag from the Pay Card devtool, and the intro shows again
    on the next press.

    The same flag now picks what the login block says, from the app's new payTab.cardLogin.* keys. It
    sells the card while the flag is down — "Get 1% cashback every time you spend" under a Get card
    button that opens the intro — and offers a login once the flag is up: "Log in to access your card"
    under a Login button that starts one. Its title is Crypto Card, and on mobile it is a Lumen
    Subheader under the card face, so the Pay Card flow no longer draws a section title above it there.
    Desktop keeps its host-provided title.

    The virtual card row names one wallet only: Apple Pay on iOS, Google Pay on Android. Desktop cannot
    see the phone the card will be added to, so it keeps naming both. Each row wraps its title and its
    description over as many lines as the copy needs, instead of cutting both off at the first.

    Hosts inject onTrackEvent. Get card, Login, the intro buttons and close fire button_clicked;
    opening the intro also fires Page card login intro.

    CARD_BAANX_HOSTED_UI defaults to https://ledger-ew1uat.baanxapi.com. Both apps read it with
    useEnv and hand it to the flow as oauthConfig.hostedUiUrl, so a new value moves the signup page
    to another tenant without a restart.

  • #21426 3de7317 Thanks @liviuciulinaru! - Replace the Card logout block with a More tile-button (CardMore). The tile opens the More sheet, and the sheet's Logout row ends the Card session.

  • #21438 8dd19d9 Thanks @mcayuelas-ledger! - Move Pay contact copy resolution into @features/flow-pay-contact via @shared/i18n so hosts no longer pass translated labels.

  • #21397 2fe4ef6 Thanks @mcayuelas-ledger! - Wire Pay contact tile press to send (prefill a single-address contact), add a desktop View contact overflow action, and render Lumen MenuTrigger render props in the shared web passthrough stub.

  • #21028 9b15a72 Thanks @ooke-ledger! - Add the Perps deposit review step on desktop, reached from the deposit form, showing the swap and deposit details before the user confirms. The amount landing on the perps account now comes from a provider quote, since that balance has no counter value of its own.

  • #21028 bcf6eef Thanks @ooke-ledger! - Add the Perps deposit signing step on desktop, reached from the review screen. It runs on the same swap orchestration as the custom.exchange.swap handler — now extracted into a shared executeSwap — behind the perps screens, and executes against the quote the review priced against. Declining a device prompt returns to the review with the entered amount intact, rather than raising an error screen.

  • #21028 25b482d Thanks @ooke-ledger! - Title the transaction detail dialog for Perps deposits: the dialog is named "Transaction detail" and its header leads with the deposit being funded, keeping the swapped pair on its own line. Swap opens the same dialog unchanged.

  • #21028 70036b1 Thanks @ooke-ledger! - Close the Perps deposit flow with a transaction signed screen, from which the user can follow the deposit on the status of the swap that funds it.

  • #21380 59ea8fb Thanks @francois-guerin-ledger! - chore(cosmos): remove Ledger validator as the default one for Osmosis

  • #21295 6980e49 Thanks @sarneijim! - Log Segment identify calls (success or failed) in the desktop analytics debug overlay

  • #21028 93251f5 Thanks @ooke-ledger! - Add the perps deposit amount form, so a deposit requested by the live app collects its funding account and amount before the review step

  • #21240 1cb4dbe Thanks @YazhuEth! - Persist Solana stakingResources through the generic coin framework, and revive accounts still holding the legacy solanaResources blob

  • #21194 2bd6a1c Thanks @liviuciulinaru! - Refresh Baanx Pay Card sessions after a 401, and keep the credentials out of every reader of redux.

    The two OAuth2 grants are RTK Query endpoints again. Both opt out of the Bearer and out of the
    renewal, both run with track: false, so no session becomes a cache entry, and neither has a hook.

    The desktop redux logger and both DevTools configurations now strip every Card action, which also
    closes a live leak: the code exchange logs its code and its code verifier in production, into the
    file users attach to a support ticket.

  • #21430 5b546c5 Thanks @claudiiafg! - Remove unused PrefillAddAddressFlowRoot and the shared prefill listener store. Send now owns the prefilled add-address session via startWithPrefilled.

  • #21493 475499d Thanks @mcayuelas-ledger! - Extract Pay card persistence from the desktop db middleware into a dedicated helper

  • #21478 f83a8e2 Thanks @semeano! - Update memo tooltip

  • #21650 349c522 Thanks @lysyi3m! - Add an error message for UnexpectedGetBalanceError

    @ledgerhq/coin-tezos reports this error when a token balance cannot be retrieved, so Send Max
    no longer claims the account has insufficient funds during an indexer outage. Without a
    translation the send flow fell back to rendering the raw error name.

  • #21392 2df85eb Thanks @dilaouid! - feat(send): add skip memo screen in the send flow

  • #21411 f670d92 Thanks @claudiiafg! - Fix theme reverting to dark when navigating from My Ledger to Contacts

  • #21326 9fb98ab Thanks @aussedatlo! - Drive the XRP app through the Device Management Kit behind the ldmkXrpSigner feature flag, keeping hw-app-xrp as the fallback

  • #21465 9683837 Thanks @dilaouid! - feat(tracking): add tracking contact send flow lwd

Patch Changes