Is the grpc peerDependency still required?

This is neither a bug report nor a feature request.

Is the grpc peer dependency still required? It looks like dgraph-js has fully moved on to @grpc/grpc-js in all but the README and peerDependencies object. If not, could it be safely removed? Its presence adds about 50MB and brings in some pretty ancient dependencies, increasing its attack surface.

If it is required, could you add documentation explaining what it’s used for?

FWIW dgraph-js seems to work totally fine without grpc installed.

You are correct, thanks for highlighting. We will take a look.