ChainSafe / js-libp2p-gossipsub

TypeScript implementation of Gossipsub
Apache License 2.0
151 stars 43 forks source link

fix!: update peerstore and releated deps for libp2p@0.45 compat #425

Closed achingbrain closed 1 year ago

achingbrain commented 1 year ago

Updates all libp2p deps to fix up use of gossipsub with libp2p@0.45.x

Refs: https://github.com/libp2p/js-libp2p-peer-store/pull/75

BREAKING CHANGE: requires libp2p@0.45.x

what-the-diff[bot] commented 1 year ago

PR Summary

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 48.57% and project coverage change: -0.02 :warning:

Comparison is base (f62859b) 82.96% compared to head (cadfaf4) 82.95%.

:exclamation: Current head cadfaf4 differs from pull request most recent head bf74ab2. Consider uploading reports for the commit bf74ab2 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #425 +/- ## ========================================== - Coverage 82.96% 82.95% -0.02% ========================================== Files 48 48 Lines 11878 11896 +18 Branches 1281 1281 ========================================== + Hits 9855 9868 +13 - Misses 2023 2028 +5 ``` | [Impacted Files](https://app.codecov.io/gh/ChainSafe/js-libp2p-gossipsub/pull/425?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChainSafe) | Coverage Δ | | |---|---|---| | [src/index.ts](https://app.codecov.io/gh/ChainSafe/js-libp2p-gossipsub/pull/425?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChainSafe#diff-c3JjL2luZGV4LnRz) | `70.12% <5.88%> (-0.09%)` | :arrow_down: | | [test/compliance.spec.ts](https://app.codecov.io/gh/ChainSafe/js-libp2p-gossipsub/pull/425?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChainSafe#diff-dGVzdC9jb21wbGlhbmNlLnNwZWMudHM=) | `41.46% <50.00%> (+1.98%)` | :arrow_up: | | [test/utils/create-pubsub.ts](https://app.codecov.io/gh/ChainSafe/js-libp2p-gossipsub/pull/425?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ChainSafe#diff-dGVzdC91dGlscy9jcmVhdGUtcHVic3ViLnRz) | `81.53% <100.00%> (+1.53%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

achingbrain commented 1 year ago

@wemeetagain any chance of a review here?