Expand module APIs across pear, network, experimental, and ops categories.

Add batch helpers, counts, and management utilities so modules expose consistent peer, lease, queue, and telemetry surfaces.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-21 03:22:25 -04:00
co-authored by Cursor
parent c2282bd2b9
commit dec3956846
23 changed files with 199 additions and 0 deletions
@@ -114,6 +114,10 @@ class HyperP2PMirrorRealm extends EventEmitter {
return n
}
clearBoth () {
return { realmA: this.clearRealm('A'), realmB: this.clearRealm('B') }
}
hasDiff (key) {
return this.diffKeys().includes(String(key))
}