From 4a0ed83ffe0c6bc79679298c814f91a0fcc87227 Mon Sep 17 00:00:00 2001 From: debajitr Date: Tue, 30 Jan 2024 12:19:15 +0530 Subject: [PATCH] Change nftImage to imageURL in TokenData --- package.json | 2 +- src/Types/query-params.types.d.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index c2dae46..7b207ed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@transak/transak-sdk", - "version": "2.1.2", + "version": "2.1.3", "description": "Transak SDK that allows you to easily integrate fiat on/off ramp", "type": "module", "types": "lib/index.d.ts", diff --git a/src/Types/query-params.types.d.ts b/src/Types/query-params.types.d.ts index 7dfd8e5..198b6ef 100644 --- a/src/Types/query-params.types.d.ts +++ b/src/Types/query-params.types.d.ts @@ -21,12 +21,12 @@ type WalletAddresses = { type NFT = { tokenID: string[]; - imageURL?: string; - nftName?: string; collectionAddress: string; price: number[]; quantity: number; nftType: string; + nftName?: string; + imageURL?: string; }; type ColorMode = 'LIGHT' | 'DARK'; @@ -48,7 +48,7 @@ type TokenData = { marketplace: string; normalizeRoyalties: boolean; nftName?: string; - nftImage?: string; + imageURL?: string; }; export type QueryParams = {