diff --git a/js/nostr.js b/js/nostr.js index 502ea32a..ecfaa825 100644 --- a/js/nostr.js +++ b/js/nostr.js @@ -4363,6 +4363,7 @@ class NostrClient { const tools = await ensureNostrTools(); const SimplePool = resolveSimplePoolConstructor(tools); + if (typeof SimplePool !== "function") { if (isDevMode && tools && typeof tools === "object") { const availableKeys = Object.keys(tools).join(", ");