From 8b7d73cc35db4c6c729f74a4f88532f740eb8d28 Mon Sep 17 00:00:00 2001 From: clawbot Date: Fri, 27 Feb 2026 12:34:23 -0800 Subject: [PATCH] fix: pass UUID approval ID as string, not parseInt (closes #4) The approval ID was changed from sequential integers to crypto.randomUUID() strings for security, but the popup still called parseInt() on it, which converted the UUID to NaN. This caused every approval lookup to fail, preventing the confirmation popup from displaying pending tx/sign requests. --- src/popup/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/popup/index.js b/src/popup/index.js index 9413805..5a12180 100644 --- a/src/popup/index.js +++ b/src/popup/index.js @@ -189,7 +189,7 @@ async function init() { const params = new URLSearchParams(window.location.search); const approvalId = params.get("approval"); if (approvalId) { - approval.show(parseInt(approvalId, 10)); + approval.show(approvalId); showView("approve-site"); return; } -- 2.49.1