@cheqd/did-provider-cheqd 3.6.12-develop.1 → 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/build/cjs/agent/ICheqd.js +2 -2
- package/build/cjs/agent/ICheqd.js.map +1 -1
- package/build/esm/agent/ICheqd.js +2 -2
- package/build/esm/agent/ICheqd.js.map +1 -1
- package/build/tsconfig.cjs.tsbuildinfo +1 -1
- package/build/tsconfig.esm.tsbuildinfo +1 -1
- package/build/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/agent/ICheqd.ts +2 -2
|
@@ -2327,7 +2327,7 @@ export class Cheqd {
|
|
|
2327
2327
|
return { revoked: false };
|
|
2328
2328
|
// early exit, if credential is already revoked
|
|
2329
2329
|
if (statusList.getStatus(Number(credential.credentialStatus.statusListIndex)))
|
|
2330
|
-
return { revoked:
|
|
2330
|
+
return { revoked: true };
|
|
2331
2331
|
// update revocation status
|
|
2332
2332
|
statusList.setStatus(Number(credential.credentialStatus.statusListIndex), true);
|
|
2333
2333
|
// return revocation status
|
|
@@ -2931,7 +2931,7 @@ export class Cheqd {
|
|
|
2931
2931
|
return { suspended: false };
|
|
2932
2932
|
// early exit, if credential is already suspended
|
|
2933
2933
|
if (statusList.getStatus(Number(credential.credentialStatus.statusListIndex)))
|
|
2934
|
-
return { suspended:
|
|
2934
|
+
return { suspended: true };
|
|
2935
2935
|
// update suspension status
|
|
2936
2936
|
statusList.setStatus(Number(credential.credentialStatus.statusListIndex), true);
|
|
2937
2937
|
// return suspension status
|