Comparing version 0.2.16 to 0.2.17
@@ -8,2 +8,3 @@ var stream = require('stream') | ||
, PubSubConnection = require('../auth/pubsub') | ||
, Message = require('../message') | ||
@@ -133,4 +134,7 @@ , Transform = stream.Transform | ||
var expected = 0 | ||
, ig = this | ||
, stream = this | ||
, obj = null | ||
, complete = _.after(chunk.length, function(){ | ||
done(); | ||
}) | ||
; | ||
@@ -144,11 +148,19 @@ for( var i in chunk){ | ||
console.log('media response',res.body); | ||
var data = res.body.data; | ||
for( var j in data){ | ||
stream.push( | ||
new Message(stream,data) | ||
); | ||
console.log( data); | ||
} | ||
complete(); | ||
}); | ||
console.log( chunk[i]); | ||
break; | ||
default: | ||
complete(); | ||
break; | ||
} | ||
} | ||
done(); | ||
@@ -155,0 +167,0 @@ }; |
{ | ||
"name": "socializr", | ||
"version": "0.2.16", | ||
"version": "0.2.17", | ||
"description": "Read data streams from several social networks.", | ||
@@ -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
49255
1754