diff --git a/packages/core/src/modules/proofs/formats/presentation-exchange/models/RequestPresentation.ts b/packages/core/src/modules/proofs/formats/presentation-exchange/models/RequestPresentation.ts index 72c5c91c46..e0958eb69c 100644 --- a/packages/core/src/modules/proofs/formats/presentation-exchange/models/RequestPresentation.ts +++ b/packages/core/src/modules/proofs/formats/presentation-exchange/models/RequestPresentation.ts @@ -20,30 +20,30 @@ export class ProofType { public proofType!: string[] } -// export class LdpVc { -// public constructor(ldpVc: ProofType) { -// if (ldpVc) { -// this.ldpVc = ldpVc -// } -// } - -// @Expose({ name: 'ldp_vc' }) -// public ldpVc!: ProofType -// } -// export class LdpVp { -// public constructor(ldpVp: ProofType) { -// if (ldpVp) { -// this.ldpVp = ldpVp -// } -// } - -// @Expose({ name: 'ldp_vp' }) -// public ldpVp!: ProofType - -// public toJSON() { -// return JsonTransformer.toJSON(this) -// } -// } +export class LdpVc { + public constructor(ldpVc: ProofType) { + if (ldpVc) { + this.ldpVc = ldpVc + } + } + + @Expose({ name: 'ldp_vc' }) + public ldpVc!: ProofType +} +export class LdpVp { + public constructor(ldpVp: ProofType) { + if (ldpVp) { + this.ldpVp = ldpVp + } + } + + @Expose({ name: 'ldp_vp' }) + public ldpVp!: ProofType + + public toJSON() { + return JsonTransformer.toJSON(this) + } +} export interface ClaimFormatSchemaOptions { ldpVp?: ProofType