We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10871df commit 51f2f01Copy full SHA for 51f2f01
CHANGELOG.md
@@ -1,5 +1,10 @@
1
# jsonld-signatures ChangeLog
2
3
+## 9.2.1 - TBD
4
+
5
+### Changed
6
+- Use the method size to get the number of entries in the Map purposeToProofs.
7
8
## 9.2.0 - 2021-07-02
9
10
### Added
lib/ProofSet.js
@@ -210,7 +210,7 @@ async function _verify({
210
})));
211
212
// every purpose must have at least one matching proof or verify will fail
213
- if(purposeToProofs.length < purposes.length) {
+ if(purposeToProofs.size < purposes.length) {
214
// insufficient proofs to verify, so don't bother verifying any
215
return [];
216
}
0 commit comments