Shane da Silva 1365f1f88e fix(shuttle): Fix resetting of batch flush logic when exceeding byte limit (#2151)
## Why is this change needed?

This results in the batch being flushed after each event since we don't
reset the count on flush.

## Merge Checklist

- [x] PR title adheres to the [conventional
commits](https://www.conventionalcommits.org/en/v1.0.0/) standard
- [x] PR has a
[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)
- [ ] PR has been tagged with a change label(s) (i.e. documentation,
feature, bugfix, or chore)
- [ ] PR includes
[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)
if necessary.


<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the version to 0.5.1, fixing a bug related to the reset
of the total batch bytes limit in `shuttle`.

### Detailed summary
- Updated version to 0.5.1
- Fixed reset of limit for total batch bytes in `hubSubscriber.ts`

>  Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`

<!-- end pr-codex -->
2024-07-10 20:12:28 +00:00
2024-07-09 19:17:57 -05:00
2022-03-16 17:46:07 -07:00
2024-07-09 19:17:57 -05:00
2024-06-13 11:35:28 -07:00
2022-12-08 14:02:11 -08:00
2023-09-23 10:23:23 -05:00

Hubble Monorepo

This monorepo contains Hubble, an official Farcaster Hub implementation, and other packages used to communicate with Hubble.

Getting Started

  1. To run Hubble, see the Hubble docs.
  2. To use Hubble, see the hub-nodejs docs.
  3. To use the HTTP API to read Hubble data, see the HTTP API docs

Packages

Package Name Description
@farcaster/hubble A Farcaster Hub implementation
@farcaster/hub-nodejs A Node.js client library for Hubble
@farcaster/hub-web A Browser client library for Hubble
@farcaster/core Shared code between all packages

Contributing

Please see CONTRIBUTING.md

Description
No description provided
Readme MIT 53 MiB
Languages
TypeScript 91.7%
Rust 8.1%
Go 0.1%