diff --git a/.changeset/modern-bikes-build.md b/.changeset/modern-bikes-build.md index a3d97424e8..62245c397a 100644 --- a/.changeset/modern-bikes-build.md +++ b/.changeset/modern-bikes-build.md @@ -1,5 +1,7 @@ --- +"@latticexyz/block-logs-stream": minor "@latticexyz/store-sync": minor --- -Replace `blockEventsToStorage` with `blockLogsToStorage` that exposes a `storeOperations` callback to perform database writes from store operations. This helps encapsulates database adapters into a single wrapper/instance of `blockLogsToStorage` and allows for wrapping a block of store operations in a database transaction. +- Replace `blockEventsToStorage` with `blockLogsToStorage` that exposes a `storeOperations` callback to perform database writes from store operations. This helps encapsulates database adapters into a single wrapper/instance of `blockLogsToStorage` and allows for wrapping a block of store operations in a database transaction. +- Add `toBlock` option to `groupLogsByBlockNumber` and remove `blockHash` from results. This helps track the last block number for a given set of logs when used in the context of RxJS streams.