Skip to content

fix(cli): filter unsupported x402 payment offers - #177

Merged
nkavian merged 1 commit into
inflowpayai:mainfrom
nkavian:fix/x402-cli-offer-filtering
Oct 22, 2026
Merged

nkavian merged 1 commit into
inflowpayai:mainfrom
nkavian:fix/x402-cli-offer-filtering

Conversation

@nkavian

@nkavian nkavian commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Exclude offers identified by extra.name: "GatewayWalletBatched" from inspect, x402 inspect, and x402 pay, alongside the existing Permit2 filtering.
  • Preserve ordinary offers, caller-owned data, signing context, and raw x402 decode output.
  • Explain unsupported responses using the existing warning field and error codes.
  • Update @inflowpayai/x402-buyer to the published 0.11.2 release in the CLI and core package declarations and lockfile.
  • Update command documentation and include a patch changeset.

Verification

  • pnpm install --frozen-lockfile --ignore-scripts
  • INFLOW_WEB_STAGING=0 pnpm build
  • INFLOW_WEB_STAGING=0 pnpm verify — formatting, type checking, lint, full tests, changed-line coverage, TypeDoc, and build
  • git diff --check

Built-binary tests use local HTTP servers and the installed Node SDK to verify selection and transaction requests, rejection before approval, both inspection commands, mixed MPP responses, and unchanged raw decoding. Terminal-rendering tests verify the explanatory messages.

No timeout-policy, seller, facilitator, or credential changes. No live payments. Linux packaging checks remain for hosted CI.

@nkavian
nkavian force-pushed the fix/x402-cli-offer-filtering branch from 0978aeb to a885f18 Compare October 22, 2026 04:17
@codecov

codecov Bot commented Oct 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@nkavian
nkavian force-pushed the fix/x402-cli-offer-filtering branch from a885f18 to 207932e Compare October 22, 2026 05:32
@nkavian
nkavian merged commit 7838bed into inflowpayai:main Oct 22, 2026
2 checks passed
@nkavian
nkavian deleted the fix/x402-cli-offer-filtering branch October 22, 2026 05:39
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