Complete module API expansion: snapshot() on all remaining modules.
Adds snapshot(), clearAll aliases, and batch helpers across storage (hyperbee, hypercore, hyperdrive, autobase), indexes, pear-platform, trust, routing intent-router, and temporal-index. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -107,6 +107,10 @@ class HyperP2PCoreSeedPolicy extends EventEmitter {
|
||||
return n
|
||||
}
|
||||
|
||||
snapshot () {
|
||||
return { policies: this._policies.size }
|
||||
}
|
||||
|
||||
getStats () {
|
||||
return coreStats(this._stats, PROTOCOL, {
|
||||
policyCount: this._policies.size,
|
||||
|
||||
Reference in New Issue
Block a user