## Why is this change needed?
Upgrades libp2p all the way to the latest version ([Release
Notes](https://github.com/libp2p/js-libp2p/releases/tag/libp2p-v1.8.2) |
[Migration
Guide](https://github.com/libp2p/js-libp2p/blob/main/doc/migrations/v0.46-v1.0.0.md))
Upgrades GossipSub along with it.
No major interface changes were required here, just different dependency
references as the libp2p project moved some things around.
## 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 upgrades `libp2p/gossipsub` and dependencies, aligns imports
with `@libp2p/interface`, and adjusts types in various files.
### Detailed summary
- Upgraded `libp2p/gossipsub` and dependencies
- Aligned imports with `@libp2p/interface`
- Adjusted types in multiple files for compatibility
> The following files were skipped due to too many changes:
`apps/hubble/src/hubble.ts`,
`apps/hubble/src/network/p2p/gossipNodeWorker.ts`, `yarn.lock`
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`
<!-- end pr-codex -->
* feat: configure turborepo to run tasks
* refactor: set up app/ workspace
* fix: move tsconfig up and inherit
* fix: update turborepo
* refactor: extract flatbuffers to package
* fix: ci by using symlink instead of yalc
* refactor: extract eslint config
* ci: add manypkg to catch package issues
* security: remove manypkg due to yarn audit fail
* fix: misc changes
* refactor: move config into hub
* fix: export as module
* remove: manypkg postinstall
* feat: add verification util for signing and verifying typed data
* feat: flatbuffer verification set
* fix verification util test
* format generated message.ts
* upgrade to new faker version
* feat: Script to benchmark a network of Hubs
* fix: use the package version for the bench script
* fix: add a brief doc at the top of the file
* chore: clean up some unnecessary console.logs
* fix: Increase timeout for test teardown
* chore: clean up jest
* feat: initial leveldb commit
* feat: refactor signer set to use db
* refactor: fix mock test
* feat: start adding rocksdb wrapper
* intermediate commit
* feat: integrate all sets with db
* feat: update rocksdb wrapper to create directory if missing
* chore: extend test timeout for rpcSync and engine mock
* chore: improve db/cast.test
* chore: add documentation to db/ files
* chore: update set comments
* feat:Add libp2p and initial support for networking and messaging
* Add IDRegistryContent message types to the Network Protocol
* Add a test for the Node class
* Fix CI errors
* Disable coverage for Network tests
* Remove hack to split tests
* Remove unused jest config file
* Finally fix jest config
* Added a negative test case and some typeguards for protocol messages