From 40485e96228747b0a46f2f6985cc1ce7a7e989d4 Mon Sep 17 00:00:00 2001 From: Dorian Date: Sat, 14 Feb 2026 11:25:27 +0000 Subject: [PATCH] feat: enhance Amber login flow with unsigned event management - Updated the AuthModal to reset the amberUnsignedEvent state during various phases of the login process. - Improved handling of the unsigned NIP-98 event for better reuse during signing. - Enhanced error handling to ensure the correct event data is used when authenticating with Amber. These changes streamline the Amber login experience and improve state management for the signing process. --- src/components/AuthModal.vue | 99 +++++++++++++++++++++--------------- 1 file changed, 58 insertions(+), 41 deletions(-) diff --git a/src/components/AuthModal.vue b/src/components/AuthModal.vue index 8ac39b8..90b7504 100644 --- a/src/components/AuthModal.vue +++ b/src/components/AuthModal.vue @@ -117,7 +117,7 @@ Continue