From aaa20659611009ea35ea10c7f5f21cd6c2fc6903 Mon Sep 17 00:00:00 2001 From: SIDANWhatever Date: Sat, 10 Feb 2024 12:38:06 +0800 Subject: [PATCH] fix: updating types --- package.json | 4 ++-- src/api/type.ts | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index c49cc35..1a7a0cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@maestro-org/typescript-sdk", - "version": "1.4.1", + "version": "1.4.2", "description": "TypeScript SDK for the Maestro Dapp Platform", "main": "dist/index.js", "module": "dist/index.mjs", @@ -49,4 +49,4 @@ "yarn eslint --fix" ] } -} +} \ No newline at end of file diff --git a/src/api/type.ts b/src/api/type.ts index f073cc8..83ca511 100644 --- a/src/api/type.ts +++ b/src/api/type.ts @@ -438,17 +438,17 @@ export interface AssetStandards { */ export interface AssetTx { /** - * The height of the block which included the transaction + * Absolute slot of the block which includes the transaction * @type {number} * @memberof AssetTx */ - block_height: number; + slot: number; /** - * Epoch in which the transaction occurred - * @type {number} + * UTC timestamp of the block which includes the transaction + * @type {string} * @memberof AssetTx */ - epoch_no: number; + timestamp: string; /** * Transaction hash * @type {string}