diff --git a/maestro-sdk.cabal b/maestro-sdk.cabal index ae05bf0..0df89b4 100644 --- a/maestro-sdk.cabal +++ b/maestro-sdk.cabal @@ -84,22 +84,22 @@ library Maestro.Types.V1.Transactions build-depends: - aeson ^>=2.1.2.1, + aeson ^>=2.1, base ^>=4.14.3.0 || ^>=4.16.4.0 || ^>=4.18.0.0, - bytestring ^>=0.10.12.0 || ^>=0.11.4.0, - containers ^>=0.6.5.1, - data-default-class ^>=0.1.2.0, - deriving-aeson ^>=0.2.9, - http-api-data ^>=0.6, - http-client ^>=0.7.14, - http-client-tls ^>=0.3.6.3, - http-types ^>=0.12.3, - retry ^>=0.9.3.1, - servant ^>=0.20, - servant-client ^>=0.20, - servant-client-core ^>=0.20, - text ^>=1.2.4.1 || ^>=2.0.2, - time ^>=1.9.3 || ^>=1.11.1.1 || ^>=1.12.2 + bytestring ^>=0.10 || ^>=0.11, + containers ^>=0.6, + data-default-class ^>=0.1, + deriving-aeson ^>=0.2, + http-api-data ^>=0.5 || ^>=0.6, + http-client ^>=0.7, + http-client-tls ^>=0.3, + http-types ^>=0.12, + retry ^>=0.9, + servant ^>=0.19 || ^>=0.20, + servant-client ^>=0.19 || ^>=0.20, + servant-client-core ^>=0.19 || ^>=0.20, + text ^>=1.2 || ^>=2.0, + time ^>=1.9 || ^>=1.11 || ^>=1.12 hs-source-dirs: src default-language: Haskell2010 diff --git a/src/Maestro/API/V1/TxManager.hs b/src/Maestro/API/V1/TxManager.hs index ddfaf0c..6b9307f 100644 --- a/src/Maestro/API/V1/TxManager.hs +++ b/src/Maestro/API/V1/TxManager.hs @@ -10,10 +10,10 @@ data TxManagerAPI route = TxManagerAPI { monitoredTxSubmit :: route :- ReqBody' '[Required] '[CBORStream] BS.ByteString - :> PostAccepted '[JSON] T.Text + :> PostAccepted '[PlainText] T.Text , monitoredTurboTxSubmit :: route :- ReqBody' '[Required] '[CBORStream] BS.ByteString - :> PostAccepted '[JSON] T.Text + :> PostAccepted '[PlainText] T.Text } deriving (Generic)