@shortcut/client
    Preparing search index...

    Interface ShortcutWebhookSignatureOptions

    interface ShortcutWebhookSignatureOptions {
        allowLegacySignature?: boolean;
        timestampToleranceMs?: number;
    }
    Index

    Properties

    allowLegacySignature?: boolean

    Accept Payload-Signature when Shortcut-Signature is absent. Off by default since 3.6.0, because Shortcut no longer sends it. Session events always require Shortcut-Signature.

    timestampToleranceMs?: number

    Reject a Shortcut-Timestamp further than this from the clock. Can only tighten the 300-second default. Anything but a positive number throws a TypeError, as the client constructor does.