Ethers.js has ContractReceipt which extends TransactionReceipt that includes an array of events from the transaction: https://github.com/ethers-io/ethers.js/blob/master/packages/contracts/src.ts/index.ts#L99
Is it possible to get this array using Wagmi? The docs say that wagmi now returns the Viem TransactionReceipt instead of Ethers, and it doesn't look like it has ContractReceipt: https://github.com/wagmi-dev/viem/blob/136c4022c3ab4020f37333876bed788a111bff47/src/types/transaction.ts#L12