Expand 35 modules across encoding, consensus, experimental, messaging, pear, storage, and supercomputer APIs.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-21 03:46:02 -04:00
co-authored by Cursor
parent 5097df5c22
commit ff129d56b0
35 changed files with 237 additions and 2 deletions
@@ -118,6 +118,15 @@ class HyperP2PMirrorRealm extends EventEmitter {
return { realmA: this.clearRealm('A'), realmB: this.clearRealm('B') }
}
clearAll () {
return this.clearBoth()
}
writeBatch (realm, entries) {
if (!Array.isArray(entries)) throw new Error('entries array required')
return entries.map((e) => this.write(realm, e.key, e.value))
}
hasDiff (key) {
return this.diffKeys().includes(String(key))
}