Comparing version 2.0.1 to 2.1.0
@@ -38,3 +38,7 @@ const Node = require('./lib/node') | ||
this.metadata = opts.metadata || null | ||
this.feed = opts.feed || hypercore(storage, key, {sparse: opts.sparse}) | ||
this.feed = opts.feed || hypercore(storage, key, { | ||
sparse: opts.sparse, | ||
maxRequests: opts.maxRequests | ||
// TODO: pass everthing *except* for valueEncoding | ||
}) | ||
this.opened = false | ||
@@ -189,3 +193,2 @@ this.valueEncoding = opts.valueEncoding ? codecs(opts.valueEncoding) : null | ||
if (seq < 1) return process.nextTick(cb, null, null) | ||
const self = this | ||
@@ -192,0 +195,0 @@ this.feed.get(seq, onnode) |
{ | ||
"name": "hypertrie", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "Distributed single writer key/value store", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
75807
2413