Includes a controller and middleware that implements a request queue. A request queue allows for intelligently switching of the globally selected network based on the dapps selected network. It ultimately allows us to handle requests with an intended destination network that is different than the currently selected network.
yarn add @metamask/queued-request-controller
or
npm install @metamask/queued-request-controller
This package is part of a monorepo. Instructions for contributing can be found in the monorepo README.