Skip to content

Commit

Permalink
chore: release 2.0.0 (#6)
Browse files Browse the repository at this point in the history
* chore: release 2.0.0

* docs: changelog correction
  • Loading branch information
nugaon committed Mar 31, 2022
1 parent c486cd5 commit a7f9fff
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## [2.0.0](https://www.github.com/fairDataSociety/bmt-js/compare/v1.0.0...v2.0.0) (2022-03-31)


### ⚠ BREAKING CHANGES

* bmt index calculation of intermediate carrier chunks (#4)
* `getBmtIndexOfSegment`: instead of `spanVlaue`, the `lastChunkIndex` has to be given on the second parameter. It wasn't a necessary change, but it got a more explicit definition.
* `fileAddressFromInclusionProof`: got new optional parameter for defining the default chunk's data length that is 4KB by default

### Bug Fixes

* bmt index calculation of intermediate carrier chunks ([#4](https://www.github.com/fairDataSociety/bmt-js/issues/4)) ([c486cd5](https://www.github.com/fairDataSociety/bmt-js/commit/c486cd5b5b5316bb8abdd5f2a451b866d6aa7622))

## 1.0.0 (2022-03-25)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fairdatasociety/bmt-js",
"version": "1.0.0",
"version": "2.0.0",
"description": "Binary Merkle Tree operations on data",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit a7f9fff

Please sign in to comment.