@bedrock/vc-verifier 21.2.2 → 22.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/challenges.js +2 -2
- package/package.json +26 -26
package/lib/challenges.js
CHANGED
|
@@ -163,9 +163,9 @@ async function _use({challenge, explain = false} = {}) {
|
|
|
163
163
|
'meta.updated': Date.now()
|
|
164
164
|
};
|
|
165
165
|
const options = {
|
|
166
|
-
...database.writeOptions,
|
|
167
166
|
// return document after the update
|
|
168
|
-
returnDocument: 'after'
|
|
167
|
+
returnDocument: 'after',
|
|
168
|
+
includeResultMetadata: true
|
|
169
169
|
};
|
|
170
170
|
|
|
171
171
|
if(explain) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bedrock/vc-verifier",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Bedrock VC Verifier",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -26,56 +26,56 @@
|
|
|
26
26
|
"homepage": "https://github.com/digitalbazaar/bedrock-vc-verifier",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@digitalbazaar/bbs-2023-cryptosuite": "^2.0.1",
|
|
29
|
-
"@digitalbazaar/data-integrity": "^2.
|
|
29
|
+
"@digitalbazaar/data-integrity": "^2.5.0",
|
|
30
30
|
"@digitalbazaar/ecdsa-2019-cryptosuite": "^2.0.0",
|
|
31
31
|
"@digitalbazaar/ecdsa-jcs-2019-cryptosuite": "^1.0.0",
|
|
32
|
-
"@digitalbazaar/ecdsa-multikey": "^1.
|
|
33
|
-
"@digitalbazaar/ecdsa-rdfc-2019-cryptosuite": "^1.
|
|
32
|
+
"@digitalbazaar/ecdsa-multikey": "^1.8.0",
|
|
33
|
+
"@digitalbazaar/ecdsa-rdfc-2019-cryptosuite": "^1.2.0",
|
|
34
34
|
"@digitalbazaar/ecdsa-sd-2023-cryptosuite": "^3.4.1",
|
|
35
|
-
"@digitalbazaar/ed25519-multikey": "^1.1
|
|
36
|
-
"@digitalbazaar/ed25519-signature-2018": "^4.
|
|
35
|
+
"@digitalbazaar/ed25519-multikey": "^1.3.1",
|
|
36
|
+
"@digitalbazaar/ed25519-signature-2018": "^4.1.0",
|
|
37
37
|
"@digitalbazaar/ed25519-signature-2020": "^5.4.0",
|
|
38
38
|
"@digitalbazaar/eddsa-2022-cryptosuite": "^1.0.0",
|
|
39
39
|
"@digitalbazaar/eddsa-jcs-2022-cryptosuite": "^1.0.0",
|
|
40
|
-
"@digitalbazaar/eddsa-rdfc-2022-cryptosuite": "^1.
|
|
41
|
-
"@digitalbazaar/vc": "^7.
|
|
42
|
-
"@digitalbazaar/vc-bitstring-status-list": "^2.0.
|
|
40
|
+
"@digitalbazaar/eddsa-rdfc-2022-cryptosuite": "^1.2.0",
|
|
41
|
+
"@digitalbazaar/vc": "^7.1.2",
|
|
42
|
+
"@digitalbazaar/vc-bitstring-status-list": "^2.0.1",
|
|
43
43
|
"@digitalbazaar/vc-revocation-list": "^7.0.0",
|
|
44
|
-
"@digitalbazaar/vc-status-list": "^8.0.
|
|
44
|
+
"@digitalbazaar/vc-status-list": "^8.0.1",
|
|
45
45
|
"assert-plus": "^1.0.0",
|
|
46
46
|
"bnid": "^3.0.0",
|
|
47
|
-
"body-parser": "^1.20.
|
|
47
|
+
"body-parser": "^1.20.3",
|
|
48
48
|
"cors": "^2.8.5",
|
|
49
|
-
"jose": "^
|
|
49
|
+
"jose": "^6.0.10",
|
|
50
50
|
"klona": "^2.0.6",
|
|
51
|
-
"serialize-error": "^
|
|
51
|
+
"serialize-error": "^12.0.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@bedrock/app-identity": "^4.0.0",
|
|
55
|
-
"@bedrock/core": "^6.
|
|
56
|
-
"@bedrock/credentials-context": "^5.0.
|
|
55
|
+
"@bedrock/core": "^6.3.0",
|
|
56
|
+
"@bedrock/credentials-context": "^5.0.3",
|
|
57
57
|
"@bedrock/data-integrity-context": "^4.0.3",
|
|
58
58
|
"@bedrock/did-context": "^6.0.0",
|
|
59
|
-
"@bedrock/did-io": "^10.
|
|
59
|
+
"@bedrock/did-io": "^10.4.0",
|
|
60
60
|
"@bedrock/express": "^8.3.1",
|
|
61
61
|
"@bedrock/https-agent": "^4.1.0",
|
|
62
|
-
"@bedrock/jsonld-document-loader": "^5.
|
|
63
|
-
"@bedrock/mongodb": "^
|
|
62
|
+
"@bedrock/jsonld-document-loader": "^5.2.0",
|
|
63
|
+
"@bedrock/mongodb": "^11.0.0",
|
|
64
64
|
"@bedrock/multikey-context": "^3.0.0",
|
|
65
65
|
"@bedrock/security-context": "^9.0.0",
|
|
66
|
-
"@bedrock/service-agent": "^
|
|
67
|
-
"@bedrock/service-context-store": "^
|
|
68
|
-
"@bedrock/service-core": "^
|
|
69
|
-
"@bedrock/validation": "^7.1.
|
|
66
|
+
"@bedrock/service-agent": "^10.0.0",
|
|
67
|
+
"@bedrock/service-context-store": "^13.0.0",
|
|
68
|
+
"@bedrock/service-core": "^11.0.0",
|
|
69
|
+
"@bedrock/validation": "^7.1.1",
|
|
70
70
|
"@bedrock/vc-revocation-list-context": "^5.0.0",
|
|
71
|
-
"@bedrock/vc-status-list-context": "^6.0.
|
|
71
|
+
"@bedrock/vc-status-list-context": "^6.0.3",
|
|
72
72
|
"@bedrock/veres-one-context": "^16.0.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"eslint": "^8.57.
|
|
75
|
+
"eslint": "^8.57.1",
|
|
76
76
|
"eslint-config-digitalbazaar": "^5.2.0",
|
|
77
|
-
"eslint-plugin-jsdoc": "^
|
|
78
|
-
"eslint-plugin-unicorn": "^
|
|
77
|
+
"eslint-plugin-jsdoc": "^50.6.8",
|
|
78
|
+
"eslint-plugin-unicorn": "^56.0.1"
|
|
79
79
|
},
|
|
80
80
|
"engines": {
|
|
81
81
|
"node": ">=18"
|