TBD54566975 / dwn-server

DWN server - host anywhere publicly accessible for DIDs to use
Apache License 2.0
38 stars 41 forks source link

enhance info endpoint and bump to `v0.1.13` #117

Closed LiranCohen closed 6 months ago

LiranCohen commented 6 months ago

In a previous PR some(much desired) version information was added to the /info endpoint, however in certain environments(our docker container) this blows up.

This PR prevents the endpoint from blowing up, while also providing some optionality and defaults to fall back on and bumps version to v0.1.13

Added the text below to the README.md file:

codecov-commenter commented 6 months ago

Codecov Report

Attention: Patch coverage is 70.83333% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 94.23%. Comparing base (40e758c) to head (d78eba3).

Files Patch % Lines
src/http-api.ts 69.56% 7 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #117 +/- ## ========================================== - Coverage 94.45% 94.23% -0.23% ========================================== Files 25 25 Lines 2218 2237 +19 Branches 296 299 +3 ========================================== + Hits 2095 2108 +13 - Misses 123 129 +6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

LiranCohen commented 6 months ago

@thehenrytsai spent a little more time on it to make this a more thoughtful PR. Added some notes to the readme.