From d5a470d2f28e150439bd177b4694a8f69a1fc249 Mon Sep 17 00:00:00 2001 From: 0xtxbi Date: Fri, 19 Dec 2025 21:47:43 +0100 Subject: [PATCH 1/2] clearer logs --- packages/ui/src/hooks/useEOADetection.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/ui/src/hooks/useEOADetection.ts b/packages/ui/src/hooks/useEOADetection.ts index d9f20e60..7a782633 100644 --- a/packages/ui/src/hooks/useEOADetection.ts +++ b/packages/ui/src/hooks/useEOADetection.ts @@ -165,13 +165,13 @@ const useEOADetection = ( const isTimeout = eoaError?.message === 'EOA_DETECTION_TIMEOUT' if (isTimeout) { - console.error('[EOA Detection]', { + console.error('[EOA Detection] timeout', { ...baseEventData, error_type: 'timeout', duration_ms: Math.round(duration) }) } else { - console.error('[EOA Detection]', { + console.error('[EOA Detection] error', { ...baseEventData, error_type: 'error', duration_ms: Math.round(duration), @@ -187,7 +187,7 @@ const useEOADetection = ( ) } } catch (error: any) { - console.error('[EOA Detection]', { + console.error('[EOA Detection] error', { ...baseEventData, error_type: 'error', error_message: error?.message || 'Unknown error', From 02199a96c29b262dcdf2b389f29b05e6dbc408ec Mon Sep 17 00:00:00 2001 From: 0xtxbi Date: Fri, 19 Dec 2025 21:48:15 +0100 Subject: [PATCH 2/2] feat: changeset --- .changeset/slimy-parents-chew.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/slimy-parents-chew.md diff --git a/.changeset/slimy-parents-chew.md b/.changeset/slimy-parents-chew.md new file mode 100644 index 00000000..f716b33b --- /dev/null +++ b/.changeset/slimy-parents-chew.md @@ -0,0 +1,5 @@ +--- +'@relayprotocol/relay-kit-ui': patch +--- + +Clearer eoa logs