packages feed

haskoin-store-data 0.65.1 → 0.65.2

raw patch · 3 files changed

+8/−8 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html) +## 0.65.2+### Fixed+- Correct lazy bytestring deserialization algorithm for web client.+ ## 0.65.1 ### Changed - Simplify function in Cache module.
haskoin-store-data.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 7c60c4bf4347cf39d711da6648c8bff1fffca8c6b70b36904c8ce8058316f376+-- hash: aec36a011eca51b19afe9d2bb6669946fbccd54349c55d788b1d236a3fb074c8  name:           haskoin-store-data-version:        0.65.1+version:        0.65.2 synopsis:       Data for Haskoin Store description:    Please see the README on GitHub at <https://github.com/haskoin/haskoin-store#readme> category:       Bitcoin, Finance, Network
src/Haskoin/Store/WebClient.hs view
@@ -213,7 +213,7 @@   resE <- try $ HTTP.getWith (binaryOpts opts) url   return $ do     res <- resE-    toExcept $ runGetS deserialize $ BL.toStrict $ res ^. HTTP.responseBody+    return . runGetL deserialize $ res ^. HTTP.responseBody  postBinary ::   (Serial a, Serial r) =>@@ -225,7 +225,7 @@   resE <- try $ HTTP.postWith (binaryOpts opts) url (runPutL (serialize body))   return $ do     res <- resE-    toExcept $ runGetL deserialize $ res ^. HTTP.responseBody+    return . runGetL deserialize $ res ^. HTTP.responseBody  binaryOpts :: Endo HTTP.Options -> HTTP.Options binaryOpts opts =@@ -253,10 +253,6 @@ --------------- -- Utilities -- -----------------toExcept :: Either String a -> Either Store.Except a-toExcept (Right a) = Right a-toExcept (Left err) = Left $ Store.UserError err  chunksOf :: Natural -> [a] -> [[a]] chunksOf n xs