Commit Graph

307 Commits

Author SHA1 Message Date
Leonid Logvinov
42c61ecda5 Return filledAmount from fillOrderAsync 2017-06-21 17:55:21 +02:00
Leonid Logvinov
a1c363a8af Fall back to import x = require() syntax 2017-06-21 14:11:06 +02:00
Leonid Logvinov
40a7be0690 Use different lodash import syntax which allows to include only used functions 2017-06-21 13:56:14 +02:00
Leonid Logvinov
38170a24ed Fix bug in 0x.js tests when passing Web3 instead of Web3 Provider 2017-06-15 17:34:54 +02:00
Leonid Logvinov
d789aa24aa Make ZeroEx constructor accept Web3Provider instead of Web3 instance 2017-06-15 17:05:03 +02:00
Leonid Logvinov
ba289c2843 Remove types that are not used in public interface from export and rename EventEmitter to ContractEventEmitter and IndexFilterValues to IndexedFilterValues 2017-06-14 11:27:33 +02:00
Leonid Logvinov
ac8116bbe4 Address feedback 2017-06-13 18:08:18 +02:00
Leonid Logvinov
96a93c4b35 Add tests for stopWatchingAsync 2017-06-13 17:39:43 +02:00
Leonid Logvinov
6ad1900ada Refactor subscription to return zeroExSignature object 2017-06-13 15:52:50 +02:00
Leonid Logvinov
52dc6b7710 Add getContractAddressAsync and tests 2017-06-13 13:29:02 +02:00
Leonid Logvinov
6cdd90e18b Fix test 2017-06-12 19:03:16 +02:00
Leonid Logvinov
7cf31db20e Fix test 2017-06-12 18:57:54 +02:00
Leonid Logvinov
365548e126 Introduce index.ts file which defines public interface 2017-06-12 18:20:43 +02:00
Leonid Logvinov
672d5aae5d Change main file name from 0x.js.ts to 0x.ts 2017-06-12 11:33:35 +02:00
Leonid Logvinov
6b152edb98 Fix last tests 2017-06-11 13:14:46 +02:00
Leonid Logvinov
fad23af55e Fix some tests 2017-06-10 16:07:03 +02:00
Leonid Logvinov
d727bed6ab Prefix private vars with _ 2017-06-10 15:36:52 +02:00
Leonid
1cff9fdf77 Merge branch 'master' into subscribe-async-tests 2017-06-10 12:23:41 +02:00
Leonid
823134b3bf Merge branch 'master' into json-schema 2017-06-09 20:40:36 +02:00
Leonid
81e3b180a9 Merge branch 'master' into subscribe-async-tests 2017-06-09 20:40:23 +02:00
Leonid Logvinov
ba27da965b Address feedback 2017-06-09 20:11:56 +02:00
Leonid Logvinov
727f6ad230 Fix bugs in schemas 2017-06-09 20:04:10 +02:00
Leonid
81e7264f0a Merge branch 'master' into json-schema 2017-06-09 20:03:08 +02:00
Leonid
f4c6097f24 Merge branch 'master' into subscribe-async-tests 2017-06-09 19:50:12 +02:00
Leonid
b6abfe4990 Merge branch 'master' into schema-tests 2017-06-09 19:41:55 +02:00
Leonid Logvinov
1b828b37aa Fix tests 2017-06-09 19:38:34 +02:00
Leonid Logvinov
5d2843ef6f Add test for zeroEx.exchange.getCanceledTakerAmountAsync 2017-06-09 18:54:12 +02:00
Leonid Logvinov
800788eca4 Fix tests 2017-06-09 18:12:45 +02:00
Leonid Logvinov
2fd5d29b40 Remove only 2017-06-09 17:57:51 +02:00
Leonid
604ed46c14 Merge branch 'master' into schema-tests 2017-06-09 17:55:22 +02:00
Leonid Logvinov
b63c973d14 Add LogCancel test to subscribeAsync 2017-06-09 17:49:50 +02:00
Leonid Logvinov
135df64678 Fix tests 2017-06-09 17:05:41 +02:00
Leonid Logvinov
22547f419b Add tests for fillOrderRequests schema 2017-06-09 16:57:51 +02:00
Leonid Logvinov
e74f03b087 Add tests for orderCancellationRequestsSchema 2017-06-09 16:56:00 +02:00
Leonid Logvinov
4b9c681912 Fix tests and add fillOrKillRequests schema 2017-06-09 16:23:15 +02:00
Leonid Logvinov
96ef9dbaaf Refactor tests 2017-06-09 16:12:48 +02:00
Leonid Logvinov
941df26dff Add tests for signedOrderSchema 2017-06-09 16:09:55 +02:00
Leonid Logvinov
14003dd1f3 Add tests for order schema 2017-06-09 16:07:00 +02:00
Leonid Logvinov
6d4cb28b9d Address feedback 2017-06-09 15:49:56 +02:00
Leonid Logvinov
47be6a0c30 Tolerate more than one validation error in tests 2017-06-09 15:41:00 +02:00
Leonid Logvinov
c59efdde1d Rename to validateAgainstSchema 2017-06-09 15:22:27 +02:00
Leonid Logvinov
b46ebc76ea Add tests for TokenSchema 2017-06-09 15:20:30 +02:00
Leonid Logvinov
44f8d18962 Add ecSignatureSchema tests 2017-06-09 14:57:13 +02:00
Leonid Logvinov
d2df9bb314 Add ecSignatureParameter test 2017-06-09 14:35:03 +02:00
Leonid Logvinov
298c6a14b3 Add tests for address schema 2017-06-09 14:30:42 +02:00
Leonid
c94485dfbb Merge branch 'master' into fillOrderUpToAsync 2017-06-08 18:33:19 +02:00
Leonid
7f6a6dd189 Merge branch 'master' into fillOrderUpToAsync 2017-06-08 18:18:22 +02:00
Leonid Logvinov
6eb192f0ea Add tests for fillOrdersUpTo 2017-06-08 18:14:29 +02:00
Fabio Berger
23a4dcb729 Add orderFillOrKillRequestsSchema and validate using it instead of looping over the requests and validating them individually 2017-06-08 18:13:54 +02:00
Fabio Berger
2b08c04d4d Merge branch 'master' into batchFillOrKill
# Conflicts:
#	test/exchange_wrapper_test.ts
2017-06-08 18:09:47 +02:00