@shortcut/client
    Preparing search index...

    Function signShortcutWebhookBody

    • Computes the deprecated Payload-Signature value for a body. A client accepts it only with allowLegacySignature: true. Prefer signShortcutWebhookHeaders, which produces every header Shortcut sends.

      Parameters

      • secret: string
      • rawBody: string | Uint8Array<ArrayBufferLike>

      Returns Promise<string>