feat(middleware): expose type of the method call (#820)

5 jobs for master in 4 minutes and 23 seconds (queued for 1 second)