@cheqd/did-provider-cheqd 3.6.11 → 3.6.12-develop.2

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@cheqd/did-provider-cheqd",
3
- "version": "3.6.11",
3
+ "version": "3.6.12-develop.2",
4
4
  "description": "Veramo SDK plugin for the did:cheqd DID method",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Cheqd Foundation Limited (https://github.com/cheqd)",
@@ -3787,7 +3787,7 @@ export class Cheqd implements IAgentPlugin {
3787
3787
 
3788
3788
  // early exit, if credential is already revoked
3789
3789
  if (statusList.getStatus(Number(credential.credentialStatus.statusListIndex)))
3790
- return { revoked: false };
3790
+ return { revoked: true };
3791
3791
 
3792
3792
  // update revocation status
3793
3793
  statusList.setStatus(Number(credential.credentialStatus.statusListIndex), true);
@@ -4776,7 +4776,7 @@ export class Cheqd implements IAgentPlugin {
4776
4776
 
4777
4777
  // early exit, if credential is already suspended
4778
4778
  if (statusList.getStatus(Number(credential.credentialStatus.statusListIndex)))
4779
- return { suspended: false };
4779
+ return { suspended: true };
4780
4780
 
4781
4781
  // update suspension status
4782
4782
  statusList.setStatus(Number(credential.credentialStatus.statusListIndex), true);