uport-project / ethr-did

Create ethr DIDs
Apache License 2.0
259 stars 53 forks source link

feat: upgrade did-jwt to v3 #41

Closed mi-xu closed 4 years ago

mi-xu commented 4 years ago

This PR updates did-jwt to v3, consequently also bumping did-resolver and ethr-did-resolver to their latest compatible versions. There main changes here are to accommodate the removal of a global resolver and needing to pass a resolver instance to verifyJWT.

codecov[bot] commented 4 years ago

Codecov Report

Merging #41 into develop will increase coverage by 2.7%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop      #41     +/-   ##
==========================================
+ Coverage    94.59%   97.29%   +2.7%     
==========================================
  Files            1        1             
  Lines           74       74             
  Branches        25       25             
==========================================
+ Hits            70       72      +2     
  Misses           2        2             
+ Partials         2        0      -2
Impacted Files Coverage Δ
src/index.js 97.29% <100%> (+2.7%) :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 ba44115...ede61cc. Read the comment docs.