New features
- Add webhook signature verification with configurable timestamp tolerance.
- Add
ConstructEventandConstructEventWithDefaultTolerance. - Support structured webhook values, including
customVariables. - Add
ConstructLogEventBatchandConstructLogEventBatchWithDefaultTolerancefor batched log events. - Add typed
InvalidSignatureErrorandInvalidPayloadErrorerrors.
Bug fixes
- Improve invalid webhook payload handling and required-field validation.
- Prevent batched log events from being parsed as single webhook events.
Full Changelog: v2.1.0...v2.2.0