Skip to content

Commit 0fd5f35

Browse files
authored
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 -->
1 parent fdcff5e commit 0fd5f35

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/hub-nodejs/docs/Events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Emit when an onchain event occurs in the IdRegistry which registers or transfers
7575
| logIndex | `number` | The log index of the event in the transaction. |
7676
| to | `Uint8Array` | The address which now owns the fid. |
7777
| transactionHash | `Uint8Array` | The hash of the transaction in which the event occurred. |
78-
| type | [`NameRegistryEventType`]() | The type of event which occurred. |
78+
| type | [`IdRegistryEventType`](#idregistryeventtype) | The type of event which occurred. |
7979

8080
### NameRegistryEvent
8181

@@ -122,4 +122,4 @@ The Farcaster network that will accept the message.
122122
| --------------------------------- | ------ | ----------------------------------- |
123123
| NAME_REGISTRY_EVENT_TYPE_NONE | 0 | |
124124
| NAME_REGISTRY_EVENT_TYPE_TRANSFER | 1 | An fname was minted or transferred. |
125-
| NAME_REGISTRY_EVENT_TYPE_RENEW | 1 | An fname was renewed. |
125+
| NAME_REGISTRY_EVENT_TYPE_RENEW | 2 | An fname was renewed. |

0 commit comments

Comments
 (0)