fix: drop chrome.alarms permission (0.0.30 release)#64
Merged
BitHighlander merged 1 commit intomasterfrom May 1, 2026
Merged
Conversation
Chrome Web Store update prompts users on permission additions, and `alarms` was added in #55 just to keep the 45s post-broadcast drop-check firing across service-worker idle eviction. The drop-check is diagnostic UX (warns the user when a tx isn't propagating), not load-bearing for tx safety — the 8s check still uses setTimeout (< 30s, always fires), and during active dApp interaction the SW is kept warm by block-polling so 45s setTimeout fires in the common case anyway. When the SW idles immediately after broadcast, we miss the 45s warning; the tx outcome is unchanged. Removes: - alarms permission from chrome-extension/manifest.js - chrome.alarms.create + onAlarm listener in ethereumHandler - DROP_CHECK_ALARM_PREFIX constant + name-encoded delay parsing Bumps to 0.0.30. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Chrome Web Store update gates on permission additions — `alarms` was added in #55 to keep the 45s post-broadcast drop-check firing across MV3 service-worker idle eviction. The drop-check is diagnostic UX, not load-bearing for tx safety:
Trading a rare diagnostic warning for not gating Chrome Web Store rollout on user re-consent.
What's removed
`scheduleDropCheck` becomes a one-liner: `setTimeout(performDropCheck, delayMs)`.
Version
Bumps to 0.0.30 (since 0.0.29 merge already landed on master). This is the version that ships to the Web Store.
Files
Test plan
🤖 Generated with Claude Code