From bdd0550f525115df1727f5cb0159d75b1eafbbef Mon Sep 17 00:00:00 2001 From: Alexey Tsymbal Date: Tue, 23 Apr 2024 12:39:27 +0300 Subject: [PATCH] sdk-actions: upd cheapest to floor + fix params reference --- packages/sdk-actions-spec/CHANGELOG.md | 4 ++++ .../src/smart-messages/tensor-transactions-spec.ts | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/sdk-actions-spec/CHANGELOG.md b/packages/sdk-actions-spec/CHANGELOG.md index f2c01c79..ed4ef9e8 100644 --- a/packages/sdk-actions-spec/CHANGELOG.md +++ b/packages/sdk-actions-spec/CHANGELOG.md @@ -1,3 +1,7 @@ # CHANGELOG ## [UNRELEASED] + +## [1.0.0] - 2024-04-23 + +- feat: initial release with several actions diff --git a/packages/sdk-actions-spec/src/smart-messages/tensor-transactions-spec.ts b/packages/sdk-actions-spec/src/smart-messages/tensor-transactions-spec.ts index 6a099def..4270b091 100644 --- a/packages/sdk-actions-spec/src/smart-messages/tensor-transactions-spec.ts +++ b/packages/sdk-actions-spec/src/smart-messages/tensor-transactions-spec.ts @@ -16,12 +16,12 @@ export interface NftBuyTransactionParams extends SmartMessageParams { nftName?: string; } -export interface TensorNftBuyCheapestSmartMessage extends SmartMessage { - transactionServiceId: 'tensor-nft-buy-cheapest'; - transactionParams: NftBuyTransactionParams; +export interface TensorNftBuyFloorSmartMessage extends SmartMessage { + transactionServiceId: 'tensor-nft-buy-floor'; + transactionParams: NftBuyFloorTransactionParams; } -export interface NftBuyCheapestTransactionParams extends SmartMessageParams { +export interface NftBuyFloorTransactionParams extends SmartMessageParams { collectionId: string; collectionName: string; imageUrl?: string;