@sphereon/ssi-types 0.34.0 → 0.34.1-feature.SSISDK.17.bitstring.sl.7

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sphereon/ssi-types",
3
3
  "description": "SSI Common Types",
4
- "version": "0.34.0",
4
+ "version": "0.34.1-feature.SSISDK.17.bitstring.sl.7+eb4b995a",
5
5
  "source": "./src/index.ts",
6
6
  "type": "module",
7
7
  "main": "./dist/index.cjs",
@@ -57,5 +57,5 @@
57
57
  "Verifiable Credentials",
58
58
  "DIDs"
59
59
  ],
60
- "gitHead": "b1c9c5e91a9ce4bc677ff2cce5f2d520a16b366d"
60
+ "gitHead": "eb4b995abb68a5aee39ad40c3ee996f2e1dff8da"
61
61
  }
package/src/utils/vc.ts CHANGED
@@ -19,11 +19,12 @@ export function isWrappedW3CVerifiablePresentation(vp: WrappedVerifiablePresenta
19
19
  export enum StatusListType {
20
20
  StatusList2021 = 'StatusList2021',
21
21
  OAuthStatusList = 'OAuthStatusList',
22
+ BitstringStatusList = 'BitstringStatusList',
22
23
  }
23
24
 
24
25
  function isVcdmCredential(
25
26
  credential: CredentialPayload | IVerifiableCredential | ICredential | VerifiableCredential | unknown,
26
- vcdmType: string,
27
+ vcdmType: string
27
28
  ): boolean {
28
29
  if (!credential || typeof credential !== 'object') {
29
30
  return false