Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(docs): Added packages docs to Hubble #356

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SVell
Copy link

@SVell SVell commented Dec 11, 2024

Added packages docs for @farcaster/hub-web and @farcaster/hub-nodejs

Refs: #54


PR-Codex overview

This PR adds new documentation for the @farcaster/hub-nodejs and @farcaster/hub-web packages, detailing their features, installation instructions, usage examples, and contributing guidelines. It also updates the navigation structure in the documentation.

Detailed summary

  • Added a new section for Packages in docs/.vitepress/config.mts.
  • Introduced documentation for @farcaster/hub-nodejs, including:
    • Overview, features, installation, quickstart examples, contributing guidelines, and license.
  • Introduced documentation for @farcaster/hub-web, including:
    • Overview, features, installation, usage examples, and details on streaming hub events.

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

Copy link

vercel bot commented Dec 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 11, 2024 9:39am

Copy link

vercel bot commented Dec 11, 2024

@SVell is attempting to deploy a commit to the farcaster Team on Vercel.

A member of the Team first needs to authorize it.

sds pushed a commit to farcasterxyz/hub-monorepo that referenced this pull request Dec 12, 2024
## Why is this change needed?

Since changes were requested in docs
(farcasterxyz/docs#54), I have made a PR to
update Farcaster's docs (farcasterxyz/docs#356),
thus decided to update the readme file.

## Merge Checklist

_Choose all relevant options below by adding an `x` now or at any time
before submitting for review_

- [ ] 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)
- [ ] 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 adds a new function for retrieving a user's first name using
their FID from the `HubRpcClient`.

### Detailed summary
- Introduced a new function `getFnameFromFid`.
- The function takes `fid` (number) and `client` (`HubRpcClient`) as
parameters.
- It retrieves user data of type `UserDataType.FNAME`.
- Returns the user's first name or an empty string if not found.

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

<!-- end pr-codex -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant