From a07fa3f7ba29196b4b6e159fcef5f6bdeb58f555 Mon Sep 17 00:00:00 2001 From: Danish Arora Date: Thu, 18 Sep 2025 09:52:29 +0530 Subject: [PATCH] fix: delegation reset + verification auth msg --- src/components/ui/delegation-step.tsx | 8 ++- src/contexts/AuthContext.tsx | 3 +- src/hooks/actions/useAuthActions.ts | 12 ++-- src/lib/database/LocalDatabase.ts | 29 ++++++-- src/lib/delegation/crypto.ts | 5 +- src/lib/delegation/index.ts | 97 +++++++++++++++++++++++++++ src/lib/utils/MessageValidator.ts | 20 +++++- 7 files changed, 153 insertions(+), 21 deletions(-) diff --git a/src/components/ui/delegation-step.tsx b/src/components/ui/delegation-step.tsx index 0c97535..b521e4c 100644 --- a/src/components/ui/delegation-step.tsx +++ b/src/components/ui/delegation-step.tsx @@ -212,7 +212,13 @@ export function DelegationStep({ {delegationInfo?.isValid && (