diff --git a/package.json b/package.json index f6e9f8b7a1..12da2718b5 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "length-prefixed-stream": "^1.6.0", "protons": "^1.0.1", "pull-pushable": "^2.2.0", - "time-cache": "^0.3.0" + "time-cache": "~0.3.0" }, "contributors": [ "Vasco Santos " diff --git a/src/index.js b/src/index.js index c2f5a3aa2e..09f52559e2 100644 --- a/src/index.js +++ b/src/index.js @@ -31,7 +31,7 @@ class PubsubBaseProtocol extends EventEmitter { this.multicodec = multicodec this.libp2p = libp2p this.started = false - + /** * Map of topics to which peers are subscribed to *