Skip to content

Expose isWalletRejection from the wallet entry point - #586

Merged
stephanieefeakpokrire-droid merged 1 commit into
trustflow-protocol:mainfrom
faizansaiyed123:fix/issue-567
Oct 22, 2026
Merged

stephanieefeakpokrire-droid merged 1 commit into
trustflow-protocol:mainfrom
faizansaiyed123:fix/issue-567

Conversation

@faizansaiyed123

Copy link
Copy Markdown
Contributor

isWalletRejection already exists in src/wallet/types.ts, but it isn't exported from @trustflow/sdk/wallet, so consumers can't import it directly.

This change re-exports the existing helper and adds a regression test to make sure it works through the public wallet import in both CommonJS and ESM. I’ve also updated the API docs and changelog.

Closes #567

@faizansaiyed123

Copy link
Copy Markdown
Contributor Author

Hi @meshackyaro, the CI and Security Audits workflows on this PR are showing action_required, so they haven't run yet. Could you approve the pending workflow runs when you get a chance? Thanks!

@stephanieefeakpokrire-droid
stephanieefeakpokrire-droid merged commit eda0af2 into trustflow-protocol:main Oct 22, 2026
meshackyaro added a commit that referenced this pull request Oct 23, 2026
…llet entry point"

This reverts commit eda0af2, reversing
changes made to 1760907.
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.

isWalletRejection() is unreachable from @trustflow/sdk/wallet despite being designed as a public rejection-detection utility

3 participants