From 87f83b837e860ce1ad5565b81abe7caf128effc5 Mon Sep 17 00:00:00 2001 From: Zachary Couchman Date: Wed, 20 Sep 2023 22:09:41 -0400 Subject: [PATCH] fix sell token type (#885) Co-authored-by: Zach Couchman --- packages/checkout/sdk-sample-app/src/components/Sell.tsx | 4 ++-- packages/checkout/sdk/src/index.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/checkout/sdk-sample-app/src/components/Sell.tsx b/packages/checkout/sdk-sample-app/src/components/Sell.tsx index bf84cdbf50..e1ee0c75b4 100644 --- a/packages/checkout/sdk-sample-app/src/components/Sell.tsx +++ b/packages/checkout/sdk-sample-app/src/components/Sell.tsx @@ -80,9 +80,9 @@ export default function Sell({ checkout, provider }: SellProps) { try { const orders:Array = [{ - collection: { + sellToken: { id, - address: collectionAddress + collectionAddress }, buyToken: getBuyToken(), makerFees: [{ diff --git a/packages/checkout/sdk/src/index.ts b/packages/checkout/sdk/src/index.ts index 5104950088..0b210fe165 100644 --- a/packages/checkout/sdk/src/index.ts +++ b/packages/checkout/sdk/src/index.ts @@ -21,7 +21,6 @@ export type { CheckConnectionParams, CheckConnectionResult, CheckoutModuleConfiguration, - Collection, ConnectParams, ConnectResult, FiatRampParams, @@ -50,6 +49,7 @@ export type { SellParams, SellOrder, SellResult, + SellToken, SendTransactionParams, SendTransactionResult, SmartCheckoutParams,