Add before_send_events middleware hook. This is necessary for middleware that encrypts events.
Also moved the client middleware test out of the cases directory. This was necessary to avoid side effects between tests, since they share the same Inngest client
Add
before_send_events
middleware hook. This is necessary for middleware that encrypts events.Also moved the client middleware test out of the
cases
directory. This was necessary to avoid side effects between tests, since they share the same Inngest client