From 504f4dc90f44ae9ce687804bf8b46c41a8d6bdcb 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:45:13 +0000 Subject: [PATCH] Refactor: Remove unused imports in relayManager.js - Removed unused `NOTE_TYPES` from `nostrEventSchemas.js` import. - Removed unused `CACHE_POLICIES` and `STORAGE_TIERS` imports from `nostr/cachePolicies.js`. - Verified with targeted tests and lint checks. Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- js/relayManager.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/relayManager.js b/js/relayManager.js index 972f49fb..670962aa 100644 --- a/js/relayManager.js +++ b/js/relayManager.js @@ -5,8 +5,7 @@ import { requestDefaultExtensionPermissions, } from "./nostrClientFacade.js"; import { getActiveSigner } from "./nostr/index.js"; -import { buildRelayListEvent, NOTE_TYPES } from "./nostrEventSchemas.js"; -import { CACHE_POLICIES, STORAGE_TIERS } from "./nostr/cachePolicies.js"; +import { buildRelayListEvent } from "./nostrEventSchemas.js"; import { devLogger, userLogger } from "./utils/logger.js"; import { publishEventToRelays,