mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-01 02:12:26 +00:00
chore(lint): track relocated signer handshake in pool-access allowlist
js/nostr/signerRemoteHandshake.js inherited SignerManager's existing pool.sub
usage during the file-size decomposition (commit 56d04cd6). Add it to the
direct-pool-access migration allowlist so the relocation is net-neutral — this
takes lint:pool-access from 2 ungrandfathered violations down to 1.
Pre-existing (NOT from this work): js/services/commentThreadService.js still uses
direct pool access and was never allowlisted; lint:pool-access has been red on it
since before this branch's refactors. Route it (and this file) through
subscriptionManager when next touched.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
1 parent
56d04cd61a
commit
a48d79fcad
1 file changed
+4
@@ -52,6 +52,10 @@ const GRANDFATHERED = new Set([
|
||||
"js/nostr/nip46Connector.js",
|
||||
"js/nostr/reactionEvents.js",
|
||||
"js/nostr/relayBatchFetcher.js",
|
||||
// Inherited verbatim from SignerManager._waitForRemoteSignerHandshake during
|
||||
// file-size decomposition (the pool.sub usage pre-dates this split). Migration
|
||||
// target like the rest — route through subscriptionManager when touched.
|
||||
"js/nostr/signerRemoteHandshake.js",
|
||||
"js/nostr/viewEvents.js",
|
||||
"js/nostr/watchHistory.js",
|
||||
"js/payments/platformAddress.js",
|
||||
|
||||
Reference in new issue
Block a user