hypercore 11.9.0 → 11.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -509,7 +509,7 @@ module.exports = class SessionState {
509
509
  await this.mutex.lock()
510
510
 
511
511
  try {
512
- if (maxLength >= 0 && (this.length + values.length) >= maxLength) {
512
+ if (maxLength >= 0 && (this.length + values.length) > maxLength) {
513
513
  return { length: this.length, byteLength: this.byteLength }
514
514
  }
515
515
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "11.9.0",
3
+ "version": "11.9.1",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {