@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/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
package/package.json
CHANGED
package/src/agent/ICheqd.ts
CHANGED
|
@@ -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:
|
|
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:
|
|
4779
|
+
return { suspended: true };
|
|
4780
4780
|
|
|
4781
4781
|
// update suspension status
|
|
4782
4782
|
statusList.setStatus(Number(credential.credentialStatus.statusListIndex), true);
|