Skip to content

Commit

Permalink
Proof field created should be optional (#180)
Browse files Browse the repository at this point in the history
The type of `proof.created` should be optional per the spec.

https://www.w3.org/TR/vc-data-model-2.0/
  • Loading branch information
wilwade authored Oct 3, 2024
1 parent 913df55 commit 1c8c458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/js/src/types/credential.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface SiwfResponseCredentialBase {
credentialSubject: Record<string, unknown>;
proof: {
type: 'DataIntegrityProof';
created: string;
created?: string;
verificationMethod: string;
cryptosuite: 'eddsa-rdfc-2022';
proofPurpose: 'assertionMethod';
Expand Down

0 comments on commit 1c8c458

Please sign in to comment.