Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

docs: Fix example in README.md #54

Merged
merged 2 commits into from
Feb 23, 2023
Merged

docs: Fix example in README.md #54

merged 2 commits into from
Feb 23, 2023

Conversation

laurentsenta
Copy link
Contributor

Currently, the example fails with

Module '"@libp2p/peer-id"' declares 'PeerId' locally, but it is not exported.ts(2459)

Replaced with a working example.

@laurentsenta laurentsenta changed the title doc: Fix example in README.md docs: Fix example in README.md Feb 23, 2023
Co-authored-by: Alex Potsides <alex@achingbrain.net>
@achingbrain achingbrain merged commit 294a907 into master Feb 23, 2023
@achingbrain achingbrain deleted the fix/readme-example branch February 23, 2023 10:37
@achingbrain
Copy link
Member

Thanks!

github-actions bot pushed a commit that referenced this pull request Feb 23, 2023
## [@libp2p/peer-id-v2.0.2](https://github.com/libp2p/js-libp2p-peer-id/compare/@libp2p/peer-id-v2.0.1...@libp2p/peer-id-v2.0.2) (2023-02-23)

### Documentation

* Fix example in README.md ([#54](#54)) ([294a907](294a907))
@github-actions
Copy link

🎉 This PR is included in version @libp2p/peer-id-v2.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants