Skip to content

docs: sync mppx 0.13.1 - #1052

Merged
brendanjryan merged 1 commit into
mainfrom
automation/daily-mppx-docs-sync-20261005
Oct 5, 2026
Merged

brendanjryan merged 1 commit into
mainfrom
automation/daily-mppx-docs-sync-20261005

Conversation

@brendanjryan

Copy link
Copy Markdown
Collaborator

Motivation

Keep the MPP documentation aligned with mppx 0.13.1 and its current public interfaces and security defaults.

Summary

  • Bump the documented mppx dependency and sync bookmark to 0.13.1
  • Update Stripe, Session, middleware, transport, WebSocket, Node adapter, Receipt, and x402 references
  • Remove examples for deprecated legacy Session exports

Key design considerations

  • Require one shared atomic store for Stripe-backed replay protection
  • Lead with secure route binding and current Session APIs
  • Keep examples typechecked and aligned with mppx defaults
import { Store, stripe } from "mppx/server"

declare const store: Store.AtomicStore
const payments = stripe.create({ client, networkId, store })

@brendanjryan brendanjryan added documentation Improvements or additions to documentation sdk-docs dependencies Pull requests that update a dependency file labels Oct 5, 2026
@vercel

vercel Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
mpp Ready Ready Preview Oct 5, 2026 6:47pm UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-05T18:50:44.447719Z 7c55d43 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedmppx@​0.12.0 ⏵ 0.13.199 +110010098100

View full report

@socket-security

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Priority Alert  (click "▶" to expand/collapse) Action
Low priority
Recently published: npm mppx published 3 days ago

Location: Package overview

From: package.json → npm/mppx@0.13.1

ℹ Read more on: This package | This alert | What are recently published artifacts?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should either be allowlisted to allow recently-published versions, or an older version should be used instead.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/mppx@0.13.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn

View full report

@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: 7c55d43ca6

ℹ️ 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".

Override the local fee-sponsor policy used when the server co-signs Tempo charge transactions. Remote fee payer services enforce their own policy.

`allowKeyAuthorization` defaults to `true`. Set it to `false` when this sponsor must reject transactions that install a new access key.
`allowKeyAuthorization` defaults to `false`. Set it to `true` only when this sponsor may fund transactions that install a new access key.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Update the overview to match the sponsor default

For a local tempo.charge fee payer, this new text correctly says allowKeyAuthorization defaults to false, but src/pages/payment-methods/tempo/index.mdx:105 still says local sponsors allow access-key installation by default and recommends setting the option to false to reject it. Users following that overview can omit the now-required true opt-in and have sponsored access-key transactions rejected, so update the overview before marking the 0.13.1 documentation sync complete.

AGENTS.md reference: AGENTS.md:L65-L67

Useful? React with 👍 / 👎.

#### Accept standard x402 Credentials

Keep the default `routeBinding: 'resource'` for compatibility with standard x402 clients. Set `routeBinding: 'required'` when every x402 Credential for a scoped route must include the `mppx` extension and a route-bound nonce.
Keep the default `routeBinding: 'required'` so every x402 Credential for a scoped route includes the `mppx` extension and a route-bound nonce. Set `routeBinding: 'resource'` only when scoped routes must accept standard x402 clients that don't implement the extension.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Remove stale standard-client claims after changing the default

With the new routeBinding: 'required' default, the preceding Express example receives automatically derived route metadata and therefore rejects standard x402 Credentials that lack the mppx extension. However, line 196 still says standard clients don't need that extension, and line 219 still says the default compares the echoed resource URL. This can send users into a repeated 402 flow; either set routeBinding: 'resource' in the primary example or update both stale statements to match the secure default.

AGENTS.md reference: AGENTS.md:L65-L67

Useful? React with 👍 / 👎.

@brendanjryan
brendanjryan merged commit 45392a8 into main Oct 5, 2026
16 checks passed
@brendanjryan
brendanjryan deleted the automation/daily-mppx-docs-sync-20261005 branch October 5, 2026 18:52

This branch was successfully deployed

1 active deployment
Preview — 7c55d43c Deployed Oct 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config dependencies Pull requests that update a dependency file docs documentation Improvements or additions to documentation sdk-docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant