Skip to content

Commit

Permalink
fix: small fixes from 1865 (openwallet-foundation#1915)
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra authored Jun 25, 2024
1 parent 0952fca commit 1044c9d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/eighty-radios-grin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@credo-ts/anoncreds": patch
"@credo-ts/core": patch
---

make credential_preview optional on V2CredentialOfferMessage
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ node_modules
build
.idea
coverage
pnpm-lock.yaml
pnpm-lock.yaml
.changeset
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export class V2OfferCredentialMessage extends AgentMessage {
@IsOptional()
public goal?: string

@IsOptional()
@Expose({ name: 'credential_preview' })
@Type(() => V2CredentialPreview)
@ValidateNested()
Expand Down

0 comments on commit 1044c9d

Please sign in to comment.