Skip to content

Commit

Permalink
fix: update Twitter URL to x.com format (#2484)
Browse files Browse the repository at this point in the history
Replaced the outdated Twitter URL (twitter) with the updated x.com
format (x) to align with the platform's rebranding.



<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates references from "twitter" to "x" across multiple files
to reflect the rebranding of Twitter to X.

### Detailed summary
- Updated `CHANGELOG.md` to change "twitter" to "x".
- In `message.ts` files (both `hub-nodejs` and `core`), modified the
comment for `TWITTER` from "Username of user on twitter" to "Username of
user on x".
- In `message.proto`, changed the comment for `USER_DATA_TYPE_TWITTER`
from "Username of user on twitter" to "Username of user on x".

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`

<!-- end pr-codex -->
  • Loading branch information
sergeypanin1994 authored Jan 27, 2025
1 parent cc2c9d9 commit ef80eb3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/protobufs/generated/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export enum UserDataType {
USERNAME = 6,
/** LOCATION - Current location for the user */
LOCATION = 7,
/** TWITTER - Username of user on twitter */
/** TWITTER - Username of user on x */
TWITTER = 8,
/** GITHUB - Username of user on github */
GITHUB = 9,
Expand Down
2 changes: 1 addition & 1 deletion packages/hub-nodejs/src/generated/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export enum UserDataType {
USERNAME = 6,
/** LOCATION - Current location for the user */
LOCATION = 7,
/** TWITTER - Username of user on twitter */
/** TWITTER - Username of user on x */
TWITTER = 8,
/** GITHUB - Username of user on github */
GITHUB = 9,
Expand Down
2 changes: 1 addition & 1 deletion packages/hub-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Patch Changes

- 913c0f67: feat: support twitter and github usernames
- 913c0f67: feat: support x and github usernames
- Updated dependencies [913c0f67]
- @farcaster/core@0.15.6

Expand Down
2 changes: 1 addition & 1 deletion protobufs/schemas/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ enum UserDataType {
USER_DATA_TYPE_URL = 5; // URL of the user
USER_DATA_TYPE_USERNAME = 6; // Preferred Name for the user
USER_DATA_TYPE_LOCATION = 7; // Current location for the user
USER_DATA_TYPE_TWITTER = 8; // Username of user on twitter
USER_DATA_TYPE_TWITTER = 8; // Username of user on x
USER_DATA_TYPE_GITHUB = 9; // Username of user on github
}

Expand Down

0 comments on commit ef80eb3

Please sign in to comment.