Skip to content

Commit e31a4fe

Browse files
Update OpenAPI schema (#239)
* Update OpenAPI schema * bump version --------- Co-authored-by: Kiln Bot <[email protected]> Co-authored-by: menefrego15 <[email protected]>
1 parent 5f732bb commit e31a4fe

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kilnfi/sdk",
3-
"version": "4.2.11",
3+
"version": "4.2.12",
44
"autor": "Kiln <[email protected]> (https://kiln.fi)",
55
"license": "BUSL-1.1",
66
"description": "JavaScript sdk for Kiln API",

src/openapi/schema.ts

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8421,13 +8421,13 @@ export interface paths {
84218421
path?: never;
84228422
cookie?: never;
84238423
};
8424-
get?: never;
8425-
put?: never;
84268424
/**
84278425
* Transaction Status
8428-
* @description Get the status of a transaction.
8426+
* @description Get the status of a transaction
84298427
*/
8430-
post: operations["postSuiTxStatus"];
8428+
get: operations["getSuiTxStatus"];
8429+
put?: never;
8430+
post?: never;
84318431
delete?: never;
84328432
options?: never;
84338433
head?: never;
@@ -64035,19 +64035,17 @@ export interface operations {
6403564035
};
6403664036
};
6403764037
};
64038-
postSuiTxStatus: {
64038+
getSuiTxStatus: {
6403964039
parameters: {
64040-
query?: never;
64040+
query: {
64041+
/** @description Hash of the transaction */
64042+
tx_hash: string;
64043+
};
6404164044
header?: never;
6404264045
path?: never;
6404364046
cookie?: never;
6404464047
};
64045-
/** @description Get the status of a transaction on SUI. */
64046-
requestBody: {
64047-
content: {
64048-
"application/json; charset=utf-8": components["schemas"]["SUITxStatusPayload"];
64049-
};
64050-
};
64048+
requestBody?: never;
6405164049
responses: {
6405264050
/** @description Successful operation */
6405364051
200: {

0 commit comments

Comments
 (0)