Skip to content

Commit

Permalink
Merge pull request #35 from blockfrost/1000101/openapi
Browse files Browse the repository at this point in the history
release: 0.2.2 -> 0.2.3
  • Loading branch information
vladimirvolek authored May 6, 2021
2 parents b5eeba3 + 232c8cb commit 15a24ba
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 22 deletions.
10 changes: 5 additions & 5 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file modified .yarn/install-state.gz
Binary file not shown.
7 changes: 7 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.3] - 2021-05-06

### Fixed

- array missing in some `/txs` types, see: https://github.com/blockfrost/openapi/releases/tag/v0.1.13


## [0.2.2] - 2021-05-02

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blockfrost/blockfrost-js",
"version": "0.2.2",
"version": "0.2.3",
"description": "A JavaScript/TypeScript SDK for interacting with the https://blockfrost.io API",
"files": [
"lib/**/*.js",
Expand All @@ -23,7 +23,7 @@
"test": "jest --setupFiles dotenv/config"
},
"dependencies": {
"@blockfrost/openapi": "0.1.12",
"@blockfrost/openapi": "^0.1.13",
"@yarnpkg/pnpify": "^2.4.0",
"axios": "^0.21.1",
"axios-retry": "^3.1.9",
Expand Down
20 changes: 10 additions & 10 deletions src/types/OpenApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ export interface paths {
/** Obtain information about (de)registration of stake addresses within a transaction. */
200: {
content: {
"application/json": components["schemas"]["tx_content_stake_addr"][];
"application/json": components["schemas"]["tx_content_stake_addr"];
};
};
400: components["responses"]["bad_request"];
Expand All @@ -592,7 +592,7 @@ export interface paths {
/** Obtain information about delegation certificates of a specific transaction */
200: {
content: {
"application/json": components["schemas"]["tx_content_delegations"][];
"application/json": components["schemas"]["tx_content_delegations"];
};
};
400: components["responses"]["bad_request"];
Expand All @@ -617,7 +617,7 @@ export interface paths {
/** Obtain information about withdrawals of a specific transaction. */
200: {
content: {
"application/json": components["schemas"]["tx_content_withdrawals"][];
"application/json": components["schemas"]["tx_content_withdrawals"];
};
};
400: components["responses"]["bad_request"];
Expand All @@ -642,7 +642,7 @@ export interface paths {
/** Obtain information about stake pool certificates of a specific transaction */
200: {
content: {
"application/json": components["schemas"]["tx_content_pool_certs"][];
"application/json": components["schemas"]["tx_content_pool_certs"];
};
};
400: components["responses"]["bad_request"];
Expand All @@ -667,7 +667,7 @@ export interface paths {
/** Obtain information about stake pool retirements within a specific transaction. */
200: {
content: {
"application/json": components["schemas"]["tx_content_pool_retires"][];
"application/json": components["schemas"]["tx_content_pool_retires"];
};
};
400: components["responses"]["bad_request"];
Expand Down Expand Up @@ -2143,7 +2143,7 @@ export interface components {
address: string;
/** Registration boolean, false if deregistration */
registration: boolean;
};
}[];
tx_content_delegations: {
/** Index of the certificate within the transaction */
index: number;
Expand All @@ -2155,13 +2155,13 @@ export interface components {
pool_id: string;
/** Epoch in which the delegation becomes active */
active_epoch: number;
};
}[];
tx_content_withdrawals: {
/** Bech32 withdrawal address */
address: string;
/** Withdrawal amount in Lovelaces */
amount: string;
};
}[];
tx_content_pool_certs: {
/** Index of the certificate within the transaction */
cert_index: number;
Expand Down Expand Up @@ -2206,15 +2206,15 @@ export interface components {
}[];
/** Epoch that the delegation becomes active */
active_epoch: number;
};
}[];
tx_content_pool_retires: {
/** Index of the certificate within the transaction */
cert_index: number;
/** Bech32 stake pool ID */
pool_id: string;
/** Retiring epoch */
retiring_epoch: number;
};
}[];
tx_content_metadata: {
/** Metadata label */
label: string;
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@blockfrost/blockfrost-js@workspace:."
dependencies:
"@blockfrost/openapi": 0.1.12
"@blockfrost/openapi": ^0.1.13
"@types/jest": ^26.0.22
"@types/node": ^14.14.37
"@types/url-join": ^4.0.0
Expand Down Expand Up @@ -435,10 +435,10 @@ __metadata:
languageName: unknown
linkType: soft

"@blockfrost/openapi@npm:0.1.12":
version: 0.1.12
resolution: "@blockfrost/openapi@npm:0.1.12"
checksum: 98ec9e097deed8357e87026daf8e8bf70868382909fa797b7794f2480fa87ee4bf3754efe41de914172cc7a0ed34e1e5ea906e048923a56294a5689a26a5a954
"@blockfrost/openapi@npm:^0.1.13":
version: 0.1.13
resolution: "@blockfrost/openapi@npm:0.1.13"
checksum: 888ee9495f9c760a1317e6ad1783b7c0be405c05503ef55a68a686a422323747bf2c5304050f89bfbc426118887b62543d2b1db1f5939f192bde6a5817db6e3f
languageName: node
linkType: hard

Expand Down

0 comments on commit 15a24ba

Please sign in to comment.