TypeError: fns.shift(...) is not a function

should I post this issue in libp2p instead?

/workspace/js-ipfs-orbit-db/node_modules/it-pipe/index.js:4
    res = fns.shift()(res)
                     ^

TypeError: fns.shift(...) is not a function
    at rawPipe (/workspace/js-ipfs-orbit-db/node_modules/it-pipe/index.js:4:22)
    at pipe (/workspace/js-ipfs-orbit-db/node_modules/it-pipe/index.js:49:10)
    at handleHop (/workspace/js-ipfs-orbit-db/node_modules/libp2p/src/circuit/circuit/hop.js:82:10)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ClassIsWrapper._onProtocol (/workspace/js-ipfs-orbit-db/node_modules/libp2p/src/circuit/index.js:53:29)

This mightnot be issue with libp2p. Whenever we send an empty stream to the pipe, we might get this error. Make sure you have await in dailProtocol to get the stream else you will be passing empty stream.