pull-level
Advanced tools
Comparing version 1.1.12 to 1.2.0
@@ -36,3 +36,3 @@ var pull = require('pull-stream') | ||
opts = opts || {} | ||
if(!opts.tail) | ||
if(!(opts.tail || opts.live)) | ||
return read(db, opts) | ||
@@ -39,0 +39,0 @@ |
{ | ||
"name": "pull-level", | ||
"description": "pull-stream interface to levelup", | ||
"version": "1.1.12", | ||
"version": "1.2.0", | ||
"homepage": "https://github.com/dominictarr/pull-level", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -26,3 +26,3 @@ | ||
pull( | ||
l.read(db, {tail: true, onSync: function () { | ||
l.read(db, {live: true, onSync: function () { | ||
console.log('SYNC') | ||
@@ -29,0 +29,0 @@ sync = true |
@@ -22,3 +22,3 @@ | ||
pull( | ||
l.read(db, {tail: true, onSync: function () { | ||
l.read(db, {live: true, onSync: function () { | ||
console.log('sync') | ||
@@ -25,0 +25,0 @@ sync = true |
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
12435