-
Notifications
You must be signed in to change notification settings - Fork 200
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: issue credential v2 #649
feat: issue credential v2 #649
Conversation
Signed-off-by: NB Prasad Katkar <prasad@northernblock.io>
refactor: resolve feedback for problem report (openwallet-foundation#584)
…mework-javascript into api20 merge with problem report
Signed-off-by: NB Prasad Katkar <prasad@northernblock.io>
Signed-off-by: NB Prasad Katkar <prasad@northernblock.io>
Signed-off-by: NB Prasad Katkar <prasad@northernblock.io>
Signed-off-by: Mike Richardson <mike.richardson@northernblock.io>
Signed-off-by: NB-Karim <karim.northernblock@gmail.com>
…r/aries-framework-javascript into hyperledger-feat/present-proof-v2
Signed-off-by: Mike Richardson <mike.richardson@northernblock.io>
Signed-off-by: NB Prasad Katkar <prasad@northernblock.io>
Signed-off-by: NB Prasad Katkar <prasad@northernblock.io>
Signed-off-by: NB Prasad Katkar <prasad@northernblock.io>
Signed-off-by: NB-Karim <karim.northernblock@gmail.com>
Signed-off-by: Mike Richardson <mike.richardson@northernblock.io>
Signed-off-by: NB Prasad Katkar <prasad@northernblock.io>
Signed-off-by: Mike Richardson <mike.richardson@northernblock.io>
Signed-off-by: NB-Karim <karim.northernblock@gmail.com>
Signed-off-by: NB-Karim <karim.northernblock@gmail.com>
Signed-off-by: Mike Richardson <mike.richardson@northernblock.io>
Signed-off-by: Mike Richardson <mike.richardson@northernblock.io>
Signed-off-by: Mike Richardson <mike.richardson@northernblock.io>
Signed-off-by: Mike Richardson <mike.richardson@northernblock.io>
Signed-off-by: Mike Richardson <mike.richardson@northernblock.io>
Signed-off-by: Mike Richardson <mike.richardson@northernblock.io>
…-javascript into hyperledger-MAY3
Signed-off-by: Mike Richardson <mike.richardson@northernblock.io>
Signed-off-by: Mike Richardson <mike.richardson@northernblock.io>
Signed-off-by: Mike Richardson <mike.richardson@northernblock.io>
Signed-off-by: Mike Richardson <mike.richardson@northernblock.io>
Signed-off-by: Timo Glastra <timo@animo.id>
Signed-off-by: Timo Glastra <timo@animo.id>
Signed-off-by: Timo Glastra <timo@animo.id>
Signed-off-by: Timo Glastra <timo@animo.id>
Signed-off-by: Timo Glastra <timo@animo.id>
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.
I've left a few more comments. I'm going to accept this PR and think it may be good to merge on the account that the outstanding comments just raised will be resolved as soon as possible.
I've opened this pr to address some small issues, also with the migration script: NB-MikeRichardson#27
In addition I have one more general comment:
- Offer credential interface is shared between offer credential and out of band offer. They should have separate interfaces as one requires a connectionId and the other explicitly doesn't need one.
packages/core/src/modules/credentials/__tests__/V2CredentialService.cred.test.ts
Show resolved
Hide resolved
packages/core/src/modules/credentials/formats/indy/IndyCredentialFormatService.ts
Show resolved
Hide resolved
packages/core/src/modules/credentials/formats/indy/IndyCredentialFormatService.ts
Show resolved
Hide resolved
packages/core/src/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.ts
Show resolved
Hide resolved
packages/core/src/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.ts
Show resolved
Hide resolved
packages/core/src/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.ts
Show resolved
Hide resolved
|
||
expect(v2Proposal.message.formats.length).toBe(1) | ||
expect(v2Proposal.message.formats[0].format).toEqual('hlindy/cred-filter@v2.0') | ||
// expect(v2Proposal.message.formats[1].format).toEqual('aries/ld-proof-vc-detail@v1.0') |
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.
// expect(v2Proposal.message.formats[1].format).toEqual('aries/ld-proof-vc-detail@v1.0') |
public type = V1CredentialPreview.type | ||
public static type = `https://didcomm.org/issue-credential/1.0/credential-preview` |
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.
public type = V1CredentialPreview.type | |
public static type = `https://didcomm.org/issue-credential/1.0/credential-preview` | |
public readonly type = V1CredentialPreview.type | |
public static readonly type = 'https://didcomm.org/issue-credential/1.0/credential-preview' |
Signed-off-by: Mike Richardson <mike.richardson@northernblock.io>
Signed-off-by: Mike Richardson <mike.richardson@northernblock.io>
Signed-off-by: Mike Richardson <mike.richardson@northernblock.io>
Fix/small icv2 fixe
No description provided.