Skip to content

fix(freighter): sign with user-action timeout and distinct rejection/timeout errors - #333

Merged
Valreb001 merged 1 commit into
Tx-wats:mainfrom
jhaydeeee-web:fix/issue-184
Oct 21, 2026
Merged

Valreb001 merged 1 commit into
Tx-wats:mainfrom
jhaydeeee-web:fix/issue-184

Conversation

@jhaydeeee-web

Copy link
Copy Markdown
Contributor

Closes #184

Summary

6cf309d: fix(freighter): sign with user-action timeout and distinct rejection/timeout errors

Adds signWithFreighter to lib/freighter.ts (it did not exist on main). It wraps signTransaction in the 120 s user-action timeout instead of the 2.5 s probe timeout, maps a declined or failed signature to FreighterRejectedError, and maps an unsettled request to FreighterTimeoutError. Unit tests were not added.

@drips-wave

drips-wave Bot commented Oct 21, 2026

Copy link
Copy Markdown

@jhaydeeee-web Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Valreb001
Valreb001 merged commit 49a5237 into Tx-wats:main Oct 21, 2026
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.

signWithFreighter Fails Any Signature That Takes Longer Than 2.5 Seconds

2 participants