9919 Commits

Author SHA1 Message Date
Fabio Berger
6686443317 Implement ERC20Wrapper and it's first method getBalanceAsync 2017-05-30 09:52:31 +02:00
Fabio Berger
f3d5690d56 Add tests for getTokensAsync including schema validation 2017-05-29 23:52:10 +02:00
Fabio Berger
919585cd79 Add TokenRegistryWrapper and getTokensAsync method 2017-05-29 23:51:27 +02:00
Fabio Berger
6cb9bd4426 Instead of removing all files from ./lib/src for the UMD test, we leave the utils and schema folders as well as the types file since they are used by the test files 2017-05-29 23:21:38 +02:00
Leonid Logvinov
9bb738bb2f
Finish ecSignature renaming 2017-05-29 22:45:05 +02:00
Leonid Logvinov
7fea711927
Add assertions for parameters 2017-05-29 22:42:32 +02:00
Leonid Logvinov
b46ad44856
Move field declaration to the begining of the class 2017-05-29 22:35:17 +02:00
Leonid Logvinov
96092de5cb
Add initial implementation of fillOrderAsync 2017-05-29 22:30:18 +02:00
Leonid Logvinov
7dddf2010e
Add getExchangeInstanceOrThrowAsync && getSenderAddressOrThrowAsync 2017-05-29 22:14:18 +02:00
Leonid Logvinov
34de598642
Add tests to linter targets 2017-05-29 22:09:43 +02:00
Leonid Logvinov
45c12216aa
Use npm run testrpc on circlecCI 2017-05-29 22:09:20 +02:00
Fabio Berger
7b9e8777f1 Merge pull request #19 from 0xProject/test-commands-refactor
Refactor test commands
2017-05-29 19:25:53 +02:00
Leonid
c820e873f1 Merge branch 'master' into test-commands-refactor 2017-05-29 19:16:49 +02:00
Leonid
f4047dbe18 Merge pull request #18 from 0xProject/fix-coverage
Run coverage only for commonjs test
2017-05-29 19:14:51 +02:00
Leonid Logvinov
66e4f5e5a4
Refactor test commands 2017-05-29 19:02:11 +02:00
Fabio Berger
46fb1914cf Lowercase schema names 2017-05-29 18:13:07 +02:00
Fabio Berger
43082b576c Fix typos 2017-05-29 16:53:07 +02:00
Fabio Berger
041394e652 Merge pull request #17 from 0xProject/addSignOrderHashAndTests
Add signOrderHashAsync and tests
2017-05-29 16:32:32 +02:00
Fabio Berger
1958142936 empty stubs array before next test runs 2017-05-29 16:10:34 +02:00
Fabio Berger
9008dfdcb1 improve comment 2017-05-29 16:10:20 +02:00
Fabio Berger
c513a5a5bd Merge branch 'master' into addSignOrderHashAndTests
# Conflicts:
#	package.json
#	src/globals.d.ts
#	test/0x.js_test.ts
2017-05-29 16:06:04 +02:00
Leonid Logvinov
4721e2c28a
Run cverage only for commonjs test 2017-05-29 16:05:33 +02:00
Fabio Berger
abd0228ba8 Merge pull request #16 from 0xProject/umd-tests
Umd tests
2017-05-29 16:04:13 +02:00
Fabio Berger
61c8372ae0 fix declaration 2017-05-29 16:02:52 +02:00
Fabio Berger
f498134c54 Add mnemonic to nom testrpc command 2017-05-29 16:02:45 +02:00
Fabio Berger
a331943c11 Use disable-next-line instead of disable and always put rule that is being disabled 2017-05-29 15:59:42 +02:00
Fabio Berger
80ce567834 Add declarations for find-versions and compare-versions 2017-05-29 15:59:15 +02:00
Leonid Logvinov
7bd3d87f7a
Address feedback 2017-05-29 15:54:52 +02:00
Fabio Berger
8d5d330ced Add static mnemonic when starting testrpc on circleCI 2017-05-29 15:42:20 +02:00
Fabio Berger
8c877bb18a Implement tests for signOrderHashAsync that test the logic for Parity < v1.6.6, >1.6.6 and other nodes 2017-05-29 13:39:32 +02:00
Fabio Berger
eb90367fc4 Port over signOrderHashAsync 2017-05-29 13:37:08 +02:00
Leonid Logvinov
fa156531bf
Don't build before test 2017-05-29 13:36:48 +02:00
Fabio Berger
232e031959 don't use uppercase for constant variable unless it's global to the entire file 2017-05-29 13:34:49 +02:00
Fabio Berger
4a3a20ef43 Standardize all comments 2017-05-29 13:30:13 +02:00
Leonid Logvinov
6213407f54
Refactor test commands 2017-05-29 13:27:26 +02:00
Leonid Logvinov
055763cd37
Add umd test command and separate public and private npm scripts 2017-05-29 12:44:22 +02:00
Leonid Logvinov
144456503c
Make eventually a PromisedAssertion 2017-05-29 12:19:50 +02:00
Leonid Logvinov
b088559850
Rename build:bundle to build:umd 2017-05-29 12:01:18 +02:00
Leonid Logvinov
bb3e7a2b7d
Use only 0x public interface in contract wrapper tests 2017-05-29 11:55:43 +02:00
Leonid Logvinov
405857fa81
Use constants from test utils 2017-05-29 11:50:03 +02:00
Leonid
3819030a40 Merge pull request #15 from 0xProject/rm-ts
Remove typescript folder
2017-05-29 11:42:44 +02:00
Leonid Logvinov
209d8483cf
Fix linter command 2017-05-29 11:42:17 +02:00
Leonid Logvinov
ff5db0d1cb
Fix lint command 2017-05-29 11:41:09 +02:00
Leonid Logvinov
021391744f
Fix imports 2017-05-29 11:39:20 +02:00
Leonid Logvinov
0848fe96cf
Move files up and remove ts folder 2017-05-29 11:39:12 +02:00
Fabio Berger
62cc3b919c Merge branch 'master' of github.com:0xProject/0x.js
# Conflicts:
#	src/ts/0x.js.ts
#	src/ts/utils/utils.ts
2017-05-29 09:09:54 +02:00
Fabio Berger
281b9eaa5d Move bigNumberToBN to utils module 2017-05-29 09:06:24 +02:00
Fabio Berger
b897bdab79 Merge pull request #14 from 0xProject/implementFirstExchangeMethod
Implement first exchange method
2017-05-26 18:54:56 +02:00
Fabio Berger
5d4c2dcb29 use commit hash instead of branch 2017-05-26 18:49:53 +02:00
Fabio Berger
2d0f867a9a clone specific branch where contract artifacts are fixed to the version of the 0x.js library version 2017-05-26 18:45:36 +02:00