Skip to content

Commit

Permalink
chore: temp version
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderPostma committed Aug 29, 2024
1 parent eb6e42b commit f72774b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/PEX.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -347,7 +347,7 @@ export class PEX {
},
} satisfies SdJwtKbJwtInput;

// @ts-ignore FIXME Funke
// @ts-expect-error FIXME Funke
return {
...decoded,
kbJwt,
Expand Down Expand Up @@ -537,7 +537,7 @@ export class PEX {
},
} satisfies SdJwtKbJwtInput;

// @ts-ignore FIXME Funke
// @ts-expect-error FIXME Funke
presentation = {
...presentation,
kbJwt,
Expand Down
2 changes: 1 addition & 1 deletion lib/evaluation/evaluationClientWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f72774b

Please sign in to comment.