Comparing version 0.3.5 to 0.3.7
@@ -35,3 +35,3 @@ var WebSocket = require('ws'); | ||
this.getApiByName('login_api', function() {}); | ||
//this.getApiByName('follow_api', function() {}); | ||
this.getApiByName('follow_api', function() {}); | ||
this.getApiByName('network_broadcast_api', function() {}); | ||
@@ -850,4 +850,7 @@ callback(); | ||
}, function(err, data) { | ||
if (iterator == data.id) callback(err, data.result); | ||
}); | ||
if (iterator == data.id) { | ||
this.getApiByName('network_broadcast_api', function() {}); | ||
callback(err, data.result); | ||
} | ||
}.bind(this)); | ||
}; | ||
@@ -854,0 +857,0 @@ |
{ | ||
"name": "steem", | ||
"version": "0.3.5", | ||
"version": "0.3.7", | ||
"description": "Steem.js the JavaScript API for Steem blockchain", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -24,1 +24,7 @@ var steem = require('./index'); | ||
}); | ||
steem.api.streamOperations(function(err, result) { | ||
if (!err && result[1].author == 'fabien') { | ||
console.log(result); | ||
} | ||
}); |
61313
1018