Fix npub normalization and improve test coverage#335
Fix npub normalization and improve test coverage#33523bsm038-Mahi wants to merge 2 commits intoshopstr-eng:mainfrom
Conversation
|
@23bsm038-Mahi is attempting to deploy a commit to the shopstr-eng Team on Vercel. A member of the Team first needs to authorize it. |
|
I've created a clean follow-up PR (#335) addressing all review feedback:
Would love your review on this one! |
|
Just a quick update — this PR is now ready for review.
This PR is intentionally kept minimal and scoped only to this issue. Please let me know if any further refinements are needed. Thanks! |
|
I've updated the client-side npub decoding to ensure strict type validation (checking decoded.type and data type), removed unsafe casting, and kept the changes minimal. |
Summary
Safely handle
router.query.npubin marketplace routing.Fix
Impact
This PR contains only relevant changes.