Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #223 from dekz/bug/fix-readme-links | Fabio Berger | 2017-11-15 | 1 | -1/+4 |
|\ | | | | | Fix README links | ||||
| * | Doubled up | Jacob Evans | 2017-11-15 | 1 | -2/+0 |
| | | |||||
| * | Change Slack to Rocket | Jacob Evans | 2017-11-15 | 1 | -1/+3 |
| | | |||||
| * | Fix README links | Jacob Evans | 2017-11-15 | 1 | -0/+3 |
|/ | |||||
* | Merge pull request #219 from 0xProject/feature/rounding-validation | Brandon Millman | 2017-11-15 | 3 | -73/+119 |
|\ | | | | | Rounding validation | ||||
| * | Name a constant | Leonid Logvinov | 2017-11-15 | 1 | -2/+4 |
| | | |||||
| * | Fix namings | Leonid Logvinov | 2017-11-15 | 1 | -2/+2 |
| | | |||||
| * | Fix tests | Leonid Logvinov | 2017-11-14 | 1 | -12/+11 |
| | | |||||
| * | Add a test for rounding error | Leonid Logvinov | 2017-11-14 | 1 | -0/+23 |
| | | |||||
| * | Add assertions for fillableTakerAmount | Leonid Logvinov | 2017-11-14 | 1 | -72/+82 |
| | | |||||
| * | Add validation for rounding error | Leonid Logvinov | 2017-11-14 | 1 | -0/+7 |
| | | |||||
| * | Return remainingFillableTakerAmount | Leonid Logvinov | 2017-11-14 | 1 | -0/+4 |
| | | |||||
| * | Add remainingFillableMakerAmount to types | Leonid Logvinov | 2017-11-14 | 1 | -0/+1 |
| | | |||||
* | | re-add commonjs build | Fabio Berger | 2017-11-15 | 1 | -1/+1 |
| | | |||||
* | | Publish | Fabio Berger | 2017-11-15 | 1 | -2/+2 |
| | | | | | | | | - 0x.js@0.25.1 | ||||
* | | Publish | Fabio Berger | 2017-11-15 | 1 | -1/+1 |
| | | | | | | | | - 0x.js@0.25.0 | ||||
* | | Publish | Fabio Berger | 2017-11-15 | 1 | -1/+1 |
| | | | | | | | | - 0x.js@0.24.0 | ||||
* | | revert 0x.js version and change name so matches existing npm package name | Fabio Berger | 2017-11-15 | 1 | -2/+2 |
| | | |||||
* | | Publish@0xproject/tslint-config@0.1.0@0xproject/json-schemas@0.6.7@0xproject/assert@0.0.4@0xproject/0x.js@0.24.0 | Fabio Berger | 2017-11-15 | 4 | -10/+10 |
| | | | | | | | | | | | | | | - @0xproject/0x.js@0.24.0 - @0xproject/assert@0.0.4 - @0xproject/json-schemas@0.6.7 - @0xproject/tslint-config@0.1.0 | ||||
* | | Remove private flag because we need it published to npm | Fabio Berger | 2017-11-15 | 1 | -1/+0 |
| | | |||||
* | | Revert version | Fabio Berger | 2017-11-15 | 1 | -1/+1 |
| | | |||||
* | | Update package name and version in package.json | Fabio Berger | 2017-11-15 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #221 from 0xProject/feature/addJsonSchemas | Brandon Millman | 2017-11-15 | 42 | -24/+1562 |
|\ \ | | | | | | | Add json-schemas package to mono repo | ||||
| * | | Update tslint rules for assert and json-schemas | Brandon Millman | 2017-11-15 | 4 | -8/+9 |
| | | | |||||
| * | | Merge branch 'development' into feature/addJsonSchemas | Brandon Millman | 2017-11-15 | 15 | -40/+146 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: Improve description Alphabetize Add exit 0 to 0x.js build command Add snapshot save and revert to order_state_watcher_test.ts Fix changelog Use tslint v5.8.0 everywhere and use the tslint-config sub-package instead of the old repo as a dep. in the rest of the sub-packages. Add tslint-config sub-package Fix tslint issue Public interface has changed, moved to minor version Update changelog Renamed canceled to cancelled | ||||
| * | | | Add json-schemas package to mono repo | Brandon Millman | 2017-11-14 | 41 | -20/+1557 |
| | | | | |||||
* | | | | Update CHANGELOG | Fabio Berger | 2017-11-15 | 1 | -0/+1 |
| |/ / |/| | | |||||
* | | | Merge pull request #220 from 0xProject/feature/addTsLintPackage | Fabio Berger | 2017-11-15 | 8 | -24/+115 |
|\ \ \ | | | | | | | | | Add TSLint Config package | ||||
| * | | | Improve description | Fabio Berger | 2017-11-15 | 2 | -2/+2 |
| | | | | |||||
| * | | | Alphabetize | Fabio Berger | 2017-11-15 | 2 | -4/+4 |
| | | | | |||||
| * | | | Use tslint v5.8.0 everywhere and use the tslint-config sub-package instead ↵ | Fabio Berger | 2017-11-14 | 2 | -26/+5 |
| | | | | | | | | | | | | | | | | of the old repo as a dep. in the rest of the sub-packages. | ||||
| * | | | Add tslint-config sub-package | Fabio Berger | 2017-11-14 | 6 | -11/+123 |
| | | | | |||||
| * | | | Fix tslint issue | Fabio Berger | 2017-11-14 | 1 | -1/+1 |
| |/ / | |||||
* | | | Add exit 0 to 0x.js build command | Brandon Millman | 2017-11-15 | 1 | -1/+1 |
| | | | |||||
* | | | Add snapshot save and revert to order_state_watcher_test.ts | Brandon Millman | 2017-11-15 | 1 | -0/+6 |
| | | | |||||
* | | | Fix changelog | Fabio Berger | 2017-11-14 | 1 | -1/+6 |
| | | | |||||
* | | | Merge pull request #217 from dekz/fixCancelledNaming2 | Fabio Berger | 2017-11-14 | 7 | -16/+20 |
|\ \ \ | |/ / |/| | | Standardise on Cancelled over canceled | ||||
| * | | 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 |
| | | | |||||
* | | | Merge pull request #218 from 0xProject/bmillman_add_assert | Fabio Berger | 2017-11-14 | 12 | -89/+558 |
|\ \ \ | |/ / |/| | | Add assert sub-package | ||||
| * | | remove new line | Fabio Berger | 2017-11-14 | 1 | -1/+0 |
| | | | |||||
| * | | Update urls | Fabio Berger | 2017-11-14 | 1 | -3/+3 |
| | | | |||||
| * | | Missing @ | Fabio Berger | 2017-11-14 | 1 | -2/+2 |
| | | | |||||
| * | | Remove unused circle.yml | Fabio Berger | 2017-11-14 | 1 | -14/+0 |
| | | | |||||
| * | | Move conditional running of umd test to 0x.js's package.json | Fabio Berger | 2017-11-14 | 2 | -2/+1 |
| | | | |||||
| * | | Add preliminary instructions to top-level README | Fabio Berger | 2017-11-14 | 1 | -0/+23 |
| | | | |||||
| * | | remove image from sub-readme | Fabio Berger | 2017-11-14 | 1 | -4/+0 |
| | | | |||||
| * | | fix orderings | Fabio Berger | 2017-11-14 | 2 | -3/+3 |
| | | | |||||
| * | | Standardize around a `test:circleci` command that any sub-package can ↵ | Fabio Berger | 2017-11-14 | 3 | -3/+4 |
| | | | | | | | | | | | | implement in order to have their tests run on CircleCi | ||||
| * | | Rename back | Fabio Berger | 2017-11-14 | 10 | -5/+5 |
| | | | |||||
| * | | Rename assert sub-package and removed duplicate methods from 0x.js's assert ↵ | Fabio Berger | 2017-11-14 | 9 | -78/+15 |
| | | | | | | | | | | | | module | ||||
| * | | fix merge | Fabio Berger | 2017-11-14 | 1 | -2/+2 |
| |\ \ | |||||
| | * | | Add assert package to the monorepo | Brandon Millman | 2017-11-14 | 10 | -9/+537 |
| | |/ | |||||
| * / | Add assert package to the monorepo | Brandon Millman | 2017-11-14 | 10 | -9/+537 |
| |/ | |||||
* / | 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.0v0.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 |
| | | | | |