hypercore-protocol
Advanced tools
Comparing version 6.7.1 to 6.8.0
@@ -112,3 +112,3 @@ var stream = require('readable-stream') | ||
if (this._localFeeds.length >= 128) { | ||
if (this._localFeeds.length >= 256) { | ||
this._tooManyFeeds() | ||
@@ -332,3 +332,3 @@ return null | ||
if (id >= 128) return this._tooManyFeeds() | ||
if (id >= 256) return this._tooManyFeeds() | ||
while (this._remoteFeeds.length < id) this._remoteFeeds.push(null) | ||
@@ -442,3 +442,3 @@ | ||
Protocol.prototype._tooManyFeeds = function () { | ||
this.destroy(new Error('Only 128 feeds currently supported. Open a Github issue if you need more')) | ||
this.destroy(new Error('Only 256 feeds currently supported. Open a Github issue if you need more')) | ||
} | ||
@@ -445,0 +445,0 @@ |
{ | ||
"name": "hypercore-protocol", | ||
"version": "6.7.1", | ||
"version": "6.8.0", | ||
"description": "Stream that implements the hypercore protocol", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |