ipld / js-ipld-git

MIT License
34 stars 11 forks source link

feat: new IPLD Format API #51

Closed vmx closed 5 years ago

vmx commented 5 years ago

BREAKING CHANGE: The API is now async/await based

There are numerous changes, the most significant one is that the API is no longer callback based, but it using async/await.

For the full new API please see the IPLD Formats spec.

codecov[bot] commented 5 years ago

Codecov Report

Merging #51 into master will decrease coverage by 7.75%. The diff coverage is 84.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #51      +/-   ##
==========================================
- Coverage    92.3%   84.55%   -7.76%     
==========================================
  Files           7        7              
  Lines         325      259      -66     
==========================================
- Hits          300      219      -81     
- Misses         25       40      +15
Impacted Files Coverage Δ
src/util/util.js 92.3% <100%> (-1.18%) :arrow_down:
src/index.js 100% <100%> (ø) :arrow_up:
src/util/commit.js 62.16% <64.28%> (-33.79%) :arrow_down:
src/util/tree.js 94.44% <71.42%> (-0.16%) :arrow_down:
src/util.js 90% <83.33%> (+1.32%) :arrow_up:
src/util/tag.js 95.34% <87.5%> (ø) :arrow_up:
src/resolver.js 95.65% <95.65%> (+8.5%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 784c464...970df33. Read the comment docs.