@bedrock/vc-verifier 6.0.0 → 7.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # bedrock-vc-verifier ChangeLog
2
2
 
3
+ ## 7.0.0 - 2022-04-23
4
+
5
+ ### Changed
6
+ - **BREAKING**: Update `@digitalbazaar/vc-status-list` and
7
+ `@bedrock/vc-status-list-context` to v3.0.
8
+
3
9
  ## 6.0.0 - 2022-04-06
4
10
 
5
11
  ### Changed
package/lib/status.js CHANGED
@@ -18,11 +18,7 @@ handlerMap.set('RevocationList2020Status', {
18
18
  checkStatus: revocationListCheckStatus,
19
19
  statusTypeMatches: revocationListStatusTypeMatches
20
20
  });
21
- handlerMap.set('RevocationList2021Status', {
22
- checkStatus: statusListCheckStatus,
23
- statusTypeMatches: statusListStatusTypeMatches
24
- });
25
- handlerMap.set('SuspensionList2021Status', {
21
+ handlerMap.set('StatusList2021Entry', {
26
22
  checkStatus: statusListCheckStatus,
27
23
  statusTypeMatches: statusListStatusTypeMatches
28
24
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bedrock/vc-verifier",
3
- "version": "6.0.0",
3
+ "version": "7.0.0",
4
4
  "type": "module",
5
5
  "description": "Bedrock VC Verifier",
6
6
  "main": "./lib/index.js",
@@ -24,7 +24,7 @@
24
24
  "@digitalbazaar/ed25519-signature-2018": "^2.1.0",
25
25
  "@digitalbazaar/ed25519-signature-2020": "^3.0.0",
26
26
  "@digitalbazaar/vc": "^2.1.0",
27
- "@digitalbazaar/vc-status-list": "^2.1.0",
27
+ "@digitalbazaar/vc-status-list": "^3.0.0",
28
28
  "assert-plus": "^1.0.0",
29
29
  "bnid": "^2.1.0",
30
30
  "body-parser": "^1.19.0",
@@ -44,7 +44,7 @@
44
44
  "@bedrock/service-agent": "^3.0.0",
45
45
  "@bedrock/service-context-store": "^4.0.0",
46
46
  "@bedrock/service-core": "^4.0.0",
47
- "@bedrock/vc-status-list-context": "^2.0.0",
47
+ "@bedrock/vc-status-list-context": "^3.0.0",
48
48
  "@bedrock/vc-revocation-list-context": "^2.0.0",
49
49
  "@bedrock/veres-one-context": "^13.0.0",
50
50
  "@bedrock/validation": "^6.0.0"
@@ -84,7 +84,7 @@ function _startServer({app}) {
84
84
  type: ['VerifiableCredential', 'StatusList2021Credential'],
85
85
  credentialSubject: {
86
86
  id: `${BASE_URL}/status/748a7d8e-9111-11ec-a934-10bf48838a41#list`,
87
- type: 'RevocationList2021',
87
+ type: 'StatusList2021',
88
88
  encodedList: encodedList100k
89
89
  }
90
90
  };
@@ -104,7 +104,8 @@ function _startServer({app}) {
104
104
  },
105
105
  credentialStatus: {
106
106
  id: `${BASE_URL}/status/748a7d8e-9111-11ec-a934-10bf48838a41#67342`,
107
- type: 'RevocationList2021Status',
107
+ type: 'StatusList2021Entry',
108
+ statusPurpose: 'revocation',
108
109
  statusListIndex: '67342',
109
110
  statusListCredential: slCredential.id
110
111
  },
package/test/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "@bedrock/test": "^7.0.0",
43
43
  "@bedrock/validation": "^6.0.0",
44
44
  "@bedrock/vc-revocation-list-context": "^2.0.0",
45
- "@bedrock/vc-status-list-context": "^2.0.0",
45
+ "@bedrock/vc-status-list-context": "^3.0.0",
46
46
  "@bedrock/vc-verifier": "file:..",
47
47
  "@bedrock/veres-one-context": "^13.0.0",
48
48
  "@bedrock/zcap-storage": "^6.0.0",
@@ -53,7 +53,7 @@
53
53
  "@digitalbazaar/ezcap": "^2.0.2",
54
54
  "@digitalbazaar/http-client": "^2.0.1",
55
55
  "@digitalbazaar/vc": "^2.1.0",
56
- "@digitalbazaar/vc-status-list-context": "^2.0.0",
56
+ "@digitalbazaar/vc-status-list-context": "^3.0.0",
57
57
  "@digitalbazaar/webkms-client": "^10.0.0",
58
58
  "c8": "^7.11.0",
59
59
  "cross-env": "^7.0.3",