@rarible/api-client
Advanced tools
Comparing version 0.16.0-beta1 to 0.16.0-beta2
@@ -7,3 +7,3 @@ import { ActivityBlockchainInfo } from "./ActivityBlockchainInfo"; | ||
import { AuctionBid } from "./AuctionBid"; | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
import { ContractAddress } from "@rarible/types"; | ||
@@ -25,5 +25,5 @@ import { ItemId } from "@rarible/types"; | ||
contract?: ContractAddress; | ||
tokenId?: BigNumberLike; | ||
tokenId?: BigNumber; | ||
itemId?: ItemId; | ||
value: BigNumberLike; | ||
value: BigNumber; | ||
transactionHash: string; | ||
@@ -41,5 +41,5 @@ blockchainInfo?: ActivityBlockchainInfo; | ||
contract?: ContractAddress; | ||
tokenId?: BigNumberLike; | ||
tokenId?: BigNumber; | ||
itemId?: ItemId; | ||
value: BigNumberLike; | ||
value: BigNumber; | ||
transactionHash: string; | ||
@@ -58,5 +58,5 @@ blockchainInfo?: ActivityBlockchainInfo; | ||
contract?: ContractAddress; | ||
tokenId?: BigNumberLike; | ||
tokenId?: BigNumber; | ||
itemId?: ItemId; | ||
value: BigNumberLike; | ||
value: BigNumber; | ||
purchase?: boolean; | ||
@@ -102,5 +102,5 @@ transactionHash: string; | ||
sellerOrderHash?: string; | ||
price: BigNumberLike; | ||
priceUsd?: BigNumberLike; | ||
amountUsd?: BigNumberLike; | ||
price: BigNumber; | ||
priceUsd?: BigNumber; | ||
amountUsd?: BigNumber; | ||
type: OrderMatchSellType; | ||
@@ -122,4 +122,4 @@ sellMarketplaceMarker?: string; | ||
take: Asset; | ||
price: BigNumberLike; | ||
priceUsd?: BigNumberLike; | ||
price: BigNumber; | ||
priceUsd?: BigNumber; | ||
source?: OrderActivitySource; | ||
@@ -140,4 +140,4 @@ marketplaceMarker?: string; | ||
take: Asset; | ||
price: BigNumberLike; | ||
priceUsd?: BigNumberLike; | ||
price: BigNumber; | ||
priceUsd?: BigNumber; | ||
source?: OrderActivitySource; | ||
@@ -246,3 +246,3 @@ }; | ||
itemId: ItemId; | ||
value?: BigNumberLike; | ||
value?: BigNumber; | ||
}; | ||
@@ -259,3 +259,3 @@ export type L2WithdrawalActivity = { | ||
itemId: ItemId; | ||
value?: BigNumberLike; | ||
value?: BigNumber; | ||
}; |
import { AssetType } from "./AssetType"; | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
export type Asset = { | ||
type: AssetType; | ||
value: BigNumberLike; | ||
value: BigNumber; | ||
}; |
@@ -1,2 +0,2 @@ | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
import { Blockchain } from "./Blockchain"; | ||
@@ -11,3 +11,3 @@ import { ContractAddress } from "@rarible/types"; | ||
contract: ContractAddress; | ||
tokenId: BigNumberLike; | ||
tokenId: BigNumber; | ||
}; | ||
@@ -24,3 +24,3 @@ export type FlowAssetTypeFt = { | ||
contract: ContractAddress; | ||
tokenId?: BigNumberLike; | ||
tokenId?: BigNumber; | ||
}; | ||
@@ -30,3 +30,3 @@ export type TezosNFTAssetType = { | ||
contract: ContractAddress; | ||
tokenId: BigNumberLike; | ||
tokenId: BigNumber; | ||
}; | ||
@@ -36,3 +36,3 @@ export type TezosMTAssetType = { | ||
contract: ContractAddress; | ||
tokenId: BigNumberLike; | ||
tokenId: BigNumber; | ||
}; | ||
@@ -50,3 +50,3 @@ export type EthEthereumAssetType = { | ||
contract: ContractAddress; | ||
tokenId: BigNumberLike; | ||
tokenId: BigNumber; | ||
}; | ||
@@ -56,3 +56,3 @@ export type EthErc721LazyAssetType = { | ||
contract: ContractAddress; | ||
tokenId: BigNumberLike; | ||
tokenId: BigNumber; | ||
uri: string; | ||
@@ -66,3 +66,3 @@ creators: Array<Creator>; | ||
contract: ContractAddress; | ||
tokenId: BigNumberLike; | ||
tokenId: BigNumber; | ||
}; | ||
@@ -72,5 +72,5 @@ export type EthErc1155LazyAssetType = { | ||
contract: ContractAddress; | ||
tokenId: BigNumberLike; | ||
tokenId: BigNumber; | ||
uri: string; | ||
supply: BigNumberLike; | ||
supply: BigNumber; | ||
creators: Array<Creator>; | ||
@@ -77,0 +77,0 @@ royalties: Array<Royalty>; |
@@ -6,5 +6,5 @@ import { Asset } from "./Asset"; | ||
import { AuctionHistory } from "./AuctionHistory"; | ||
import { AuctionId } from "@rarible/types"; | ||
import { AuctionId } from "@rarible/types/build/auction-id"; | ||
import { AuctionStatus } from "./AuctionStatus"; | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
import { ContractAddress } from "@rarible/types"; | ||
@@ -20,8 +20,8 @@ import { UnionAddress } from "@rarible/types"; | ||
endTime?: string; | ||
minimalStep: BigNumberLike; | ||
minimalPrice: BigNumberLike; | ||
minimalStep: BigNumber; | ||
minimalPrice: BigNumber; | ||
createdAt: string; | ||
lastUpdateAt: string; | ||
buyPrice?: BigNumberLike; | ||
buyPriceUsd?: BigNumberLike; | ||
buyPrice?: BigNumber; | ||
buyPriceUsd?: BigNumber; | ||
pending?: Array<AuctionHistory>; | ||
@@ -31,3 +31,3 @@ status: AuctionStatus; | ||
hash: string; | ||
auctionId: BigNumberLike; | ||
auctionId: BigNumber; | ||
lastBid?: AuctionBid; | ||
@@ -34,0 +34,0 @@ data: AuctionData; |
@@ -1,2 +0,2 @@ | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
import { RaribleAuctionV1BidDataV1 } from "./AuctionBidData"; | ||
@@ -8,3 +8,3 @@ import { UnionAddress } from "@rarible/types"; | ||
buyer: UnionAddress; | ||
amount: BigNumberLike; | ||
amount: BigNumber; | ||
date: string; | ||
@@ -11,0 +11,0 @@ status: AuctionBidStatus; |
@@ -1,2 +0,2 @@ | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
import { Payout } from "./Payout"; | ||
@@ -9,4 +9,4 @@ export type AuctionData = RaribleAuctionV1DataV1; | ||
startTime?: string; | ||
duration: BigNumberLike; | ||
buyOutPrice?: BigNumberLike; | ||
duration: BigNumber; | ||
buyOutPrice?: BigNumber; | ||
}; |
@@ -1,2 +0,2 @@ | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
import { StatisticsPeriod } from "./StatisticsPeriod"; | ||
@@ -7,4 +7,4 @@ import { StatisticsValue } from "./StatisticsValue"; | ||
itemCount?: number; | ||
ownerCountTotal?: BigNumberLike; | ||
itemCountTotal?: BigNumberLike; | ||
ownerCountTotal?: BigNumber; | ||
itemCountTotal?: BigNumber; | ||
highestSale?: StatisticsValue; | ||
@@ -11,0 +11,0 @@ totalVolume: StatisticsValue; |
@@ -1,7 +0,7 @@ | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
export type CurrencyUsdRate = { | ||
currencyId?: string; | ||
symbol: string; | ||
rate: BigNumberLike; | ||
rate: BigNumber; | ||
date: string; | ||
}; |
@@ -1,2 +0,2 @@ | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
import { EthSeaportItemType } from "./EthSeaportItemType"; | ||
@@ -7,6 +7,6 @@ import { UnionAddress } from "@rarible/types"; | ||
token: UnionAddress; | ||
identifierOrCriteria: BigNumberLike; | ||
startAmount: BigNumberLike; | ||
endAmount: BigNumberLike; | ||
identifierOrCriteria: BigNumber; | ||
startAmount: BigNumber; | ||
endAmount: BigNumber; | ||
recipient: UnionAddress; | ||
}; |
@@ -1,2 +0,2 @@ | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
import { EthSeaportItemType } from "./EthSeaportItemType"; | ||
@@ -7,5 +7,5 @@ import { UnionAddress } from "@rarible/types"; | ||
token: UnionAddress; | ||
identifierOrCriteria: BigNumberLike; | ||
startAmount: BigNumberLike; | ||
endAmount: BigNumberLike; | ||
identifierOrCriteria: BigNumber; | ||
startAmount: BigNumber; | ||
endAmount: BigNumber; | ||
}; |
@@ -106,7 +106,7 @@ export * from "./ItemLastSale"; | ||
export { CurrencyId } from "@rarible/types"; | ||
export { BigNumberLike } from "@rarible/types"; | ||
export { BigNumber } from "@rarible/types"; | ||
export { CollectionId } from "@rarible/types"; | ||
export { UnionAddress } from "@rarible/types"; | ||
export { Binary } from "@rarible/types"; | ||
export { AuctionId } from "@rarible/types"; | ||
export { AuctionId } from "@rarible/types/build/auction-id"; | ||
export { ContractAddress } from "@rarible/types"; |
import { AmmOrders } from "./AmmOrders"; | ||
import { Auction } from "./Auction"; | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
import { Blockchain } from "./Blockchain"; | ||
@@ -19,9 +19,9 @@ import { CollectionId } from "@rarible/types"; | ||
contract?: ContractAddress; | ||
tokenId?: BigNumberLike; | ||
tokenId?: BigNumber; | ||
creators: Array<Creator>; | ||
lazySupply: BigNumberLike; | ||
lazySupply: BigNumber; | ||
pending: Array<ItemTransfer>; | ||
mintedAt: string; | ||
lastUpdatedAt: string; | ||
supply: BigNumberLike; | ||
supply: BigNumber; | ||
meta?: Meta; | ||
@@ -34,3 +34,3 @@ deleted: boolean; | ||
auctions: Array<Auction>; | ||
totalStock?: BigNumberLike; | ||
totalStock?: BigNumber; | ||
sellers: number; | ||
@@ -37,0 +37,0 @@ lastSale?: ItemLastSale; |
@@ -1,2 +0,2 @@ | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
import { ContractAddress } from "@rarible/types"; | ||
@@ -10,4 +10,4 @@ import { Royalty } from "./Royalty"; | ||
contract: ContractAddress; | ||
tokenId: BigNumberLike; | ||
value?: BigNumberLike; | ||
tokenId: BigNumber; | ||
value?: BigNumber; | ||
date: string; | ||
@@ -20,6 +20,6 @@ royalties: Array<Royalty>; | ||
contract: ContractAddress; | ||
tokenId: BigNumberLike; | ||
value: BigNumberLike; | ||
tokenId: BigNumber; | ||
value: BigNumber; | ||
date: string; | ||
from: UnionAddress; | ||
}; |
import { AssetType } from "./AssetType"; | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
import { UnionAddress } from "@rarible/types"; | ||
@@ -8,5 +8,5 @@ export type ItemLastSale = { | ||
buyer?: UnionAddress; | ||
value: BigNumberLike; | ||
value: BigNumber; | ||
currency: AssetType; | ||
price: BigNumberLike; | ||
price: BigNumber; | ||
}; |
@@ -1,2 +0,2 @@ | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
import { Blockchain } from "./Blockchain"; | ||
@@ -12,6 +12,6 @@ import { CollectionId } from "@rarible/types"; | ||
owner: UnionAddress; | ||
value: BigNumberLike; | ||
value: BigNumber; | ||
createdAt: string; | ||
creators: Array<Creator>; | ||
lazyValue: BigNumberLike; | ||
lazyValue: BigNumber; | ||
}; |
import { Asset } from "./Asset"; | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
import { OrderData } from "./OrderData"; | ||
@@ -11,3 +11,3 @@ import { OrderId } from "@rarible/types"; | ||
id: OrderId; | ||
fill: BigNumberLike; | ||
fill: BigNumber; | ||
platform: Platform; | ||
@@ -17,3 +17,3 @@ status: OrderStatus; | ||
endedAt?: string; | ||
makeStock: BigNumberLike; | ||
makeStock: BigNumber; | ||
cancelled: boolean; | ||
@@ -24,6 +24,6 @@ optionalRoyalties?: boolean; | ||
dbUpdatedAt?: string; | ||
makePrice?: BigNumberLike; | ||
takePrice?: BigNumberLike; | ||
makePriceUsd?: BigNumberLike; | ||
takePriceUsd?: BigNumberLike; | ||
makePrice?: BigNumber; | ||
takePrice?: BigNumber; | ||
makePriceUsd?: BigNumber; | ||
takePriceUsd?: BigNumber; | ||
maker: UnionAddress; | ||
@@ -30,0 +30,0 @@ taker?: UnionAddress; |
@@ -1,2 +0,2 @@ | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
import { ContractAddress } from "@rarible/types"; | ||
@@ -13,3 +13,3 @@ import { EthSeaportConsideration } from "./EthSeaportConsideration"; | ||
"@type": "ETH_RARIBLE_V1"; | ||
fee: BigNumberLike; | ||
fee: BigNumber; | ||
}; | ||
@@ -55,6 +55,6 @@ export type EthOrderDataRaribleV2DataV1 = { | ||
exchange: UnionAddress; | ||
makerRelayerFee: BigNumberLike; | ||
takerRelayerFee: BigNumberLike; | ||
makerProtocolFee: BigNumberLike; | ||
takerProtocolFee: BigNumberLike; | ||
makerRelayerFee: BigNumber; | ||
takerRelayerFee: BigNumber; | ||
makerProtocolFee: BigNumber; | ||
takerProtocolFee: BigNumber; | ||
feeRecipient: UnionAddress; | ||
@@ -69,3 +69,3 @@ feeMethod: EthOrderOpenSeaV1DataV1FeeMethod; | ||
staticExtraData: string; | ||
extra: BigNumberLike; | ||
extra: BigNumber; | ||
}; | ||
@@ -94,3 +94,3 @@ export type EthOrderSeaportDataV1 = EthOrderBasicSeaportDataV1; | ||
side: number; | ||
orderId: BigNumberLike; | ||
orderId: BigNumber; | ||
}; | ||
@@ -111,4 +111,4 @@ export type EthLooksRareOrderDataV1 = { | ||
poolType: SudoSwapPoolType; | ||
delta: BigNumberLike; | ||
fee: BigNumberLike; | ||
delta: BigNumber; | ||
fee: BigNumber; | ||
feeDecimal: number; | ||
@@ -115,0 +115,0 @@ }; |
import { Auction } from "./Auction"; | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
import { Blockchain } from "./Blockchain"; | ||
@@ -20,5 +20,5 @@ import { CollectionId } from "@rarible/types"; | ||
collection?: CollectionId; | ||
tokenId?: BigNumberLike; | ||
tokenId?: BigNumber; | ||
owner: UnionAddress; | ||
value: BigNumberLike; | ||
value: BigNumber; | ||
source?: OwnershipSource; | ||
@@ -28,3 +28,3 @@ createdAt: string; | ||
creators?: Array<Creator>; | ||
lazyValue: BigNumberLike; | ||
lazyValue: BigNumber; | ||
pending: Array<ItemHistory>; | ||
@@ -31,0 +31,0 @@ auction?: Auction; |
@@ -1,2 +0,2 @@ | ||
import { AuctionId } from "@rarible/types"; | ||
import { AuctionId } from "@rarible/types/build/auction-id"; | ||
import { Blockchain } from "./Blockchain"; | ||
@@ -3,0 +3,0 @@ import { CollectionId } from "@rarible/types"; |
import { Asset } from "./Asset"; | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
import { OrderId } from "@rarible/types"; | ||
@@ -27,9 +27,9 @@ import { UnionAddress } from "@rarible/types"; | ||
side?: PendingOrderMatchSide; | ||
fill: BigNumberLike; | ||
fill: BigNumber; | ||
taker?: UnionAddress; | ||
counterHash?: string; | ||
makeUsd?: BigNumberLike; | ||
takeUsd?: BigNumberLike; | ||
makePriceUsd?: BigNumberLike; | ||
takePriceUsd?: BigNumberLike; | ||
makeUsd?: BigNumber; | ||
takeUsd?: BigNumber; | ||
makePriceUsd?: BigNumber; | ||
takePriceUsd?: BigNumber; | ||
}; | ||
@@ -36,0 +36,0 @@ export type OnChainOrder = { |
@@ -1,2 +0,2 @@ | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
import { RaribleAuctionV1BidV1 } from "./AuctionBid"; | ||
@@ -6,3 +6,3 @@ import { RaribleAuctionV1DataV1 } from "./AuctionData"; | ||
type?: RaribleAuctionV1Type; | ||
auctionId: BigNumberLike; | ||
auctionId: BigNumber; | ||
lastBid?: RaribleAuctionV1BidV1; | ||
@@ -9,0 +9,0 @@ data: RaribleAuctionV1DataV1; |
@@ -1,2 +0,2 @@ | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
import { StatisticsValue } from "./StatisticsValue"; | ||
@@ -6,3 +6,3 @@ export type StatisticsPeriod = { | ||
value: StatisticsValue; | ||
changePercent: BigNumberLike; | ||
changePercent: BigNumber; | ||
}; | ||
@@ -9,0 +9,0 @@ export declare enum StatisticsPeriodPeriod { |
@@ -1,5 +0,5 @@ | ||
import { BigNumberLike } from "@rarible/types"; | ||
import { BigNumber } from "@rarible/types"; | ||
export type StatisticsValue = { | ||
value: BigNumberLike; | ||
valueUsd: BigNumberLike; | ||
value: BigNumber; | ||
valueUsd: BigNumber; | ||
}; |
{ | ||
"name": "@rarible/api-client", | ||
"version": "0.16.0-beta1", | ||
"version": "0.16.0-beta2", | ||
"keywords": [ | ||
@@ -28,3 +28,3 @@ "axios", | ||
"@openapitools/openapi-generator-cli": "2.3.6", | ||
"@rarible/types": "~0.10.0-alpha.4", | ||
"@rarible/types": "~0.9.6", | ||
"download-cli": "1.1.1", | ||
@@ -34,7 +34,8 @@ "move-file-cli": "2.0.0", | ||
"rxjs": "^6.0.0", | ||
"tslib": "^2.5.0", | ||
"typescript": "^5.0.4" | ||
}, | ||
"peerDependencies": { | ||
"@rarible/types": ">=0.10.0 <0.11.0" | ||
"@rarible/types": "^0.9.6" | ||
} | ||
} |
268163
8