hirosystems / connect

A library for building excellent user experiences with Stacks.
https://connect.stacks.js.org
MIT License
76 stars 40 forks source link

fix(ledger): missing stx address prop #289

Closed kyranjamie closed 1 year ago

kyranjamie commented 1 year ago

Per this report in https://github.com/hirosystems/stacks-wallet-web/issues/2906, we found that the active STX address a user authed with wasn't being passed to wallet.

We don't need the hasAppPrivateKey check before the getStxAddress call for Ledger. This has been removed, so the code is shared between software/ledger wallets, so that the default key is no longer omitted.

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: b2032354ccc5fc109f86074de8b7f02654cae97d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | --------------------- | ----- | | @stacks/connect | Patch | | @stacks/connect-react | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
connect-docs ✅ Ready (Inspect) Visit Preview Nov 28, 2022 at 9:27AM (UTC)