Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Public interface has changed, moved to minor version | Jacob Evans | 2017-11-14 | 1 | -1/+1 |
| | |||||
* | Update changelog | Jacob Evans | 2017-11-14 | 1 | -0/+4 |
| | |||||
* | Renamed canceled to cancelled | Jacob Evans | 2017-11-14 | 6 | -16/+16 |
| | |||||
* | Re-add changelog for 0x.js | Fabio Berger | 2017-11-14 | 1 | -0/+211 |
| | |||||
* | Merge pull request #215 from 0xProject/monoRepo | Fabio Berger | 2017-11-14 | 2 | -4/+3 |
|\ | | | | | Mono repo Final Steps | ||||
| * | Upgrade to Typescript 2.6.1 and fix major & minor versions | Fabio Berger | 2017-11-14 | 1 | -1/+1 |
| | | |||||
| * | Don't remove files before UMD test run | Fabio Berger | 2017-11-14 | 1 | -2/+1 |
| | | |||||
| * | Only run umd tests on development | Fabio Berger | 2017-11-14 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #214 from 0xProject/monoRepo | Fabio Berger | 2017-11-14 | 75 | -10588/+981 |
|\| | | | | | Switch over to Lerna + Yarn Workspaces setup for a mono-repo approach | ||||
| * | Remove unused var | Fabio Berger | 2017-11-14 | 1 | -1/+0 |
| | | |||||
| * | Add interface type | Fabio Berger | 2017-11-14 | 1 | -2/+6 |
| | | |||||
| * | Replace _.get for type safety | Fabio Berger | 2017-11-14 | 1 | -6/+6 |
| | | |||||
| * | Declare as string | Fabio Berger | 2017-11-14 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'monoRepo' of github.com:0xProject/0x.js into monoRepo | Fabio Berger | 2017-11-14 | 1 | -1/+1 |
| |\ | | | | | | | | | | | | | * 'monoRepo' of github.com:0xProject/0x.js: Fail the tests on tsc error | ||||
| | * | Fail the tests on tsc error | Leonid Logvinov | 2017-11-14 | 1 | -1/+1 |
| | | | |||||
| * | | move tslint.json to 0x.js sub-package | Fabio Berger | 2017-11-14 | 1 | -0/+0 |
| | | | |||||
| * | | Fix lint and ts issues | Fabio Berger | 2017-11-14 | 2 | -10/+10 |
| |/ | |||||
| * | point to top-level node_modules | Fabio Berger | 2017-11-14 | 1 | -5/+5 |
| | | |||||
| * | remove unnecessary -- | Fabio Berger | 2017-11-14 | 1 | -5/+5 |
| | | |||||
| * | Add missing key | Fabio Berger | 2017-11-14 | 1 | -0/+1 |
| | | |||||
| * | Simply lerna command and run bootstrap to install dependencies | Fabio Berger | 2017-11-14 | 2 | -6/+8 |
| | | |||||
| * | Fix lerna command | Fabio Berger | 2017-11-14 | 1 | -4/+4 |
| | | |||||
| * | Fix package.json | Fabio Berger | 2017-11-14 | 1 | -1/+1 |
| | | |||||
| * | Add checkout | Fabio Berger | 2017-11-14 | 1 | -0/+1 |
| | | |||||
| * | Merge branch 'monoRepo' of github.com:0xProject/0x.js into monoRepo | Fabio Berger | 2017-11-14 | 1 | -1/+1 |
| |\ | | | | | | | | | | | | | * 'monoRepo' of github.com:0xProject/0x.js: Fix package.json | ||||
| | * | Fix package.json | Leonid Logvinov | 2017-11-14 | 1 | -1/+1 |
| | | | |||||
| * | | Upgrade circleci to version 2.0 | Fabio Berger | 2017-11-14 | 2 | -23/+27 |
| |/ | |||||
| * | leave out yarn version peg | Fabio Berger | 2017-11-14 | 1 | -3/+1 |
| | | |||||
| * | Use lerna | Fabio Berger | 2017-11-14 | 1 | -4/+4 |
| | | |||||
| * | use yarn instead of lerna | Fabio Berger | 2017-11-14 | 1 | -4/+4 |
| | | |||||
| * | Install older version of yarn | Fabio Berger | 2017-11-14 | 1 | -1/+3 |
| | | |||||
| * | Add circle.yml and move testrpc command to top-level repo | Fabio Berger | 2017-11-13 | 4 | -29/+791 |
| | | |||||
| * | Switch over to Lerna + Yarn Workspaces setup for a mono-repo approach | Fabio Berger | 2017-11-13 | 72 | -10540/+160 |
|/ | |||||
* | Merge pull request #200 from 0xProject/feature/receipt-status | Fabio Berger | 2017-11-13 | 5 | -686/+948 |
|\ | | | | | Normalize the way we return the transaction status | ||||
| * | Merge branch 'development' into feature/receipt-status | Fabio Berger | 2017-11-13 | 29 | -141/+1285 |
| |\ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (164 commits) Remove old tests Remove unused code Fix tests Remove redundant spaces Don't store empty objects Fix a typo Remove duplicate operations Remove redundant instance variables Fix tests Remove blockStore and default to numConfirmations === 0 Add a comment Store number of confirmations in a blockStore Remove tautology check Pass blockStore to eventWatcher Fix last merge conflicts Clear cache on unsubscribe Clear store cache on events Add more configs for order watcher Make subscribe function async and make blockStore operational Adjust tests to new interface ... # Conflicts: # package.json # src/types.ts # yarn.lock | ||||
* | | Merge pull request #205 from 0xProject/orderWatcher | Fabio Berger | 2017-11-13 | 27 | -141/+1280 |
|\ \ | | | | | | | Order watcher | ||||
| * \ | Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcher | Fabio Berger | 2017-11-13 | 13 | -220/+283 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'orderWatcher' of github.com:0xProject/0x.js: (33 commits) Remove old tests Remove unused code Fix tests Remove redundant spaces Don't store empty objects Fix a typo Remove duplicate operations Remove redundant instance variables Fix tests Remove blockStore and default to numConfirmations === 0 Add a comment Store number of confirmations in a blockStore Remove tautology check Pass blockStore to eventWatcher Fix last merge conflicts Clear cache on unsubscribe Clear store cache on events Add more configs for order watcher Make subscribe function async and make blockStore operational Adjust tests to new interface ... | ||||
| | * \ | Merge pull request #211 from 0xProject/feature/orderWatcherLocalStateStore | Fabio Berger | 2017-11-13 | 13 | -220/+283 |
| | |\ \ | | | | | | | | | | | Order watcher local state store | ||||
| | | * | | Remove old tests | Leonid Logvinov | 2017-11-13 | 1 | -62/+0 |
| | | | | | |||||
| | | * | | Remove unused code | Leonid Logvinov | 2017-11-13 | 5 | -10/+6 |
| | | | | | |||||
| | | * | | Fix tests | Leonid Logvinov | 2017-11-13 | 1 | -4/+4 |
| | | | | | |||||
| | | * | | Remove redundant spaces | Leonid Logvinov | 2017-11-13 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Don't store empty objects | Leonid Logvinov | 2017-11-13 | 1 | -0/+6 |
| | | | | | |||||
| | | * | | Fix a typo | Leonid Logvinov | 2017-11-13 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Remove duplicate operations | Leonid Logvinov | 2017-11-13 | 1 | -2/+0 |
| | | | | | |||||
| | | * | | Remove redundant instance variables | Leonid Logvinov | 2017-11-13 | 1 | -8/+2 |
| | | | | | |||||
| | | * | | Fix tests | Leonid Logvinov | 2017-11-13 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Remove blockStore and default to numConfirmations === 0 | Leonid Logvinov | 2017-11-13 | 9 | -123/+25 |
| | | | | | |||||
| | | * | | Add a comment | Leonid Logvinov | 2017-11-13 | 1 | -0/+2 |
| | | | | | |||||
| | | * | | Store number of confirmations in a blockStore | Leonid Logvinov | 2017-11-13 | 7 | -30/+26 |
| | | | | | |||||
| | | * | | Remove tautology check | Leonid Logvinov | 2017-11-13 | 1 | -3/+0 |
| | | | | | |||||
| | | * | | Pass blockStore to eventWatcher | Leonid Logvinov | 2017-11-13 | 3 | -16/+22 |
| | | | | | |||||
| | | * | | Fix last merge conflicts | Leonid Logvinov | 2017-11-13 | 1 | -13/+3 |
| | | | | | |||||
| | | * | | Clear cache on unsubscribe | Leonid Logvinov | 2017-11-13 | 3 | -0/+10 |
| | | | | | |||||
| | | * | | Clear store cache on events | Leonid Logvinov | 2017-11-13 | 2 | -33/+76 |
| | | | | | |||||
| | | * | | Add more configs for order watcher | Leonid Logvinov | 2017-11-13 | 1 | -3/+5 |
| | | | | | |||||
| | | * | | Make subscribe function async and make blockStore operational | Leonid Logvinov | 2017-11-13 | 2 | -21/+59 |
| | | | | | |||||
| | | * | | Adjust tests to new interface | Leonid Logvinov | 2017-11-13 | 1 | -14/+11 |
| | | | | | |||||
| | | * | | Add more errors | Leonid Logvinov | 2017-11-13 | 1 | -0/+2 |
| | | | | | |||||
| | | * | | Create stores in orderStateWatcher | Leonid Logvinov | 2017-11-13 | 2 | -17/+24 |
| | | | | | |||||
| | | * | | Make orderStateUtils operate on stores | Leonid Logvinov | 2017-11-13 | 2 | -30/+32 |
| | | | | | |||||
| | | * | | Create fake blockStore for exchange transfer simulator | Leonid Logvinov | 2017-11-13 | 1 | -1/+4 |
| | | | | | |||||
| | | * | | Add initial incomplete BlockStore implementation | Leonid Logvinov | 2017-11-13 | 1 | -0/+38 |
| | | | | | |||||
| | | * | | Make stores accept numConfirmations and blockStore instead of defaultBlock | Leonid Logvinov | 2017-11-13 | 2 | -10/+20 |
| | | | | | |||||
| | | * | | Add LatestBlockNumberNotSet internal error | Leonid Logvinov | 2017-11-13 | 1 | -0/+1 |
| | | | | | |||||
| | | * | | Add functions to clear stores cache | Leonid Logvinov | 2017-11-13 | 2 | -0/+16 |
| | | | | | |||||
| | | * | | Add store for order filled/cancelled state | Leonid Logvinov | 2017-11-13 | 1 | -0/+52 |
| | | | | | |||||
| | | * | | Make store configurable by blockParam | Leonid Logvinov | 2017-11-13 | 2 | -5/+14 |
| | | | | | |||||
| | | * | | Fix tests | Leonid Logvinov | 2017-11-13 | 1 | -10/+8 |
| | | | | | |||||
| | | * | | Make a store an instance variable of exchange transfer simulator and stop ↵ | Leonid Logvinov | 2017-11-13 | 2 | -15/+22 |
| | | | | | | | | | | | | | | | | | | | | inheriting it | ||||
| | | * | | Refactor out BalanceAndProxyAllowanceLazyStore | Leonid Logvinov | 2017-11-13 | 2 | -53/+56 |
| | |/ / | |||||
| * | | | Merge branch 'development' into orderWatcher | Fabio Berger | 2017-11-13 | 10 | -52/+153 |
| |\ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: 0.23.0 Update CHANGELOG Fix amounts in tests one last time. Now that we updated the testRPC snapshot, this should no longer be mismatched between CI and locally Update testRPC snapshot used by CircleCi Push unsubscribe to the base class rather than super Check for null rather than undefined Removed nits Test case was error then unsubscribe Clean up subscription state. Fix unhandled promise rejection error on subscriptions # Conflicts: # src/types.ts # test/exchange_wrapper_test.ts # test/token_wrapper_test.ts | ||||
* | | | 0.23.0 | Brandon Millman | 2017-11-13 | 2 | -2/+2 |
| | | | |||||
* | | | Update CHANGELOG | Brandon Millman | 2017-11-13 | 1 | -0/+5 |
| | | | |||||
| * | | Merge pull request #210 from dekz/orderWatcherRemaining | Fabio Berger | 2017-11-13 | 3 | -0/+94 |
| |\ \ | | | | | | | | | Calculate the remaining order amount in maker units | ||||
| | * | | remove comments | Jacob Evans | 2017-11-13 | 1 | -3/+0 |
| | | | | |||||
| | * | | Perform the division after multiplication to reduce compounding the rounding ↵ | Jacob Evans | 2017-11-13 | 2 | -10/+11 |
| | | | | | | | | | | | | | | | | errors | ||||
| | * | | Update comment | Jacob Evans | 2017-11-13 | 1 | -1/+1 |
| | | | | |||||
| | * | | text description update | Jacob Evans | 2017-11-13 | 1 | -2/+2 |
| | | | | |||||
| | * | | remove only | Jacob Evans | 2017-11-13 | 1 | -3/+3 |
| | | | | |||||
| | * | | Added specs for allowance and balance changes | Jacob Evans | 2017-11-13 | 2 | -2/+79 |
| | | | | |||||
| | * | | Calculate the remaining order amount in maker units | Jacob Evans | 2017-11-13 | 3 | -0/+19 |
| | | | | |||||
| * | | | Merge pull request #207 from 0xProject/orderWatcherTests | Fabio Berger | 2017-11-13 | 3 | -0/+97 |
| |\ \ \ | | |/ / | |/| | | Additional order watcher tests | ||||
| | * | | Don't return anything | Fabio Berger | 2017-11-13 | 1 | -2/+1 |
| | | | | |||||
| | * | | Add tests for the numConfirmations config to ensure that the events are ↵ | Fabio Berger | 2017-11-11 | 3 | -2/+78 |
| | | | | | | | | | | | | | | | | being emitted for the confirmation depth specified | ||||
| | * | | Test that the orderStateWatcher doesn't emit an event when an irrelevant ↵ | Fabio Berger | 2017-11-10 | 1 | -0/+22 |
| | | | | | | | | | | | | | | | | blockchain event is received. | ||||
| * | | | Update testRPC snapshot used by CircleCi | Fabio Berger | 2017-11-12 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge branch 'development' into orderWatcher | Fabio Berger | 2017-11-12 | 5 | -3/+20 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: 0.22.6 Add new changes to CHANGELOG use util fn no race, reject from interval cb and clear allow timeout for await transaction mined # Conflicts: # src/types.ts | ||||
| * | | | | Add comment | Fabio Berger | 2017-11-12 | 1 | -0/+2 |
| | | | | | |||||
| * | | | | rename isDecodedLog to isLogDecoded | Fabio Berger | 2017-11-11 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | Improve comment | Fabio Berger | 2017-11-11 | 1 | -1/+2 |
| | | | | | |||||
| * | | | | Fix test given that we now do delete the keys in dependentOrderHashes | Fabio Berger | 2017-11-11 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Fix missing renames | Fabio Berger | 2017-11-11 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | Declare OnOrderStateChangeCallback as either sync or async | Fabio Berger | 2017-11-11 | 1 | -3/+3 |
| | | | | | |||||
| * | | | | Fix comment | Fabio Berger | 2017-11-11 | 1 | -3/+0 |
| | | | | | |||||
| * | | | | Remove keys from dependentOrderHashes if empty | Fabio Berger | 2017-11-11 | 1 | -2/+10 |
| | | | | | |||||
| * | | | | establish convention of initializing empty instances in instance declaration | Fabio Berger | 2017-11-11 | 1 | -4/+2 |
| | | | | | |||||
| * | | | | Use enum instead of boolean to avoid potential bugs from isRemoved ↵ | Fabio Berger | 2017-11-11 | 1 | -6/+10 |
| | | | | | | | | | | | | | | | | | | | | incorrectly being set to true | ||||
| * | | | | rename _orders to _orderByOrderhash for clarity | Fabio Berger | 2017-11-11 | 1 | -7/+7 |
| | | | | | |||||
| * | | | | Add comment above orderStateWatcher class | Fabio Berger | 2017-11-11 | 1 | -0/+6 |
| | | | | | |||||
| * | | | | Fix expected balance | Fabio Berger | 2017-11-11 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | Fix type declaration in test | Fabio Berger | 2017-11-11 | 1 | -6/+6 |
| | | | | | |||||
| * | | | | Feather the callback down to _emitDifferencesAsync and don't store it as a ↵ | Fabio Berger | 2017-11-11 | 1 | -11/+11 |
| | | | | | | | | | | | | | | | | | | | | class instance. This will make supporting multiple subscriptions easier later on and reduces the amount of unsubscription cleanup | ||||
| * | | | | Throw if trying to subscribe multiple times | Fabio Berger | 2017-11-11 | 1 | -1/+9 |
| | | | | | |||||
| * | | | | Fix alignment | Fabio Berger | 2017-11-11 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | Add comment above the eventWatcher class | Fabio Berger | 2017-11-11 | 1 | -0/+4 |
| | | | | | |||||
| * | | | | Rename method since it's not more then just mempool | Fabio Berger | 2017-11-11 | 1 | -2/+2 |
| | |/ / | |/| | | |||||
| * | | | Fix test description | Fabio Berger | 2017-11-10 | 1 | -1/+1 |
| | | | | |||||
| * | | | Fix test description | Fabio Berger | 2017-11-10 | 1 | -1/+1 |
| | | | | |||||
| * | | | Move numConfirmations to constructor call | Fabio Berger | 2017-11-10 | 1 | -3/+3 |
| | | | | |||||
| * | | | Improve comment | Fabio Berger | 2017-11-10 | 1 | -1/+2 |
| | | | | |||||
| * | | | Make sure to set the defaultBlock to the blockNumber rather then the number ↵ | Fabio Berger | 2017-11-10 | 1 | -5/+9 |
| | | | | | | | | | | | | | | | | of confirmations | ||||
| * | | | Simplify to/from block code | Fabio Berger | 2017-11-10 | 1 | -8/+5 |
| | | | | |||||
| * | | | Add assertion | Fabio Berger | 2017-11-10 | 1 | -0/+2 |
| | | | | |||||
| * | | | Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcher | Fabio Berger | 2017-11-10 | 1 | -0/+14 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | * 'orderWatcher' of github.com:0xProject/0x.js: Add forgotten file | ||||
| | * | | | Add forgotten file | Leonid Logvinov | 2017-11-10 | 1 | -0/+14 |
| | | | | | |||||
| * | | | | remove no longer needed arg | Fabio Berger | 2017-11-10 | 1 | -3/+2 |
| | | | | | |||||
| * | | | | rename intervalId to intervalIdIfExists | Fabio Berger | 2017-11-10 | 1 | -3/+5 |
| |/ / / | |||||
| * | | | Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcher | Fabio Berger | 2017-11-10 | 1 | -13/+55 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'orderWatcher' of github.com:0xProject/0x.js: Add order state watcher tests for LogCancel # Conflicts: # test/order_state_watcher_test.ts | ||||
| | * | | | Add order state watcher tests for LogCancel | Leonid Logvinov | 2017-11-10 | 1 | -13/+55 |
| | | | | | |||||
| * | | | | Fix bug where we hard-coded using pendingBlock for fetching the orderState. ↵ | Fabio Berger | 2017-11-10 | 5 | -20/+36 |
| |/ / / | | | | | | | | | | | | | Moved numConfirmations to become a global orderStateWatcher config | ||||
| * | | | Fix comments | Fabio Berger | 2017-11-10 | 1 | -3/+2 |
| | | | | |||||
| * | | | comment improvements | Fabio Berger | 2017-11-10 | 1 | -3/+3 |
| | | | | |||||
| * | | | Closing paren on same level as open | Fabio Berger | 2017-11-10 | 1 | -1/+2 |
| | | | | |||||
| * | | | Rename _callbackAsync to _callbackIfExistsAsync for clarity | Fabio Berger | 2017-11-10 | 2 | -11/+11 |
| | | | | |||||
| * | | | Merge branches 'orderWatcher' and 'orderWatcher' of ↵ | Fabio Berger | 2017-11-10 | 1 | -2/+3 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | github.com:0xProject/0x.js into orderWatcher * 'orderWatcher' of github.com:0xProject/0x.js: Fix getting events from non-mempool * 'orderWatcher' of github.com:0xProject/0x.js: Fix getting events from non-mempool | ||||
| | * | | | Fix getting events from non-mempool | Leonid Logvinov | 2017-11-10 | 1 | -2/+3 |
| | | | | | |||||
| * | | | | use explicit import | Fabio Berger | 2017-11-10 | 1 | -1/+1 |
| |/ / / | |||||
| * | | | Remove finished TODOs | Fabio Berger | 2017-11-10 | 2 | -2/+0 |
| | | | | |||||
| * | | | Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcher | Fabio Berger | 2017-11-10 | 1 | -2/+2 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | * 'orderWatcher' of github.com:0xProject/0x.js: Revert test amount changes | ||||
| | * | | | Revert test amount changes | Leonid Logvinov | 2017-11-10 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | Create assert.isValidSignature method and use it in `addOrder` | Fabio Berger | 2017-11-10 | 2 | -2/+9 |
| | | | | | |||||
| * | | | | Move isValidSignature implementation into signatureUtils | Fabio Berger | 2017-11-10 | 2 | -13/+17 |
| |/ / / | |||||
| * | | | Fix comment | Fabio Berger | 2017-11-10 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcher | Fabio Berger | 2017-11-10 | 1 | -8/+9 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'orderWatcher' of github.com:0xProject/0x.js: Revert "Use _.get for optional configs" # Conflicts: # src/0x.ts | ||||
| | * | | | Revert "Use _.get for optional configs" | Leonid Logvinov | 2017-11-10 | 1 | -8/+9 |
| | | | | | | | | | | | | | | | | | | | | This reverts commit ecc54b07c70c9f191a0eb0dece8137f088250a41. | ||||
| * | | | | Add nested config for orderWatcher | Fabio Berger | 2017-11-10 | 6 | -12/+27 |
| |/ / / | |||||
| * | | | Rename MempoolEventCallback to EventWatcherCallback | Fabio Berger | 2017-11-10 | 4 | -9/+9 |
| | | | | |||||
| * | | | Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcher | Fabio Berger | 2017-11-10 | 1 | -5/+5 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | * 'orderWatcher' of github.com:0xProject/0x.js: Fix namings | ||||
| | * | | | Fix namings | Leonid Logvinov | 2017-11-10 | 1 | -5/+5 |
| | | | | | |||||
| * | | | | rename folder to order_watcher | Fabio Berger | 2017-11-10 | 3 | -10/+10 |
| |/ / / | |||||
| * | | | Remove redundant assertions | Leonid Logvinov | 2017-11-10 | 4 | -16/+1 |
| | | | | |||||
| * | | | Use _.get for optional configs | Fabio Berger | 2017-11-10 | 1 | -9/+8 |
| | | | | |||||
| * | | | Improve comment | Fabio Berger | 2017-11-10 | 1 | -1/+2 |
| | | | | |||||
| * | | | Add SubscriptionAlreadyPresent error | Leonid Logvinov | 2017-11-10 | 3 | -2/+8 |
| | | | | |||||
| * | | | Pass numConfirmations | Leonid Logvinov | 2017-11-10 | 1 | -2/+2 |
| | | | | |||||
| * | | | Removed unused order adding in tests | Leonid Logvinov | 2017-11-10 | 1 | -1/+0 |
| | | | | |||||
| * | | | Add a test that a second subscription fails | Leonid Logvinov | 2017-11-10 | 1 | -0/+14 |
| | | | | |||||
| * | | | fix merge conflicts | Fabio Berger | 2017-11-10 | 2 | -89/+123 |
| |\ \ \ | |||||
| | * | | | Add tests for order removals | Leonid Logvinov | 2017-11-10 | 1 | -85/+116 |
| | | | | | |||||
| | * | | | Pass orderHash instead of an order to removeOrder and adjust the tests | Leonid Logvinov | 2017-11-10 | 2 | -4/+7 |
| | | | | | |||||
| * | | | | Add comments to public methods | Fabio Berger | 2017-11-10 | 1 | -1/+21 |
| | | | | | |||||
| * | | | | Add numConfirmations arg so that caller can decide on numConfirmations at ↵ | Fabio Berger | 2017-11-10 | 4 | -13/+27 |
| | | | | | | | | | | | | | | | | | | | | which they want to watch orders | ||||
| * | | | | Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcher | Fabio Berger | 2017-11-10 | 3 | -2/+6 |
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'orderWatcher' of github.com:0xProject/0x.js: (32 commits) Remove check for now, we need a more robust check Rename test file and add test for a partial fill Fix tests by making the expected balance be 2^27 not 2^26 Add assert.isValidBaseUnitAmount that checks for decimals in amounts that should be in baseUnits. This can sometimes alert developers whenever they accidentally pass in unitAmounts. Look for relevant events in the decodedLogs and emit orderState events for orders impacted by the blockchain state changes Remove unused import Fix typo Add todo comments fix styling remove unused type Add naive order state watcher implementation Change fields in OrderState to represent taker side values Introduce OrderState interface Fix config schema Add empty implementation of order state watcher Add new public types Move mempoolPollingIntervalMs to OrderWatcherConfig Adjust tests for mempool event watcher Clear event cache on unsubscribe Remove mempool event watcher config ... | ||||
| | * | | | Remove check for now, we need a more robust check | Fabio Berger | 2017-11-10 | 1 | -3/+0 |
| | | | | | |||||
| | * | | | Rename test file and add test for a partial fill | Fabio Berger | 2017-11-10 | 1 | -2/+46 |
| | | | | | |||||
| | * | | | Fix tests by making the expected balance be 2^27 not 2^26 | Fabio Berger | 2017-11-10 | 1 | -2/+2 |
| | | | | | |||||
| | * | | | Add assert.isValidBaseUnitAmount that checks for decimals in amounts that ↵ | Fabio Berger | 2017-11-10 | 4 | -0/+22 |
| | | | | | | | | | | | | | | | | | | | | should be in baseUnits. This can sometimes alert developers whenever they accidentally pass in unitAmounts. | ||||
| | * | | | Look for relevant events in the decodedLogs and emit orderState events for ↵ | Fabio Berger | 2017-11-10 | 2 | -52/+144 |
| | | | | | | | | | | | | | | | | | | | | orders impacted by the blockchain state changes | ||||
| | * | | | Remove unused import | Fabio Berger | 2017-11-10 | 1 | -1/+0 |
| | | | | | |||||
| | * | | | Fix typo | Fabio Berger | 2017-11-10 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Add todo comments | Fabio Berger | 2017-11-10 | 2 | -1/+3 |
| | | | | | |||||
| | * | | | fix styling | Fabio Berger | 2017-11-10 | 1 | -1/+2 |
| | | | | | |||||
| | * | | | remove unused type | Fabio Berger | 2017-11-10 | 1 | -1/+0 |
| | | | | | |||||
| | * | | | Add naive order state watcher implementation | Leonid Logvinov | 2017-11-10 | 9 | -64/+232 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Revalidate all orders upon event received and emit order states even if not changed | ||||
| | * | | | Change fields in OrderState to represent taker side values | Leonid Logvinov | 2017-11-10 | 1 | -2/+2 |
| | | | | | |||||
| | * | | | Introduce OrderState interface | Leonid Logvinov | 2017-11-10 | 2 | -8/+12 |
| | | | | | |||||
| | * | | | Fix config schema | Leonid Logvinov | 2017-11-10 | 1 | -1/+4 |
| | | | | | |||||
| | * | | | Add empty implementation of order state watcher | Leonid Logvinov | 2017-11-10 | 5 | -29/+120 |
| | | | | | |||||
| | * | | | Add new public types | Leonid Logvinov | 2017-11-10 | 1 | -0/+4 |
| | | | | | |||||
| | * | | | Move mempoolPollingIntervalMs to OrderWatcherConfig | Leonid Logvinov | 2017-11-10 | 1 | -1/+6 |
| | | | | | |||||
| | * | | | Adjust tests for mempool event watcher | Leonid Logvinov | 2017-11-10 | 1 | -12/+13 |
| | | | | | |||||
| | * | | | Clear event cache on unsubscribe | Leonid Logvinov | 2017-11-10 | 1 | -0/+1 |
| | | | | | |||||
| | * | | | Remove mempool event watcher config | Leonid Logvinov | 2017-11-10 | 1 | -1/+0 |
| | | | | | |||||
| | * | | | Move provider altering logic to Web3Wrapper | Leonid Logvinov | 2017-11-10 | 3 | -18/+19 |
| | | | | | |||||
| | * | | | Add types for order state watcher | Leonid Logvinov | 2017-11-10 | 1 | -0/+21 |
| | | | | | |||||
| | * | | | Add initial interface of an OrderWatcher | Leonid Logvinov | 2017-11-10 | 1 | -0/+27 |
| | | | | | |||||
| | * | | | Rename MempoolWatcher to EventWatcher and remove from public interface | Leonid Logvinov | 2017-11-10 | 2 | -10/+1 |
| | | | | | |||||
| | * | | | Fix namings | Leonid Logvinov | 2017-11-10 | 1 | -2/+2 |
| | | | | | |||||
| | * | | | Add mempool tests | Leonid Logvinov | 2017-11-10 | 1 | -0/+125 |
| | | | | | |||||
| | * | | | Don't emit new events if already unsubscribed | Leonid Logvinov | 2017-11-10 | 1 | -1/+3 |
| | | | | | |||||
| | * | | | Compare logs by string representation | Leonid Logvinov | 2017-11-10 | 1 | -2/+2 |
| | | | | | |||||
| | * | | | Upgrade web3-typescript-typings | Leonid Logvinov | 2017-11-10 | 2 | -4/+4 |
| | | | | | |||||
| | * | | | Add initial mempool watching implememtation | Leonid Logvinov | 2017-11-10 | 8 | -32/+115 |
| | | | | | |||||
| * | | | | Remove check for now, we need a more robust check | Fabio Berger | 2017-11-09 | 1 | -3/+0 |
| | | | | | |||||
| * | | | | Rename test file and add test for a partial fill | Fabio Berger | 2017-11-09 | 1 | -2/+46 |
| | | | | | |||||
| * | | | | Fix tests by making the expected balance be 2^27 not 2^26 | Fabio Berger | 2017-11-09 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | Add assert.isValidBaseUnitAmount that checks for decimals in amounts that ↵ | Fabio Berger | 2017-11-09 | 4 | -0/+22 |
| | | | | | | | | | | | | | | | | | | | | should be in baseUnits. This can sometimes alert developers whenever they accidentally pass in unitAmounts. | ||||
| * | | | | Look for relevant events in the decodedLogs and emit orderState events for ↵ | Fabio Berger | 2017-11-09 | 2 | -52/+144 |
| | | | | | | | | | | | | | | | | | | | | orders impacted by the blockchain state changes | ||||
| * | | | | Remove unused import | Fabio Berger | 2017-11-09 | 1 | -1/+0 |
| | | | | | |||||
| * | | | | Fix typo | Fabio Berger | 2017-11-09 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Add todo comments | Fabio Berger | 2017-11-09 | 2 | -1/+3 |
| | | | | | |||||
| * | | | | fix styling | Fabio Berger | 2017-11-09 | 1 | -1/+2 |
| | | | | | |||||
| * | | | | remove unused type | Fabio Berger | 2017-11-09 | 1 | -1/+0 |
| | | | | | |||||
| * | | | | Add naive order state watcher implementation | Leonid Logvinov | 2017-10-31 | 9 | -64/+232 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Revalidate all orders upon event received and emit order states even if not changed | ||||
| * | | | | Change fields in OrderState to represent taker side values | Leonid Logvinov | 2017-10-31 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | Introduce OrderState interface | Leonid Logvinov | 2017-10-31 | 2 | -8/+12 |
| | | | | | |||||
| * | | | | Fix config schema | Leonid Logvinov | 2017-10-31 | 1 | -1/+4 |
| | | | | | |||||
| * | | | | Add empty implementation of order state watcher | Leonid Logvinov | 2017-10-31 | 5 | -29/+120 |
| | | | | | |||||
| * | | | | Add new public types | Leonid Logvinov | 2017-10-31 | 1 | -0/+4 |
| | | | | | |||||
| * | | | | Move mempoolPollingIntervalMs to OrderWatcherConfig | Leonid Logvinov | 2017-10-31 | 1 | -1/+6 |
| | | | | | |||||
| * | | | | Adjust tests for mempool event watcher | Leonid Logvinov | 2017-10-31 | 1 | -12/+13 |
| | | | | | |||||
| * | | | | Clear event cache on unsubscribe | Leonid Logvinov | 2017-10-31 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | Remove mempool event watcher config | Leonid Logvinov | 2017-10-31 | 1 | -1/+0 |
| | | | | | |||||
| * | | | | Move provider altering logic to Web3Wrapper | Leonid Logvinov | 2017-10-31 | 3 | -18/+19 |
| | | | | | |||||
| * | | | | Add types for order state watcher | Leonid Logvinov | 2017-10-31 | 1 | -0/+21 |
| | | | | | |||||
| * | | | | Add initial interface of an OrderWatcher | Leonid Logvinov | 2017-10-31 | 1 | -0/+27 |
| | | | | | |||||
| * | | | | Rename MempoolWatcher to EventWatcher and remove from public interface | Leonid Logvinov | 2017-10-31 | 2 | -10/+1 |
| | | | | | |||||
| * | | | | Fix namings | Leonid Logvinov | 2017-10-31 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | Add mempool tests | Leonid Logvinov | 2017-10-31 | 1 | -0/+125 |
| | | | | | |||||
| * | | | | Don't emit new events if already unsubscribed | Leonid Logvinov | 2017-10-31 | 1 | -1/+3 |
| | | | | | |||||
| * | | | | Compare logs by string representation | Leonid Logvinov | 2017-10-31 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | Upgrade web3-typescript-typings | Leonid Logvinov | 2017-10-31 | 2 | -4/+4 |
| | | | | | |||||
| * | | | | Add initial mempool watching implememtation | Leonid Logvinov | 2017-10-31 | 8 | -32/+115 |
| | | | | | |||||
| | | | * | Fix tslint issue | Leonid Logvinov | 2017-11-13 | 2 | -26/+15 |
| | | | | | |||||
| | | | * | Fix tests | Leonid Logvinov | 2017-11-13 | 1 | -1/+1 |
| | | | | | |||||
| | | | * | Normalize the way we return the transaction status | Leonid Logvinov | 2017-11-13 | 6 | -700/+973 |
| |_|_|/ |/| | | | |||||
* | | | | Merge pull request #209 from 0xProject/fixUnhandledPromiseBug | Brandon Millman | 2017-11-13 | 8 | -58/+154 |
|\ \ \ \ | |_|_|/ |/| | | | Fix unhandled promise rejection error on subscriptions | ||||
| * | | | Fix amounts in tests one last time. Now that we updated the testRPC ↵ | Fabio Berger | 2017-11-12 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | snapshot, this should no longer be mismatched between CI and locally | ||||
| * | | | Update testRPC snapshot used by CircleCi | Fabio Berger | 2017-11-12 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge pull request #208 from dekz/fixUnhandledPromiseBug | Fabio Berger | 2017-11-12 | 4 | -33/+115 |
| |\ \ \ | | | | | | | | | | | Clean up subscription state. | ||||
| | * | | | Push unsubscribe to the base class rather than super | Jacob Evans | 2017-11-12 | 3 | -25/+16 |
| | | | | | |||||
| | * | | | Check for null rather than undefined | Jacob Evans | 2017-11-12 | 1 | -1/+0 |
| | | | | | |||||
| | * | | | Removed nits | Jacob Evans | 2017-11-12 | 2 | -9/+2 |
| | | | | | |||||
| | * | | | Test case was error then unsubscribe | Jacob Evans | 2017-11-12 | 1 | -4/+13 |
| | | | | | |||||
| | * | | | Clean up subscription state. | Jacob Evans | 2017-11-12 | 4 | -17/+107 |
| |/ / / | | | | | | | | | | | | | In the case of an exception, keep the state correct between contract wrapper, exchange wrapper and token wrapper. | ||||
| * / / | Fix unhandled promise rejection error on subscriptions | Fabio Berger | 2017-11-11 | 4 | -24/+38 |
|/ / / | |||||
* | | | 0.22.6 | Leonid Logvinov | 2017-11-11 | 2 | -2/+2 |
| | | | |||||
* | | | Add new changes to CHANGELOG | Leonid Logvinov | 2017-11-11 | 1 | -0/+4 |
| | | | |||||
* | | | Merge pull request #206 from lukeautry/await_transaction_timeout | Leonid | 2017-11-11 | 2 | -1/+14 |
|\ \ \ | |_|/ |/| | | Allow timeout for await transaction mined | ||||
| * | | use util fn | Luke Autry | 2017-11-11 | 1 | -1/+1 |
| | | | |||||
| * | | no race, reject from interval cb and clear | Luke Autry | 2017-11-11 | 1 | -9/+10 |
| | | | |||||
| * | | allow timeout for await transaction mined | Luke Autry | 2017-11-10 | 2 | -1/+13 |
|/ / | |||||
* | | 0.22.5 | Fabio Berger | 2017-11-08 | 2 | -2/+2 |
| | | |||||
* | | Update changelog | Fabio Berger | 2017-11-08 | 1 | -0/+4 |
|/ | |||||
* | Remove unnecessary dep | Fabio Berger | 2017-10-31 | 1 | -1/+0 |
| | |||||
* | Merge branch 'development' of github.com:0xProject/0x.js into development | Fabio Berger | 2017-10-30 | 27 | -175/+201 |
|\ | | | | | | | | | | | | | | | | | | | | | * 'development' of github.com:0xProject/0x.js: Update CHANGELOG 0.22.4 Add HACK comments Add a forgotten augmentation file Upgrade bignumber to the version with native typings and remove typings Downgrade typedoc Upgrade bignumber to the version with native typings and remove typings | ||||
| * | Update CHANGELOG | Leonid Logvinov | 2017-10-26 | 1 | -0/+4 |
| | | |||||
| * | 0.22.4 | Leonid Logvinov | 2017-10-26 | 2 | -2/+2 |
| | | |||||
| * | Merge pull request #202 from 0xProject/fix/bignumber-types | Leonid | 2017-10-26 | 25 | -173/+195 |
| |\ | | | | | | | Bignumber types | ||||
| | * | Add HACK comments | Leonid Logvinov | 2017-10-26 | 1 | -0/+5 |
| | | | |||||
| | * | Add a forgotten augmentation file | Leonid Logvinov | 2017-10-26 | 1 | -0/+18 |
| | | | |||||
| | * | Upgrade bignumber to the version with native typings and remove typings | Leonid Logvinov | 2017-10-26 | 22 | -153/+149 |
| | | | |||||
| | * | Downgrade typedoc | Leonid Logvinov | 2017-10-26 | 2 | -33/+37 |
| | | | |||||
| | * | Upgrade bignumber to the version with native typings and remove typings | Leonid Logvinov | 2017-10-26 | 2 | -35/+34 |
| |/ | |||||
* / | Fix comment | Fabio Berger | 2017-10-30 | 1 | -2/+2 |
|/ | |||||
* | 0.22.3 | Leonid Logvinov | 2017-10-25 | 2 | -2/+2 |
| | |||||
* | Update CHANGELOG | Leonid Logvinov | 2017-10-25 | 1 | -0/+4 |
| | |||||
* | Merge pull request #199 from NoteGio/raise-allowance-gas | Leonid | 2017-10-25 | 1 | -1/+1 |
|\ | | | | | Increase ALLOWANCE_TO_ZERO_GAS_AMOUNT | ||||
| * | Increase ALLOWANCE_TO_ZERO_GAS_AMOUNT | Austin Roberts | 2017-10-25 | 1 | -1/+1 |
|/ | | | | | | | | | | | | On TestRPC, I'm seeing a particular transaction that is taking 47275 gas instead of the predefined 47155. It's not at all obvious to me why this transaction is taking an extra 120 gas, and I've been unable to reproduce the issue in the 0x.js test suite, but bumping the gas allowance has resolved the issue for me. The transactions in question are trying to set an unlimited proxy allowance on either the WETH or ZRX tokens in the testrpc snapshot, but run out of gas. |