packages feed

wai-secure-cookies 0.1.0.5 → 0.1.0.6

raw patch · 3 files changed

+8/−3 lines, 3 filesdep −protoludePVP ok

version bump matches the API change (PVP)

Dependencies removed: protolude

API changes (from Hackage documentation)

Files

src/Crypto/Verification.hs view
@@ -17,10 +17,10 @@ import Data.ByteArray.Encoding (Base(..)                               , convertToBase                               , convertFromBase)-import Protolude (rightToMaybe) import Data.Tuple (swap)  import Crypto.Encryption (Encrypted(..), getIV, getSecret)+import Extension.Either import qualified Extension.ByteString as EBS  data Signed signable =
+ src/Extension/Either.hs view
@@ -0,0 +1,5 @@+module Extension.Either (rightToMaybe) where++rightToMaybe :: Either e a -> Maybe a+rightToMaybe (Left _) = Nothing+rightToMaybe (Right a) = Just a
wai-secure-cookies.cabal view
@@ -1,5 +1,5 @@ name:                wai-secure-cookies-version:             0.1.0.5+version:             0.1.0.6 description:         WAI middleware to automatically encrypt and sign cookies homepage:            https://github.com/habibalamin/wai-secure-cookies license:             MIT@@ -19,9 +19,9 @@   other-modules:       Cookie.Secure                      , Crypto.Encryption                      , Crypto.Verification+                     , Extension.Either                      , Extension.ByteString   build-depends:       base >= 4.7 && < 5-                     , protolude >= 0.2 && < 0.3                      , wai >= 3.2 && < 4                      , cryptonite >= 0.24 && < 0.28                      , bytestring >= 0.10 && < 0.11