diff --git a/lib/PEX.ts b/lib/PEX.ts index 3042796d..c2471826 100644 --- a/lib/PEX.ts +++ b/lib/PEX.ts @@ -122,7 +122,7 @@ export class PEX { // `wrappedPresentation.original.compactKbJwt`, but as HAIP doesn't use dids, we'll leave it for now. const holderDIDs = wrappedPresentations .map((p) => { - // @ts-ignore FIXME Funke - Add DeviceResponseCbor support + // @ts-expect-error FIXME Funke - Add DeviceResponseCbor support return (CredentialMapper.isW3cPresentation(p.presentation) && p.presentation.holder ? p.presentation.holder : undefined); }) .filter((d): d is string => d !== undefined); @@ -347,7 +347,7 @@ export class PEX { }, } satisfies SdJwtKbJwtInput; - // @ts-ignore FIXME Funke + // @ts-expect-error FIXME Funke return { ...decoded, kbJwt, @@ -537,7 +537,7 @@ export class PEX { }, } satisfies SdJwtKbJwtInput; - // @ts-ignore FIXME Funke + // @ts-expect-error FIXME Funke presentation = { ...presentation, kbJwt, diff --git a/lib/evaluation/evaluationClientWrapper.ts b/lib/evaluation/evaluationClientWrapper.ts index bd429ecc..3d295752 100644 --- a/lib/evaluation/evaluationClientWrapper.ts +++ b/lib/evaluation/evaluationClientWrapper.ts @@ -536,7 +536,7 @@ export class EvaluationClientWrapper { // TODO: we should probably add support for holder dids in the kb-jwt of an SD-JWT. We can extract this from the // `wrappedPresentation.original.compactKbJwt`, but as HAIP doesn't use dids, we'll leave it for now. - // @ts-ignore FIXME Funke - Add DeviceResponseCbor support + // @ts-expect-error FIXME Funke - Add DeviceResponseCbor support const holderDIDs = CredentialMapper.isW3cPresentation(vp.presentation) && vp.presentation.holder ? [vp.presentation.holder] : []; // Get the presentation definition only for this descriptor, so we can evaluate it separately