From 43125df57f370d5fccbb1b2bf353b038c33d3eee Mon Sep 17 00:00:00 2001 From: Kevin Ingersoll Date: Wed, 19 Jul 2023 08:33:49 -0700 Subject: [PATCH] Update modern-bikes-build.md --- .changeset/modern-bikes-build.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.