Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add PlutusV3 to ScriptType #72

Merged
merged 2 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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) -- 2024-08-28

* 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.
Expand Down
2 changes: 1 addition & 1 deletion maestro-sdk.cabal
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/Maestro/Types/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading