diff --git a/www/js/version.json b/www/js/version.json index 222e4d0..c84fe14 100644 --- a/www/js/version.json +++ b/www/js/version.json @@ -1,5 +1,5 @@ { - "VERSION": "v0.7.83", - "VERSION_NUMBER": "0.7.83", - "BUILD_DATE": "2026-06-30T15:24:45.710Z" + "VERSION": "v0.7.84", + "VERSION_NUMBER": "0.7.84", + "BUILD_DATE": "2026-06-30T15:36:36.887Z" } diff --git a/www/ndk-worker.js b/www/ndk-worker.js index d7b4c20..7c430c3 100644 --- a/www/ndk-worker.js +++ b/www/ndk-worker.js @@ -6215,6 +6215,9 @@ async function handlePublish(requestId, event, port) { // Track current batch for progress display. Updated by the batch loop. let currentBatch = 0; let totalBatches = 0; + // Debug: track publish start time for timing analysis (defined in outer + // scope so the batch loop and silent-failure detection can access it). + const publishStartTime = Date.now(); if (isBroadcast && totalTarget > 0) { console.log(`[Worker] Broadcasting to ${allBroadcastUrls.length} relays ` + @@ -6233,9 +6236,6 @@ async function handlePublish(requestId, event, port) { latestRelay: null, }); - // Debug: track publish start time for timing analysis - const publishStartTime = Date.now(); - ndkEvent.on('relay:published', (relay) => { const url = relay?.url || String(relay || ''); if (!url) return;