@bedrock/vc-verifier 15.0.0 → 16.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/config.js CHANGED
@@ -27,6 +27,7 @@ cfg.supportedSuites = [
27
27
  'Ed25519Signature2018',
28
28
  'Ed25519Signature2020',
29
29
  'eddsa-2022',
30
+ 'ecdsa-2019'
30
31
  ];
31
32
 
32
33
  cfg.routes = {
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": "15.0.0",
3
+ "version": "16.0.0",
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.0.0",
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,7 +44,7 @@
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": "^9.0.1",
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",