@bedrock/vc-verifier 15.0.0 → 16.0.1
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/config.js +1 -0
- package/lib/suites.js +4 -0
- package/package.json +7 -6
package/lib/config.js
CHANGED
package/lib/suites.js
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as bedrock from '@bedrock/core';
|
|
5
5
|
import {DataIntegrityProof} from '@digitalbazaar/data-integrity';
|
|
6
|
+
import {
|
|
7
|
+
cryptosuite as ecdsa2019CryptoSuite
|
|
8
|
+
} from '@digitalbazaar/ecdsa-2019-cryptosuite';
|
|
6
9
|
import {Ed25519Signature2018} from '@digitalbazaar/ed25519-signature-2018';
|
|
7
10
|
import {Ed25519Signature2020} from '@digitalbazaar/ed25519-signature-2020';
|
|
8
11
|
import {
|
|
@@ -11,6 +14,7 @@ import {
|
|
|
11
14
|
|
|
12
15
|
// DataIntegrityProof should work for multiple cryptosuites
|
|
13
16
|
const SUPPORTED_CRYPTOSUITES = new Map([
|
|
17
|
+
['ecdsa-2019', ecdsa2019CryptoSuite],
|
|
14
18
|
['eddsa-2022', eddsa2022CryptoSuite]
|
|
15
19
|
]);
|
|
16
20
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bedrock/vc-verifier",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Bedrock VC Verifier",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://github.com/digitalbazaar/bedrock-vc-verifier",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@digitalbazaar/data-integrity": "^1.
|
|
28
|
+
"@digitalbazaar/data-integrity": "^1.2.0",
|
|
29
|
+
"@digitalbazaar/ecdsa-2019-cryptosuite": "^1.0.0",
|
|
29
30
|
"@digitalbazaar/ed25519-signature-2018": "^4.0.0",
|
|
30
31
|
"@digitalbazaar/ed25519-signature-2020": "^5.0.0",
|
|
31
32
|
"@digitalbazaar/eddsa-2022-cryptosuite": "^1.0.0",
|
|
@@ -43,16 +44,16 @@
|
|
|
43
44
|
"@bedrock/credentials-context": "^3.0.0",
|
|
44
45
|
"@bedrock/data-integrity-context": "^1.0.0",
|
|
45
46
|
"@bedrock/did-context": "^4.0.0",
|
|
46
|
-
"@bedrock/did-io": "^
|
|
47
|
+
"@bedrock/did-io": "^10.0.0",
|
|
47
48
|
"@bedrock/express": "^8.0.0",
|
|
48
49
|
"@bedrock/https-agent": "^4.0.0",
|
|
49
50
|
"@bedrock/jsonld-document-loader": "^3.0.0",
|
|
50
51
|
"@bedrock/mongodb": "^10.0.0",
|
|
51
52
|
"@bedrock/multikey-context": "^1.0.0",
|
|
52
53
|
"@bedrock/security-context": "^7.0.0",
|
|
53
|
-
"@bedrock/service-agent": "^
|
|
54
|
-
"@bedrock/service-context-store": "^
|
|
55
|
-
"@bedrock/service-core": "^
|
|
54
|
+
"@bedrock/service-agent": "^7.0.0",
|
|
55
|
+
"@bedrock/service-context-store": "^10.0.0",
|
|
56
|
+
"@bedrock/service-core": "^8.0.0",
|
|
56
57
|
"@bedrock/validation": "^7.0.0",
|
|
57
58
|
"@bedrock/vc-revocation-list-context": "^3.1.0",
|
|
58
59
|
"@bedrock/vc-status-list-context": "^4.1.0",
|