@shortcut/client
    Preparing search index...

    Function signShortcutWebhookHeaders

    • Computes the headers Shortcut sends with one delivery attempt of rawBody, plus the Payload-Signature it no longer sends, for signing test deliveries against a local agent. The timestamp defaults to now. The result is a plain string record, so it serves as HeadersInit.

      Parameters

      • secret: string
      • rawBody: string | Uint8Array<ArrayBufferLike>
      • options: { deliveryId: string; timestamp?: string }

      Returns Promise<ShortcutWebhookSignatureHeaders>