From 30a100d0e7ade9492a5eca8bef0fe701950c6171 Mon Sep 17 00:00:00 2001 From: sourabhxyz Date: Sun, 25 Aug 2024 15:05:26 +0530 Subject: [PATCH 1/2] feat: add `PlutusV3` to `ScriptType` --- CHANGELOG.md | 6 +++++- maestro-sdk.cabal | 2 +- src/Maestro/Types/Common.hs | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51a2257..853bed4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Revision history for `maestro-sdk` -## [1.7.0](https://github.com/maestro-org/haskell-sdk/compare/v1.5.0..v1.6.0) -- 2024-08-17 +## [1.7.2](https://github.com/maestro-org/haskell-sdk/compare/v1.7.1..v1.7.2) -- FIXME: + +* Add `PlutusV3` to `ScriptType`. + +## [1.7.0](https://github.com/maestro-org/haskell-sdk/compare/v1.6.0..v1.7.0) -- 2024-08-17 * Updated to newer `era-summaries` and `protocol-parameters` endpoint from earlier `era-history` and `protocol-params` respectively. * `AssetInfo` type which corresponds to `/assets/:asset` is updated with more response fields. diff --git a/maestro-sdk.cabal b/maestro-sdk.cabal index dcb77a6..20ba9d2 100644 --- a/maestro-sdk.cabal +++ b/maestro-sdk.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: maestro-sdk -version: 1.7.1 +version: 1.7.2 synopsis: Maestro Blockchain Indexer SDK description: Maestro provides blockchain indexers, APIs and event management systems for the Cardano blockchain. diff --git a/src/Maestro/Types/Common.hs b/src/Maestro/Types/Common.hs index 4ded615..6e216bd 100644 --- a/src/Maestro/Types/Common.hs +++ b/src/Maestro/Types/Common.hs @@ -145,7 +145,7 @@ data DatumOption = DatumOption via CustomJSON '[FieldLabelModifier '[StripPrefix "datumOption", LowerFirst]] DatumOption -- | Type of script. -data ScriptType = Native | PlutusV1 | PlutusV2 +data ScriptType = Native | PlutusV1 | PlutusV2 | PlutusV3 deriving stock (Show, Eq, Ord, Generic) deriving (FromJSON, ToJSON) From aa8f78ba8f8025a80ee1694aeed58632e13c4ff8 Mon Sep 17 00:00:00 2001 From: sourabhxyz Date: Wed, 28 Aug 2024 11:07:17 +0530 Subject: [PATCH 2/2] feat: update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 853bed4..fc48f4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Revision history for `maestro-sdk` -## [1.7.2](https://github.com/maestro-org/haskell-sdk/compare/v1.7.1..v1.7.2) -- FIXME: +## [1.7.2](https://github.com/maestro-org/haskell-sdk/compare/v1.7.1..v1.7.2) -- 2024-08-28 * Add `PlutusV3` to `ScriptType`.