middlewareWrapper - A "Node" and "Redux" style middleware that is called just before the request is made from the SDK. This allows you access to the request for modification.
A request object container of the URL and the Request Init object
The action object that is passed into the middleware communicating intent
A "Redux" style type that contains the serialized action
Optional payload?: any
The payload of the action that can contain metadata