Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove unneeded calls to toBaseUnitAmount | Fabio Berger | 2017-06-02 | 1 | -8/+4 |
| | |||||
* | pass numbers to BigNumber unless it's too big for the number type | Fabio Berger | 2017-06-02 | 1 | -4/+4 |
| | |||||
* | use BigNumber(0) instead of with a string zero | Fabio Berger | 2017-06-02 | 1 | -4/+4 |
| | |||||
* | Add balance check to `transferAsync` and related test | Fabio Berger | 2017-06-02 | 2 | -3/+20 |
| | |||||
* | Improve comment | Fabio Berger | 2017-06-02 | 1 | -0/+2 |
| | |||||
* | Add tests for transferFromAsync, setAllowanceAsync and getAllowanceAsync and ↵ | Fabio Berger | 2017-06-02 | 1 | -21/+125 |
| | | | | fix up other test issues | ||||
* | Add setAllowanceAsync, getAllowanceAsync and transferFrom to tokenWrapper | Fabio Berger | 2017-06-02 | 5 | -18/+93 |
| | |||||
* | Fix tslint issues | Fabio Berger | 2017-06-02 | 1 | -2/+2 |
| | |||||
* | Merge pull request #28 from 0xProject/erc20transfer | Leonid | 2017-06-01 | 3 | -23/+60 |
|\ | | | | | Add transfer function and tests for it | ||||
| * | Address feedback | Leonid Logvinov | 2017-05-31 | 1 | -26/+28 |
| | | |||||
| * | Merge branch 'master' into erc20transfer | Leonid | 2017-05-31 | 3 | -15/+3840 |
| |\ | |||||
| * | | Add transfer function and tests for it | Leonid Logvinov | 2017-05-31 | 3 | -1/+36 |
| | | | |||||
* | | | Fix testrpc verison to 3.0.5 | Leonid Logvinov | 2017-06-01 | 2 | -20/+214 |
| |/ |/| | |||||
* | | Merge pull request #26 from 0xProject/erc20Wrapper | Fabio Berger | 2017-05-31 | 6 | -2/+206 |
|\ \ | | | | | | | Implement TokenWrapper functions & tests | ||||
| * | | Add TxOpts type | Fabio Berger | 2017-05-31 | 1 | -1/+6 |
| | | | |||||
| * | | remove InternalError type since this error could surface through the public ↵ | Fabio Berger | 2017-05-31 | 2 | -7/+3 |
| | | | | | | | | | | | | interface | ||||
| * | | Remove superfluous undefined check | Fabio Berger | 2017-05-31 | 1 | -4/+2 |
| | | | |||||
| * | | Add full stop to comments | Fabio Berger | 2017-05-31 | 1 | -2/+2 |
| |/ | |||||
| * | remove unused imports | Fabio Berger | 2017-05-30 | 2 | -4/+0 |
| | | |||||
| * | Add test for setProxyAllowanceAsync and additional test for ↵ | Fabio Berger | 2017-05-30 | 1 | -2/+32 |
| | | | | | | | | getProxyAllowanceAsync | ||||
| * | Implement setProxyAllowanceAsync | Fabio Berger | 2017-05-30 | 3 | -4/+34 |
| | | |||||
| * | remove spaces after it keyword | Fabio Berger | 2017-05-30 | 1 | -2/+2 |
| | | |||||
| * | Add first test for getProxyAllowanceAsync | Fabio Berger | 2017-05-30 | 1 | -0/+9 |
| | | |||||
| * | Implement zeroEx.token.getProxyAllowanceAsync | Fabio Berger | 2017-05-30 | 2 | -1/+34 |
| | | |||||
| * | use token instead of erc20 | Fabio Berger | 2017-05-30 | 2 | -6/+6 |
| | | |||||
| * | rename ERC20Contract to TokenContract | Fabio Berger | 2017-05-30 | 2 | -5/+5 |
| | | |||||
| * | rename erc20Wrapper to tokenWrapper to be more generic in case we end up ↵ | Fabio Berger | 2017-05-30 | 3 | -8/+31 |
| | | | | | | | | supporting another spec | ||||
| * | Merge branch 'master' into erc20Wrapper | Fabio Berger | 2017-05-30 | 8 | -23/+85 |
| |\ | | | | | | | | | | | | | # Conflicts: # src/0x.js.ts | ||||
| * \ | Merge branch 'tokenRegistry' into erc20Wrapper | Fabio Berger | 2017-05-30 | 2 | -1/+1 |
| |\ \ | |||||
| * | | | Add tests for getBalanceAsync | Fabio Berger | 2017-05-30 | 1 | -0/+55 |
| | | | | |||||
| * | | | Implement ERC20Wrapper and it's first method getBalanceAsync | Fabio Berger | 2017-05-30 | 3 | -0/+37 |
| | | | | |||||
* | | | | Merge pull request #27 from 0xProject/yarn | Fabio Berger | 2017-05-31 | 1 | -0/+3826 |
|\ \ \ \ | |_|_|/ |/| | | | Add yarn.lock | ||||
| * | | | Add yarn.lock | Leonid Logvinov | 2017-05-31 | 1 | -0/+3826 |
|/ / / | |||||
* | | | Remove mention of internal cleanup from public comment | Fabio Berger | 2017-05-30 | 1 | -2/+1 |
| | | | |||||
* | | | Merge pull request #25 from 0xProject/dontReinstantiateContractInstances | Leonid | 2017-05-30 | 7 | -9/+74 |
|\ \ \ | | | | | | | | | Add zeroEx.setProvider and clear contractInstances created with old provider | ||||
| * | | | use .be.undefined instead of .be.an('undefined') | Fabio Berger | 2017-05-30 | 1 | -4/+4 |
| | | | | |||||
| * | | | Refactor exchangeWrapper and tokenRegistryWrapper to use contract getter ↵ | Fabio Berger | 2017-05-30 | 3 | -15/+17 |
| | | | | | | | | | | | | | | | | that instantiates contract instance if not already instantiated | ||||
| * | | | Also test that web3Wrapper nested under tokenRegistryWrapper has updated ↵ | Fabio Berger | 2017-05-30 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | provider | ||||
| * | | | add assertions that contractInstances are not undefined before provider update | Fabio Berger | 2017-05-30 | 1 | -0/+2 |
| | | | | |||||
| * | | | Also instantiate tokenRegistry contract instance | Fabio Berger | 2017-05-30 | 1 | -1/+2 |
| | | | | |||||
| * | | | remove unused import | Fabio Berger | 2017-05-30 | 1 | -1/+0 |
| | | | | |||||
| * | | | remove unused declarations | Fabio Berger | 2017-05-30 | 1 | -3/+0 |
| | | | | |||||
| * | | | remove unused import | Fabio Berger | 2017-05-30 | 1 | -1/+0 |
| | | | | |||||
| * | | | remove unused import | Fabio Berger | 2017-05-30 | 1 | -1/+0 |
| | | | | |||||
| * | | | improve comment | Fabio Berger | 2017-05-30 | 1 | -1/+1 |
| | | | | |||||
| * | | | Make tokenRegistry contract instantiation lazy and clear it on provider update | Fabio Berger | 2017-05-30 | 3 | -5/+17 |
| | | | | |||||
| * | | | rename invalidateExchangeContract to invalidateContractInstance | Fabio Berger | 2017-05-30 | 2 | -2/+2 |
| | | | | |||||
| * | | | Merge branch 'master' into dontReinstantiateContractInstances | Fabio Berger | 2017-05-30 | 7 | -4/+116 |
| |\ \ \ | |/ / / |/| | | | |||||
* | | | | Merge pull request #24 from 0xProject/tokenRegistry | Fabio Berger | 2017-05-30 | 6 | -0/+113 |
|\ \ \ \ | | | | | | | | | | | TokenRegistryWrapper | ||||
| * \ \ \ | Merge branch 'master' into tokenRegistry | Fabio Berger | 2017-05-30 | 3 | -9/+8 |
| |\ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | # Conflicts: # src/0x.js.ts | ||||
* | | | | | Merge pull request #22 from 0xProject/regex-fix | Fabio Berger | 2017-05-30 | 1 | -4/+3 |
|\ \ \ \ \ | | | | | | | | | | | | | Fix the empty code regex | ||||
| * | | | | | Fix the empty code regex | Leonid Logvinov | 2017-05-30 | 1 | -4/+3 |
| | | | | | | |||||
| | * | | | | use to.have.lengthOf | Fabio Berger | 2017-05-30 | 1 | -2/+2 |
| | | | | | | |||||
| | * | | | | Improve type definitions | Fabio Berger | 2017-05-30 | 1 | -2/+6 |
| | | | | | | |||||
| | * | | | | Add TokenMetadata type | Fabio Berger | 2017-05-30 | 2 | -2/+5 |
| | | | | | | |||||
| | * | | | | remove unused import | Fabio Berger | 2017-05-30 | 1 | -1/+1 |
| | | |_|/ | | |/| | | |||||
| | * | | | Merge branch 'removeSrcFilesNotUsedByTests' into tokenRegistry | Fabio Berger | 2017-05-30 | 2 | -1/+1 |
| | |\ \ \ | | | |_|/ | | |/| | | |||||
| | * | | | Add tests for getTokensAsync including schema validation | Fabio Berger | 2017-05-30 | 3 | -0/+57 |
| | | | | | |||||
| | * | | | Add TokenRegistryWrapper and getTokensAsync method | Fabio Berger | 2017-05-30 | 3 | -0/+49 |
| | | | | | |||||
| | | | * | Add tests for setProvider | Fabio Berger | 2017-05-30 | 2 | -3/+30 |
| | | | | | |||||
| | | | * | Add setProvider method to 0x.js that updates the web3 provider and ↵ | Fabio Berger | 2017-05-30 | 2 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | invalidates any contractInstances instantiated with the old provider | ||||
| | | | * | Lazily instantiate exchangeContract and store as instance variable instead ↵ | Fabio Berger | 2017-05-30 | 2 | -3/+17 |
| |_|_|/ |/| | | | | | | | | | | | of re-instantiating on every call | ||||
* | | | | make web3Wrapper a private instance variable | Fabio Berger | 2017-05-30 | 2 | -5/+5 |
|/ / / | |||||
* | | | Merge pull request #20 from 0xProject/removeSrcFilesNotUsedByTests | Leonid | 2017-05-30 | 1 | -1/+2 |
|\ \ \ | | |/ | |/| | Allow tests to access schemas, utils and types | ||||
| * | | Merge branch 'master' into removeSrcFilesNotUsedByTests | Fabio Berger | 2017-05-30 | 2 | -1/+1 |
| |\ \ | |/ / |/| / | |/ | |||||
* | | name exchangeWrapper test file properly | Fabio Berger | 2017-05-30 | 1 | -0/+0 |
| | | |||||
* | | Reverts: 7e96b45ea0c51ca5589640018172a91a35596148 which broke this regex for ↵ | Fabio Berger | 2017-05-30 | 1 | -1/+1 |
| | | | | | | | | the `0x0` edge-case | ||||
| * | Instead of removing all files from ./lib/src for the UMD test, we leave the ↵ | Fabio Berger | 2017-05-30 | 1 | -1/+2 |
|/ | | | | utils and schema folders as well as the types file since they are used by the test files | ||||
* | Merge pull request #19 from 0xProject/test-commands-refactor | Fabio Berger | 2017-05-30 | 2 | -11/+13 |
|\ | | | | | Refactor test commands | ||||
| * | Merge branch 'master' into test-commands-refactor | Leonid | 2017-05-30 | 0 | -0/+0 |
| |\ | |/ |/| | |||||
* | | Merge pull request #18 from 0xProject/fix-coverage | Leonid | 2017-05-30 | 1 | -1/+1 |
|\ \ | | | | | | | Run coverage only for commonjs test | ||||
| * | | Run cverage only for commonjs test | Leonid Logvinov | 2017-05-29 | 1 | -1/+1 |
| | | | |||||
| | * | Refactor test commands | Leonid Logvinov | 2017-05-30 | 2 | -10/+12 |
| |/ |/| | |||||
* | | Lowercase schema names | Fabio Berger | 2017-05-30 | 4 | -12/+12 |
| | | |||||
* | | Fix typos | Fabio Berger | 2017-05-29 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #17 from 0xProject/addSignOrderHashAndTests | Fabio Berger | 2017-05-29 | 7 | -5/+159 |
|\ \ | |/ |/| | Add signOrderHashAsync and tests | ||||
| * | empty stubs array before next test runs | Fabio Berger | 2017-05-29 | 1 | -0/+1 |
| | | |||||
| * | improve comment | Fabio Berger | 2017-05-29 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' into addSignOrderHashAndTests | Fabio Berger | 2017-05-29 | 5 | -26/+39 |
| |\ | |/ |/| | | | | | | | | | # Conflicts: # package.json # src/globals.d.ts # test/0x.js_test.ts | ||||
* | | Merge pull request #16 from 0xProject/umd-tests | Fabio Berger | 2017-05-29 | 5 | -27/+40 |
|\ \ | | | | | | | Umd tests | ||||
| * | | Address feedback | Leonid Logvinov | 2017-05-29 | 3 | -5/+6 |
| | | | |||||
| * | | Don't build before test | Leonid Logvinov | 2017-05-29 | 1 | -1/+1 |
| | | | |||||
| * | | Refactor test commands | Leonid Logvinov | 2017-05-29 | 2 | -13/+24 |
| | | | |||||
| * | | Add umd test command and separate public and private npm scripts | Leonid Logvinov | 2017-05-29 | 1 | -7/+10 |
| | | | |||||
| * | | Make eventually a PromisedAssertion | Leonid Logvinov | 2017-05-29 | 2 | -3/+4 |
| | | | |||||
| * | | Rename build:bundle to build:umd | Leonid Logvinov | 2017-05-29 | 1 | -1/+1 |
| | | | |||||
| * | | Use only 0x public interface in contract wrapper tests | Leonid Logvinov | 2017-05-29 | 1 | -14/+11 |
| | | | |||||
| * | | Use constants from test utils | Leonid Logvinov | 2017-05-29 | 1 | -1/+1 |
| | | | |||||
| | * | fix declaration | Fabio Berger | 2017-05-29 | 1 | -1/+1 |
| | | | |||||
| | * | Add mnemonic to nom testrpc command | Fabio Berger | 2017-05-29 | 1 | -1/+1 |
| | | | |||||
| | * | Use disable-next-line instead of disable and always put rule that is being ↵ | Fabio Berger | 2017-05-29 | 2 | -6/+3 |
| | | | | | | | | | | | | disabled | ||||
| | * | Add declarations for find-versions and compare-versions | Fabio Berger | 2017-05-29 | 1 | -2/+12 |
| | | | |||||
| | * | Add static mnemonic when starting testrpc on circleCI | Fabio Berger | 2017-05-29 | 1 | -1/+1 |
| | | | |||||
| | * | Implement tests for signOrderHashAsync that test the logic for Parity < ↵ | Fabio Berger | 2017-05-29 | 2 | -0/+74 |
| | | | | | | | | | | | | v1.6.6, >1.6.6 and other nodes | ||||
| | * | Port over signOrderHashAsync | Fabio Berger | 2017-05-29 | 5 | -1/+73 |
| |/ |/| | |||||
* | | don't use uppercase for constant variable unless it's global to the entire file | Fabio Berger | 2017-05-29 | 1 | -3/+3 |
| | | |||||
* | | Standardize all comments | Fabio Berger | 2017-05-29 | 1 | -4/+4 |
|/ | |||||
* | Merge pull request #15 from 0xProject/rm-ts | Leonid | 2017-05-29 | 14 | -6/+6 |
|\ | | | | | Remove typescript folder | ||||
| * | Fix linter command | Leonid Logvinov | 2017-05-29 | 1 | -1/+1 |
| | | |||||
| * | Fix lint command | Leonid Logvinov | 2017-05-29 | 1 | -1/+1 |
| | | |||||
| * | Fix imports | Leonid Logvinov | 2017-05-29 | 3 | -5/+5 |
| | | |||||
| * | Move files up and remove ts folder | Leonid Logvinov | 2017-05-29 | 11 | -0/+0 |
|/ | |||||
* | Merge branch 'master' of github.com:0xProject/0x.js | Fabio Berger | 2017-05-29 | 25 | -43/+3442 |
|\ | | | | | | | | | | | # Conflicts: # src/ts/0x.js.ts # src/ts/utils/utils.ts | ||||
| * | Merge pull request #14 from 0xProject/implementFirstExchangeMethod | Fabio Berger | 2017-05-27 | 25 | -40/+3439 |
| |\ | | | | | | | Implement first exchange method | ||||
| | * | use commit hash instead of branch | Fabio Berger | 2017-05-27 | 1 | -2/+2 |
| | | | |||||
| | * | clone specific branch where contract artifacts are fixed to the version of ↵ | Fabio Berger | 2017-05-27 | 1 | -1/+1 |
| | | | | | | | | | | | | the 0x.js library version | ||||
| | * | Refactor to ternary | Fabio Berger | 2017-05-27 | 1 | -6/+1 |
| | | | |||||
| | * | Make zero address regex stricter | Leonid Logvinov | 2017-05-27 | 1 | -1/+1 |
| | | | |||||
| | * | Merge branch 'implementFirstExchangeMethod' of github.com:0xProject/0x.js ↵ | Fabio Berger | 2017-05-27 | 2 | -3/+3 |
| | |\ | | | | | | | | | | | | | into implementFirstExchangeMethod | ||||
| | | * | Remove unnecessary ./s | Leonid Logvinov | 2017-05-27 | 1 | -2/+2 |
| | | | | |||||
| | | * | Simplify zero address regex | Leonid Logvinov | 2017-05-27 | 1 | -1/+1 |
| | | | | |||||
| | * | | remove todo | Fabio Berger | 2017-05-27 | 1 | -1/+0 |
| | |/ | |||||
| | * | improve comment | Fabio Berger | 2017-05-27 | 1 | -1/+2 |
| | | | |||||
| | * | rename BlockClean to BlockchainLifecycle and setupAsync to startAsync, ↵ | Fabio Berger | 2017-05-27 | 2 | -7/+7 |
| | | | | | | | | | | | | restoreAsync to revertAsync | ||||
| | * | import reorder | Fabio Berger | 2017-05-26 | 1 | -1/+1 |
| | | | |||||
| | * | remove outdated comment | Fabio Berger | 2017-05-26 | 1 | -2/+0 |
| | | | |||||
| | * | remove stray console log | Fabio Berger | 2017-05-26 | 1 | -1/+0 |
| | | | |||||
| | * | return undefined if not address found | Fabio Berger | 2017-05-26 | 1 | -3/+3 |
| | | | |||||
| | * | Add missing return types | Fabio Berger | 2017-05-26 | 4 | -7/+7 |
| | | | |||||
| | * | Merge branch 'implementFirstExchangeMethod' of github.com:0xProject/0x.js ↵ | Fabio Berger | 2017-05-26 | 2 | -1/+9 |
| | |\ | | | | | | | | | | | | | into implementFirstExchangeMethod | ||||
| | | * | Add linting to test pipeline | Leonid Logvinov | 2017-05-26 | 1 | -0/+1 |
| | | | | |||||
| | | * | Install contract dependencies | Leonid Logvinov | 2017-05-26 | 1 | -1/+1 |
| | | | | |||||
| | | * | Fix paths in circle.yml | Leonid Logvinov | 2017-05-26 | 1 | -2/+2 |
| | | | | |||||
| | | * | Add contracts deployment and copying the artefacts to circle.ym | Leonid Logvinov | 2017-05-26 | 1 | -0/+5 |
| | | | | |||||
| | | * | Add testrpc as a dependency and a command for running it | Leonid Logvinov | 2017-05-26 | 1 | -1/+3 |
| | | | | |||||
| | * | | move console log into UNHANDLED_ERROR clause | Fabio Berger | 2017-05-26 | 1 | -1/+1 |
| | | | | |||||
| | * | | rename networkId to networkIdIfExists | Fabio Berger | 2017-05-26 | 1 | -2/+4 |
| | | | | |||||
| | * | | remove comment | Fabio Berger | 2017-05-26 | 1 | -1/+0 |
| | | | | |||||
| | * | | import re-order | Fabio Berger | 2017-05-26 | 1 | -2/+2 |
| | |/ | |||||
| | * | Setup blockchain snapshotting before/after every test, implemented unit ↵ | Fabio Berger | 2017-05-26 | 7 | -0/+204 |
| | | | | | | | | | | | | tests for exchangeWrapper.isValidSignature | ||||
| | * | Add missing semi-colon | Fabio Berger | 2017-05-26 | 1 | -1/+1 |
| | | | |||||
| | * | cleanup isValidSignature method | Fabio Berger | 2017-05-26 | 1 | -5/+6 |
| | | | |||||
| | * | Add missing require | Fabio Berger | 2017-05-26 | 1 | -0/+1 |
| | | | |||||
| | * | Spacing and import re-order | Fabio Berger | 2017-05-26 | 1 | -3/+4 |
| | | | |||||
| | * | Postfix test files with `_test` | Fabio Berger | 2017-05-26 | 2 | -1/+1 |
| | | | |||||
| | * | Remove unused bignum import | Leonid Logvinov | 2017-05-26 | 1 | -1/+0 |
| | | | |||||
| | * | Remove es6 target | Leonid Logvinov | 2017-05-26 | 2 | -4/+1 |
| | | | |||||
| | * | include jsonschema type defs | Fabio Berger | 2017-05-26 | 1 | -0/+1 |
| | | | |||||
| | * | Extract artifacts list to a variable | Leonid Logvinov | 2017-05-26 | 1 | -1/+4 |
| | | | |||||
| | * | Merge branch 'master' into implementFirstExchangeMethod | Fabio Berger | 2017-05-26 | 6 | -1/+110 |
| | |\ | | |/ | |/| | | | | | | | | | | | | | | | | # Conflicts: # package.json # src/ts/0x.js.ts # src/ts/globals.d.ts # src/ts/types.ts | ||||
| | * | Include JSON file loader in webpack | Fabio Berger | 2017-05-26 | 2 | -9/+20 |
| | | | |||||
| | * | Fix web3 imports again | Fabio Berger | 2017-05-26 | 4 | -4/+4 |
| | | | |||||
| | * | Fix web3 imports | Fabio Berger | 2017-05-26 | 3 | -3/+3 |
| | | | |||||
| | * | Copy over artifacts to lib folder onBuild | Fabio Berger | 2017-05-26 | 1 | -1/+1 |
| | | | |||||
| | * | Change the order of params in isValidSignatureAsync to be consistent | Leonid Logvinov | 2017-05-26 | 1 | -4/+4 |
| | | | |||||
| | * | Fix exchange type | Leonid Logvinov | 2017-05-26 | 1 | -1/+1 |
| | | | |||||
| | * | Remove unused imports | Leonid Logvinov | 2017-05-26 | 1 | -3/+0 |
| | | | |||||
| | * | Add initial exchange contract function, set up web3Wrapper, added types and ↵ | Fabio Berger | 2017-05-26 | 9 | -19/+252 |
| | | | | | | | | | | | | utils | ||||
| | * | Add npm command to update contact artifacts | Fabio Berger | 2017-05-26 | 7 | -1/+2961 |
| | | | |||||
* | | | Move bigNumberToBN to utils module | Fabio Berger | 2017-05-29 | 2 | -17/+20 |
|/ / | |||||
* | | Merge pull request #13 from 0xProject/getOrderHash | Leonid | 2017-05-26 | 6 | -1/+120 |
|\ \ | |/ |/| | Port getOrderHash and write tests for it | ||||
| * | Address feedback | Leonid Logvinov | 2017-05-26 | 3 | -6/+4 |
| | | |||||
| * | Address feedback | Leonid Logvinov | 2017-05-26 | 3 | -26/+41 |
| | | |||||
| * | Port getOrderHash | Leonid Logvinov | 2017-05-25 | 6 | -1/+107 |
|/ | |||||
* | Merge pull request #11 from 0xProject/isValidOrderHash | Fabio Berger | 2017-05-25 | 5 | -16/+40 |
|\ | | | | | Port isValidOrderHash and tests | ||||
| * | Get rid of ETH | Leonid Logvinov | 2017-05-25 | 1 | -4/+4 |
| | | |||||
| * | Fix comment | Leonid Logvinov | 2017-05-25 | 1 | -1/+1 |
| | | |||||
| * | Fix tests | Leonid Logvinov | 2017-05-25 | 1 | -1/+1 |
| | | |||||
| * | Fix braces | Leonid Logvinov | 2017-05-25 | 2 | -0/+3 |
| | | |||||
| * | Merge branch 'master' into isValidOrderHash | Leonid | 2017-05-25 | 4 | -3/+61 |
| |\ | |/ |/| | |||||
* | | Merge pull request #12 from 0xProject/addToUnitStatic | Fabio Berger | 2017-05-25 | 4 | -1/+64 |
|\ \ | | | | | | | Add toUnitAmount and toBaseUnitAmount static helpers and tests | ||||
| * | | Add toUnitAmount and toBaseUnitAmount static helpers and tests | Fabio Berger | 2017-05-25 | 4 | -1/+64 |
|/ / | |||||
| * | Address feedback | Leonid Logvinov | 2017-05-25 | 4 | -9/+14 |
| | | |||||
| * | Remove type aliases | Leonid Logvinov | 2017-05-25 | 3 | -8/+7 |
| | | |||||
| * | Merge branch 'master' into isValidOrderHash | Leonid | 2017-05-25 | 7 | -14/+58 |
| |\ | |/ |/| | |||||
* | | Merge pull request #10 from 0xProject/addSchemas | Fabio Berger | 2017-05-25 | 7 | -14/+58 |
|\ \ | | | | | | | Add schema validation | ||||
| * | | Use expect.to.throw | Fabio Berger | 2017-05-25 | 1 | -24/+4 |
| | | | |||||
| * | | Merge branch 'master' into addSchemas | Fabio Berger | 2017-05-25 | 3 | -0/+30 |
| |\ \ | |/ / |/| | | | | | | | | # Conflicts: # package.json | ||||
| * | | remove stray console log | Fabio Berger | 2017-05-25 | 1 | -1/+0 |
| | | | |||||
| * | | rename v to validator for clarity | Fabio Berger | 2017-05-25 | 1 | -6/+6 |
| | | | |||||
| * | | Fix malformed tests to check for thrown assertion | Fabio Berger | 2017-05-25 | 1 | -10/+27 |
| | | | |||||
| * | | Pretty print passed in order and schema validation errors in thrown assertion | Fabio Berger | 2017-05-25 | 1 | -2/+4 |
| | | | |||||
| * | | Improve ECSignature schema to check signature parameters and that v is 27 or 28 | Fabio Berger | 2017-05-25 | 2 | -4/+15 |
| | | | |||||
| * | | Add schema validation and assertion, create ECSignature schema | Fabio Berger | 2017-05-25 | 6 | -4/+39 |
| | | | |||||
| | * | Fix tests | Leonid Logvinov | 2017-05-25 | 1 | -1/+1 |
| | | | |||||
| | * | Remove HexString type | Leonid Logvinov | 2017-05-25 | 2 | -7/+6 |
| | | | |||||
| | * | Port isValidOrderHash and tests | Leonid Logvinov | 2017-05-25 | 4 | -3/+26 |
| |/ |/| | |||||
* | | Merge pull request #9 from 0xProject/generateSalt | Leonid | 2017-05-25 | 3 | -0/+30 |
|\ \ | |/ |/| | Add generateSalt and tests for it | ||||
| * | More descriptive comment | Leonid Logvinov | 2017-05-25 | 1 | -1/+5 |
| | | |||||
| * | Add lodash | Leonid Logvinov | 2017-05-25 | 1 | -0/+1 |
| | | |||||
| * | Add generateSalt and tests for it | Leonid Logvinov | 2017-05-25 | 3 | -0/+25 |
|/ | |||||
* | Fix test that was passing an invalid address (now caught by our assertions), ↵ | Fabio Berger | 2017-05-25 | 1 | -1/+2 |
| | | | | to instead pass a valid but unrelated address as the test name suggests | ||||
* | Add assertions library and add them for all function args | Fabio Berger | 2017-05-25 | 4 | -2/+44 |
| | |||||
* | Merge pull request #8 from 0xProject/isSignatureValid | Leonid | 2017-05-25 | 5 | -7/+114 |
|\ | | | | | Add isSignatureValid method and tests for it | ||||
| * | Address feedback | Leonid Logvinov | 2017-05-25 | 3 | -5/+7 |
| | | |||||
| * | Add node types | Leonid Logvinov | 2017-05-25 | 1 | -0/+1 |
| | | |||||
| * | Add test for malformed s | Leonid Logvinov | 2017-05-25 | 1 | -0/+10 |
| | | |||||
| * | change tests descriptions | Leonid Logvinov | 2017-05-25 | 1 | -15/+24 |
| | | |||||
| * | Add test vector source | Leonid Logvinov | 2017-05-25 | 1 | -0/+1 |
| | | |||||
| * | Type the ethereumjs-util | Leonid Logvinov | 2017-05-25 | 2 | -4/+12 |
| | | |||||
| * | Define node version in circleCI | Leonid Logvinov | 2017-05-25 | 1 | -0/+4 |
| | | |||||
| * | Add isSignatureValid method and tests for it | Leonid Logvinov | 2017-05-25 | 4 | -7/+79 |
|/ | |||||
* | Merge pull request #7 from 0xProject/docs | Fabio Berger | 2017-05-24 | 4 | -2/+11 |
|\ | | | | | Add command to generate docs from ts code | ||||
| * | Add command to generate json docs | Leonid Logvinov | 2017-05-24 | 1 | -0/+1 |
| | | |||||
| * | Add command to generate docs from ts code | Leonid Logvinov | 2017-05-24 | 4 | -2/+10 |
|/ | |||||
* | Rename circleci.yml to circle.yml | Leonid | 2017-05-24 | 1 | -0/+0 |
| | |||||
* | Merge pull request #6 from 0xProject/coverage | Leonid | 2017-05-24 | 2 | -2/+8 |
|\ | | | | | Add coverage command | ||||
| * | Rename coverage to test:coverage | Leonid Logvinov | 2017-05-24 | 2 | -2/+2 |
| | | |||||
| * | Add coverage command | Leonid Logvinov | 2017-05-24 | 2 | -2/+8 |
|/ | |||||
* | Add CI status badge | Leonid Logvinov | 2017-05-24 | 1 | -1/+2 |
| | |||||
* | Merge pull request #5 from 0xProject/tests | Fabio Berger | 2017-05-24 | 3 | -3/+21 |
|\ | | | | | Tests | ||||
| * | Remove ts-node | Leonid Logvinov | 2017-05-24 | 1 | -1/+0 |
| | | |||||
| * | Run mocha on compiled sources | Leonid Logvinov | 2017-05-24 | 2 | -2/+3 |
| | | |||||
| * | Remove spaces | Leonid Logvinov | 2017-05-24 | 1 | -1/+1 |
| | | |||||
| * | Add initial testing config and a dummy test | Leonid Logvinov | 2017-05-24 | 2 | -2/+20 |
| | | |||||
* | | Merge pull request #4 from 0xProject/tslint | Fabio Berger | 2017-05-24 | 2 | -3/+5 |
|\| | | | | | Add tslint command to npm scripts and fix linting errors | ||||
| * | Add tslint command to npm scripts and fix linting errors | Leonid Logvinov | 2017-05-24 | 2 | -3/+5 |
| | | |||||
* | | Merge pull request #3 from 0xProject/webpack | Leonid | 2017-05-24 | 3 | -3/+62 |
|\| | | | | | Webpack && npm scripts && ignore files | ||||
| * | Add trailing comas | Leonid Logvinov | 2017-05-24 | 1 | -7/+7 |
| | | |||||
| * | Add clarifiing comment to webpack config | Leonid Logvinov | 2017-05-24 | 1 | -0/+3 |
| | | |||||
| * | Capitalize library name | Leonid Logvinov | 2017-05-24 | 1 | -1/+1 |
| | | |||||
| * | newline | Leonid Logvinov | 2017-05-24 | 1 | -1/+2 |
| | | |||||
| * | Add .npmignore | Leonid Logvinov | 2017-05-24 | 1 | -0/+6 |
| | | |||||
| * | Add webpack config and npm scripts | Leonid Logvinov | 2017-05-24 | 2 | -2/+51 |
| | | |||||
| * | Fix LICENCE | Leonid Logvinov | 2017-05-24 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #2 from 0xProject/tsconfig | Leonid | 2017-05-24 | 2 | -0/+21 |
|\ | | | | | Add initial tsconfig | ||||
| * | Add comments to .gitignore | Leonid Logvinov | 2017-05-24 | 1 | -1/+5 |
| | | |||||
| * | Add initial tsconfig | Leonid Logvinov | 2017-05-24 | 2 | -0/+17 |
|/ | |||||
* | Merge pull request #1 from 0xProject/initial-package | Leonid | 2017-05-24 | 2 | -0/+28 |
|\ | | | | | Add initial package.json and linter config | ||||
| * | Change description and licence | Leonid Logvinov | 2017-05-24 | 1 | -2/+2 |
| | | |||||
| * | Merge branch 'master' into initial-package | Leonid Logvinov | 2017-05-24 | 1 | -0/+0 |
| |\ | |/ |/| | |||||
* | | Create ts folder | Fabio Berger | 2017-05-24 | 1 | -0/+0 |
| | | |||||
| * | Add initial package.json and linter config | Leonid Logvinov | 2017-05-24 | 2 | -0/+28 |
|/ | |||||
* | Add empty zeroEx class | Leonid Logvinov | 2017-05-24 | 1 | -0/+5 |
| | |||||
* | Switch the licence to Apache 2 | Leonid Logvinov | 2017-05-24 | 1 | -18/+10 |
| | |||||
* | Initial commit | Leonid | 2017-05-23 | 3 | -0/+81 |