Skip to content

docs: highlight relay integration examples - #855

Merged
brendanjryan merged 1 commit into
mainfrom
brendanjryan/highlight-relay-examples
Aug 3, 2026
Merged

docs: highlight relay integration examples#855
brendanjryan merged 1 commit into
mainfrom
brendanjryan/highlight-relay-examples

Conversation

@brendanjryan

Copy link
Copy Markdown
Collaborator

Motivation

Make the relays guide easier to scan and clarify the value of relay infrastructure.

Summary

  • Highlight the validate and broadcast integration points
  • Highlight complete Tempo relay configuration blocks
  • Refine relay overview and specification wording

Key design considerations

  • Keep highlights focused on the code users add for relay support
  • Preserve the existing examples and API behavior

@vercel

vercel Bot commented Aug 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mpp Building Building Preview Aug 3, 2026 4:04pm

Request Review

@github-actions github-actions Bot added the docs label Aug 3, 2026
@brendanjryan
brendanjryan marked this pull request as ready for review August 3, 2026 16:06
@brendanjryan
brendanjryan merged commit e20bc46 into main Aug 3, 2026
11 of 12 checks passed
@brendanjryan
brendanjryan deleted the brendanjryan/highlight-relay-examples branch August 3, 2026 16:06

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 82c764eb78

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +57 to 58
async validate({ credential, request }) { // [!code hl]
const result = await relay.validate({ credential, request }) // [!code hl]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Use block markers for the multi-line hook highlights

The validate hook now highlights two consecutive lines with separate inline markers, and the same pattern is repeated for broadcast. Multi-line highlights must instead wrap the range with // [!code hl:start] and // [!code hl:end]; otherwise this example violates the repository's documented highlighting convention.

AGENTS.md reference: AGENTS.md:L310-L313

Useful? React with 👍 / 👎.

## Author a relay

MPP does not formally define relays. It leaves payment methods, API shapes, and transports such as HTTP, JSON-RPC, and gRPC to you.
The MPP spec does not formally define relays. It leaves payment methods, API shapes, and transports such as HTTP, JSON-RPC, and gRPC to you.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Use the prescribed IETF Specification name

When referring collectively to the normative protocol documents, use the required singular name IETF Specification rather than the newly introduced “MPP spec” label, so this sentence follows the site's specification terminology.

AGENTS.md reference: AGENTS.md:L303-L305

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant