Commit b3d6d97
committed
fix(paywall): replace hardcoded USDC label with dynamic token name
Read token name from firstRequirement.extra.name with a neutral
"Token" fallback instead of hardcoding "USDC". Aligns with #1926
which takes the same approach for the server-side fallback paywall.
Affected display strings: payment header, testnet prompt, balance
display, amount row, insufficient balance error message.
This PR was prepared with the assistance of a coding agent and
reviewed by Ryan R. Fox (an actual human) before submission.1 parent 9a67807 commit b3d6d97
4 files changed
Lines changed: 13 additions & 8 deletions
File tree
- go/http
- python/x402/http/paywall
- typescript/packages/http/paywall/src/evm
- gen
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
148 | | - | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| |||
199 | 200 | | |
200 | 201 | | |
201 | 202 | | |
202 | | - | |
| 203 | + | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
206 | | - | |
| 207 | + | |
207 | 208 | | |
208 | 209 | | |
209 | 210 | | |
| |||
261 | 262 | | |
262 | 263 | | |
263 | 264 | | |
264 | | - | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
265 | 268 | | |
266 | 269 | | |
267 | 270 | | |
268 | 271 | | |
269 | 272 | | |
270 | | - | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
271 | 276 | | |
272 | 277 | | |
273 | 278 | | |
| |||
Large diffs are not rendered by default.
0 commit comments