Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat: remove unnecessary direct dependency #303

Merged
merged 1 commit into from
Jul 20, 2022

Conversation

D4nte
Copy link
Contributor

@D4nte D4nte commented Jul 20, 2022

Remove iso-random-stream direct dependency, use randomBytes API from
@libp2p/crypto instead.

iso-random-stream brings in buffer dependency which then needs to be
polyfilled when targeting the browser.

Related: libp2p/js-libp2p-crypto#262

Remove `iso-random-stream` direct dependency, use `randomBytes` API from
`@libp2p/crypto` instead.

`iso-random-stream` brings in `buffer` dependency which then needs to be
polyfilled when targeting the browser.
@D4nte D4nte requested a review from a team as a code owner July 20, 2022 10:48
@codecov-commenter
Copy link

codecov-commenter commented Jul 20, 2022

Codecov Report

Merging #303 (ff83f06) into master (2b0a069) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #303   +/-   ##
=======================================
  Coverage   81.44%   81.44%           
=======================================
  Files          43       43           
  Lines        9451     9451           
  Branches      917      917           
=======================================
  Hits         7697     7697           
  Misses       1754     1754           
Impacted Files Coverage Δ
src/utils/buildRawMessage.ts 84.39% <100.00%> (ø)

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 2b0a069...ff83f06. Read the comment docs.

@wemeetagain wemeetagain merged commit 77baa6e into ChainSafe:master Jul 20, 2022
@D4nte D4nte deleted the remove-iso-random-stream branch July 21, 2022 01:30
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.

None yet

3 participants