Add request verificaton to workflow. Basically every request except the first one are validated to make sure that they are coming from QStash. The first request will be coming from the user so it's not validated.
Note that the functions and their parameters are internal. We will offer a simpler API to the user like
passing options will be optional, if receiver is not passed, it will be created from the env variables, if the env variables are not set, we will print a warning message Warning: QStash Workflow wasn't passed a receiver to verify the requests. as in this PR.
Add request verificaton to workflow. Basically every request except the first one are validated to make sure that they are coming from QStash. The first request will be coming from the user so it's not validated.
Note that the functions and their parameters are internal. We will offer a simpler API to the user like
passing options will be optional, if receiver is not passed, it will be created from the env variables, if the env variables are not set, we will print a warning message
Warning: QStash Workflow wasn't passed a receiver to verify the requests.
as in this PR.