You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should cover what to do if your environment doesn't support Request, in which case you pass through the parts manually:
constrequestData={id: "123",// the `Webhook-Id` headertimestamp: 0123456,// the `Webhook-Timestamp` headersignature: "xyz",// the `Webhook-Signature` headerbody: "",// the request body as a string, ArrayBuffer or ReadableStream };constwebhookIsValid=awaitvalidateWebhook(requestData,secret);