Skip to content

feat: support advertised tempo charge modes#338

Merged
brendanjryan merged 3 commits intowevm:mainfrom
brendanjryan:brendan/tempo-supported-modes-wevm
Apr 14, 2026
Merged

feat: support advertised tempo charge modes#338
brendanjryan merged 3 commits intowevm:mainfrom
brendanjryan:brendan/tempo-supported-modes-wevm

Conversation

@brendanjryan
Copy link
Copy Markdown
Collaborator

@brendanjryan brendanjryan commented Apr 14, 2026

Summary

  • add supportedModes to the Tempo charge request schema and serialize it into methodDetails
  • negotiate client submission mode from the server-advertised modes while preserving the existing default preference order
  • reject hash or transaction credentials on the server when the challenge did not advertise the corresponding mode

Context

This matches the Tempo charge spec update in tempoxyz/mpp-specs#243, where:

  • pull maps to type="transaction" credentials
  • push maps to type="hash" credentials
  • omitting supportedModes means both modes are supported for back-compat

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 14, 2026

Open in StackBlitz

npm i https://pkg.pr.new/mppx@338

commit: fd4ae77

@brendanjryan brendanjryan merged commit e81f45c into wevm:main Apr 14, 2026
8 checks passed
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.

2 participants