Skip to content

Commit

Permalink
Update packages/car/src/index.ts
Browse files Browse the repository at this point in the history
Make blockFilter optional and explain it

Co-authored-by: Alex Potsides <[email protected]>
  • Loading branch information
jtsmedley and achingbrain authored Jul 26, 2024
1 parent 8ffefe2 commit e5fdaf2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/car/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ export interface CarComponents {
}

interface ExportCarOptions extends AbortOptions, ProgressOptions<GetBlockProgressEvents> {
blockFilter: Filter
/**
* If a filter is passed it will be used to deduplicate blocks exported in the car file
*/
blockFilter?: Filter
}

/**
Expand Down

0 comments on commit e5fdaf2

Please sign in to comment.