@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
|
@@ -2333,7 +2333,7 @@ class Cheqd {
|
|
|
2333
2333
|
return { revoked: false };
|
|
2334
2334
|
// early exit, if credential is already revoked
|
|
2335
2335
|
if (statusList.getStatus(Number(credential.credentialStatus.statusListIndex)))
|
|
2336
|
-
return { revoked:
|
|
2336
|
+
return { revoked: true };
|
|
2337
2337
|
// update revocation status
|
|
2338
2338
|
statusList.setStatus(Number(credential.credentialStatus.statusListIndex), true);
|
|
2339
2339
|
// return revocation status
|
|
@@ -2937,7 +2937,7 @@ class Cheqd {
|
|
|
2937
2937
|
return { suspended: false };
|
|
2938
2938
|
// early exit, if credential is already suspended
|
|
2939
2939
|
if (statusList.getStatus(Number(credential.credentialStatus.statusListIndex)))
|
|
2940
|
-
return { suspended:
|
|
2940
|
+
return { suspended: true };
|
|
2941
2941
|
// update suspension status
|
|
2942
2942
|
statusList.setStatus(Number(credential.credentialStatus.statusListIndex), true);
|
|
2943
2943
|
// return suspension status
|