Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: thirdweb-dev/js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: thirdweb-dev/js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: greg/tool-4633-multi-step-pay-embed
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 12 files changed
  • 2 contributors

Commits on May 29, 2025

  1. 🌉 Add React hook for Bridge API with multi-step route support

    - Add useBuyPrepare hook that directly uses Bridge.Buy.prepare()
    - Support multi-step routes (Token A → Token B → Token C)
    - Update SwapScreenContent to use new hook with backwards compatibility adapter
    - Export new hook from React module
    
    This lays the foundation for complex multi-hop swaps in PayEmbed UI.
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <[email protected]>
    gregfromstl and Claude committed May 29, 2025
    Configuration menu
    Copy the full SHA
    9fdbb4a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f4ed539 View commit details
    Browse the repository at this point in the history
Loading