Skip to content

Commit e56d17d

Browse files
Remove expansionMap (deprecated).
1 parent 5a9cda5 commit e56d17d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

lib/ProofSet.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ module.exports = class ProofSet {
116116
} else {
117117
documentLoader = strictDocumentLoader;
118118
}
119+
119120
try {
120121
// shallow copy to allow for removal of proof set prior to canonize
121122
document = {...document};

lib/purposes/ProofPurpose.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ module.exports = class ProofPurpose {
7373
* @return {Promise<object>} resolves to the proof instance (in the
7474
* `constants.SECURITY_CONTEXT_URL`.
7575
*/
76-
async update(proof, {/*document, suite, documentLoader */}) {
76+
async update(proof, {/*document, suite, documentLoader*/}) {
7777
proof.proofPurpose = this.term;
7878
return proof;
7979
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
],
1616
"dependencies": {
1717
"@digitalbazaar/security-context": "^1.0.0",
18-
"jsonld": "digitalcredentials/jsonld.js#react-native",
18+
"jsonld": "digitalcredentials/jsonld.js#update",
1919
"fast-text-encoding": "^1.0.3",
2020
"isomorphic-webcrypto": "^2.3.8",
2121
"serialize-error": "^8.0.1"

0 commit comments

Comments
 (0)