Revolutionizing Communication: Snapchain Gets Major Boost with Builder Updates!
Enhanced Data Handling and Builder Functionality Set to Transform Message Operations in Latest Feature Release.
Commit Details:
feat: Update builders and examples for snapchain (#2560) ## Why is this change needed? Update builders to use dataBytes so messages work with snapchain ## 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 the package versions and modifying various `HUB_URL` configurations to support the `snapchain` functionality, alongside some validation and message handling improvements. ### Detailed summary - Updated package versions for `@farcaster/hub-nodejs` and `@farcaster/core` to minor. - Changed `HUB_URL` in multiple examples to point to `juno.farcaster.xyz:3383`. - Enhanced validation by checking both `message.data` and `message.dataBytes`. - Updated message creation to use `dataBytes` for `snapchain` compatibility. - Adjusted signature handling to use `_unsafeUnwrap()`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->