ponder-sh / ponder

A backend framework for crypto apps
https://ponder.sh
MIT License
530 stars 74 forks source link

chore: Export `TransactionReceipt` type #955

Closed robiiinos closed 2 weeks ago

robiiinos commented 2 weeks ago

Export TransactionReceipt type from @ponder/core package.

Fix an issue where when using includeTransactionReceipts: true in ponder.config.ts, the type TransactionReceipt wasn't being exported leading to Module '@ponder/core' declares 'TransactionReceipt' locally, but it is not exported..

Current workaround is to import this type from viem, but as @ponder/code provides Transaction and Log, it should be exported too. This PR fixes this.