Skip to content

@fairdatasociety/bmt-js v2.0.0

Compare
Choose a tag to compare
@nugaon nugaon released this 31 Mar 14:15
a7f9fff

⚠ 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) (c486cd5)