packages feed

stripe-signature-1.0.0.17: stripe-signature.cabal

cabal-version: 3.0

name: stripe-signature
version: 1.0.0.17
synopsis: Verification of Stripe webhook signatures
category: Web

description: When Stripe sends an event to your webhook, it includes
    an HTTP header named “Stripe-Signature”. You should use this to
    verify the authenticity of the request to ensure that you are not
    acting upon forged events originating from some source other than
    Stripe.

homepage:    https://github.com/typeclasses/stripe
bug-reports: https://github.com/typeclasses/stripe/issues

author:     Chris Martin
maintainer: Chris Martin, Julie Moronuki

copyright: 2019-2021 Mission Valley Software LLC
license: MIT
license-file: license.txt

extra-source-files: *.md

common base
    default-language: GHC2021
    ghc-options: -Wall
    build-depends:
      , base ^>= 4.16 || ^>= 4.17 || ^>= 4.18 || ^>= 4.19
      , base16-bytestring ^>= 1.0.2
      , bytestring ^>= 0.11 || ^>= 0.12
      , cryptohash-sha256 ^>= 0.11.102
      , stripe-concepts ^>= 1.0.3
      , text ^>= 1.2.5 || ^>= 2.0 || ^>= 2.1

library
    import: base
    hs-source-dirs: library
    exposed-modules: Stripe.Signature

test-suite test-stripe-signature
    import: base
    hs-source-dirs: test
    type: exitcode-stdio-1.0
    main-is: test.hs
    build-depends: stripe-signature