feat: add replay tools to payment debugger#357
Conversation
|
@dvansari65 is attempting to deploy a commit to the Solana Foundation Team on Vercel. A member of the Team first needs to authorize it. |
| } | ||
|
|
||
| function formatHeaderDetail(name: string, value: string): string { | ||
| return `${name}: ${truncate(redactHeaderValue(name, value), 120)}`; |
There was a problem hiding this comment.
hey @dvansari65!
In my mind, the whole point of this UI is to help debugging payments, specifically the information that are being redacted here.
What was the rationale motivating this move?
There was a problem hiding this comment.
In my mind, the whole point of this UI is to help debugging payments- yes
There was a problem hiding this comment.
yes to help debugging payments
There was a problem hiding this comment.
Built a replay and debugging interface for captured HTTP flows, making it easier to inspect and troubleshoot requests. Added support for viewing raw requests and responses, replaying requests as curl or HTTPie commands, and automatically redacting sensitive payment-related headers for safer debugging.
Summary
add replay tooling to the Payment Debugger with copy actions for curl, HTTPie, and pay fetch
add raw Request and Response tabs for inspecting captured HTTP traffic
redact payment-sensitive headers in replay output and raw views