GitBulletin

Repository: farcasterxyz/hub-monorepo

Documentation Dilemma Decimated: Type Reference Triumph in Events.md!

2024-12-18 20:32:39 UTC

Groundbreaking updates to Farcaster network documentation ensure clarity and consistency by rectifying type discrepancies and enum values.

Commit Details:

Fix incorrect type reference and enum value in Events.md (#2444) Changes in packages/hub-nodejs/docs/Events.md: 1. Fixed IdRegistryEvent type reference: - Old: [`NameRegistryEventType`]() - New: [`IdRegistryEventType`](#idregistryeventtype) 2. Fixed NameRegistryEventType enum value: - Changed NAME_REGISTRY_EVENT_TYPE_RENEW from 1 to 2 Why: - Corrects incorrect type reference for proper documentation linking - Fixes duplicate enum value to maintain proper enumeration consistency <!-- start pr-codex --> --- ## PR-Codex overview This PR updates the documentation for events related to the Farcaster network, specifically changing event types and correcting the associated values in the `NameRegistryEvent` section. ### Detailed summary - Changed the type of event from `NameRegistryEventType` to `IdRegistryEventType`. - Updated the value for `NAME_REGISTRY_EVENT_TYPE_RENEW` from `1` to `2`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->

Search Similar