Connect-mongodb-session DeprecationWarning

Hi, folks. I’m working with Node and Express, using Passport for authentication, and I read in the docs for express-session the following:
**Warning** The default server-side session storage, 'MemoryStore' , is *purposely* not designed for a production environment. It will leak memory under most conditions, does not scale past a single process, and is meant for debugging and developing.
I followed a link to compatible session stores, and decided to use connect-mongo-session, since I’m already using mongoDB in the project. The problem is, I’m getting a warning:
DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
When connecting with mongoDB or Mongoose, it’s easy enough to pass that option, but I can’t seem to figure out how to do it in the constructor for the session store. My code is as follows, (both connecting to the session store and my normal database connection with Mongoose):

const store = new MongoDBStore(
    uri: process.env.MONGO_URI,
    collection: "sessions"
  err => {
    if (err) {
store.on("error", err => console.log(err));

const mongoose = require("mongoose");

  { useNewUrlParser: true, useUnifiedTopology: true },
  () => {
    console.log("connected to db...");

Is there any way to clear the deprecation warning, is is this something that would need to be done in the connect-mongodb-session package itself?
Thanks for your time!

same problem… :sob: