packages feed

jsaddle 0.8.3.0 → 0.8.3.1

raw patch · 2 files changed

+3/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

jsaddle.cabal view
@@ -1,5 +1,5 @@ name: jsaddle-version: 0.8.3.0+version: 0.8.3.1 cabal-version: >=1.10 build-type: Simple license: MIT
src-ghc/GHCJS/Buffer.hs view
@@ -52,7 +52,7 @@ {-# INLINE getInt32Array #-}  getUint8Array :: SomeBuffer any -> GHCJSPure (I.SomeUint8Array any)-getUint8Array (SomeBuffer buf) = GHCJSPure $ I.SomeTypedArray <$> buf ^. js "u3"+getUint8Array (SomeBuffer buf) = GHCJSPure $ I.SomeTypedArray <$> buf ^. js "u8" {-# INLINE getUint8Array #-}  getUint16Array :: SomeBuffer any -> GHCJSPure (I.SomeUint16Array any)@@ -85,7 +85,7 @@  fromByteString :: ByteString -> GHCJSPure (Buffer, Int, Int) fromByteString bs = GHCJSPure $ do-  buffer <- SomeBuffer <$> jsg1 "h$newByteArrayBase64String" (decodeUtf8 $ B64.encode bs)+  buffer <- SomeBuffer <$> jsg1 "h$newByteArrayFromBase64String" (decodeUtf8 $ B64.encode bs)   return (buffer, 0, BS.length bs) {-# INLINE fromByteString #-}