@bedrock/vc-verifier 21.1.0 → 21.2.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
@@ -33,6 +33,8 @@ cfg.supportedSuites = [
33
33
  'ecdsa-2019',
34
34
  'ecdsa-rdfc-2019',
35
35
  'eddsa-rdfc-2022',
36
+ 'ecdsa-jcs-2019',
37
+ 'eddsa-jcs-2022',
36
38
  'ecdsa-sd-2023'
37
39
  ];
38
40
 
package/lib/suites.js CHANGED
@@ -5,9 +5,15 @@ import * as bedrock from '@bedrock/core';
5
5
  import {
6
6
  createVerifyCryptosuite as createBbs2023VerifyCryptosuite
7
7
  } from '@digitalbazaar/bbs-2023-cryptosuite';
8
+ import {
9
+ createVerifyCryptosuite as createEcdsaJcs2019VerifyCryptoSuite
10
+ } from '@digitalbazaar/ecdsa-jcs-2019-cryptosuite';
8
11
  import {
9
12
  createVerifyCryptosuite as createEcdsaSd2023VerifyCryptosuite
10
13
  } from '@digitalbazaar/ecdsa-sd-2023-cryptosuite';
14
+ import {
15
+ createVerifyCryptosuite as createEddsaJcs2022VerifyCryptoSuite
16
+ } from '@digitalbazaar/eddsa-jcs-2022-cryptosuite';
11
17
  import {DataIntegrityProof} from '@digitalbazaar/data-integrity';
12
18
  import {
13
19
  cryptosuite as ecdsa2019CryptoSuite
@@ -29,6 +35,8 @@ const SUPPORTED_CRYPTOSUITES = new Map([
29
35
  ['bbs-2023', createBbs2023VerifyCryptosuite()],
30
36
  ['ecdsa-rdfc-2019', ecdsaRdfc2019CryptoSuite],
31
37
  ['eddsa-rdfc-2022', eddsaRdfc2022CryptoSuite],
38
+ ['ecdsa-jcs-2019', createEcdsaJcs2019VerifyCryptoSuite()],
39
+ ['eddsa-jcs-2022', createEddsaJcs2022VerifyCryptoSuite()],
32
40
  ['ecdsa-sd-2023', createEcdsaSd2023VerifyCryptosuite()]
33
41
  ]);
34
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bedrock/vc-verifier",
3
- "version": "21.1.0",
3
+ "version": "21.2.0",
4
4
  "type": "module",
5
5
  "description": "Bedrock VC Verifier",
6
6
  "main": "./lib/index.js",
@@ -28,6 +28,7 @@
28
28
  "@digitalbazaar/bbs-2023-cryptosuite": "^2.0.1",
29
29
  "@digitalbazaar/data-integrity": "^2.3.0",
30
30
  "@digitalbazaar/ecdsa-2019-cryptosuite": "^2.0.0",
31
+ "@digitalbazaar/ecdsa-jcs-2019-cryptosuite": "^1.0.0",
31
32
  "@digitalbazaar/ecdsa-multikey": "^1.7.0",
32
33
  "@digitalbazaar/ecdsa-rdfc-2019-cryptosuite": "^1.1.1",
33
34
  "@digitalbazaar/ecdsa-sd-2023-cryptosuite": "^3.4.1",
@@ -35,6 +36,7 @@
35
36
  "@digitalbazaar/ed25519-signature-2018": "^4.0.0",
36
37
  "@digitalbazaar/ed25519-signature-2020": "^5.4.0",
37
38
  "@digitalbazaar/eddsa-2022-cryptosuite": "^1.0.0",
39
+ "@digitalbazaar/eddsa-jcs-2022-cryptosuite": "^1.0.0",
38
40
  "@digitalbazaar/eddsa-rdfc-2022-cryptosuite": "^1.1.0",
39
41
  "@digitalbazaar/vc": "^7.0.0",
40
42
  "@digitalbazaar/vc-bitstring-status-list": "^2.0.0",