35 Commits

Author SHA1 Message Date
Fabian Vogelsteller
bbfefb091c Modularize web3.js (#541)
* added sub packages

* added lerna monopackage management

* check for package is instance

* added method, subscription and utils package

* moved almost all packages

* moved all packages, no umbrella package yet

* added extend to packages

* made contract pass

* made batch tests pass

* expose providers

* fixed test async

* fixed test errors

* fixed test event encode decode

* fixed test formatter tests

* fixed method tests

* fixed method utils

* fixed some eth methods

* fixed some eth methods 2

* bumped version 0.18.3 to republish meteor package

* fixed get* tests

* fixed subscribe tests

* added newBlockHeaders subscription

* remove unpublished package from package.json

* added sendTransaction test

* fixed call test

* moved files to done

* changed extend

* added iban tests

* Fixed ALL tests

* Fixed lint tests

* Fixed contract tests

* added method tests

* added more method tests to test promiEvents extensively

* added confirmation event

* improved method confirmation checking
2017-01-26 10:24:14 +01:00
Fabian Vogelsteller
345b756361
merged develop 2017-01-05 11:17:41 +01:00
Pedro Branco
09044dff1d Add timeout to HTTP provider (#499) 2016-11-14 09:00:13 +01:00
Fabian Vogelsteller
abb393b88c
fixed linting 2016-11-04 12:17:20 +01:00
Fabian Vogelsteller
50754c5b28
doc changes 2016-11-01 17:24:16 +01:00
Fabian Vogelsteller
23f428b096 Refactored the contract object (#424)
* started contract

* prepared the contract functions

* added deploy function

* added event emitter funcitons

* eventified promise

* added encodeABI

* added optional bluebird

* improved the param finder

* added call, transact and estimateGas

* allow siganture for encodeABI

* working on events

* added event listeners to contracts

* working on contract events

* changed on message to on data

* working on decoding events

* switched deploy check to subscriptions

* removed all event functions, keep only contract.on

* added subscription stuff

* fixed substractions formatters

* added log decoding

* added all events

* fixed events

* added new method calling structure

* added mined event for send tx

* worked on getPastEvents, still WIP

* working on tests

* added once method

* made options object in function execution optional

* finished pastEvents

* added request function for batch processing to contract methods

* fixed contract tests

* finished proting tests

* test provider isolatiton issues

* commented out test to prevent unsolvable issue for now

* changed deploy resolve

* deactivate encodeABI

* improved fake provider, with stacking validation and results

* added fromBlock test

* added tests for internal methods of the contract object
2016-10-07 13:07:42 +02:00
Fabian Vogelsteller
031a006c6e changed tests to apot new subscription API 2016-01-21 15:25:44 +01:00
debris
08e92c2aaa fixed race condition in test/helpers/test.method.js 2015-10-12 15:27:12 +08:00
debris
61916f9bb8 fixed some of the test that interferred with each other 2015-10-12 14:23:16 +08:00
Fabian Vogelsteller
ecd0b7776f improved requestmanager 2015-10-08 13:43:53 +02:00
debris
10e79d64b2 uncommented few more tests 2015-10-08 08:41:55 +02:00
debris
799bd88279 refactor in progress 2015-10-07 04:32:32 +02:00
Fabian Vogelsteller
ab5d8f5f00 fixed tests 2015-09-15 11:05:38 +02:00
Fabian Vogelsteller
d09f65b24f merged develop 2015-09-15 10:58:32 +02:00
Fabian Vogelsteller
82f215939d made fakehttp provider async really async 2015-09-14 12:05:01 +02:00
Fabian Vogelsteller
415929584c add isSyncing and better way of matching batch requests 2015-09-09 22:02:23 +02:00
Fabian Vogelsteller
fb47a0e271 merged batch fix, for testing 2015-07-15 18:03:43 +02:00
Fabian Vogelsteller
ebcff900f7 add tests 2015-07-15 17:49:55 +02:00
Fabian Vogelsteller
14f1c5c903 add more tests 2015-06-24 21:50:27 +02:00
Fabian Vogelsteller
ab4af82d5d add ipc provider 2015-06-24 14:56:40 +02:00
Marek Kotewicz
f454dda8e6 Merge branch 'develop' of https://github.com/asinyagin/web3.js into develop
Conflicts:
	dist/web3-light.js
	dist/web3-light.min.js
	dist/web3.js
	dist/web3.min.js
2015-06-08 18:04:05 +02:00
Alexander Sinyagin
6ea0d670b6 Set requests content type to application/json 2015-06-08 20:30:14 +05:00
Fabian Vogelsteller
b6c49d4db7 improved async polling 2015-06-08 14:38:16 +02:00
Marek Kotewicz
a2f561f263 fixed calling contract only with array param 2015-04-26 10:09:13 +02:00
Marek Kotewicz
96b44682f1 fixed #161, web3.ssh.post 2015-04-16 12:22:20 +02:00
Marek Kotewicz
cbf8ea19cd test naming convention 2015-03-25 22:17:35 +01:00
Marek Kotewicz
04f0aa5d4f fixed filer.js complexity 2015-03-25 21:46:45 +01:00
Marek Kotewicz
4f5c5fb2fb first try to test polling 2015-03-25 13:17:21 +01:00
Marek Kotewicz
f2c8a14bb4 removed duplicate code 2015-03-25 11:56:36 +01:00
Fabian Vogelsteller
b247c49511 add sha3 test 2015-03-24 11:53:21 +01:00
Fabian Vogelsteller
afd7e7ba32 add shh tests 2015-03-24 11:44:33 +01:00
Fabian Vogelsteller
e7304b546e add storage tests 2015-03-24 11:17:06 +01:00
Marek Kotewicz
c1f5ab2cdc test.method.js in helpers 2015-03-24 06:50:42 +01:00
Marek Kotewicz
7df9099075 moved test.utils to helpers 2015-03-23 23:10:18 +01:00
Marek Kotewicz
7511e4c8af fake providers moved to helpers directory 2015-03-23 15:57:36 +01:00