@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/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/utils/vc.ts +2 -1
package/dist/index.d.cts
CHANGED
|
@@ -280,7 +280,8 @@ declare function isWrappedW3CVerifiableCredential(vc: WrappedVerifiableCredentia
|
|
|
280
280
|
declare function isWrappedW3CVerifiablePresentation(vp: WrappedVerifiablePresentation): vp is WrappedW3CVerifiablePresentation;
|
|
281
281
|
declare enum StatusListType {
|
|
282
282
|
StatusList2021 = "StatusList2021",
|
|
283
|
-
OAuthStatusList = "OAuthStatusList"
|
|
283
|
+
OAuthStatusList = "OAuthStatusList",
|
|
284
|
+
BitstringStatusList = "BitstringStatusList"
|
|
284
285
|
}
|
|
285
286
|
declare function isVcdm1Credential(credential: CredentialPayload | IVerifiableCredential | ICredential | VerifiableCredential | unknown): boolean;
|
|
286
287
|
declare function isVcdm2Credential(credential: CredentialPayload | IVerifiableCredential | ICredential | VerifiableCredential | unknown): boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -280,7 +280,8 @@ declare function isWrappedW3CVerifiableCredential(vc: WrappedVerifiableCredentia
|
|
|
280
280
|
declare function isWrappedW3CVerifiablePresentation(vp: WrappedVerifiablePresentation): vp is WrappedW3CVerifiablePresentation;
|
|
281
281
|
declare enum StatusListType {
|
|
282
282
|
StatusList2021 = "StatusList2021",
|
|
283
|
-
OAuthStatusList = "OAuthStatusList"
|
|
283
|
+
OAuthStatusList = "OAuthStatusList",
|
|
284
|
+
BitstringStatusList = "BitstringStatusList"
|
|
284
285
|
}
|
|
285
286
|
declare function isVcdm1Credential(credential: CredentialPayload | IVerifiableCredential | ICredential | VerifiableCredential | unknown): boolean;
|
|
286
287
|
declare function isVcdm2Credential(credential: CredentialPayload | IVerifiableCredential | ICredential | VerifiableCredential | unknown): boolean;
|
package/dist/index.js
CHANGED
|
@@ -434,6 +434,7 @@ __name(isWrappedW3CVerifiablePresentation, "isWrappedW3CVerifiablePresentation")
|
|
|
434
434
|
var StatusListType = /* @__PURE__ */ function(StatusListType2) {
|
|
435
435
|
StatusListType2["StatusList2021"] = "StatusList2021";
|
|
436
436
|
StatusListType2["OAuthStatusList"] = "OAuthStatusList";
|
|
437
|
+
StatusListType2["BitstringStatusList"] = "BitstringStatusList";
|
|
437
438
|
return StatusListType2;
|
|
438
439
|
}({});
|
|
439
440
|
function isVcdmCredential(credential, vcdmType) {
|