ipfs-pubsub-peer-monitor
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "ipfs-pubsub-peer-monitor", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Monitor peers joining and leaving an IPFS PubSub topic", | ||
@@ -5,0 +5,0 @@ "main": "src/ipfs-pubsub-peer-monitor.js", |
@@ -62,3 +62,4 @@ 'use strict' | ||
peers = await runWithDelay(pubsub.peers, topic, interval) | ||
IpfsPubsubPeerMonitor._emitJoinsAndLeaves(new Set(previousPeers), new Set(peers), eventEmitter) | ||
if (this._started) | ||
IpfsPubsubPeerMonitor._emitJoinsAndLeaves(new Set(previousPeers), new Set(peers), eventEmitter) | ||
} catch (e) { | ||
@@ -65,0 +66,0 @@ if (this._started) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10144
237