libp2p / js-libp2p

The JavaScript Implementation of libp2p networking stack.
https://libp2p.io
Other
2.3k stars 440 forks source link

chore: import multiaddr and daemon client modules dynamically #2565

Closed achingbrain closed 4 months ago

achingbrain commented 4 months ago

These modules have dependencies on @libp2p/interface which is part of this monorepo so may not be built yet if they are statically imported at the top of the file.

Instead import them dynamically when they are used during the test phase.

Change checklist