Major Upgrade: Protobufs Revamped to Embrace Revolutionary Profile Tokens!
Client libraries enhanced as tech wizards roll out cutting-edge updates to better handle user data and streamline event processing.
Commit Details:
feat: Update protobufs to pick up new types (support profile tokens) (#2648) ## Why is this change needed? Update client libs to support profile tokens ## Merge Checklist _Choose all relevant options below by adding an `x` now or at any time before submitting for review_ - [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) - [x] 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 focuses on updating protobuf definitions to support new types, specifically adding profile tokens and enhancing event handling in the system. ### Detailed summary - Removed `job` exports from `packages/core/src/protobufs/index.ts`. - Added `PROFILE_TOKEN` to `UserDataType` in multiple files. - Introduced `validateProfileToken` function in `packages/core/src/validations.ts`. - Added `maxBlockEventSeqnum` to various event-related interfaces. - Implemented `SubmitBulkMessages` RPC methods in `packages/hub-nodejs/src/generated/rpc.ts`. - Enhanced `Block` and `BlockEvent` structures to include transactions and events. - Added tests for profile token validation in `packages/core/src/validations.test.ts`. > The following files were skipped due to too many changes: `packages/core/src/protobufs/generated/blocks.ts`, `packages/core/src/protobufs/generated/replication.ts` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->