Major Overhaul Enhances User Data Management and Validations!
Latest Update Resolves Previous Issues and Introduces Advanced Features for a Streamlined User Experience.
Commit Details:
fix: update generated files and fix validations (#2595) ## Why is this change needed? Fixes the previous release. ## 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 - [ ] 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) - [x] 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 introduces new user data types, expands username validation, and adds tier-related functionalities across multiple files. It enhances the handling of usernames, addresses, and event types while improving validations and error handling. ### Detailed summary - Added `USERNAME_TYPE_BASENAME` to `UserNameType` enums. - Introduced `BANNER`, `USER_DATA_PRIMARY_ADDRESS_ETHEREUM`, and `USER_DATA_PRIMARY_ADDRESS_SOLANA` to `UserDataType` enums. - Updated `CastType` enum to include `TEN_K_CAST`. - Modified username validation to support `USERNAME_TYPE_BASENAME`. - Enhanced user data validation for Ethereum and Solana addresses. - Updated maximum username length from 20 to 25 characters. - Changed embed limit from 2 to 4 in validations. - Added `TierType` enum with `None` and `Pro` values. - Introduced `TierPurchaseBody` interface for tier purchases. - Added handling for `EVENT_TYPE_TIER_PURCHASE` in `OnChainEventType`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> --------- Co-authored-by: Sanjay Raveendran <[email protected]>