Skip to content

Expose routingAndLiquidityOptions on EpochIntentWidget#4

Open
Man-Jain wants to merge 1 commit into
mainfrom
feat/routing-and-liquidity-options
Open

Expose routingAndLiquidityOptions on EpochIntentWidget#4
Man-Jain wants to merge 1 commit into
mainfrom
feat/routing-and-liquidity-options

Conversation

@Man-Jain

@Man-Jain Man-Jain commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add optional routingAndLiquidityOptions prop to EpochIntentWidget (pay, swap, earn)
  • Forward presets through useIntentFlow, useEarnIntentFlow, and PaySwap/Earn widgets
  • Export RoutingAndLiquidityOptions type from the widget package
  • Update agent skill props reference

Depends on

Test plan

  • npm run build:js passes locally with linked packages
  • Pass routingAndLiquidityOptions={{ preset: "filler-single-transaction" }} in demo and verify quote path
  • Verify same preset used on quote + submit

Forward routing presets through pay, swap, and earn flows so integrators can control filler vs external liquidity paths at quote and submit time.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
epoch-widget Ready Ready Preview, Comment Jun 27, 2026 8:55pm

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.

1 participant