@alembic/nft-api-sdk
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -13,2 +13,3 @@ export { NftApi } from './NftApi'; | ||
export type { BatchTransfersActivities } from './models/BatchTransfersActivities'; | ||
export type { Bignumber } from './models/Bignumber'; | ||
export type { Collection } from './models/Collection'; | ||
@@ -22,2 +23,3 @@ export { CollectionAnalyticsFilters } from './models/CollectionAnalyticsFilters'; | ||
export type { Metadata } from './models/Metadata'; | ||
export type { NullableBignumber } from './models/NullableBignumber'; | ||
export type { OffersByAddressLimit } from './models/OffersByAddressLimit'; | ||
@@ -24,0 +26,0 @@ export type { OffersByAddressSkip } from './models/OffersByAddressSkip'; |
@@ -1,7 +0,4 @@ | ||
import type { Fee } from './Fee'; | ||
import type { Metadata } from './Metadata'; | ||
import type { NullableBignumber } from './NullableBignumber'; | ||
import type { Order } from './Order'; | ||
import type { orderSchemas_ContractAddress } from './orderSchemas_ContractAddress'; | ||
import type { OrderStatus } from './OrderStatus'; | ||
import type { UserAddress } from './UserAddress'; | ||
export type Asset = { | ||
@@ -27,39 +24,11 @@ /** | ||
*/ | ||
currentPrice?: string | null; | ||
currentPrice?: NullableBignumber; | ||
/** | ||
* The best offer for the asset. | ||
*/ | ||
bestOffer?: string | null; | ||
bestOffer?: NullableBignumber; | ||
/** | ||
* The latest listing of the asset. | ||
* The latest listing time of the asset. | ||
*/ | ||
latestListing?: { | ||
/** | ||
* Unique identifier of the offer, a UUID. | ||
*/ | ||
id: string; | ||
contractAddress: orderSchemas_ContractAddress; | ||
/** | ||
* The identifier of the token. | ||
*/ | ||
tokenId: string; | ||
orderStatus: OrderStatus; | ||
/** | ||
* The price of the order for the item, in ERC20 tokens. | ||
*/ | ||
price: string; | ||
/** | ||
* The ethereum address of the maker. | ||
*/ | ||
maker: UserAddress; | ||
/** | ||
* The timestamp when the order was signed. | ||
*/ | ||
signedAt: number; | ||
/** | ||
* The expiry timestamp of the order. | ||
*/ | ||
expiry: number; | ||
fees: Array<Fee>; | ||
} | null; | ||
latestListingTimestamp?: number | null; | ||
/** | ||
@@ -66,0 +35,0 @@ * List of listings for the asset. |
@@ -0,1 +1,2 @@ | ||
import type { Bignumber } from './Bignumber'; | ||
import type { UserAddress } from './UserAddress'; | ||
@@ -6,3 +7,3 @@ export type Fee = { | ||
*/ | ||
amount: string; | ||
amount: Bignumber; | ||
/** | ||
@@ -9,0 +10,0 @@ * Additional data associated with the fee. |
import type { Fee } from './Fee'; | ||
import type { NullableBignumber } from './NullableBignumber'; | ||
import type { orderSchemas_ContractAddress } from './orderSchemas_ContractAddress'; | ||
@@ -19,3 +20,3 @@ import type { OrderStatus } from './OrderStatus'; | ||
*/ | ||
price: string; | ||
price: NullableBignumber; | ||
/** | ||
@@ -22,0 +23,0 @@ * The ethereum address of the maker. |
{ | ||
"name": "@alembic/nft-api-sdk", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "SDK to use alembic NFT API", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
91
70915
1892