src/model/attestation.ts
Consider simplifying this complex logical expression. Wontfix
Wontfix
if (!attestation.attestorPubKey || !attestation.context || attestation.context.length === 0
|| attestation.type.length === 0 || !attestation.statements || attestation.statements.length === 0) {
throw new ReferenceError('One or more fields are empty')
}