@sphereon/ssi-sdk.vc-status-list-issuer 0.34.1-feature.SSISDK.17.bitstring.sl.2 → 0.34.1-next.5

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.
Files changed (2) hide show
  1. package/package.json +17 -17
  2. package/src/functions.ts +2 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sphereon/ssi-sdk.vc-status-list-issuer",
3
3
  "description": "Sphereon SSI-SDK plugin for Status List issuance",
4
- "version": "0.34.1-feature.SSISDK.17.bitstring.sl.2+0a0992f6",
4
+ "version": "0.34.1-next.5+34a84d73",
5
5
  "source": "src/index.ts",
6
6
  "type": "module",
7
7
  "main": "./dist/index.cjs",
@@ -29,12 +29,12 @@
29
29
  "dependencies": {
30
30
  "@sd-jwt/core": "^0.9.2",
31
31
  "@sd-jwt/sd-jwt-vc": "^0.9.2",
32
- "@sphereon/ssi-sdk-ext.did-utils": "0.29.0",
33
- "@sphereon/ssi-sdk-ext.identifier-resolution": "0.29.0",
34
- "@sphereon/ssi-sdk.core": "0.34.1-feature.SSISDK.17.bitstring.sl.2+0a0992f6",
35
- "@sphereon/ssi-sdk.vc-status-list": "0.34.1-feature.SSISDK.17.bitstring.sl.2+0a0992f6",
36
- "@sphereon/ssi-sdk.vc-status-list-issuer-drivers": "0.34.1-feature.SSISDK.17.bitstring.sl.2+0a0992f6",
37
- "@sphereon/ssi-types": "0.34.1-feature.SSISDK.17.bitstring.sl.2+0a0992f6",
32
+ "@sphereon/ssi-sdk-ext.did-utils": "0.29.1-next.3",
33
+ "@sphereon/ssi-sdk-ext.identifier-resolution": "0.29.1-next.3",
34
+ "@sphereon/ssi-sdk.core": "0.34.1-next.5+34a84d73",
35
+ "@sphereon/ssi-sdk.vc-status-list": "0.34.1-next.5+34a84d73",
36
+ "@sphereon/ssi-sdk.vc-status-list-issuer-drivers": "0.34.1-next.5+34a84d73",
37
+ "@sphereon/ssi-types": "0.34.1-next.5+34a84d73",
38
38
  "@sphereon/vc-status-list": "7.0.0-next.0",
39
39
  "@veramo/core": "4.2.0",
40
40
  "debug": "^4.3.5",
@@ -47,15 +47,15 @@
47
47
  "devDependencies": {
48
48
  "@babel/preset-typescript": "^7.24.7",
49
49
  "@sphereon/did-uni-client": "^0.6.3",
50
- "@sphereon/oid4vci-common": "0.19.0",
51
- "@sphereon/ssi-sdk-ext.did-provider-jwk": "0.29.0",
52
- "@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.29.0",
53
- "@sphereon/ssi-sdk-ext.identifier-resolution": "0.29.0",
54
- "@sphereon/ssi-sdk-ext.jwt-service": "0.29.0",
55
- "@sphereon/ssi-sdk.agent-config": "0.34.1-feature.SSISDK.17.bitstring.sl.2+0a0992f6",
56
- "@sphereon/ssi-sdk.credential-vcdm": "0.34.1-feature.SSISDK.17.bitstring.sl.2+0a0992f6",
57
- "@sphereon/ssi-sdk.credential-vcdm-jsonld-provider": "0.34.1-feature.SSISDK.17.bitstring.sl.2+0a0992f6",
58
- "@sphereon/ssi-sdk.data-store": "0.34.1-feature.SSISDK.17.bitstring.sl.2+0a0992f6",
50
+ "@sphereon/oid4vci-common": "0.19.1-next.2",
51
+ "@sphereon/ssi-sdk-ext.did-provider-jwk": "0.29.1-next.3",
52
+ "@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.29.1-next.3",
53
+ "@sphereon/ssi-sdk-ext.identifier-resolution": "0.29.1-next.3",
54
+ "@sphereon/ssi-sdk-ext.jwt-service": "0.29.1-next.3",
55
+ "@sphereon/ssi-sdk.agent-config": "0.34.1-next.5+34a84d73",
56
+ "@sphereon/ssi-sdk.credential-vcdm": "0.34.1-next.5+34a84d73",
57
+ "@sphereon/ssi-sdk.credential-vcdm-jsonld-provider": "0.34.1-next.5+34a84d73",
58
+ "@sphereon/ssi-sdk.data-store": "0.34.1-next.5+34a84d73",
59
59
  "@types/body-parser": "^1.19.5",
60
60
  "@types/cookie-parser": "^1.4.7",
61
61
  "@types/cors": "^2.8.17",
@@ -98,5 +98,5 @@
98
98
  "SSI",
99
99
  "StatusList2021"
100
100
  ],
101
- "gitHead": "0a0992f6323610a12e82716b1d80a2eedf4b4669"
101
+ "gitHead": "34a84d731d3c2185e5b392d48dea9574d2674781"
102
102
  }
package/src/functions.ts CHANGED
@@ -211,10 +211,11 @@ export const handleCredentialStatus = async (
211
211
  )
212
212
  },
213
213
  })
214
-
215
214
  if (!credential.credentialStatus || Array.isArray(credential.credentialStatus)) {
216
215
  credential.credentialStatus = {
217
216
  id: `${statusListId}`,
217
+ type: 'StatusList2021Entry',
218
+ statusPurpose: 'revocation',
218
219
  statusListCredential: statusListId,
219
220
  ...updateResult.credentialStatus,
220
221
  }