Skip to content

Commit 77cf8d8

Browse files
committed
fix(dreps): add "updated" to DRep updates action enum
1 parent 5ed8c2d commit 77cf8d8

12 files changed

Lines changed: 22 additions & 11 deletions

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ Unreleased changes are in the `master` branch.
99

1010
## [Unreleased]
1111

12+
## [0.1.79] - 2025-06-06
13+
14+
### Fixed
15+
16+
- Added action `updated` to DReps updates `/accounts/:drep_id/updates`
17+
1218
## [0.1.78] - 2025-05-23
1319

1420
### Added

blockfrost-openapi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.0
22
info:
3-
version: 0.1.78
3+
version: 0.1.79
44
title: Blockfrost.io ~ API Documentation
55
x-logo:
66
url: https://staging.blockfrost.io/images/logo.svg
@@ -6663,6 +6663,7 @@ components:
66636663
enum:
66646664
- registered
66656665
- deregistered
6666+
- updated
66666667
description: Action in the certificate
66676668
required:
66686669
- tx_hash

docs/blockfrost-openapi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.3
22
info:
3-
version: 0.1.78
3+
version: 0.1.79
44
title: Blockfrost.io ~ API Documentation
55
x-logo:
66
url: 'https://staging.blockfrost.io/images/logo.svg'
@@ -6993,6 +6993,7 @@ components:
69936993
enum:
69946994
- registered
69956995
- deregistered
6996+
- updated
69966997
description: Action in the certificate
69976998
required:
69986999
- tx_hash

json-schema.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

openapi.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"openapi": "3.0.3",
33
"info": {
4-
"version": "0.1.78",
4+
"version": "0.1.79",
55
"title": "Blockfrost.io ~ API Documentation",
66
"x-logo": {
77
"url": "https://staging.blockfrost.io/images/logo.svg",
@@ -9126,7 +9126,8 @@
91269126
"type": "string",
91279127
"enum": [
91289128
"registered",
9129-
"deregistered"
9129+
"deregistered",
9130+
"updated"
91309131
],
91319132
"description": "Action in the certificate"
91329133
}

openapi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.3
22
info:
3-
version: 0.1.78
3+
version: 0.1.79
44
title: Blockfrost.io ~ API Documentation
55
x-logo:
66
url: 'https://staging.blockfrost.io/images/logo.svg'
@@ -6993,6 +6993,7 @@ components:
69936993
enum:
69946994
- registered
69956995
- deregistered
6996+
- updated
69966997
description: Action in the certificate
69976998
required:
69986999
- tx_hash

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@blockfrost/openapi",
3-
"version": "0.1.78",
3+
"version": "0.1.79",
44
"description": "OpenAPI specifications for blockfrost.io",
55
"repository": "git@github.com:blockfrost/openapi.git",
66
"author": "admin@blockfrost.io",

src/definitions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.0
22
info:
3-
version: 0.1.78
3+
version: 0.1.79
44
title: Blockfrost.io ~ API Documentation
55
x-logo:
66
url: https://staging.blockfrost.io/images/logo.svg

src/generated-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7030,7 +7030,7 @@ export interface components {
70307030
* @description Action in the certificate
70317031
* @enum {string}
70327032
*/
7033-
action: "registered" | "deregistered";
7033+
action: "registered" | "deregistered" | "updated";
70347034
}[];
70357035
/** @example [
70367036
* {

src/schemas/governance/drep.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ properties:
2323
description: Flag which shows if this DRep credentials are a script hash
2424
retired:
2525
type: boolean
26-
description: Indicates the registration state of the DRep. Set to `true` if the DRep has been deregistered; otherwise, `false`.
26+
description: Registration state of the DRep. Set to `true` if the DRep has been deregistered; otherwise, `false`.
2727
expired:
2828
type: boolean
2929
description: Indicates whether the DRep has been inactive for a consecutive number of epochs (determined by a epoch parameter `drep_activity`)

0 commit comments

Comments
 (0)