-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: [SIW-352] Presentation submission #22
Conversation
src/rp/index.ts
Outdated
const [, vc_scope] = requestObj.payload.scope; | ||
const presentation_submission = { | ||
definition_id: "32f54163-7166-48f1-93d8-ff217bdb0653", | ||
id: "04a98be3-7fb0-4cf5-af9a-31579c8b0e7d", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This value should be randomized
id: "04a98be3-7fb0-4cf5-af9a-31579c8b0e7d", | |
id: `${uuid.v4()}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in 4a496e4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uuid.v4()
is of type number[]
. I think you have to use a string
. Also you imported uuid
twice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in b31fb55
src/sd-jwt/__test__/index.test.ts
Outdated
|
||
expect(fn).toThrow(); | ||
expect(fn).rejects.toBe({}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check code review warning: Async assertions must be awaited or returned
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c2ef778
to
04224c5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
List of Changes
presentation_submission
on authorization response payloadMotivation and Context
Satisfy the specification given in https://italia.github.io/eudi-wallet-it-docs/v0.4.1/en/relying-party-solution.html
How Has This Been Tested?
Screenshots (if appropriate):
Checklist: