digitalbazaar / jsonld-signatures

An implementation of the Linked Data Signatures specification for JSON-LD. Works in the browser and Node.js.
BSD 3-Clause "New" or "Revised" License
138 stars 41 forks source link

Add `derive` API and pass existing `proofSet` to suite functions. #172

Closed dlongley closed 1 year ago

dlongley commented 1 year ago

Addresses #171 and possibly others related to derived proofs.

codecov-commenter commented 1 year ago

Codecov Report

Merging #172 (6c0ea44) into main (f206a53) will decrease coverage by 0.61%. The diff coverage is 8.57%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main     #172      +/-   ##
==========================================
- Coverage   14.00%   13.40%   -0.61%     
==========================================
  Files          16       16              
  Lines         414      440      +26     
==========================================
+ Hits           58       59       +1     
- Misses        356      381      +25     
Impacted Files Coverage Δ
lib/ProofSet.js 3.81% <0.00%> (-0.39%) :arrow_down:
lib/suites/LinkedDataProof.js 12.50% <0.00%> (-1.79%) :arrow_down:
lib/suites/LinkedDataSignature.js 5.12% <0.00%> (-0.05%) :arrow_down:
lib/jsonld-signatures.js 24.48% <8.33%> (-5.24%) :arrow_down:
lib/constants.js 100.00% <100.00%> (ø)
lib/contexts.js 100.00% <100.00%> (ø)