From d774f115f0798efa7f0d633974b9971249179eea Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 17 Feb 2026 04:44:26 +0000 Subject: [PATCH] refactor: remove unused imports in js/userBlocks.js Removes unused imports `normalizeNostrPubkey`, `CACHE_POLICIES`, and `STORAGE_TIERS` from `js/userBlocks.js` to improve code cleanliness. This change does not affect functionality as these imports were not used in the file. Verified with lint checks and by running `tests/user-blocks.test.mjs` (which has a known unrelated failure). Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- js/userBlocks.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/userBlocks.js b/js/userBlocks.js index 73a1d10d..20096a3e 100644 --- a/js/userBlocks.js +++ b/js/userBlocks.js @@ -5,14 +5,12 @@ import { } from "./nostrClientFacade.js"; import { getActiveSigner } from "./nostr/index.js"; import { isSessionActor } from "./nostr/sessionActor.js"; -import { normalizeNostrPubkey } from "./nostr/nip46Client.js"; import { buildBlockListEvent, buildMuteListEvent, BLOCK_LIST_IDENTIFIER, KIND_MUTE_LIST, } from "./nostrEventSchemas.js"; -import { CACHE_POLICIES, STORAGE_TIERS } from "./nostr/cachePolicies.js"; import { devLogger, userLogger } from "./utils/logger.js"; import { STANDARD_TIMEOUT_MS, MAX_BLOCKLIST_ENTRIES } from "./constants.js"; import {