cryptoconditions 0.2.4 → 0.2.5
raw patch · 2 files changed
+3/−2 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Network.CryptoConditions: Anon :: Int -> Fingerprint -> Int -> (Set ConditionType) -> Condition
+ Network.CryptoConditions: Anon :: Int -> Fingerprint -> Int -> Set ConditionType -> Condition
- Network.CryptoConditions: Ed25519 :: PublicKey -> (Maybe Signature) -> Condition
+ Network.CryptoConditions: Ed25519 :: PublicKey -> Maybe Signature -> Condition
- Network.CryptoConditions.Json: fromB64 :: Text -> Parser ByteString
+ Network.CryptoConditions.Json: fromB64 :: MonadFail m => Text -> m ByteString
Files
Network/CryptoConditions/Json.hs view
@@ -15,6 +15,7 @@ ) where +import Control.Monad.Fail (MonadFail) import Crypto.PubKey.Ed25519 import Crypto.Error @@ -95,7 +96,7 @@ -- Util -- -fromB64 :: Text -> Parser ByteString+fromB64 :: MonadFail m => Text -> m ByteString fromB64 = either fail pure . b64DecodeStripped . encodeUtf8
cryptoconditions.cabal view
@@ -1,5 +1,5 @@ name: cryptoconditions-version: 0.2.4+version: 0.2.5 synopsis: Interledger Crypto-Conditions description: Please see README.md homepage: https://github.com/libscott/cryptoconditions-hs