Skip to content

chore: update to new libp2p interface with types#146

Merged
vasco-santos merged 7 commits intomasterfrom
chore/update-to-new-libp2p-interface-with-types
Dec 19, 2020
Merged

chore: update to new libp2p interface with types#146
vasco-santos merged 7 commits intomasterfrom
chore/update-to-new-libp2p-interface-with-types

Conversation

@vasco-santos
Copy link
Collaborator

@vasco-santos vasco-santos commented Dec 2, 2020

libp2p-interfaces now supports via aegir types generation on release. This PR updates gossipsub to use it and fixes a couple of ts issues.

At the moment, it is using a branch from the PR below that has a prepare script to generate the build while we do not release it.

Needs:

@vasco-santos vasco-santos force-pushed the chore/update-to-new-libp2p-interface-with-types branch 2 times, most recently from ab236f8 to 6434366 Compare December 15, 2020 11:05
@vasco-santos vasco-santos force-pushed the chore/update-to-new-libp2p-interface-with-types branch from 6434366 to 96e37e8 Compare December 16, 2020 13:45
@vasco-santos
Copy link
Collaborator Author

cc @wemeetagain
This should be ready for review, but somehow CI has been broken in this PR/repo. Any ideas? Cannot access travis from here

@vasco-santos vasco-santos force-pushed the chore/update-to-new-libp2p-interface-with-types branch from 6a90990 to 7f729a1 Compare December 16, 2020 19:10
@vasco-santos vasco-santos force-pushed the chore/update-to-new-libp2p-interface-with-types branch from 7f729a1 to 2257656 Compare December 16, 2020 19:11
"noImplicitThis": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"skipLibCheck": true,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that typescript@4.1.3 released yesterday broke a type def... Still need to check, we have been experiencing a lot of issues with typescript releases changing outputs of ts declaration files generated.

@vasco-santos vasco-santos force-pushed the chore/update-to-new-libp2p-interface-with-types branch 2 times, most recently from cb4e151 to 429f83a Compare December 17, 2020 16:00
@codecov-io
Copy link

codecov-io commented Dec 17, 2020

Codecov Report

Merging #146 (28bd362) into master (299cfd9) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #146   +/-   ##
=======================================
  Coverage   92.00%   92.00%           
=======================================
  Files           2        2           
  Lines          25       25           
=======================================
  Hits           23       23           
  Misses          2        2           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 299cfd9...28bd362. Read the comment docs.

@vasco-santos vasco-santos force-pushed the chore/update-to-new-libp2p-interface-with-types branch 2 times, most recently from f8c9c89 to 5a1cfca Compare December 18, 2020 08:23
@vasco-santos vasco-santos force-pushed the chore/update-to-new-libp2p-interface-with-types branch from 5a1cfca to 784b6e9 Compare December 18, 2020 09:52
Copy link
Member

@wemeetagain wemeetagain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌

@vasco-santos vasco-santos marked this pull request as ready for review December 19, 2020 17:09
@vasco-santos vasco-santos merged commit 9ff2e65 into master Dec 19, 2020
@vasco-santos vasco-santos deleted the chore/update-to-new-libp2p-interface-with-types branch December 19, 2020 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants