Skip to content
Snippets Groups Projects
Commit 2cbda216 authored by Berend Sliedrecht's avatar Berend Sliedrecht
Browse files

feat: use credo-ts


Signed-off-by: default avatarBerend Sliedrecht <berend@animo.id>
parent 439244c0
No related branches found
No related tags found
2 merge requests!37Draft: Modifications for manual testing,!25feat(ssi): revocation ssi-abstraction
......@@ -94,7 +94,7 @@ export class AgentService implements OnApplicationShutdown {
key: walletKey,
},
endpoints,
logger: new AgentLogger(LogLevel.off),
logger: new AgentLogger(LogLevel.debug),
};
}
......
......@@ -92,7 +92,6 @@ export class RevocationService {
);
}
// TODO: set endorser options
const result = await t.modules.anoncreds.updateRevocationStatusList({
revocationStatusList: {
revocationRegistryDefinitionId: metadata.revocationRegistryId,
......
......@@ -255,22 +255,5 @@ describe('Revocation', () => {
const eventInstance = EventAnonCredsRevocationRevoke.fromEvent(response);
expect(eventInstance.instance).toBeNull();
}
// Check the state
{
const response$ = client.send<
EventAnonCredsCredentialsGetAll,
EventAnonCredsCredentialsGetAllInput
>(EventAnonCredsCredentialsGetAll.token, {
tenantId,
});
const response = await firstValueFrom(response$);
const eventInstance = EventAnonCredsCredentialsGetAll.fromEvent(response);
const credRecord = eventInstance.instance.find(
(r) => r.id === credentialId,
);
// console.log(credRecord);
}
});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment