fixed polling bug 0.1.2

This commit is contained in:
Marek Kotewicz 2015-03-11 14:28:52 +01:00
parent 26f268f50b
commit d509360694
7 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
{
"name": "ethereum.js",
"namespace": "ethereum",
"version": "0.1.1",
"version": "0.1.2",
"description": "Ethereum Compatible JavaScript API",
"main": [
"./dist/ethereum.js",

2
dist/ethereum.js vendored
View File

@ -2656,7 +2656,7 @@ var requestManager = function() {
var poll = function () {
polls.forEach(function (data) {
// send async
send(data.data, function(result){
send(data.data, function(error, result){
if (!(result instanceof Array) || result.length === 0) {
return;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -136,7 +136,7 @@ var requestManager = function() {
var poll = function () {
polls.forEach(function (data) {
// send async
send(data.data, function(result){
send(data.data, function(error, result){
if (!(result instanceof Array) || result.length === 0) {
return;
}

View File

@ -1,7 +1,7 @@
/* jshint ignore:start */
Package.describe({
name: 'ethereum:js',
version: '0.1.1',
version: '0.1.2',
summary: 'Ethereum JavaScript API, middleware to talk to a ethreum node over RPC',
git: 'https://github.com/ethereum/ethereum.js',
// By default, Meteor will default to using README.md for documentation.

View File

@ -1,7 +1,7 @@
{
"name": "ethereum.js",
"namespace": "ethereum",
"version": "0.1.1",
"version": "0.1.2",
"description": "Ethereum JavaScript API, middleware to talk to a ethreum node over RPC",
"main": "./index.js",
"directories": {