Skip to content

Commit

Permalink
refactor(explored-types): add null case to proof* fields in ExplorerF…
Browse files Browse the repository at this point in the history
…ileContract type
  • Loading branch information
telestrial committed Oct 8, 2024
1 parent 9ba91ad commit 85cbd10
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/small-papayas-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@siafoundation/explored-types': minor
---

Added null case to proof\* fields in the ExplorerFileContract type.
4 changes: 2 additions & 2 deletions libs/explored-types/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ export type ExplorerFileContract = FileContractElement & {
confirmationIndex: ChainIndex
confirmationTransactionID: TransactionID

proofIndex: ChainIndex
proofTransactionID: TransactionID
proofIndex: ChainIndex | null
proofTransactionID: TransactionID | null
}

/**
Expand Down

0 comments on commit 85cbd10

Please sign in to comment.