Skip to content

Commit

Permalink
Merge pull request #1889 from blockchain-certificates/feat/vc-v2-name…
Browse files Browse the repository at this point in the history
…-description

fix(Types): expose name and description properties on VC type
  • Loading branch information
lemoustachiste authored Oct 24, 2024
2 parents 3e384a7 + 6bda557 commit f88868c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
12 changes: 6 additions & 6 deletions bundle-esm-stats.html

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion src/models/BlockcertsV3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,12 @@ export interface VerifiableCredential {
id?: string;
// more properties as defined per implementation
}>;
proof: VCProof | VCProof[];
// VC V2
validFrom?: string; // expect dateTime
validUntil?: string; // expect dateTime
proof: VCProof | VCProof[];
name?: string;
description?: string;
}

export interface BlockcertsV3Display {
Expand Down

0 comments on commit f88868c

Please sign in to comment.