Skip to content

docs: import the payment-handler builders the UCP example uses - #145

Merged
vvillait88 merged 1 commit into
mainfrom
docs-ucp-example-imports
Oct 3, 2026
Merged

vvillait88 merged 1 commit into
mainfrom
docs-ucp-example-imports

Conversation

@vvillait88

Copy link
Copy Markdown
Contributor

Summary

The README's identity-publishing example calls mppPaymentHandler, x402PaymentHandler and stripeSptPaymentHandler but imported only buildA2AAgentCard, buildUCPProfile and ucpA2AExtension, so the snippet failed as pasted. The import now lists all six, which the package root exports. Found in a docs audit across every repo.

Type of change

  • Bug fix (no breaking change)
  • New feature (no breaking change)
  • Breaking change (existing callers must update)
  • Docs, tests, or internal maintenance only

Public API

None. README only.

Test plan

Docs only; the three names are exported from src/index.ts.

Checklist

  • Tests cover the new behavior, and the suite passes locally (no behavior changed)
  • Lint, format, and type checks pass
  • Docs and README examples updated if the public surface changed
  • No secrets, credentials, or personal data in the diff or the tests

@vvillait88
vvillait88 merged commit ef54c56 into main Oct 3, 2026
6 checks passed
@vvillait88
vvillait88 deleted the docs-ucp-example-imports branch October 3, 2026 23:08
@vvillait88 vvillait88 mentioned this pull request Oct 4, 2026
5 of 8 tasks
vvillait88 added a commit that referenced this pull request Oct 4, 2026
## Summary

Releases 3.0.1, carrying everything merged since 3.0.0:

- the quota denial message no longer tells an agent to retry; both quota
deny sites in `core.ts` now say verification is unavailable for this
merchant and that retrying will not help (#144)
- A2A signing and transport docs and supported versions corrected (#143)
- README: the UCP example imports the payment-handler builders it uses
(#145), and UCP profile `keys[]` is informational (#142)

Also in this PR: `@agent-score/sdk` floor raised to 2.8.1, released
today.

Worked with: Varun.

Out of scope: nothing else is pending on main.

## Type of change

- [x] Bug fix (no breaking change)
- [ ] New feature (no breaking change)
- [ ] Breaking change (existing callers must update)
- [ ] Docs, tests, or internal maintenance only

## Public API

none. The denial reason code and response shape are unchanged; only the
message text differs.

## Test plan

`bun run lint`, `typecheck`, `test` (1849 passed, 4 skipped) and `build`
pass locally on this branch.

## Checklist

- [x] Tests cover the new behavior, and the suite passes locally
- [x] Lint, format, and type checks pass
- [x] Docs and README examples updated if the public surface changed
- [x] No secrets, credentials, or personal data in the diff or the tests
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