# Change Log All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. ## [0.18.8](https://github.com/kleros/kleros-api/compare/v0.17.1...v0.18.8) (2018-11-08) ### Bug Fixes * **evidences:** get evidences ([f69dc5e](https://github.com/kleros/kleros-api/commit/f69dc5e)) * timestamps caching error ([d20e402](https://github.com/kleros/kleros-api/commit/d20e402)) ## [0.17.1](https://github.com/kleros/kleros-api/compare/v0.17.0...v0.17.1) (2018-09-07) ### Bug Fixes * disputeId -> disputeID from store ([93508e2](https://github.com/kleros/kleros-api/commit/93508e2)) # [0.17.0](https://github.com/kleros/kleros-api/compare/v0.16.0...v0.17.0) (2018-09-06) ### Bug Fixes * activatedTokens is BN even when 0 ([020fd25](https://github.com/kleros/kleros-api/commit/020fd25)) * get dispute from store ([696e715](https://github.com/kleros/kleros-api/commit/696e715)) * use toString in notifications ([3cb5f9e](https://github.com/kleros/kleros-api/commit/3cb5f9e)) ### Features * fetch parties from arbitrable implementation ([2be78ce](https://github.com/kleros/kleros-api/commit/2be78ce)) * remove conversions ([7a5bae5](https://github.com/kleros/kleros-api/commit/7a5bae5)) # [0.16.0](https://github.com/kleros/kleros-api/compare/v0.15.0...v0.16.0) (2018-08-29) ### Features * pull open disputes from cache ([39505f5](https://github.com/kleros/kleros-api/commit/39505f5)) # [0.15.0](https://github.com/kleros/kleros-api/compare/v0.14.2...v0.15.0) (2018-08-13) ### Features * fetch minimal data and cache where possible ([#167](https://github.com/kleros/kleros-api/issues/167)) ([0b8670f](https://github.com/kleros/kleros-api/commit/0b8670f)) ## [0.14.2](https://github.com/kleros/kleros-api/compare/v0.14.1...v0.14.2) (2018-08-09) ### Bug Fixes * change reused variable ([#166](https://github.com/kleros/kleros-api/issues/166)) ([84dce71](https://github.com/kleros/kleros-api/commit/84dce71)) ## [0.14.1](https://github.com/kleros/kleros-api/compare/v0.14.0...v0.14.1) (2018-08-09) ### Bug Fixes * use BigNumber .minus ([#165](https://github.com/kleros/kleros-api/issues/165)) ([76f457e](https://github.com/kleros/kleros-api/commit/76f457e)) # [0.14.0](https://github.com/kleros/kleros-api/compare/v0.13.0...v0.14.0) (2018-08-08) ### Features * **disputes:** fetch ruling from blockchain ([#164](https://github.com/kleros/kleros-api/issues/164)) ([ef7d9ab](https://github.com/kleros/kleros-api/commit/ef7d9ab)) # [0.13.0](https://github.com/kleros/kleros-api/compare/v0.12.2...v0.13.0) (2018-07-31) ### Features * **disputes:** get jurors rulings ([d0964c0](https://github.com/kleros/kleros-api/commit/d0964c0)) ## [0.12.2](https://github.com/kleros/kleros-api/compare/v0.12.1...v0.12.2) (2018-07-31) ## [0.12.1](https://github.com/kleros/kleros-api/compare/v0.12.0...v0.12.1) (2018-07-31) # [0.12.0](https://github.com/kleros/kleros-api/compare/v0.11.3...v0.12.0) (2018-07-31) ### Features * minAcivatedTokens and timePerPeriod ([b49796e](https://github.com/kleros/kleros-api/commit/b49796e)) ## [0.11.3](https://github.com/kleros/kleros-api/compare/v0.11.2...v0.11.3) (2018-07-31) ## [0.11.2](https://github.com/kleros/kleros-api/compare/v0.11.1...v0.11.2) (2018-07-30) ## [0.11.1](https://github.com/kleros/kleros-api/compare/v0.11.0...v0.11.1) (2018-07-30) ### Bug Fixes * change working from activate to deposit ([#160](https://github.com/kleros/kleros-api/issues/160)) ([f92b18a](https://github.com/kleros/kleros-api/commit/f92b18a)) # [0.11.0](https://github.com/kleros/kleros-api/compare/v0.10.0...v0.11.0) (2018-07-30) ### Features * **kleros:** add withdraw and transfer functions ([eba6758](https://github.com/kleros/kleros-api/commit/eba6758)) # [0.10.0](https://github.com/kleros/kleros-api/compare/v0.9.2...v0.10.0) (2018-07-25) ### Features * create meta-evidence with contract ([fef04aa](https://github.com/kleros/kleros-api/commit/fef04aa)) * fetch evidence from the chain ([c3f410f](https://github.com/kleros/kleros-api/commit/c3f410f)) * get data directly from implementation ([5ff4aee](https://github.com/kleros/kleros-api/commit/5ff4aee)) * split event based functions into base Arbitrable.js ([9544efe](https://github.com/kleros/kleros-api/commit/9544efe)) * submit evidence uri use evidenceIndex ([12040dd](https://github.com/kleros/kleros-api/commit/12040dd)) ## [0.9.2](https://github.com/kleros/kleros-api/compare/v0.9.1...v0.9.2) (2018-06-22) ### Bug Fixes * add draws separately ([9371397](https://github.com/kleros/kleros-api/commit/9371397)) ## [0.9.1](https://github.com/kleros/kleros-api/compare/v0.9.0...v0.9.1) (2018-06-21) ### Bug Fixes * canRule false for juror who missed vote ([9ba4f32](https://github.com/kleros/kleros-api/commit/9ba4f32)) # [0.9.0](https://github.com/kleros/kleros-api/compare/v0.8.0...v0.9.0) (2018-06-20) ### Features * new endpoint for mark notification read ([1b46d8a](https://github.com/kleros/kleros-api/commit/1b46d8a)) * store last session seen for faster loading ([430e494](https://github.com/kleros/kleros-api/commit/430e494)) # [0.8.0](https://github.com/kleros/kleros-api/compare/v0.7.1...v0.8.0) (2018-06-12) ### Bug Fixes * blockNumber is not bigNumber ([1117dae](https://github.com/kleros/kleros-api/commit/1117dae)) ### Features * add MiniMe PNK contract ([cacc9be](https://github.com/kleros/kleros-api/commit/cacc9be)) * get all period based timestamps by session ([a6d19bb](https://github.com/kleros/kleros-api/commit/a6d19bb)) * use session for dispute deadline and appeal created at ([2920255](https://github.com/kleros/kleros-api/commit/2920255)) ## [0.7.1](https://github.com/kleros/kleros-api/compare/v0.7.0...v0.7.1) (2018-06-11) ### Bug Fixes * **EventListener:** only stop watching if listener exists ([c28f20c](https://github.com/kleros/kleros-api/commit/c28f20c)) # [0.7.0](https://github.com/kleros/kleros-api/compare/v0.6.1...v0.7.0) (2018-06-07) ### Bug Fixes * bugs in fetching timestamps ([1d5af49](https://github.com/kleros/kleros-api/commit/1d5af49)) ### Features * **appeal:** add appeal feature ([f6f15bc](https://github.com/kleros/kleros-api/commit/f6f15bc)) ## [0.6.1](https://github.com/kleros/kleros-api/compare/v0.6.0...v0.6.1) (2018-06-05) ### Bug Fixes * evidences -> evidence ([684faa6](https://github.com/kleros/kleros-api/commit/684faa6)) # [0.6.0](https://github.com/kleros/kleros-api/compare/v0.5.1...v0.6.0) (2018-06-05) ### Bug Fixes * hotfixes 0.4.1 and 0.4.2 ([c6fdd3b](https://github.com/kleros/kleros-api/commit/c6fdd3b)) ### Features * get timestamps from the chain ([11f77b4](https://github.com/kleros/kleros-api/commit/11f77b4)) * implement appealCreatedAt ([2517bf4](https://github.com/kleros/kleros-api/commit/2517bf4)) ## [0.5.1](https://github.com/kleros/kleros-api/compare/v0.5.0...v0.5.1) (2018-05-25) ### Bug Fixes * handle stop watching events if no event listener set ([0457c56](https://github.com/kleros/kleros-api/commit/0457c56)) # [0.5.0](https://github.com/kleros/kleros-api/compare/v0.4.1...v0.5.0) (2018-05-23) ### Bug Fixes * **arbitrable:** return new contract from deploy ([2804501](https://github.com/kleros/kleros-api/commit/2804501)) * **Auth:** make sign async with callback for MetaMask ([9d0aa14](https://github.com/kleros/kleros-api/commit/9d0aa14)) * **events:** update store related notification handlers for new dispute format ([48b0e5c](https://github.com/kleros/kleros-api/commit/48b0e5c)) ### Features * **auth:** add methods to verify auth token ([c0bfb62](https://github.com/kleros/kleros-api/commit/c0bfb62)) * **Auth:** add new Auth resource ([5ad300b](https://github.com/kleros/kleros-api/commit/5ad300b)) * **Auth:** use personal sign from web3 1.0 for token sig ([12cbaac](https://github.com/kleros/kleros-api/commit/12cbaac)) ## [0.4.1](https://github.com/kleros/kleros-api/compare/v0.4.0...v0.4.1) (2018-05-10) ### Features * **users:** use setUpUserProfile if there is a chance it is a new user ([7734223](https://github.com/kleros/kleros-api/commit/7734223)) # [0.4.0](https://github.com/kleros/kleros-api/compare/v0.3.0...v0.4.0) (2018-05-09) ### Bug Fixes * **doc:** change ganache set up to have more accounts ([baf5e24](https://github.com/kleros/kleros-api/commit/baf5e24)) * **test:** err msg ([f2e838d](https://github.com/kleros/kleros-api/commit/f2e838d)) ### Features * **all:** cleanup for the demo ([0dc14e1](https://github.com/kleros/kleros-api/commit/0dc14e1)) # [0.3.0](https://github.com/kleros/kleros-api/compare/v0.2.5...v0.3.0) (2018-04-18) ### Features * add getDataFromStore to abstractions/Arbitrable ([54e65ba](https://github.com/kleros/kleros-api/commit/54e65ba)) ## [0.2.5](https://github.com/kleros/kleros-api/compare/v0.2.4...v0.2.5) (2018-04-18) ### Bug Fixes * bug fixes while updating UI ([f4c7d7c](https://github.com/kleros/kleros-api/commit/f4c7d7c)) ## [0.2.4](https://github.com/kleros/kleros-api/compare/v0.2.3...v0.2.4) (2018-04-13) ## [0.2.3](https://github.com/kleros/kleros-api/compare/v0.2.2...v0.2.3) (2018-04-13) ## [0.2.2](https://github.com/kleros/kleros-api/compare/v0.2.1...v0.2.2) (2018-04-13) ### Bug Fixes * **constants:** move constants into src and exclude from esdocs ([4a510bb](https://github.com/kleros/kleros-api/commit/4a510bb)) ## [0.2.1](https://github.com/kleros/kleros-api/compare/v0.0.70...v0.2.1) (2018-04-12) ### Bug Fixes * **disputes unit test:** use custom try/catch for test of getUserDisputeFromStore ([cb386f1](https://github.com/kleros/kleros-api/commit/cb386f1)) * imports and lints for new contract structure ([19c0461](https://github.com/kleros/kleros-api/commit/19c0461)) * improper capitalization on imports ([2ff95b8](https://github.com/kleros/kleros-api/commit/2ff95b8)) * **StoreProviderWrapper:** revert to passing named params for addEvidenceContract ([fc61444](https://github.com/kleros/kleros-api/commit/fc61444)) ### Features * throw semantic errors ([bf76f4a](https://github.com/kleros/kleros-api/commit/bf76f4a)), closes [#107](https://github.com/kleros/kleros-api/issues/107) [kleros/kleros-juror-front#10](https://github.com/kleros/kleros-juror-front/issues/10) * **all:** require params in wrappers. fix how StateFullContract wrapper loads ([1478e3e](https://github.com/kleros/kleros-api/commit/1478e3e)) * **EventListener:** all methods take contract implementation object ([4a89382](https://github.com/kleros/kleros-api/commit/4a89382)) * update doc strings ([f5baccc](https://github.com/kleros/kleros-api/commit/f5baccc)) # [0.2.0](https://github.com/kleros/kleros-api/compare/v0.0.70...v0.2.0) (2018-03-29) ### Bug Fixes * **disputes unit test:** use custom try/catch for test of getUserDisputeFromStore ([cb386f1](https://github.com/kleros/kleros-api/commit/cb386f1)) * improper capitalization on imports ([ecf14ae](https://github.com/kleros/kleros-api/commit/ecf14ae)) ### Features * throw semantic errors ([bf76f4a](https://github.com/kleros/kleros-api/commit/bf76f4a)), closes [#107](https://github.com/kleros/kleros-api/issues/107) [kleros/kleros-juror-front#10](https://github.com/kleros/kleros-juror-front/issues/10) # [0.1.0](https://github.com/kleros/kleros-api/compare/v0.0.70...v0.1.0) (2018-03-27) ### Bug Fixes * **disputes unit test:** use custom try/catch for test of getUserDisputeFromStore ([b10ca1a](https://github.com/kleros/kleros-api/commit/b10ca1a)) ### Features * throw semantic errors ([bf76f4a](https://github.com/kleros/kleros-api/commit/bf76f4a)), closes [#107](https://github.com/kleros/kleros-api/issues/107) [kleros/kleros-juror-front#10](https://github.com/kleros/kleros-juror-front/issues/10) ## [0.0.70](https://github.com/kleros/kleros-api/compare/v0.0.69...v0.0.70) (2018-03-16) ### Bug Fixes * **notifications:** error in stateful notifications ([2155f60](https://github.com/kleros/kleros-api/commit/2155f60)) ## [0.0.69](https://github.com/kleros/kleros-api/compare/v0.0.68...v0.0.69) (2018-03-15) ### Bug Fixes * untranspiled files outside src directory ([83f1d59](https://github.com/kleros/kleros-api/commit/83f1d59)) ## [0.0.68](https://github.com/kleros/kleros-api/compare/v0.0.65...v0.0.68) (2018-03-15) ### Bug Fixes * **disputes:** fix bug in determining canRule ([49e2fc2](https://github.com/kleros/kleros-api/commit/49e2fc2)) * check session of jurors last vote ([72645a0](https://github.com/kleros/kleros-api/commit/72645a0)) * fix test on develop ([8f361c8](https://github.com/kleros/kleros-api/commit/8f361c8)) * **disputes:** wait for getDispute and getData in getDataForDispute ([d13f307](https://github.com/kleros/kleros-api/commit/d13f307)) * revert event.\_args.disputeId to event.\_args.disputeID ([c722a04](https://github.com/kleros/kleros-api/commit/c722a04)) ### Features * **contract-wrapper:** estimate gas on all transactions ([34d92fe](https://github.com/kleros/kleros-api/commit/34d92fe)) * **contract-wrapper:** first pass at using estimate gas ([e455c55](https://github.com/kleros/kleros-api/commit/e455c55)) * **disputes:** fetch session and period inside getDataForDispute and change var names ([9c08d20](https://github.com/kleros/kleros-api/commit/9c08d20)) * **disputes:** implement canRepartition and canExecute ([7e7f68f](https://github.com/kleros/kleros-api/commit/7e7f68f)) ## [0.0.67](https://github.com/kleros/kleros-api/compare/v0.0.65...v0.0.67) (2018-03-07) ### Bug Fixes * **disputes:** fix bug in determining canRule ([49e2fc2](https://github.com/kleros/kleros-api/commit/49e2fc2)) * check session of jurors last vote ([bf4fde5](https://github.com/kleros/kleros-api/commit/bf4fde5)) * fix test on develop ([8f361c8](https://github.com/kleros/kleros-api/commit/8f361c8)) ## [0.0.66](https://github.com/kleros/kleros-api/compare/v0.0.65...v0.0.66) (2018-03-07) ### Bug Fixes * fix test on develop ([8f361c8](https://github.com/kleros/kleros-api/commit/8f361c8)) * **disputes:** fix bug in determining canRule ([6628fb7](https://github.com/kleros/kleros-api/commit/6628fb7)) ## [0.0.65](https://github.com/kleros/kleros-api/compare/v0.0.62...v0.0.65) (2018-03-05) ### Bug Fixes * **kleros-wrapper:** use correct index for juror.atStake ([143bbc0](https://github.com/kleros/kleros-api/commit/143bbc0)), closes [#63](https://github.com/kleros/kleros-api/issues/63) * **notifications:** make sure appeal possible notifications unique ([30ea202](https://github.com/kleros/kleros-api/commit/30ea202)) ### Features * **disputes:** all functions working with new structure ([66541a6](https://github.com/kleros/kleros-api/commit/66541a6)) * **disputes:** DRY out fetch open disputes for session and add deadline event handler ([77b21ce](https://github.com/kleros/kleros-api/commit/77b21ce)) * **disputes:** skeleton for new dispute data ([0b99b55](https://github.com/kleros/kleros-api/commit/0b99b55)) ## [0.0.64](https://github.com/kleros/kleros-api/compare/v0.0.62...v0.0.64) (2018-03-05) ### Bug Fixes * **notifications:** make sure appeal possible notifications unique ([b7c55e6](https://github.com/kleros/kleros-api/commit/b7c55e6)) ### Features * **disputes:** all functions working with new structure ([66541a6](https://github.com/kleros/kleros-api/commit/66541a6)) * **disputes:** DRY out fetch open disputes for session and add deadline event handler ([77b21ce](https://github.com/kleros/kleros-api/commit/77b21ce)) * **disputes:** skeleton for new dispute data ([0b99b55](https://github.com/kleros/kleros-api/commit/0b99b55)) ## [0.0.63](https://github.com/kleros/kleros-api/compare/v0.0.62...v0.0.63) (2018-03-05) ### Features * **disputes:** all functions working with new structure ([39e9b2c](https://github.com/kleros/kleros-api/commit/39e9b2c)) * **disputes:** DRY out fetch open disputes for session and add deadline event handler ([c66548a](https://github.com/kleros/kleros-api/commit/c66548a)) * **disputes:** skeleton for new dispute data ([2382e39](https://github.com/kleros/kleros-api/commit/2382e39)) ## 0.0.62 (2018-02-28) ### Bug Fixes * **getDeadlineForDispute:** fix wrong computation and return date object ([7ee05f5](https://github.com/kleros/kleros-api/commit/7ee05f5)) * skip broken test assertions ([d210c53](https://github.com/kleros/kleros-api/commit/d210c53)) * test suite ([98b777d](https://github.com/kleros/kleros-api/commit/98b777d)) ### Features * normalize token units ([d0d40f8](https://github.com/kleros/kleros-api/commit/d0d40f8)) * **disputes:** build voteCounters and PNKRepartitions from getters ([ba48e67](https://github.com/kleros/kleros-api/commit/ba48e67)) * **disputes:** change approach to getting netPNK and votesCounter ([366340f](https://github.com/kleros/kleros-api/commit/366340f)) * **disputes:** createdAt and ruledAt timestamps added in events ([8e9cafa](https://github.com/kleros/kleros-api/commit/8e9cafa)) * **disputes:** remove netPNK until events are fixed ([255bf03](https://github.com/kleros/kleros-api/commit/255bf03)) * **disputes:** return appealsRepartitioned ([1246968](https://github.com/kleros/kleros-api/commit/1246968)) * **disputes:** return deadline as epoch in ms instead of a date object ([90d4856](https://github.com/kleros/kleros-api/commit/90d4856)) * **disputes:** return dispute status ([32db45c](https://github.com/kleros/kleros-api/commit/32db45c)) * **disputes:** submittedAt timestamp for evidence ([3656d33](https://github.com/kleros/kleros-api/commit/3656d33)) ## 0.0.61 (2018-02-27) ### Bug Fixes * **getDeadlineForDispute:** fix wrong computation and return date object ([7ee05f5](https://github.com/kleros/kleros-api/commit/7ee05f5)) * skip broken test assertions ([f9480c0](https://github.com/kleros/kleros-api/commit/f9480c0)) * test suite ([98b777d](https://github.com/kleros/kleros-api/commit/98b777d)) ### Features * normalize token units ([d0d40f8](https://github.com/kleros/kleros-api/commit/d0d40f8)) * **disputes:** build voteCounters and PNKRepartitions from getters ([ba48e67](https://github.com/kleros/kleros-api/commit/ba48e67)) * **disputes:** change approach to getting netPNK and votesCounter ([366340f](https://github.com/kleros/kleros-api/commit/366340f)) * **disputes:** remove netPNK until events are fixed ([255bf03](https://github.com/kleros/kleros-api/commit/255bf03)) * **disputes:** return appealsRepartitioned ([1246968](https://github.com/kleros/kleros-api/commit/1246968)) * **disputes:** return deadline as epoch in ms instead of a date object ([90d4856](https://github.com/kleros/kleros-api/commit/90d4856)) * **disputes:** return dispute status ([32db45c](https://github.com/kleros/kleros-api/commit/32db45c))