chore: version packages#549
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
3586523 to
fdfa052
Compare
fdfa052 to
2588916
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
mppx@0.8.0
Minor Changes
daab9b8: Breaking: Collapsed
McpClient.wrapand the in-placewrapClientvariant into a singleMcpClient.wrapAPI on themppx/mcp/cliententrypoint.McpClient.wrapnow adds payment handling to an MCP SDK client in place: the client is mutated and the same reference is returned, so surfaces that keep using the original client become payment-aware (e.g. when another SDK owns the client reference, like Cloudflare Agents). The MCP SDKcallTool(params, resultSchema?, options?)signature is preserved, payment challenges are handled whether they arrive as payment-required errors or as tool results carryingorg.paymentauth/payment-requiredmetadata, and the config acceptsorderChallengesandpaymentPreferencesalongsidemethodsandonPaymentRequired. Callingwrapon the same client again replaces its payment configuration.Migration: move per-call options from the second argument to the third —
mcp.callTool(params, undefined, { context, timeout })— and replace the approval-first overloadmcp.callTool(onPaymentRequired, params, options)with theonPaymentRequiredoption:mcp.callTool(params, undefined, { onPaymentRequired })(passnullto bypass a configured hook). The MCP entrypoints moved tomppx/mcp/clientandmppx/mcp/server; themppx/mcp-sdk/*specifiers remain as aliases.Patch Changes
WWW-Authenticaterequest parameters.wallet_authorizeChallengesupport.0x78envelope, for both local and hosted (feePayerUrl) fee payers. This catches reverts in the exact transaction the sponsor pays gas for, and fails closed (no broadcast) when the simulation reverts.tempo.common()as an explicit alias for the Tempo charge and session method bundle.TransferWithMemolog credits the intended recipient for the expected amount with the generated settlement memo, instead of trusting transaction success alone. Transfers held by a receiver's receive policy (redirected toReceivePolicyGuard) are now rejected rather than treated as paid, and the memo binding excludes unrelated transfer effects in the same receipt. Documented that the optimisticwaitForConfirmation: falsemode cannot prove recipient credit under T6.wallet_authorizeChallengesupport. JSON-RPC accounts now delegate Tempo charge and session challenges to wallets that advertise MPP support viawallet_getCapabilities, falling back to local signing otherwise.Prooftyped-data now includes anaccountfield (domain version bumped to3), so a proof signature commits to a specific payer address and can no longer be replayed against a different account — including across an access key authorized for multiple accounts. Exposed the canonical proof contract viatempo.Proof(types,domain,primaryType,message,typedData,hash) and added deterministic conformance vectors covering the wallet-binding property.