Skip to content

chore: bump @reserve-protocol/react-zapper to 2.7.2 - #1066

Draft
devin-ai-integration[bot] wants to merge 1 commit into
masterfrom
devin/1784922531-bump-react-zapper-2.7.2
Draft

chore: bump @reserve-protocol/react-zapper to 2.7.2#1066
devin-ai-integration[bot] wants to merge 1 commit into
masterfrom
devin/1784922531-bump-react-zapper-2.7.2

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

Picks up react-zapper 2.7.2, which fixes a stale price in the zap modal: the DTF price (and the selected token's price) were fetched once when the widget mounted and never refreshed — Register sets refetchOnWindowFocus: false, so nothing re-triggered them — while the quote itself refreshed every 9s. Since 2.7.1 both legs' USD values and priceImpact/truePriceImpact are computed from those Reserve prices, so on redeem the "you pay" value and the impact could be derived from a price minutes old. Both price queries now run on the quote's refreshRate, so both legs are priced from the same moment.

Dependency bump only (package.json + lockfile); no app code changes.

Link to Devin session: https://app.devin.ai/sessions/217c81a67bbd4cd381366a5adf7356d9
Requested by: @pmckelvy1

Co-Authored-By: Patrick <patrick.mckelvy@reserve.org>
@pmckelvy1 pmckelvy1 self-assigned this Jul 24, 2026
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI' or '@devin'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration
devin-ai-integration Bot marked this pull request as draft July 24, 2026 20:07
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