Commit ba40e87
feat: auto-register X402 + MPP protocol handlers by default
protocolHandlers now defaults to [X402ProtocolHandler, MPPProtocolHandler]
instead of empty array. Developers no longer need to manually configure
protocol support — all protocols work out of the box.
ATXP-MCP doesn't need a handler — it's the native MCP payment flow that
runs as the fallback when no protocol handler matches.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b88d870 commit ba40e87
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
25 | 33 | | |
26 | 34 | | |
27 | 35 | | |
| |||
110 | 118 | | |
111 | 119 | | |
112 | 120 | | |
113 | | - | |
| 121 | + | |
114 | 122 | | |
115 | 123 | | |
116 | 124 | | |
| |||
132 | 140 | | |
133 | 141 | | |
134 | 142 | | |
135 | | - | |
| 143 | + | |
136 | 144 | | |
137 | 145 | | |
138 | 146 | | |
| |||
0 commit comments