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

Usage example doesn't work because Noise class isn't exported #252

Closed
TimDaub opened this issue Nov 29, 2022 · 0 comments · Fixed by #253
Closed

Usage example doesn't work because Noise class isn't exported #252

TimDaub opened this issue Nov 29, 2022 · 0 comments · Fixed by #253

Comments

@TimDaub
Copy link
Contributor

TimDaub commented Nov 29, 2022

https://github.com/ChainSafe/js-libp2p-noise#usage

import {Noise} from "@chainsafe/libp2p-noise"

but this class isn't imported by index.ts:

import { Noise } from './noise.js'

TimDaub added a commit to TimDaub/js-libp2p-noise that referenced this issue Nov 29, 2022
mpetrunic added a commit that referenced this issue Nov 29, 2022
* Fix readme usage example

- Fixes #252

* fix: lint

Co-authored-by: Marin Petrunic <[email protected]>
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 a pull request may close this issue.

1 participant