Closed paralin closed 5 months ago
In previous releases of yamux the following was supported:
import { yamux } from '@chainsafe/libp2p-yamux' const muxer = yamux()()
Now the following is required:
import { yamux } from '@chainsafe/libp2p-yamux' const muxer = yamux()({logger: ...})
Adjust the code to support passing an empty logger and an empty Components.
Fixes #69
I give up on this and will just pass a stub Log from now on.
In previous releases of yamux the following was supported:
Now the following is required:
Adjust the code to support passing an empty logger and an empty Components.
Fixes #69