UNPKG

did-provider-quick

Version:

Veramo plugin that can enable creation and control of did:quick identifiers.

20 lines 622 B
export async function getDIDQuickUpdates(message, agent) { if (!message.did) { throw Error('DID not found in request'); } const credentials = await agent.dataStoreORMGetVerifiableCredentials({ where: [ { column: 'type', value: ['VerifiableCredential,DIDQuickUpdate,DIDQuickAddKey'], }, { column: 'issuer', value: [message.did] } ], order: [{ column: 'issuanceDate', direction: 'ASC' }] }); return credentials; } //# sourceMappingURL=getDIDQuickUpdates.js.map