Wrapper around the valid hmac signature middleware pre-configured for validating Xero webhook requests.

export default await chain() .then(add(validateRequest("my_webhook_signing_key"))) .then(send());

Migrated from folder: xero/webhooks/middleware/XeroWebhookMiddlewareValidateRequest