Commit Graph

607 Commits

Author SHA1 Message Date
Sanjay
be0e240eb9 chore: Release hub-nodejs 0.13.1 (#2568)
## Why is this change needed?

Release hub-nodejs 0.13.1

## 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
- [x] 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 focuses on updating the version of the `@farcaster/hub-nodejs`
package from `0.13.0` to `0.13.1` and includes a changelog entry for the
patch changes made.

### Detailed summary
- Deleted the file `.changeset/nasty-eagles-grin.md`.
- Updated `CHANGELOG.md` to include version `0.13.1` with a patch change
for snapchain error codes.
- Updated `packages/hub-nodejs/package.json` version from `0.13.0` to
`0.13.1`.
- Updated `apps/hubble/package.json` to reflect the new version
`^0.13.1` for `@farcaster/hub-nodejs`.

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

<!-- end pr-codex -->
2025-04-14 14:58:23 -07:00
Sanjay
b39166ec27 fix: Ensure snapchain error codes are passed through (#2567)
## Why is this change needed?

Snapchain sends the error codes back using a different header name. Read
that as well.

## 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
- [x] 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 focuses on improving error handling in the `hub-nodejs` package
by ensuring that error codes from the snapchain are correctly passed
through to the `HubError`.

### Detailed summary
- Updated error handling in `packages/hub-nodejs/src/client.ts`.
- Modified the way `HubError` is instantiated to use `hubErrorCode`,
which retrieves error codes from both `err.metadata.get("errCode")` and
`err.metadata.get("x-err-code")`.

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

<!-- end pr-codex -->
2025-04-14 14:20:09 -07:00
Sanjay
9b0d11ccaf chore: Release snapchain patches (#2562)
## Why is this change needed?

Release snapchain updates

## 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
- [x] 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 focuses on updating package versions and changelogs across
multiple modules in the `@farcaster` ecosystem, including new features
and dependency updates.

### Detailed summary
- Updated `@farcaster/core` version from `0.15.6` to `0.16.0`.
- Updated `@farcaster/hub-nodejs` version from `0.10.x` to `0.13.0`.
- Updated `@farcaster/hub-web` version from `0.9.5` to `0.9.6`.
- Updated `@farcaster/shuttle` version from `0.6.13` to `0.6.14`.
- Updated `@farcaster/hubble` version from `1.19.1` to `1.19.2`.
- Added changelog entries for each module reflecting the updates.

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

<!-- end pr-codex -->
2025-04-04 16:12:01 -07:00
Sanjay
846336eaee feat: Update builders and examples for snapchain (#2560)
## Why is this change needed?

Update builders to use dataBytes so messages work with snapchain

## 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
- [x] 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 focuses on updating the package versions and modifying various
`HUB_URL` configurations to support the `snapchain` functionality,
alongside some validation and message handling improvements.

### Detailed summary
- Updated package versions for `@farcaster/hub-nodejs` and
`@farcaster/core` to minor.
- Changed `HUB_URL` in multiple examples to point to
`juno.farcaster.xyz:3383`.
- Enhanced validation by checking both `message.data` and
`message.dataBytes`.
- Updated message creation to use `dataBytes` for `snapchain`
compatibility.
- Adjusted signature handling to use `_unsafeUnwrap()`.

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

<!-- end pr-codex -->
2025-04-04 22:59:33 +00:00
Aditi Srinivasan
9c497b35f5 chore: release shuttle v0.6.13 (#2512)
Release shuttle v0.6.13

## 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
- [x] 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 updates the version of the `@farcaster/shuttle` package from
`0.6.12` to `0.6.13`, adds a new feature related to environment
variables for `shuttle`, and removes an outdated changelog file.

### Detailed summary
- Updated `@farcaster/shuttle` version from `0.6.12` to `0.6.13` in
`package.json`.
- Added a new feature: environment variables for consuming from
`snapchain` in the changelog.
- Deleted the `.changeset/wild-rabbits-tap.md` file.

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

<!-- end pr-codex -->
2025-02-03 13:42:24 -05:00
Aditi Srinivasan
63eb140798 feat: add envvars to shuttle for consuming from snapchain (#2510)
For subscribing to the snapchain cluster, it's useful to have a longer
subscribe rpc timeout given there isn't consistent activity on the
cluster and it's required to use the standard (non-streaming) bulk rpcs.
This feature adds config via envvars for these parameters.

## 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
- [x] 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 focuses on adding environment variables to the `shuttle`
application for configuration, particularly for streaming RPCs and
timeout settings.

### Detailed summary
- Introduced `USE_STREAMING_RPCS_FOR_BACKFILL` and
`SUBSCRIBE_RPC_TIMEOUT` environment variables in `env.ts`.
- Modified the `constructor` in `MessageReconciliation` to accept a new
parameter `useStreamingRpcs`.
- Updated `establishStream` method call to conditionally execute based
on `useStreamingRpcs`.
- Adjusted the instantiation of `MessageReconciliation` in
`reconcileFids` to include `USE_STREAMING_RPCS_FOR_BACKFILL`.

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

<!-- end pr-codex -->
2025-02-01 15:42:59 -05:00
Shane da Silva
73d5dac561 fix: Correct typo in Factory builder (#2507)
## Why is this change needed?

Typo was breaking tests.

## Merge Checklist

- [x] PR title adheres to the [conventional
commits](https://www.conventionalcommits.org/en/v1.0.0/) standard
- [x] PR has a
[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)
- [ ] 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 focuses on updating the use of `Factories.Ed25519PPublicKey` to
`Factories.Ed25519PublicKey` in test files to ensure consistency and
correctness in the handling of public key types.

### Detailed summary
- In `apps/hubble/src/storage/db/message.test.ts`, changed
`Factories.Ed25519PPublicKey.build()` to
`Factories.Ed25519PublicKey.build()` in a test case.
- In `packages/core/src/validations.test.ts`, updated
`Factories.Ed25519PPublicKey.build()` to
`Factories.Ed25519PublicKey.build()` in two instances where a message is
created for validation testing.

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

<!-- end pr-codex -->
2025-01-28 22:09:46 +00:00
Yauheni Kryshneu
ef80eb385c fix: update Twitter URL to x.com format (#2484)
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 -->
2025-01-27 13:49:40 -08:00
Maxim Evtush
cc2c9d9e7b fix typographical errors and improve code readability (#2483)
**This PR includes the following changes:**

1. Fixed typographical error in comment: changed `the` to `to`
2. Improved variable naming consistency for better code readability
3. Increased timeouts in `nightwatch` config to resolve test failures

**Changes made:**
- Fixed comment wording in `hubEventProcessor.ts`
- Updated variable names for consistency in
`validateOrRevokeMessagesJob.ts`
- Increased timeouts and retry attempts in `nightwatch` configuration

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on correcting typos in comments and variable names
related to time allocation in the `pruneMessagesJob.ts` and
`validateOrRevokeMessagesJob.ts` files, ensuring clarity and consistency
in the code.

### Detailed summary
- Corrected the comment in `hubEventProcessor.ts` from "consider" to "to
consider".
- Changed variable name `allotedTimeMs` to `allottedTimeMs` in:
  - `pruneMessagesJob.ts`
  - `validateOrRevokeMessagesJob.ts`

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

<!-- end pr-codex -->
2025-01-27 13:49:18 -08:00
Fallengirl
0a92fa0bca Corrected the number index.ts (#2480)
Corrected the numbering for accuracy and consistency.


<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the example number in the documentation comment of the
`index.ts` file within the `packages/hub-nodejs/examples/write-data`
directory.

### Detailed summary
- Changed the example number from 7 to 8 in the documentation comment.

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

<!-- end pr-codex -->
2025-01-27 13:48:22 -08:00
Brawn
e4524eb219 fix: Fix error handling Update index.ts (#2476)
## Why is this change needed?

The error handling in the userdata fetch block assumes the error object
always has a `response` property, which isn't guaranteed. This can cause
crashes if the error is unrelated to an HTTP request (e.g., network
issues or code errors).

I've updated the `console.error` statement to safely handle cases where
`e.response` is undefined. Now it logs either the response data or the
error message, preventing potential runtime errors.

## 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
- [x] 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 improves error handling in the
`packages/hub-web/examples/profile/index.ts` file by making the error
logging more robust. It adds a fallback to log the error message if the
response data is not available.

### Detailed summary
- Updated the error logging in the `catch` block.
- Changed `console.error` to log `e.response?.data` or fallback to
`e.message` if `e.response.data` is undefined.

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

<!-- end pr-codex -->
2025-01-27 13:44:58 -08:00
Bryer
ba618b6484 chore: Fix typo in class name Update factories.ts (#2475)
## Why is this change needed?

I noticed a typo in the class name `Ed25519PPublicKey` where an extra
"P" was added. This doesn't align with the correct naming convention
used in the codebase, particularly with the `Ed25519PublicKeyFactory`
defined earlier. I've corrected the name to `Ed25519PublicKey` to ensure
consistency and accuracy.

## Merge Checklist

- [x] PR title adheres to the [conventional
commits](https://www.conventionalcommits.org/en/v1.0.0/) standard
- [x] 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 focuses on correcting a naming inconsistency in the
`packages/core/src/factories.ts` file by updating the key from
`Ed25519PPublicKey` to `Ed25519PublicKey`.

### Detailed summary
- Changed the key name from `Ed25519PPublicKey` to `Ed25519PublicKey` in
the export list.

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

<!-- end pr-codex -->
2025-01-27 13:44:33 -08:00
georgehao
50cd650ff8 Fix typos (#2469)
## Why is this change needed?

Fix some typos

## Changes:
- Fixed typo: `Rasied` to `Raised` in `syncHealth.ts`.
- Corrected `reuslt` to `result` in `userDataStore.ts`.
- Changed `doesnt` to `doesn't` in `merkleTrie.test.ts`.
- Fixed `propogate` to `propagate` in `logger.ts` and `hubble.ts`.
- Corrected `Wether` to `Whether` in `validateOrRevokeMessagesJob.ts`
and `hubble.ts`.
- Fixed `trucated` to `truncated` in `main.rs`.
- Changed `cound` to `count` in `multiPeerSyncEngine.test.ts`.
- Corrected `succeds` to `succeeds` in `index.test.ts`.

## 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
- [x] 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 focuses on correcting typos and improving comments throughout
the codebase for better clarity and readability.

### Detailed summary
- Fixed typo: `Rasied` to `Raised` in `syncHealth.ts`.
- Corrected `reuslt` to `result` in `userDataStore.ts`.
- Changed `doesnt` to `doesn't` in `merkleTrie.test.ts`.
- Fixed `propogate` to `propagate` in `logger.ts` and `hubble.ts`.
- Corrected `Wether` to `Whether` in `validateOrRevokeMessagesJob.ts`
and `hubble.ts`.
- Fixed `trucated` to `truncated` in `main.rs`.
- Changed `cound` to `count` in `multiPeerSyncEngine.test.ts`.
- Corrected `succeds` to `succeeds` in `index.test.ts`.

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

<!-- end pr-codex -->
2025-01-18 15:52:21 -08:00
Woolfgm
214dcd7793 Remove duplicate Snapshots Options section (#2471)
Changes:
- Removed duplicate "Snapshots Options" section from CLI documentation
as it already exists in the main options list.

Before (appears twice):
Snapshots Options:
--enable-snapshot-to-s3 Enable daily snapshots to be uploaded to S3.
(default: disabled)
--s3-snapshot-bucket <bucket> The S3 bucket to upload snapshots to
--disable-snapshot-sync Disable syncing from snapshots. (default:
enabled)

File changed: apps/hubble/www/docs/docs/cli.md

Screenshot needed: 

![image](https://github.com/user-attachments/assets/d8646547-da29-4636-8d34-355df4cf3034)
2025-01-18 15:50:35 -08:00
planetBoy
43b89fd1f5 replace castWithEmojiLinkAttachmnent - castWithEmojiLinkAttachment index.ts (#2451)
I reviewed the entire repository, no more typos found in docs. 
Hope this helps streamline the project!
Best regards,
Bilogweb3


<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on correcting a typo in the variable name from
`castWithEmojiLinkAttachmnent` to `castWithEmojiLinkAttachment` in the
`packages/hub-nodejs/examples/write-data/index.ts` file, ensuring
consistency and clarity in the code.

### Detailed summary
- Changed variable name from `castWithEmojiLinkAttachmnent` to
`castWithEmojiLinkAttachment` for consistency.
- Updated the corresponding push to `castResults` to reflect the
corrected variable name.

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

<!-- end pr-codex -->
2025-01-08 19:45:24 -08:00
Bilog WEB3
90a073d765 doc: Fix typo Update factories.ts (#2450)
I reviewed the entire repository, no more typos found in docs. 
Hope this helps streamline the project!
Best regards,
Bilogweb3

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on renaming a public key factory in the codebase for
clarity and consistency.

### Detailed summary
- Renamed `Ed25519PPublicKeyFactory` to `Ed25519PublicKeyFactory` in
`packages/core/src/factories.ts`.
- Updated references to the factory in the `SignerEventBodyFactory` and
`Factories` export to match the new name.

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

<!-- end pr-codex -->
2025-01-08 19:43:32 -08:00
Bob
47f5e7d41d Fixed typos and improved clarity in documentation (#2455)
Changes made:

typos - types ( Correcting a typo to the intended word)
LocalACcount - LocalAccount (Fixing the capitalization error to match
the proper format)



<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on correcting typos in test descriptions and
documentation related to the `getStoreLimit` function and the
`Eip712Signer` class.

### Detailed summary
- Changed the test description from "multiple unit typos" to "multiple
unit types" in `packages/core/src/limits.test.ts`.
- Corrected "LocalACcount" to "LocalAccount" in
`packages/hub-nodejs/docs/signers/ViemLocalEip712Signer.md`.

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

<!-- end pr-codex -->
2025-01-08 19:41:43 -08:00
teenager-ETH
ec23c0af8e Fix Typos in Documentation and Tests (#2460)
# Fix Typos in Documentation and Tests

## Summary
This pull request addresses minor typos in the following files:
1. `apps/hubble/src/test/e2e/gossipNetworkBundle.test.ts`
2. `packages/hub-nodejs/docs/signers/EthersV5Eip712Signer.md`

## Changes Made
### 1. `gossipNetworkBundle.test.ts`
- Fixed a typo in the comment: 
  - From: "beacuse" 
  - To: "because"

### 2. `EthersV5Eip712Signer.md`
- Fixed a typo in the comment: 
  - From: "can't erro" 
  - To: "can't error"

## Testing
These changes only affect comments and do not impact the functionality
of the code. No new tests were added as the code logic remains
unchanged.

## Checklist
- [x] Followed the [contributing guidelines](link-to-guidelines).
- [x] Verified changes locally.
- [x] Added clear descriptions and comments.

---

Thank you for reviewing this PR! Let me know if there’s anything else to
address.


<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on correcting minor typographical errors in comments
within the documentation and test files related to the
`EthersV5Eip712Signer` and `gossipNetworkBundle`.

### Detailed summary
- Fixed a typo in the comment for `blockHashBytes` in
`packages/hub-nodejs/docs/signers/EthersV5Eip712Signer.md`.
- Corrected a typo in the comment regarding invalid bundle gossiping in
`apps/hubble/src/test/e2e/gossipNetworkBundle.test.ts`.

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

<!-- end pr-codex -->
2025-01-08 18:03:11 -08:00
CODe
a4c5f2e7af Fix typo Update CHANGELOG.md (#2464)
# Fix Typo in CHANGELOG.md

## Summary of Changes
- Corrected a typo: "endoint" to "endpoint" in the
`packages/core/CHANGELOG.md` file.

---

## Additional Notes
This is a minor documentation update and does not affect the
functionality of the project.
Please review and merge at your convenience. Thank you! 😊


<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on a fix in the `http` endpoint's response behavior,
ensuring it returns a "not found" status instead of an internal database
error.

### Detailed summary
- Fixed the `http` endpoint to return "not found" instead of an internal
database error.

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

<!-- end pr-codex -->
2025-01-08 18:02:12 -08:00
futreall
5602bf180a chore: fix duplicate errors.ts (#2448)
Duplicate "if" in error message description.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving documentation clarity and correcting a
comment in the codebase.

### Detailed summary
- Updated the wording in `monitoring.md` to change "writeable" to
"writable".
- Corrected a comment in `errors.ts` by removing the redundant "if" in
"if if error message".

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

<!-- end pr-codex -->
2025-01-08 18:01:05 -08:00
CrazyFrog
0fd5f3591d 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 -->
2024-12-18 12:32:39 -08:00
savvasmoke
584f5f2493 Correcting Invalid Links with Valid URLs (#2435)
### Replacing not working links to working
**Before:**

![image](https://github.com/user-attachments/assets/60a60f28-f3b4-42d1-abf8-c881adb83a05)

**After:**

![image](https://github.com/user-attachments/assets/c157433b-d975-4c63-a17e-a2100fe832db)


<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the documentation for several signers in the
`hub-nodejs` package, specifically changing the links to the `Builders`
documentation from relative URLs to absolute URLs.

### Detailed summary
- Updated link to `Builders` documentation in `NobleEd25519Signer.md`
- Updated link to `Builders` documentation in `ViemLocalEip712Signer.md`
- Updated link to `Builders` documentation in `EthersV5Eip712Signer.md`
- Updated link to `Builders` documentation in `EthersEip712Signer.md`

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

<!-- end pr-codex -->
2024-12-12 10:37:56 -08:00
Viacheslav
03457c2b2b documentation(hub-web): Added getFnameFromFid to readme (#2433)
## Why is this change needed?

Since changes were requested in docs
(https://github.com/farcasterxyz/docs/issues/54), I have made a PR to
update Farcaster's docs (https://github.com/farcasterxyz/docs/pull/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 -->
2024-12-12 10:34:41 -08:00
Donny
ccfb458b04 docs: Fix typo Update README.md (#2428)
## Why is this change needed?

<img width="852" alt="Снимок экрана 2024-12-10 в 19 00 33"
src="https://github.com/user-attachments/assets/6a803a7a-ff1c-43bb-972f-c78318266766">

The problem lies in the use of "Cast's," which could be unclear or
grammatically incorrect in this context. The possessive form of "Cast"
may not be necessary here, and it could be better to rewrite it as:

`console.log(`The first cast's text is
${response.messages[0].data.castAddBody.text}`);`

## Merge Checklist

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

- [x] PR has been tagged with a change label(s) (i.e. documentation,
feature, bugfix, or chore)


<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the wording in a log message for clarity.

### Detailed summary
- Changed the log message from `First Cast's text is` to `The first
cast's text is` to improve readability and consistency in the console
output.

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

<!-- end pr-codex -->
2024-12-10 09:56:57 -08:00
dependabot[bot]
08521b1746 chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /packages/hub-nodejs/examples/hello-world (#2425)
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from
7.0.3 to 7.0.6.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md">cross-spawn's
changelog</a>.</em></p>
<blockquote>
<h3><a
href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.5...v7.0.6">7.0.6</a>
(2024-11-18)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>update cross-spawn version to 7.0.5 in package-lock.json (<a
href="f700743918">f700743</a>)</li>
</ul>
<h3><a
href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.4...v7.0.5">7.0.5</a>
(2024-11-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>fix escaping bug introduced by backtracking (<a
href="640d391fde">640d391</a>)</li>
</ul>
<h3><a
href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.4">7.0.4</a>
(2024-11-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>disable regexp backtracking (<a
href="https://redirect.github.com/moxystudio/node-cross-spawn/issues/160">#160</a>)
(<a
href="5ff3a07d9a">5ff3a07</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="77cd97f3ca"><code>77cd97f</code></a>
chore(release): 7.0.6</li>
<li><a
href="6717de49ff"><code>6717de4</code></a>
chore: upgrade standard-version</li>
<li><a
href="f700743918"><code>f700743</code></a>
fix: update cross-spawn version to 7.0.5 in package-lock.json</li>
<li><a
href="9a7e3b2165"><code>9a7e3b2</code></a>
chore: fix build status badge</li>
<li><a
href="085268352d"><code>0852683</code></a>
chore(release): 7.0.5</li>
<li><a
href="640d391fde"><code>640d391</code></a>
fix: fix escaping bug introduced by backtracking</li>
<li><a
href="bff0c87c8b"><code>bff0c87</code></a>
chore: remove codecov</li>
<li><a
href="a7c6abc6fe"><code>a7c6abc</code></a>
chore: replace travis with github workflows</li>
<li><a
href="9b9246e096"><code>9b9246e</code></a>
chore(release): 7.0.4</li>
<li><a
href="5ff3a07d9a"><code>5ff3a07</code></a>
fix: disable regexp backtracking (<a
href="https://redirect.github.com/moxystudio/node-cross-spawn/issues/160">#160</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cross-spawn&package-manager=npm_and_yarn&previous-version=7.0.3&new-version=7.0.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/farcasterxyz/hub-monorepo/network/alerts).

</details>

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `cross-spawn` package version in the `yarn.lock`
file from `7.0.3` to `7.0.6`, along with its resolved URL and integrity
hash.

### Detailed summary
- Updated `cross-spawn` version from `7.0.3` to `7.0.6`
- Changed resolved URL for `cross-spawn` to the new version's URL
- Updated integrity hash for `cross-spawn` to match the new version

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

<!-- end pr-codex -->

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

[no ci]
2024-12-09 13:28:34 -08:00
Sanjay
926f53547d chore: Release shuttle 0.6.12 (#2424)
## Why is this change needed?

Release shuttle with revert for reconciliation issue.

## 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
- [x] 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 focuses on updating the version of the `@farcaster/shuttle`
package from `0.6.11` to `0.6.12`, along with a changelog entry that
documents a specific feature revert.

### Detailed summary
- Updated `version` of `@farcaster/shuttle` from `0.6.11` to `0.6.12`.
- Added changelog entry for version `0.6.12` noting the revert of the
feature "Support deleting messages on DB that are missing on hub"
(#2341).

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

<!-- end pr-codex -->
2024-12-09 21:00:05 +00:00
Cypher Pepe
29f5796e55 docs: documentation typos in Client.md and Events.md (#2420)
## Why is this change needed?

This PR addresses minor typographical errors in the documentation to
improve accuracy and readability:

- **File: `Client.md`**  
- Fixed the incorrect reference `geSSLHubRpcClient` to
`getSSLHubRpcClient` in the example code.

- **File: `Events.md`**  
- Corrected the grammatical error by changing "an NameRegistryEvent" to
"a NameRegistryEvent."

These corrections enhance clarity and ensure the examples are error-free
for developers using the documentation.

## Merge Checklist

- [x] PR title adheres to the [conventional
commits](https://www.conventionalcommits.org/en/v1.0.0/) standard.
- [x] PR has a
[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets).
- [ ] PR has been tagged with a change label(s) (e.g., 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 focuses on correcting a function name in the import statement
and making a minor grammatical adjustment in the documentation.

### Detailed summary
- Changed the import from `geSSLHubRpcClient` to `getSSLHubRpcClient` in
`packages/hub-nodejs/docs/Client.md`.
- Updated the documentation in `packages/hub-nodejs/docs/Events.md` by
adding a space before "Emit" in the description of `MergeNameRegistry`.

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

<!-- end pr-codex -->
2024-12-09 12:54:17 -08:00
Ty Book
a302bcd165 feat(shuttle): Revert unsafe "Support deleting messages on DB that are missing on hub" #2341 (#2422)
Reverts farcasterxyz/hub-monorepo#2341

We found this to be a fundamentally flawed action to take on messages
missing in the hub. Reverting the change to not mislead other Shuttle
users.

Why is this unsafe? Imagine a simple Shuttle-powered app with a `links`
table written to and deleted from by its `handleMessageMerge` method.
Then imagine this series of Farcaster messages submitted to the network:
1. LINK_ADD: FID 123 follows FID 234
2. LINK_REMOVE: FID 123 unfollows FID 234
3. LINK_ADD: FID 123 refollows FID 234

Obviously the correct final `links` table state should be FID 123
following FID 234. But with my changes that I'm reverting here, this
won't be the case. The hubs will eventually delete message 1, meaning
Shuttle's reverse reconciliation would ultimately run
`handleMessageMerge()` with a `state` arg of `"deleted"` on message 1.
This means the `links` table would have its row deleted that signifies
FID 123 following FID 234, regardless of message 3.

I think it might be safe in general to have this `onDbMessage()`
callback do something like hard delete missing-in-hub messages from the
`messages` table to keep its disk usage in check, but calling into the
app to have it perform all downstream deletion processing of the message
like this isn't safe.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on reverting a previous change that allowed for the
deletion of messages from the database if they were missing on the hub.
It simplifies the `handleMissingMessage` method by removing the
conditional check for `missingInHub`.

### Detailed summary
- Reverted feature: "Support deleting messages on DB that are missing on
hub".
- Modified `handleMissingMessage` method in `hubEventProcessor.ts` to
remove the `missingInHub` parameter.
- Updated calls to `handleMissingMessage` in `app.ts` to reflect the
removal of the `missingInHub` argument.

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

<!-- end pr-codex -->
2024-12-09 12:45:40 -08:00
Maks
c02ef4973e Fix documentation typos and grammar (#2410)
> Changes:

> 1. In packages/hub-nodejs/docs/Client.md:
 - Changed "quick" to "quirk"
- Reason: The word "quick" (meaning fast/rapid) was incorrectly used
where "quirk" (meaning peculiarity/oddity) was intended when describing
protobuf-generated types behavior.

> 2. In packages/hub-nodejs/docs/Client.md:
 - Changed "Message are" to "Messages are"
- Reason: Fixed subject-verb agreement as "Messages" is plural and
requires the plural verb form "are".

> 3. In protobufs/README.md:
 - Changed "Docs for the protobufs is" to "Docs for the protobufs are"
- Reason: Fixed subject-verb agreement as "Docs" (documentation) is
treated as plural in this context and requires the plural verb form
"are".
These changes improve the documentation's readability and grammatical
correctness without altering any technical content.


<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on improving documentation clarity in the
`protobufs/README.md` and `packages/hub-nodejs/docs/Client.md` files,
correcting minor typographical errors and ensuring consistency in
language.

### Detailed summary
- Fixed a minor typographical error in `protobufs/README.md` regarding
the documentation description.
- Corrected "quick" to "quirk" in `packages/hub-nodejs/docs/Client.md`.
- Changed "Docs for the protobufs is" to "Docs for the protobufs are"
for grammatical accuracy in `protobufs/README.md`.
- Changed "Message are" to "Messages are" in
`packages/hub-nodejs/docs/Client.md` for grammatical accuracy.

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

<!-- end pr-codex -->
2024-12-06 22:02:03 -08:00
Danil
dc34dc8dca Fix grammatical errors and typo in code (#2411)
Fixed:

Changed "Commands must" to "Commands must be" for grammatical
correctness.
Corrected "import { geSSLHubRpcClient" to "import { getSSLHubRpcClient"
to fix the typo.
Why it's useful:
These changes fix grammatical errors and a typo, ensuring the code is
syntactically correct and easier to read.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on correcting a typo in the documentation and updating a
function name in the code.

### Detailed summary
- In `apps/hubble/www/docs/docs/cli.md`, the phrase "Commands must
invoked" was corrected to "Commands must be invoked".
- In `packages/hub-nodejs/docs/Client.md`, the function name
`geSSLHubRpcClient` was updated to `getSSLHubRpcClient`.

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

<!-- end pr-codex -->
2024-12-06 22:01:30 -08:00
Qvkare
686aeb7075 fix: typo corrections and path updates (#2415)
## Why is this change needed?

Typographical errors in variable names, comments, and documentation,
such as "recieved" instead of "received" and incorrect paths in
examples, have been corrected to ensure clarity, consistency, and
improved developer experience.

### Key Changes:
1. Replaced all instances of "recievedMessages" with "receivedMessages"
for correct spelling.
2. Updated code comments and logs to reflect the corrected spelling:
   - `recievedMessages.size` → `receivedMessages.size`
   - Comments updated for clarity: "recieved" → "received."
3. Corrected a typo in error logging: `errMessaeg` → `errMessage`.
4. Fixed a typo in a code comment within `shuttle/index.ts`: 
   - "gurantees" → "guarantees."
   - "recieved" → "received."

## 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.
- [x] 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 focuses on correcting spelling errors related to the word
"received" across multiple files, enhancing code clarity and
consistency.

### Detailed summary
- Fixed spelling of `errMessaeg` to `errMessage` in
`dbSnapshotBackupJob.ts`.
- Corrected comments and variable names from `recievedMessages` to
`receivedMessages` in `gossipProfileWorker.ts` and
`gossipProfileWorker.js`.
- Updated console log messages for consistency in spelling.

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

<!-- end pr-codex -->
2024-12-06 21:58:19 -08:00
rebustron
45e7ae1625 fix: typo correction validations.test.ts (#2405)
### Why is this change needed?
Corrected a typographical error in the test description. Changed "inpt"
to "input" in `validations.test.ts`.
This fix improves code readability and consistency.

---

## Merge Checklist

- [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).
- [ ] 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.

---

## Commits

- **Commit:** `typo validations.test.ts`  
- Changed "inpt" to "input" in the file
`packages/core/src/validations.test.ts`.


<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on correcting a typo in a test description within the
`validations.test.ts` file.

### Detailed summary
- Changed the test description from `"succeeds with valid string inpt"`
to `"succeeds with valid string input"` in the `test` function.

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

<!-- end pr-codex -->
2024-11-21 22:25:00 -08:00
futreall
b69cb8f302 fix typos in documentation files (#2398)
## Why is this change needed?

This change is necessary to enhance documentation consistency, improve
accuracy in code comments, and provide users with a clear understanding
of the project’s structure and usage guidelines. Updating these files
ensures that developers and contributors can navigate and utilize the
codebase more effectively, reducing potential errors and
miscommunications. These improvements directly support maintaining
high-quality standards and accessibility in the Hubble ecosystem,
benefiting both new and experienced users.

## Merge Checklist

- [x] PR title adheres to the [conventional
commits](https://www.conventionalcommits.org/en/v1.0.0/) standard
- [x] 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 focuses on fixing typos and improving documentation across
various files in the project, enhancing clarity and consistency in
language.

### Detailed summary
- Fixed typo in `CHANGELOG.md` regarding "unexpectedly".
- Updated "Go lang" to "Golang" in `CHANGELOG.md`.
- Corrected phrasing in `feature.md`.
- Standardized "Nodejs" to "Node.js" in multiple files.
- Clarified "Fids" to "FIDs" in `Messages.md`.
- Improved description in `README.md` for consistency.

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

<!-- end pr-codex -->
2024-11-19 18:41:30 -08:00
compusophy
df0b62987f Update path in README.md (#2403)
## Why is this change needed?

The existing README.md for the write-data example contains an incorrect
path, instructing users to navigate to the 'make-cast' instead of
'write-data'.

## 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)
- [ ] 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 updates the instructions in the `README.md` file for the
`write-data` example in the `hub-nodejs` package. It corrects the
navigation command and ensures the instructions are accurate for users.

### Detailed summary
- Changed navigation command from `cd
packages/hub-nodejs/examples/make-cast` to `cd
packages/hub-nodejs/examples/write-data`.

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

<!-- end pr-codex -->
2024-11-19 18:40:35 -08:00
Sanjay
15d0aec9ba chore: Release shuttle version (#2400)
## Why is this change needed?

Release shuttle

## 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
- [x] 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 focuses on updating the version of the `@farcaster/shuttle`
package from `0.6.10` to `0.6.11`, along with a corresponding entry in
the `CHANGELOG.md` to document a bug fix related to using the `statsd`
host from the environment.

### Detailed summary
- Updated version of `@farcaster/shuttle` from `0.6.10` to `0.6.11` in
`packages/shuttle/package.json`.
- Added changelog entry for version `0.6.11` documenting a fix for using
`statsd` host from the environment.

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

<!-- end pr-codex -->
2024-11-13 19:06:34 +00:00
Sanjay
d34a86df19 fix(shuttle): Use statsd host from env (#2399)
## Why is this change needed?

Use statsd host from env for shuttle

## 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
- [x] 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 focuses on updating the `statsd` configuration in the `shuttle`
package to use the `STATSD_HOST` environment variable for the host
address, enhancing flexibility and avoiding hardcoded values.

### Detailed summary
- Updated `host` in `statsd` configuration from a hardcoded IP
(`"127.0.0.1"`) to use `process.env["STATSD_HOST"]` with a fallback to
`"127.0.0.1"`.

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

<!-- end pr-codex -->
2024-11-11 15:57:35 -08:00
Aditi Srinivasan
66d6af9e59 chore: release hubble v1.16.3 and shuttle v0.6.10 (#2397)
Release hubble v1.16.3 and shuttle v0.6.10. 

## 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
- [x] 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 primarily focuses on updating version numbers and changelogs for
the `@farcaster/hubble` and `@farcaster/shuttle` packages, along with
some minor code adjustments.

### Detailed summary
- Updated `@farcaster/hubble` version from `1.16.2` to `1.16.3`.
- Added changelog entry for `1.16.3` with a log tag standardization
change.
- Updated `@farcaster/shuttle` version from `0.6.9` to `0.6.10`.
- Added changelog entry for `0.6.10` regarding RPC fallback
improvements.

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

<!-- end pr-codex -->
2024-11-07 16:27:15 -05:00
Sanjay
07aaf852ec Fix: Fallback to RPC in more cases when reconcile stream errors (#2396)
## Why is this change needed?

In cases like this, we're not falling back to the RPC 

```
{"jobName":"reconcile","jobId":"9273216","reason":"Unable to get all casts for FID 652934: server timeout","errorName":"Error","errorMessage":"Unable to get all casts for FID 652934: server timeout","errorStack":"Error: Unable to get all casts for FID 652934: server timeout\n    at
MessageReconciliation.getAllCastMessagesByFidInBatchesOf (file:///app/node_modules/@farcaster/shuttle/dist/index.mjs:1060:15)\n    at runNextTicks (node:internal/process/task_queues:60:5)\n    at process.processTimers (node:internal/timers:511:9)\n    at async MessageReconciliation.allHubMessagesOfTypeForFid (file:///app/node_modules/@farcaster/shuttle/dist/index.mjs:980:22)\n    at async MessageReconciliation.reconcileMessagesOfTypeForFid (file:///app/node_modules/@farcaster/shuttle/dist/index.mjs:918:22)\n    at async MessageReconciliation.reconcileMessagesForFid (file:///app/node_modules/@farcaster/shuttle/dist/index.mjs:913:7)\n    at App.reconcileFids (/app/src/shuttle.ts:132:13)\n    at Worker.Worker.autorun (/app/src/worker.ts:21:9)\n    at Worker.processJob (/app/node_modules/bullmq/src/classes/worker.ts:776:22)\n    at Worker.retryIfFailed (/app/node_modules/bullmq/src/classes/worker.ts:982:16)"}
```

## 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
- [x] 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 focuses on improving error handling in the `reconcile` process
by enhancing the fallback mechanism to RPC in more scenarios when stream
errors occur, and temporarily skipping a test for unresponsive server
requests.

### Detailed summary
- Updated the `shuttle.integration.test.ts` file to skip the test for
unresponsive server requests.
- Enhanced the `messageReconciliation.ts` file to log a warning when a
stream fetch times out and fall back to RPC.
- Added a cancellation mechanism to prevent hanging connections.

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

<!-- end pr-codex -->
2024-11-07 15:39:59 -05:00
Pratik Agarwal
2cc08d9a4d Fname register signature fix (#2384)
## Why is this change needed?

There was a bug due to which fname registration was failing on example
package `hello-world`. The PR fixes this.


<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new function for creating user name proof claims
and updates the way user name proof signatures are generated and
processed in the `registerFname` function. It also adds a utility
function for converting bytes to hex.

### Detailed summary
- Added `makeUserNameProofClaim` function import.
- Introduced `bytesToHex` function import.
- Updated `registerFname` to use `await signer.signUserNameProofClaim`
with `makeUserNameProofClaim`.
- Changed signature processing to use `bytesToHex` for
`userNameProofSignature.value`.

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

<!-- end pr-codex -->
2024-11-07 12:04:22 -08:00
Sanjay
3ae52bc50c chore: Release shuttle (#2395)
## Why is this change needed?

Release shuttle 0.6.9

## 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
- [x] 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 updates the version of the `@farcaster/shuttle` package from
`0.6.8` to `0.6.9` and includes notable changes in the changelog.

### Detailed summary
- Updated `version` in `packages/shuttle/package.json` from `0.6.8` to
`0.6.9`.
- Added a new section for `0.6.9` in `packages/shuttle/CHANGELOG.md`:
- `feat(shuttle)`: Pipe `connectionTimeout` argument through
`EventStreamHubSubscriber`.
- `chore`: Add event timestamp metric for event subscription monitoring.

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

<!-- end pr-codex -->
2024-11-06 21:58:06 +00:00
dependabot[bot]
57a87beebd chore(deps): bump elliptic from 6.5.7 to 6.6.0 in /packages/hub-nodejs/examples/hello-world (#2392)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.7 to
6.6.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b8a7edd61a"><code>b8a7edd</code></a>
6.6.0</li>
<li><a
href="34c853478c"><code>34c8534</code></a>
fix: signature verification due to leading zeros</li>
<li>See full diff in <a
href="https://github.com/indutny/elliptic/compare/v6.5.7...v6.6.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=elliptic&package-manager=npm_and_yarn&previous-version=6.5.7&new-version=6.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/farcasterxyz/hub-monorepo/network/alerts).

</details>

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `elliptic` package version in the `yarn.lock` file
from `6.5.7` to `6.6.0`, along with its resolved URL and integrity hash.

### Detailed summary
- Updated `elliptic` version from `6.5.7` to `6.6.0`
- Changed resolved URL for `elliptic` to the new version's tarball
- Updated integrity hash for `elliptic` to match the new version

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

<!-- end pr-codex -->

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-31 20:46:52 +00:00
dependabot[bot]
4f6cfaaa0a chore(deps): bump axios from 1.6.0 to 1.7.4 in /packages/hub-web/examples/feed (#2376)
Bumps [axios](https://github.com/axios/axios) from 1.6.0 to 1.7.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/axios/axios/releases">axios's
releases</a>.</em></p>
<blockquote>
<h2>Release v1.7.4</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>sec:</strong> CVE-2024-39338 (<a
href="https://redirect.github.com/axios/axios/issues/6539">#6539</a>)
(<a
href="https://redirect.github.com/axios/axios/issues/6543">#6543</a>)
(<a
href="6b6b605eaf">6b6b605</a>)</li>
<li><strong>sec:</strong> disregard protocol-relative URL to remediate
SSRF (<a
href="https://redirect.github.com/axios/axios/issues/6539">#6539</a>)
(<a
href="07a661a2a6">07a661a</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a href="https://github.com/levpachmanov"
title="+47/-11 ([#6543](https://github.com/axios/axios/issues/6543)
)">Lev Pachmanov</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/hainenber"
title="+49/-4 ([#6539](https://github.com/axios/axios/issues/6539) )">Đỗ
Trọng Hải</a></li>
</ul>
<h2>Release v1.7.3</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>adapter:</strong> fix progress event emitting; (<a
href="https://redirect.github.com/axios/axios/issues/6518">#6518</a>)
(<a
href="e3c76fc9bd">e3c76fc</a>)</li>
<li><strong>fetch:</strong> fix withCredentials request config (<a
href="https://redirect.github.com/axios/axios/issues/6505">#6505</a>)
(<a
href="85d4d0ea0a">85d4d0e</a>)</li>
<li><strong>xhr:</strong> return original config on errors from XHR
adapter (<a
href="https://redirect.github.com/axios/axios/issues/6515">#6515</a>)
(<a
href="8966ee7ea6">8966ee7</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+211/-159
([#6518](https://github.com/axios/axios/issues/6518)
[#6519](https://github.com/axios/axios/issues/6519) )">Dmitriy
Mozgovoy</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/ValeraS"
title="+3/-3 ([#6515](https://github.com/axios/axios/issues/6515)
)">Valerii Sidorenko</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/prianyu"
title="+2/-2 ([#6505](https://github.com/axios/axios/issues/6505)
)">prianYu</a></li>
</ul>
<h2>Release v1.7.2</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>fetch:</strong> enhance fetch API detection; (<a
href="https://redirect.github.com/axios/axios/issues/6413">#6413</a>)
(<a
href="4f79aef81b">4f79aef</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+3/-3
([#6413](https://github.com/axios/axios/issues/6413) )">Dmitriy
Mozgovoy</a></li>
</ul>
<h2>Release v1.7.1</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>fetch:</strong> fixed ReferenceError issue when TextEncoder
is not available in the environment; (<a
href="https://redirect.github.com/axios/axios/issues/6410">#6410</a>)
(<a
href="733f15fe5b">733f15f</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+14/-9
([#6410](https://github.com/axios/axios/issues/6410) )">Dmitriy
Mozgovoy</a></li>
</ul>
<h2>Release v1.7.0</h2>
<h2>Release notes:</h2>
<h3>Features</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/axios/axios/blob/v1.x/CHANGELOG.md">axios's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/axios/axios/compare/v1.7.3...v1.7.4">1.7.4</a>
(2024-08-13)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>sec:</strong> CVE-2024-39338 (<a
href="https://redirect.github.com/axios/axios/issues/6539">#6539</a>)
(<a
href="https://redirect.github.com/axios/axios/issues/6543">#6543</a>)
(<a
href="6b6b605eaf">6b6b605</a>)</li>
<li><strong>sec:</strong> disregard protocol-relative URL to remediate
SSRF (<a
href="https://redirect.github.com/axios/axios/issues/6539">#6539</a>)
(<a
href="07a661a2a6">07a661a</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a href="https://github.com/levpachmanov"
title="+47/-11 ([#6543](https://github.com/axios/axios/issues/6543)
)">Lev Pachmanov</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/hainenber"
title="+49/-4 ([#6539](https://github.com/axios/axios/issues/6539) )">Đỗ
Trọng Hải</a></li>
</ul>
<h2><a
href="https://github.com/axios/axios/compare/v1.7.2...v1.7.3">1.7.3</a>
(2024-08-01)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>adapter:</strong> fix progress event emitting; (<a
href="https://redirect.github.com/axios/axios/issues/6518">#6518</a>)
(<a
href="e3c76fc9bd">e3c76fc</a>)</li>
<li><strong>fetch:</strong> fix withCredentials request config (<a
href="https://redirect.github.com/axios/axios/issues/6505">#6505</a>)
(<a
href="85d4d0ea0a">85d4d0e</a>)</li>
<li><strong>xhr:</strong> return original config on errors from XHR
adapter (<a
href="https://redirect.github.com/axios/axios/issues/6515">#6515</a>)
(<a
href="8966ee7ea6">8966ee7</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+211/-159
([#6518](https://github.com/axios/axios/issues/6518)
[#6519](https://github.com/axios/axios/issues/6519) )">Dmitriy
Mozgovoy</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/ValeraS"
title="+3/-3 ([#6515](https://github.com/axios/axios/issues/6515)
)">Valerii Sidorenko</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/prianyu"
title="+2/-2 ([#6505](https://github.com/axios/axios/issues/6505)
)">prianYu</a></li>
</ul>
<h2><a
href="https://github.com/axios/axios/compare/v1.7.1...v1.7.2">1.7.2</a>
(2024-05-21)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>fetch:</strong> enhance fetch API detection; (<a
href="https://redirect.github.com/axios/axios/issues/6413">#6413</a>)
(<a
href="4f79aef81b">4f79aef</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+3/-3
([#6413](https://github.com/axios/axios/issues/6413) )">Dmitriy
Mozgovoy</a></li>
</ul>
<h2><a
href="https://github.com/axios/axios/compare/v1.7.0...v1.7.1">1.7.1</a>
(2024-05-20)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>fetch:</strong> fixed ReferenceError issue when TextEncoder
is not available in the environment; (<a
href="https://redirect.github.com/axios/axios/issues/6410">#6410</a>)
(<a
href="733f15fe5b">733f15f</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+14/-9
([#6410](https://github.com/axios/axios/issues/6410) )">Dmitriy
Mozgovoy</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="abd24a7367"><code>abd24a7</code></a>
chore(release): v1.7.4 (<a
href="https://redirect.github.com/axios/axios/issues/6544">#6544</a>)</li>
<li><a
href="6b6b605eaf"><code>6b6b605</code></a>
fix(sec): CVE-2024-39338 (<a
href="https://redirect.github.com/axios/axios/issues/6539">#6539</a>)
(<a
href="https://redirect.github.com/axios/axios/issues/6543">#6543</a>)</li>
<li><a
href="07a661a2a6"><code>07a661a</code></a>
fix(sec): disregard protocol-relative URL to remediate SSRF (<a
href="https://redirect.github.com/axios/axios/issues/6539">#6539</a>)</li>
<li><a
href="c6cce43cd9"><code>c6cce43</code></a>
chore(release): v1.7.3 (<a
href="https://redirect.github.com/axios/axios/issues/6521">#6521</a>)</li>
<li><a
href="e3c76fc9bd"><code>e3c76fc</code></a>
fix(adapter): fix progress event emitting; (<a
href="https://redirect.github.com/axios/axios/issues/6518">#6518</a>)</li>
<li><a
href="85d4d0ea0a"><code>85d4d0e</code></a>
fix(fetch): fix withCredentials request config (<a
href="https://redirect.github.com/axios/axios/issues/6505">#6505</a>)</li>
<li><a
href="92cd8ed943"><code>92cd8ed</code></a>
chore(github): update ISSUE_TEMPLATE.md (<a
href="https://redirect.github.com/axios/axios/issues/6519">#6519</a>)</li>
<li><a
href="8966ee7ea6"><code>8966ee7</code></a>
fix(xhr): return original config on errors from XHR adapter (<a
href="https://redirect.github.com/axios/axios/issues/6515">#6515</a>)</li>
<li><a
href="0e4f9fa290"><code>0e4f9fa</code></a>
chore(release): v1.7.2 (<a
href="https://redirect.github.com/axios/axios/issues/6414">#6414</a>)</li>
<li><a
href="4f79aef81b"><code>4f79aef</code></a>
fix(fetch): enhance fetch API detection; (<a
href="https://redirect.github.com/axios/axios/issues/6413">#6413</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/axios/axios/compare/v1.6.0...v1.7.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=axios&package-manager=npm_and_yarn&previous-version=1.6.0&new-version=1.7.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/farcasterxyz/hub-monorepo/network/alerts).

</details>

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the versions of certain dependencies in the
`package.json` and `yarn.lock` files for the `feed` example within the
`hub-web` package.

### Detailed summary
- Updated `axios` from `^1.6.0` to `^1.7.4`.
- Updated `follow-redirects` from `^1.15.0` to `^1.15.6`.
- Updated `follow-redirects` version in `yarn.lock` from `1.15.6` to
`1.15.9`.

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

<!-- end pr-codex -->

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-31 13:40:55 -07:00
Aditi Srinivasan
999821063d chore: add event timestamp metric for event subscription monitoring (#2391)
This will help us understand if hub are sending events from far back in
time.

## 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
- [x] 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 introduces an event timestamp metric for monitoring event
subscriptions in the `EventStreamHubSubscriber` class. It enhances the
telemetry by adding the earliest event timestamp and associates the
metrics with the `hub` property.

### Detailed summary
- Added a new private property `hub` to store the hub client host.
- Extracted the earliest event timestamp using `extractEventTimestamp`
and recorded it with `statsd.gauge`.
- Updated existing metrics to include the `hub` property for better
context in monitoring.

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

<!-- end pr-codex -->
2024-10-29 15:43:42 -04:00
Ty Book
a9c45a3dfc feat(shuttle): Pipe connectionTimeout arg through EventStreamHubSubscriber (#2382)
## Why is this change needed?

Follow-up to https://github.com/farcasterxyz/hub-monorepo/pull/2367. I
missed piping through BaseHubSubscriber's new `connectionTimeout` param
through to EventStreamHubSubscriber, which means `connectionTimeout`
isn't really configurable for streaming right now like it should be.

## 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
- [x] PR has a
[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)
- [ ] 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 focuses on adding a new optional parameter, `connectionTimeout`,
to the `EventStreamHubSubscriber` class, allowing for better control
over connection timeouts.

### Detailed summary
- Added `connectionTimeout?: number` as an optional parameter in the
constructor of `EventStreamHubSubscriber`.
- Updated the call to `super` in the constructor to include the new
`connectionTimeout` argument.

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

<!-- end pr-codex -->
2024-10-28 12:59:10 -07:00
Cassandra Heart
8c1364041f chore: bump version (#2387)
## Why is this change needed?

Bumping version to release social verifications

## 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
- [x] 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 focuses on updating the versioning of several packages,
enhancing support for Twitter and GitHub usernames, and making various
dependency updates across the `@farcaster` ecosystem.

### Detailed summary
- Updated `@farcaster/core` version from `0.15.5` to `0.15.6`.
- Added support for Twitter and GitHub usernames in `@farcaster/core`.
- Updated `@farcaster/hub-nodejs` version from `0.12.6` to `0.12.7`.
- Updated `@farcaster/hub-web` version from `0.9.4` to `0.9.5`.
- Updated `@farcaster/hubble` version from `1.16.1` to `1.16.2`.
- Placed backups in a dedicated directory in `@farcaster/hub`.

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

<!-- end pr-codex -->
2024-10-28 12:26:15 -05:00
Cassandra Heart
913c0f6766 feat: support social verifications for twitter and github (#2370)
## Why is this change needed?

Describe why this issue should be fixed and link to any relevant design
docs, issues or other relevant items.

## 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
- [x] 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 introduces support for validating `twitter` and `github`
usernames in the system. It adds new constants, validation functions,
and test cases to ensure username formats comply with specified rules.

### Detailed summary
- Added constants `USER_DATA_TYPE_TWITTER` and `USER_DATA_TYPE_GITHUB`
in `message.proto`.
- Implemented validation functions `validateTwitterUsername` and
`validateGithubUsername` in `validations.ts`.
- Added regex patterns for Twitter and GitHub usernames.
- Created test cases for Twitter username validation in
`validations.test.ts`.
- Updated functions to handle new user data types in
`userDataTypeFromJSON` and `userDataTypeToJSON` across several files.

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

<!-- end pr-codex -->
2024-10-24 22:43:15 -05:00
dependabot[bot]
a56ed67fe8 chore(deps): bump axios from 1.6.0 to 1.7.4 in /packages/hub-web/examples/profile (#2373)
Bumps [axios](https://github.com/axios/axios) from 1.6.0 to 1.7.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/axios/axios/releases">axios's
releases</a>.</em></p>
<blockquote>
<h2>Release v1.7.4</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>sec:</strong> CVE-2024-39338 (<a
href="https://redirect.github.com/axios/axios/issues/6539">#6539</a>)
(<a
href="https://redirect.github.com/axios/axios/issues/6543">#6543</a>)
(<a
href="6b6b605eaf">6b6b605</a>)</li>
<li><strong>sec:</strong> disregard protocol-relative URL to remediate
SSRF (<a
href="https://redirect.github.com/axios/axios/issues/6539">#6539</a>)
(<a
href="07a661a2a6">07a661a</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a href="https://github.com/levpachmanov"
title="+47/-11 ([#6543](https://github.com/axios/axios/issues/6543)
)">Lev Pachmanov</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/hainenber"
title="+49/-4 ([#6539](https://github.com/axios/axios/issues/6539) )">Đỗ
Trọng Hải</a></li>
</ul>
<h2>Release v1.7.3</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>adapter:</strong> fix progress event emitting; (<a
href="https://redirect.github.com/axios/axios/issues/6518">#6518</a>)
(<a
href="e3c76fc9bd">e3c76fc</a>)</li>
<li><strong>fetch:</strong> fix withCredentials request config (<a
href="https://redirect.github.com/axios/axios/issues/6505">#6505</a>)
(<a
href="85d4d0ea0a">85d4d0e</a>)</li>
<li><strong>xhr:</strong> return original config on errors from XHR
adapter (<a
href="https://redirect.github.com/axios/axios/issues/6515">#6515</a>)
(<a
href="8966ee7ea6">8966ee7</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+211/-159
([#6518](https://github.com/axios/axios/issues/6518)
[#6519](https://github.com/axios/axios/issues/6519) )">Dmitriy
Mozgovoy</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/ValeraS"
title="+3/-3 ([#6515](https://github.com/axios/axios/issues/6515)
)">Valerii Sidorenko</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/prianyu"
title="+2/-2 ([#6505](https://github.com/axios/axios/issues/6505)
)">prianYu</a></li>
</ul>
<h2>Release v1.7.2</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>fetch:</strong> enhance fetch API detection; (<a
href="https://redirect.github.com/axios/axios/issues/6413">#6413</a>)
(<a
href="4f79aef81b">4f79aef</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+3/-3
([#6413](https://github.com/axios/axios/issues/6413) )">Dmitriy
Mozgovoy</a></li>
</ul>
<h2>Release v1.7.1</h2>
<h2>Release notes:</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>fetch:</strong> fixed ReferenceError issue when TextEncoder
is not available in the environment; (<a
href="https://redirect.github.com/axios/axios/issues/6410">#6410</a>)
(<a
href="733f15fe5b">733f15f</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+14/-9
([#6410](https://github.com/axios/axios/issues/6410) )">Dmitriy
Mozgovoy</a></li>
</ul>
<h2>Release v1.7.0</h2>
<h2>Release notes:</h2>
<h3>Features</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/axios/axios/blob/v1.x/CHANGELOG.md">axios's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/axios/axios/compare/v1.7.3...v1.7.4">1.7.4</a>
(2024-08-13)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>sec:</strong> CVE-2024-39338 (<a
href="https://redirect.github.com/axios/axios/issues/6539">#6539</a>)
(<a
href="https://redirect.github.com/axios/axios/issues/6543">#6543</a>)
(<a
href="6b6b605eaf">6b6b605</a>)</li>
<li><strong>sec:</strong> disregard protocol-relative URL to remediate
SSRF (<a
href="https://redirect.github.com/axios/axios/issues/6539">#6539</a>)
(<a
href="07a661a2a6">07a661a</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a href="https://github.com/levpachmanov"
title="+47/-11 ([#6543](https://github.com/axios/axios/issues/6543)
)">Lev Pachmanov</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/hainenber"
title="+49/-4 ([#6539](https://github.com/axios/axios/issues/6539) )">Đỗ
Trọng Hải</a></li>
</ul>
<h2><a
href="https://github.com/axios/axios/compare/v1.7.2...v1.7.3">1.7.3</a>
(2024-08-01)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>adapter:</strong> fix progress event emitting; (<a
href="https://redirect.github.com/axios/axios/issues/6518">#6518</a>)
(<a
href="e3c76fc9bd">e3c76fc</a>)</li>
<li><strong>fetch:</strong> fix withCredentials request config (<a
href="https://redirect.github.com/axios/axios/issues/6505">#6505</a>)
(<a
href="85d4d0ea0a">85d4d0e</a>)</li>
<li><strong>xhr:</strong> return original config on errors from XHR
adapter (<a
href="https://redirect.github.com/axios/axios/issues/6515">#6515</a>)
(<a
href="8966ee7ea6">8966ee7</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+211/-159
([#6518](https://github.com/axios/axios/issues/6518)
[#6519](https://github.com/axios/axios/issues/6519) )">Dmitriy
Mozgovoy</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/ValeraS"
title="+3/-3 ([#6515](https://github.com/axios/axios/issues/6515)
)">Valerii Sidorenko</a></li>
<li><!-- raw HTML omitted --> <a href="https://github.com/prianyu"
title="+2/-2 ([#6505](https://github.com/axios/axios/issues/6505)
)">prianYu</a></li>
</ul>
<h2><a
href="https://github.com/axios/axios/compare/v1.7.1...v1.7.2">1.7.2</a>
(2024-05-21)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>fetch:</strong> enhance fetch API detection; (<a
href="https://redirect.github.com/axios/axios/issues/6413">#6413</a>)
(<a
href="4f79aef81b">4f79aef</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+3/-3
([#6413](https://github.com/axios/axios/issues/6413) )">Dmitriy
Mozgovoy</a></li>
</ul>
<h2><a
href="https://github.com/axios/axios/compare/v1.7.0...v1.7.1">1.7.1</a>
(2024-05-20)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>fetch:</strong> fixed ReferenceError issue when TextEncoder
is not available in the environment; (<a
href="https://redirect.github.com/axios/axios/issues/6410">#6410</a>)
(<a
href="733f15fe5b">733f15f</a>)</li>
</ul>
<h3>Contributors to this release</h3>
<ul>
<li><!-- raw HTML omitted --> <a
href="https://github.com/DigitalBrainJS" title="+14/-9
([#6410](https://github.com/axios/axios/issues/6410) )">Dmitriy
Mozgovoy</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="abd24a7367"><code>abd24a7</code></a>
chore(release): v1.7.4 (<a
href="https://redirect.github.com/axios/axios/issues/6544">#6544</a>)</li>
<li><a
href="6b6b605eaf"><code>6b6b605</code></a>
fix(sec): CVE-2024-39338 (<a
href="https://redirect.github.com/axios/axios/issues/6539">#6539</a>)
(<a
href="https://redirect.github.com/axios/axios/issues/6543">#6543</a>)</li>
<li><a
href="07a661a2a6"><code>07a661a</code></a>
fix(sec): disregard protocol-relative URL to remediate SSRF (<a
href="https://redirect.github.com/axios/axios/issues/6539">#6539</a>)</li>
<li><a
href="c6cce43cd9"><code>c6cce43</code></a>
chore(release): v1.7.3 (<a
href="https://redirect.github.com/axios/axios/issues/6521">#6521</a>)</li>
<li><a
href="e3c76fc9bd"><code>e3c76fc</code></a>
fix(adapter): fix progress event emitting; (<a
href="https://redirect.github.com/axios/axios/issues/6518">#6518</a>)</li>
<li><a
href="85d4d0ea0a"><code>85d4d0e</code></a>
fix(fetch): fix withCredentials request config (<a
href="https://redirect.github.com/axios/axios/issues/6505">#6505</a>)</li>
<li><a
href="92cd8ed943"><code>92cd8ed</code></a>
chore(github): update ISSUE_TEMPLATE.md (<a
href="https://redirect.github.com/axios/axios/issues/6519">#6519</a>)</li>
<li><a
href="8966ee7ea6"><code>8966ee7</code></a>
fix(xhr): return original config on errors from XHR adapter (<a
href="https://redirect.github.com/axios/axios/issues/6515">#6515</a>)</li>
<li><a
href="0e4f9fa290"><code>0e4f9fa</code></a>
chore(release): v1.7.2 (<a
href="https://redirect.github.com/axios/axios/issues/6414">#6414</a>)</li>
<li><a
href="4f79aef81b"><code>4f79aef</code></a>
fix(fetch): enhance fetch API detection; (<a
href="https://redirect.github.com/axios/axios/issues/6413">#6413</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/axios/axios/compare/v1.6.0...v1.7.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=axios&package-manager=npm_and_yarn&previous-version=1.6.0&new-version=1.7.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/farcasterxyz/hub-monorepo/network/alerts).

</details>

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the version of the `axios` and `follow-redirects`
dependencies in the `package.json` and `yarn.lock` files.

### Detailed summary
- Updated `axios` from `^1.6.0` to `^1.7.4`.
- Updated `follow-redirects` from `^1.15.0` to `^1.15.9`.
- Corresponding changes made in `yarn.lock` for both dependencies.

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

<!-- end pr-codex -->

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 09:01:43 -07:00
dependabot[bot]
90e72971ff chore(deps): bump secp256k1 from 4.0.3 to 4.0.4 in /packages/hub-nodejs/examples/contract-signatures (#2374)
Bumps [secp256k1](https://github.com/cryptocoinjs/secp256k1-node) from
4.0.3 to 4.0.4.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="756fce1903"><code>756fce1</code></a>
4.0.4</li>
<li><a
href="8bd6446e00"><code>8bd6446</code></a>
elliptic: fix key verification in loadCompressedPublicKey</li>
<li><a
href="840834e833"><code>840834e</code></a>
Update elliptic to 6.5.7 (CVE-2024-42461) (<a
href="https://redirect.github.com/cryptocoinjs/secp256k1-node/issues/206">#206</a>)</li>
<li>See full diff in <a
href="https://github.com/cryptocoinjs/secp256k1-node/compare/v4.0.3...v4.0.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=secp256k1&package-manager=npm_and_yarn&previous-version=4.0.3&new-version=4.0.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/farcasterxyz/hub-monorepo/network/alerts).

</details>

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `yarn.lock` file to include new package versions and
dependencies, enhancing the project with improved libraries and
resolving potential vulnerabilities.

### Detailed summary
- Added `@farcaster/core@0.13.8` and its dependencies.
- Updated `@farcaster/hub-nodejs@0.10.24` to depend on
`@farcaster/core`.
- Introduced new packages: `@protobufjs/...`, `@scure/bip32@1.3.2`,
`@noble/hashes@1.3.2`, `viem@1.21.4`, `ws@8.13.0`, and others.
- Updated existing packages to newer versions, including
`node-addon-api`, `elliptic`, and `ms`.
- Resolved dependencies for several packages to ensure compatibility and
security.

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

<!-- end pr-codex -->

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-22 01:09:37 -07:00
dependabot[bot]
9a5f0fcb52 chore(deps): bump secp256k1 from 5.0.0 to 5.0.1 in /packages/hub-nodejs/examples/hello-world (#2372)
Bumps [secp256k1](https://github.com/cryptocoinjs/secp256k1-node) from
5.0.0 to 5.0.1.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b3f874ff79"><code>b3f874f</code></a>
5.0.1</li>
<li><a
href="9a15fff274"><code>9a15fff</code></a>
elliptic: fix key verification in loadCompressedPublicKey</li>
<li><a
href="dc37f41f2a"><code>dc37f41</code></a>
Update elliptic to 6.5.7 (CVE-2024-42461) (<a
href="https://redirect.github.com/cryptocoinjs/secp256k1-node/issues/206">#206</a>)</li>
<li>See full diff in <a
href="https://github.com/cryptocoinjs/secp256k1-node/compare/v5.0.0...v5.0.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=secp256k1&package-manager=npm_and_yarn&previous-version=5.0.0&new-version=5.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/farcasterxyz/hub-monorepo/network/alerts).

</details>

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `yarn.lock` file to reflect changes in the version
of the `elliptic` and `secp256k1` packages, ensuring that the project
uses the latest compatible versions.

### Detailed summary
- Updated `elliptic` from version `6.5.4` to `6.5.7`.
- Updated `secp256k1` from version `5.0.0` to `5.0.1`.
- Adjusted the `integrity` hash for both packages to match the new
versions.

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

<!-- end pr-codex -->

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-21 14:45:59 -05:00
Sanjay
3955dba3e0 chore: Release 1.16 (#2369)
## Why is this change needed?

Release 1.16

## 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
- [x] 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 focuses on updating version numbers and changelogs for the
`@farcaster/hub-nodejs` and `@farcaster/shuttle` packages, along with
modifications to the `FARCASTER_VERSION` in the `hubble.ts` file.

### Detailed summary
- Updated `@farcaster/hub-nodejs` version from `0.12.5` to `0.12.6`.
- Added `createDefaultMetadataKeyInterceptor` in `CHANGELOG.md`.
- Updated `@farcaster/shuttle` version from `0.6.7` to `0.6.8`.
- Parametrized hub connection timeouts for `HubSubscriber` and
`MessageReconciliation`.
- Updated `@farcaster/hubble` version from `1.15.7` to `1.16.0`.
- Changed `FARCASTER_VERSION` from `2024.9.4` to `2024.10.16`.
- Added new version `2024.10.16` to `FARCASTER_VERSIONS_SCHEDULE`.

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

<!-- end pr-codex -->
2024-10-16 14:43:52 -07:00