Comparing version 1.0.4 to 1.0.5
@@ -70,3 +70,3 @@ var util = require('util') | ||
} else { | ||
d.confirm(collection); | ||
d.resolve(collection); | ||
} | ||
@@ -85,5 +85,7 @@ }); | ||
if (err || !data) { | ||
console.error('Channel._handleNext', self.name, err, data); | ||
self.cursor.close(); | ||
self.emit('error', err ? err : new Error('no data')); | ||
} else { | ||
console.log('Channel._handleNext', self.name, data); | ||
if (data.type) self.emit(data.type, data); | ||
@@ -90,0 +92,0 @@ |
{ | ||
"name": "vubsub", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Pub/Sub for Node.js and MongoDB", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/vivocha/vubsub", |
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
9440
182