mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-22 11:08:33 +00:00
fixed polling bug 0.1.2
This commit is contained in:
parent
26f268f50b
commit
d509360694
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ethereum.js",
|
"name": "ethereum.js",
|
||||||
"namespace": "ethereum",
|
"namespace": "ethereum",
|
||||||
"version": "0.1.1",
|
"version": "0.1.2",
|
||||||
"description": "Ethereum Compatible JavaScript API",
|
"description": "Ethereum Compatible JavaScript API",
|
||||||
"main": [
|
"main": [
|
||||||
"./dist/ethereum.js",
|
"./dist/ethereum.js",
|
||||||
|
2
dist/ethereum.js
vendored
2
dist/ethereum.js
vendored
@ -2656,7 +2656,7 @@ var requestManager = function() {
|
|||||||
var poll = function () {
|
var poll = function () {
|
||||||
polls.forEach(function (data) {
|
polls.forEach(function (data) {
|
||||||
// send async
|
// send async
|
||||||
send(data.data, function(result){
|
send(data.data, function(error, result){
|
||||||
if (!(result instanceof Array) || result.length === 0) {
|
if (!(result instanceof Array) || result.length === 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
2
dist/ethereum.js.map
vendored
2
dist/ethereum.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/ethereum.min.js
vendored
2
dist/ethereum.min.js
vendored
File diff suppressed because one or more lines are too long
@ -136,7 +136,7 @@ var requestManager = function() {
|
|||||||
var poll = function () {
|
var poll = function () {
|
||||||
polls.forEach(function (data) {
|
polls.forEach(function (data) {
|
||||||
// send async
|
// send async
|
||||||
send(data.data, function(result){
|
send(data.data, function(error, result){
|
||||||
if (!(result instanceof Array) || result.length === 0) {
|
if (!(result instanceof Array) || result.length === 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* jshint ignore:start */
|
/* jshint ignore:start */
|
||||||
Package.describe({
|
Package.describe({
|
||||||
name: 'ethereum:js',
|
name: 'ethereum:js',
|
||||||
version: '0.1.1',
|
version: '0.1.2',
|
||||||
summary: 'Ethereum JavaScript API, middleware to talk to a ethreum node over RPC',
|
summary: 'Ethereum JavaScript API, middleware to talk to a ethreum node over RPC',
|
||||||
git: 'https://github.com/ethereum/ethereum.js',
|
git: 'https://github.com/ethereum/ethereum.js',
|
||||||
// By default, Meteor will default to using README.md for documentation.
|
// By default, Meteor will default to using README.md for documentation.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ethereum.js",
|
"name": "ethereum.js",
|
||||||
"namespace": "ethereum",
|
"namespace": "ethereum",
|
||||||
"version": "0.1.1",
|
"version": "0.1.2",
|
||||||
"description": "Ethereum JavaScript API, middleware to talk to a ethreum node over RPC",
|
"description": "Ethereum JavaScript API, middleware to talk to a ethreum node over RPC",
|
||||||
"main": "./index.js",
|
"main": "./index.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user