Skip to content

Commit bd7b344

Browse files
authored
Merge pull request #37 from SIDANWhatever/hotfix/updating-res-type-asset-txs
fix: updating types
2 parents fd5bb33 + aaa2065 commit bd7b344

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@maestro-org/typescript-sdk",
3-
"version": "1.4.1",
3+
"version": "1.4.2",
44
"description": "TypeScript SDK for the Maestro Dapp Platform",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",
@@ -49,4 +49,4 @@
4949
"yarn eslint --fix"
5050
]
5151
}
52-
}
52+
}

src/api/type.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -438,17 +438,17 @@ export interface AssetStandards {
438438
*/
439439
export interface AssetTx {
440440
/**
441-
* The height of the block which included the transaction
441+
* Absolute slot of the block which includes the transaction
442442
* @type {number}
443443
* @memberof AssetTx
444444
*/
445-
block_height: number;
445+
slot: number;
446446
/**
447-
* Epoch in which the transaction occurred
448-
* @type {number}
447+
* UTC timestamp of the block which includes the transaction
448+
* @type {string}
449449
* @memberof AssetTx
450450
*/
451-
epoch_no: number;
451+
timestamp: string;
452452
/**
453453
* Transaction hash
454454
* @type {string}

0 commit comments

Comments
 (0)