fishhook-ant - v0.1.0
    Preparing search index...

    Function standardWebhooksSecret

    • Key bytes from a Standard Webhooks secret: the whsec_ prefix removed and the rest base64-decoded, as the specification says. Stripe secrets also start with whsec_ but are used as text; use fromUtf8 for those.

      Parameters

      • secret: string

      Returns Uint8Array