packages feed

blockfrost-client 0.9.0.0 → 0.9.1.0

raw patch · 3 files changed

+8/−4 lines, 3 filesdep ~blockfrost-apiPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: blockfrost-api

API changes (from Hackage documentation)

- Blockfrost.Client: getTxCBOR :: MonadBlockfrost m => TxHash -> m [TransactionCBOR]
+ Blockfrost.Client: getTxCBOR :: MonadBlockfrost m => TxHash -> m TransactionCBOR
- Blockfrost.Client.Cardano.Transactions: getTxCBOR :: MonadBlockfrost m => TxHash -> m [TransactionCBOR]
+ Blockfrost.Client.Cardano.Transactions: getTxCBOR :: MonadBlockfrost m => TxHash -> m TransactionCBOR

Files

CHANGELOG.md view
@@ -1,3 +1,7 @@+# Version [0.9.1.0](https://github.com/blockfrost/blockfrost-haskell/compare/client-0.9.0.0...client-0.9.1.0) (2024-09-25)++* Fix return type of `getTxCBOR` from `[TransactionCBOR]` to `TransactionCBOR`.+ # Version [0.9.0.0](https://github.com/blockfrost/blockfrost-haskell/compare/client-0.8.0.1...client-0.9.0.0) (2024-09-19)  * Additions
blockfrost-client.cabal view
@@ -1,6 +1,6 @@ cabal-version:       2.2 name:                blockfrost-client-version:             0.9.0.0+version:             0.9.1.0 synopsis:            blockfrost.io basic client description:         Simple Blockfrost clients for use with transformers or mtl homepage:            https://github.com/blockfrost/blockfrost-haskell@@ -68,7 +68,7 @@                       , Blockfrost.Client.IPFS                       , Blockfrost.Client.NutLink    build-depends:       base                     >= 4.7 && < 5-                      , blockfrost-api           >= 0.12+                      , blockfrost-api           >= 0.12.1                       , blockfrost-client-core   ^>= 0.6                       , bytestring                       , directory
src/Blockfrost/Client/Cardano/Transactions.hs view
@@ -93,11 +93,11 @@ getTxMetadataJSON :: MonadBlockfrost m => TxHash -> m [TransactionMetaJSON] getTxMetadataJSON t = go (`getTxMetadataJSON_` t) -getTxCBOR_ :: MonadBlockfrost m => Project -> TxHash -> m [TransactionCBOR]+getTxCBOR_ :: MonadBlockfrost m => Project -> TxHash -> m TransactionCBOR getTxCBOR_ = _txCBOR . transactionsClient  -- | Get transaction in CBOR-getTxCBOR :: MonadBlockfrost m => TxHash -> m [TransactionCBOR]+getTxCBOR :: MonadBlockfrost m => TxHash -> m TransactionCBOR getTxCBOR t = go (`getTxCBOR_` t)  getTxMetadataCBOR_ :: MonadBlockfrost m => Project -> TxHash -> m [TransactionMetaCBOR]