ext.


  (0, _context.validateContext)(getState(), action.cx);
} // Middleware which looks for actions that have a cx property and ignores
// them if the context is no longer valid.


function context({
  dispatch,
  getState
}) {
  return next => action => {
    if ("cx" in action) {
      validateActionContext(getState, action);
    }

    return next(action);
  };
}PK