Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove expansionMap (deprecated).
  • Loading branch information
dmitrizagidulin committed Feb 7, 2024
commit e56d17dbbfc272469bca3ccb527ed2c42fe953f2
1 change: 1 addition & 0 deletions lib/ProofSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ module.exports = class ProofSet {
} else {
documentLoader = strictDocumentLoader;
}

try {
// shallow copy to allow for removal of proof set prior to canonize
document = {...document};
Expand Down
2 changes: 1 addition & 1 deletion lib/purposes/ProofPurpose.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ module.exports = class ProofPurpose {
* @return {Promise<object>} resolves to the proof instance (in the
* `constants.SECURITY_CONTEXT_URL`.
*/
async update(proof, {/*document, suite, documentLoader */}) {
async update(proof, {/*document, suite, documentLoader*/}) {
proof.proofPurpose = this.term;
return proof;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"dependencies": {
"@digitalbazaar/security-context": "^1.0.0",
"jsonld": "digitalcredentials/jsonld.js#react-native",
"jsonld": "digitalcredentials/jsonld.js#update",
"fast-text-encoding": "^1.0.3",
"isomorphic-webcrypto": "^2.3.8",
"serialize-error": "^8.0.1"
Expand Down