@bedrock/vc-verifier 19.0.0 → 19.1.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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Copyright (c) 2019-2022 Digital Bazaar, Inc. All rights reserved.
2
+ * Copyright (c) 2019-2024 Digital Bazaar, Inc. All rights reserved.
3
3
  */
4
4
  import {config} from '@bedrock/core';
5
5
  import '@bedrock/app-identity';
@@ -24,6 +24,7 @@ cfg.documentLoader = {
24
24
  };
25
25
 
26
26
  cfg.supportedSuites = [
27
+ 'bbs-2023',
27
28
  'Ed25519Signature2018',
28
29
  'Ed25519Signature2020',
29
30
  'eddsa-2022',
package/lib/suites.js CHANGED
@@ -1,7 +1,10 @@
1
1
  /*!
2
- * Copyright (c) 2018-2022 Digital Bazaar, Inc. All rights reserved.
2
+ * Copyright (c) 2018-2024 Digital Bazaar, Inc. All rights reserved.
3
3
  */
4
4
  import * as bedrock from '@bedrock/core';
5
+ import {
6
+ createVerifyCryptosuite as createBbs2023VerifyCryptosuite
7
+ } from '@digitalbazaar/bbs-2023-cryptosuite';
5
8
  import {
6
9
  createVerifyCryptosuite as createEcdsaSd2023VerifyCryptosuite
7
10
  } from '@digitalbazaar/ecdsa-sd-2023-cryptosuite';
@@ -23,6 +26,7 @@ import {
23
26
 
24
27
  // DataIntegrityProof should work for multiple cryptosuites
25
28
  const SUPPORTED_CRYPTOSUITES = new Map([
29
+ ['bbs-2023', createBbs2023VerifyCryptosuite()],
26
30
  ['ecdsa-rdfc-2019', ecdsaRdfc2019CryptoSuite],
27
31
  ['eddsa-rdfc-2022', eddsaRdfc2022CryptoSuite],
28
32
  ['ecdsa-sd-2023', createEcdsaSd2023VerifyCryptosuite()]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bedrock/vc-verifier",
3
- "version": "19.0.0",
3
+ "version": "19.1.0",
4
4
  "type": "module",
5
5
  "description": "Bedrock VC Verifier",
6
6
  "main": "./lib/index.js",
@@ -25,10 +25,11 @@
25
25
  },
26
26
  "homepage": "https://github.com/digitalbazaar/bedrock-vc-verifier",
27
27
  "dependencies": {
28
+ "@digitalbazaar/bbs-2023-cryptosuite": "^1.1.0",
28
29
  "@digitalbazaar/data-integrity": "^2.0.0",
29
30
  "@digitalbazaar/ecdsa-2019-cryptosuite": "^2.0.0",
30
31
  "@digitalbazaar/ecdsa-rdfc-2019-cryptosuite": "^1.0.1",
31
- "@digitalbazaar/ecdsa-sd-2023-cryptosuite": "^3.0.0",
32
+ "@digitalbazaar/ecdsa-sd-2023-cryptosuite": "^3.2.0",
32
33
  "@digitalbazaar/ed25519-signature-2018": "^4.0.0",
33
34
  "@digitalbazaar/ed25519-signature-2020": "^5.0.0",
34
35
  "@digitalbazaar/eddsa-2022-cryptosuite": "^1.0.0",
@@ -48,7 +49,7 @@
48
49
  "@bedrock/credentials-context": "^4.0.0",
49
50
  "@bedrock/data-integrity-context": "^3.0.0",
50
51
  "@bedrock/did-context": "^5.0.0",
51
- "@bedrock/did-io": "^10.1.0",
52
+ "@bedrock/did-io": "^10.2.0",
52
53
  "@bedrock/express": "^8.0.0",
53
54
  "@bedrock/https-agent": "^4.0.0",
54
55
  "@bedrock/jsonld-document-loader": "^4.0.0",
@@ -66,8 +67,8 @@
66
67
  "devDependencies": {
67
68
  "eslint": "^8.47.0",
68
69
  "eslint-config-digitalbazaar": "^5.0.1",
69
- "eslint-plugin-jsdoc": "^46.4.6",
70
- "eslint-plugin-unicorn": "^48.0.1",
70
+ "eslint-plugin-jsdoc": "^48.0.3",
71
+ "eslint-plugin-unicorn": "^50.0.1",
71
72
  "jsdoc": "^4.0.2",
72
73
  "jsdoc-to-markdown": "^8.0.0"
73
74
  },