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
|
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
|
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 |
|
Fabio Berger
|
31cc75bd6d
|
Fix isValidSignature tests
|
2017-06-08 18:02:31 +02:00 |
|
Leonid
|
ce3aed7236
|
Merge pull request #48 from 0xProject/interfaceTweaks
Interface tweaks
|
2017-06-08 17:21:00 +02:00 |
|
Leonid Logvinov
|
807e62e76e
|
Fix linter error
|
2017-06-08 14:31:05 +02:00 |
|
Leonid Logvinov
|
a0fd89aeeb
|
Rewrite isValidSignature tests
|
2017-06-08 14:24:12 +02:00 |
|
Fabio Berger
|
196130ff96
|
Make web3Wrapper protected instead of public
|
2017-06-08 12:06:04 +02:00 |
|
Fabio Berger
|
bc441015b6
|
add hex to function and variable name for clarity
|
2017-06-07 17:23:59 +02:00 |
|
Leonid
|
692a0fd965
|
Merge pull request #39 from 0xProject/senderAccount
Make methods accept senderAccount
|
2017-06-06 15:14:53 +02:00 |
|
Leonid Logvinov
|
80bbfc3f0f
|
Last round of renamings
|
2017-06-06 14:10:36 +02:00 |
|
Leonid Logvinov
|
67e2208a18
|
Rename accounts to addreses
|
2017-06-06 12:48:00 +02:00 |
|
Leonid Logvinov
|
279790117b
|
Remove message param from before
|
2017-06-06 12:43:20 +02:00 |
|
Leonid Logvinov
|
aeec2a96b0
|
Address feedback
|
2017-06-06 11:28:11 +02:00 |
|
Leonid Logvinov
|
bac6833436
|
Make methods accept senderAccount
|
2017-06-05 16:22:56 +02:00 |
|
Leonid Logvinov
|
4dc9a14aaf
|
Add chai_setup
|
2017-06-05 13:07:26 +02:00 |
|
Fabio Berger
|
40208e3b2d
|
Merge branch 'master' into addEventSubscriptions
|
2017-06-02 20:01:29 +02:00 |
|
Fabio Berger
|
d4320fec72
|
Add includeStack config to chai setup so that we get stackTraces
|
2017-06-02 19:38:28 +02:00 |
|
Fabio Berger
|
fc3be810a2
|
Implement zeroEx.exchange.subscribeAsync made sure to clean up subscriptions if user updates the provider
|
2017-06-02 12:31:16 +02:00 |
|
Fabio Berger
|
69a596352d
|
Fix getOrderHashAsync test
|
2017-06-01 17:49:53 +02:00 |
|
Fabio Berger
|
24a745092e
|
Stop passing exchangeAddress into getOrderHash and instead get it from the artifacts
|
2017-06-01 17:38:09 +02:00 |
|
Fabio Berger
|
59bc13c188
|
remove comment
|
2017-06-01 17:03:39 +02:00 |
|
Leonid Logvinov
|
21d00f04d4
|
Fix tests
|
2017-06-01 15:21:24 +02:00 |
|
Leonid Logvinov
|
dbb30aa1dd
|
Fix linter errors
|
2017-06-01 11:46:57 +02:00 |
|
Leonid Logvinov
|
be13cf127c
|
Refactor getOrderHash to accept order as an object
|
2017-05-30 17:35:17 +02:00 |
|
Fabio Berger
|
3522f94ff6
|
use .be.undefined instead of .be.an('undefined')
|
2017-05-30 14:26:07 +02:00 |
|
Fabio Berger
|
ad14c307ce
|
Refactor exchangeWrapper and tokenRegistryWrapper to use contract getter that instantiates contract instance if not already instantiated
|
2017-05-30 14:23:44 +02:00 |
|
Fabio Berger
|
8561258ded
|
Also test that web3Wrapper nested under tokenRegistryWrapper has updated provider
|
2017-05-30 12:56:10 +02:00 |
|
Fabio Berger
|
eefc8ca7ec
|
add assertions that contractInstances are not undefined before provider update
|
2017-05-30 12:53:42 +02:00 |
|
Fabio Berger
|
007c57ec40
|
Also instantiate tokenRegistry contract instance
|
2017-05-30 12:52:28 +02:00 |
|
Fabio Berger
|
6aded80b2f
|
remove unused import
|
2017-05-30 12:51:34 +02:00 |
|
Fabio Berger
|
a3ce892f85
|
Make tokenRegistry contract instantiation lazy and clear it on provider update
|
2017-05-30 12:43:50 +02:00 |
|
Fabio Berger
|
d15002a110
|
Add tests for setProvider
|
2017-05-30 12:30:38 +02:00 |
|
Fabio Berger
|
c536114b16
|
make web3Wrapper a private instance variable
|
2017-05-30 12:25:17 +02:00 |
|
Fabio Berger
|
43082b576c
|
Fix typos
|
2017-05-29 16:53:07 +02:00 |
|
Fabio Berger
|
1958142936
|
empty stubs array before next test runs
|
2017-05-29 16:10:34 +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 |
|
Fabio Berger
|
abd0228ba8
|
Merge pull request #16 from 0xProject/umd-tests
Umd tests
|
2017-05-29 16:04:13 +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
|
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
|
232e031959
|
don't use uppercase for constant variable unless it's global to the entire file
|
2017-05-29 13:34:49 +02:00 |
|
Leonid Logvinov
|
405857fa81
|
Use constants from test utils
|
2017-05-29 11:50:03 +02:00 |
|
Leonid Logvinov
|
021391744f
|
Fix imports
|
2017-05-29 11:39:20 +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
|
3cf25d0787
|
Postfix test files with _test
|
2017-05-26 17:08:45 +02:00 |
|