Expand 35 modules across encoding, consensus, experimental, messaging, pear, storage, and supercomputer APIs.
Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -83,6 +83,15 @@ class HyperP2PSessionRotation extends EventEmitter {
|
||||
return ids.length
|
||||
}
|
||||
|
||||
clearAll () {
|
||||
return this.revokeAll()
|
||||
}
|
||||
|
||||
rotateSessionBatch (entries) {
|
||||
if (!Array.isArray(entries)) throw new Error('entries array required')
|
||||
return entries.map((e) => this.rotateSession(e.sessionId, e.newToken))
|
||||
}
|
||||
|
||||
_gossip (data) {
|
||||
if (!this._peerMsgs) return
|
||||
gossipSend(this, data)
|
||||
|
||||
Reference in New Issue
Block a user