Skip to content

Conversation

@Justkant
Copy link
Collaborator

BREAKING CHANGE: The useWalletAPIServer React hook has been removed from @ledgerhq/wallet-api-server (v3.0.0). Users should instantiate WalletAPIServer directly using the constructor or implement their own React hook.

Changes:

  • Remove useWalletAPIServer hook and react.ts file from server package
  • Remove React peer dependencies from package.json
  • Update documentation to reflect removal and provide migration guide
  • Update examples to use WalletAPIServer constructor directly
  • Remove setAccounts() and setCurrencies() references (v2.0.0 changes)
  • Add callouts explaining new account.list and currency.list handler requirements
  • Update Ledger Live integration docs to clarify custom hook implementation

Migration:

  • Use WalletAPIServer constructor directly for simple use cases
  • Implement custom React hook for advanced state management (see Ledger Live example)

BREAKING CHANGE: The useWalletAPIServer React hook has been removed from
@ledgerhq/wallet-api-server (v3.0.0). Users should instantiate WalletAPIServer
directly using the constructor or implement their own React hook.

Changes:
- Remove useWalletAPIServer hook and react.ts file from server package
- Remove React peer dependencies from package.json
- Update documentation to reflect removal and provide migration guide
- Update examples to use WalletAPIServer constructor directly
- Remove setAccounts() and setCurrencies() references (v2.0.0 changes)
- Add callouts explaining new account.list and currency.list handler requirements
- Update Ledger Live integration docs to clarify custom hook implementation

Migration:
- Use WalletAPIServer constructor directly for simple use cases
- Implement custom React hook for advanced state management (see Ledger Live example)
@Justkant Justkant requested review from a team November 19, 2025 13:42
@Justkant Justkant self-assigned this Nov 19, 2025
@changeset-bot
Copy link

changeset-bot bot commented Nov 19, 2025

🦋 Changeset detected

Latest commit: 2514d52

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

This PR includes changesets to release 4 packages
Name Type
@ledgerhq/wallet-api-server Major
@ledgerhq/wallet-api-simulator Patch
@ledgerhq/wallet-api-tools Patch
@ledgerhq/client-nextjs 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
Copy link

vercel bot commented Nov 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
wallet-api-wallet-api-tools Ready Ready Preview Comment Nov 19, 2025 1:43pm

@Justkant Justkant merged commit 2cb66fc into main Nov 19, 2025
11 checks passed
@Justkant Justkant deleted the refactor/server-react branch November 19, 2025 13:57
@github-actions github-actions bot mentioned this pull request Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants