New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rarible/api-client

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rarible/api-client - npm Package Compare versions

Comparing version 0.16.5-alpha.6 to 0.16.5-alpha.7

build/apis/BlockControllerApi.d.ts

2

build/apis/index.d.ts
export * from './ActivityControllerApi';
export * from './BalanceControllerApi';
export * from './BlockControllerApi';
export * from './CollectionControllerApi';
export * from './CurrencyControllerApi';
export * from './DomainControllerApi';
export * from './EncodeControllerApi';
export * from './ItemControllerApi';

@@ -7,0 +9,0 @@ export * from './OrderControllerApi';

@@ -19,5 +19,7 @@ "use strict";

__exportStar(require("./BalanceControllerApi"), exports);
__exportStar(require("./BlockControllerApi"), exports);
__exportStar(require("./CollectionControllerApi"), exports);
__exportStar(require("./CurrencyControllerApi"), exports);
__exportStar(require("./DomainControllerApi"), exports);
__exportStar(require("./EncodeControllerApi"), exports);
__exportStar(require("./ItemControllerApi"), exports);

@@ -24,0 +26,0 @@ __exportStar(require("./OrderControllerApi"), exports);

@@ -13,3 +13,3 @@ /**

import * as runtime from '../runtime';
import { AmmTradeInfo, Blockchain, Order, OrderFees, OrderForm, OrderIds, OrderSort, OrderStatus, Orders, Platform, SearchEngine, SyncSort, UnionApiErrorBadRequest, UnionApiErrorEntityNotFound, UnionApiErrorServerError } from '../models';
import { AmmTradeInfo, Blockchain, Order, OrderFees, OrderForm, OrderIds, OrderSort, OrderStatus, Orders, Platform, PrepareOrderTxForm, PrepareOrderTxResponse, PreparedOrderTx, SearchEngine, SyncSort, UnionApiErrorBadRequest, UnionApiErrorEntityNotFound, UnionApiErrorServerError } from '../models';
export interface GetAllSyncRequest {

@@ -57,2 +57,13 @@ blockchain: Blockchain;

}
export interface GetOrderFloorBidsByCollectionRequest {
collectionId: string;
platform?: Platform;
origin?: string;
status?: Array<OrderStatus>;
currencies?: Array<string>;
start?: number;
end?: number;
continuation?: string;
size?: number;
}
export interface GetOrdersAllRequest {

@@ -100,2 +111,9 @@ blockchains?: Array<Blockchain>;

}
export interface PrepareOrderCancelTransactionRequest {
id: string;
}
export interface PrepareOrderTransactionRequest {
id: string;
prepareOrderTxForm: PrepareOrderTxForm;
}
export interface ReportOrderByIdRequest {

@@ -172,2 +190,12 @@ id: string;

/**
* Returns floor bids created for specified NFT Collection and sorted by price in USD (expensive first)
* Get floor bids for Collection
*/
getOrderFloorBidsByCollectionRaw(requestParameters: GetOrderFloorBidsByCollectionRequest): Promise<GetOrderFloorBidsByCollectionResponse>;
/**
* Returns floor bids created for specified NFT Collection and sorted by price in USD (expensive first)
* Get floor bids for Collection
*/
getOrderFloorBidsByCollection(requestParameters: GetOrderFloorBidsByCollectionRequest): Promise<Orders>;
/**
* Returns all Orders in accordance with specified filters and sorted by `last updated` date

@@ -233,2 +261,22 @@ * Get all Orders

/**
* Prepare all required data to cancel given order on the blockchain
* Prepare order cancel transaction
*/
prepareOrderCancelTransactionRaw(requestParameters: PrepareOrderCancelTransactionRequest): Promise<PrepareOrderCancelTransactionResponse>;
/**
* Prepare all required data to cancel given order on the blockchain
* Prepare order cancel transaction
*/
prepareOrderCancelTransaction(requestParameters: PrepareOrderCancelTransactionRequest): Promise<PreparedOrderTx>;
/**
* Prepare all required data to match given order on the blockchain
* Prepare order transaction
*/
prepareOrderTransactionRaw(requestParameters: PrepareOrderTransactionRequest): Promise<PrepareOrderTransactionResponse>;
/**
* Prepare all required data to match given order on the blockchain
* Prepare order transaction
*/
prepareOrderTransaction(requestParameters: PrepareOrderTransactionRequest): Promise<PrepareOrderTxResponse>;
/**
* Report Error Order

@@ -340,2 +388,15 @@ * Report Order

export type GetOrderFeesResponse = GetOrderFees200 | GetOrderFees400 | GetOrderFees500;
export type GetOrderFloorBidsByCollection200 = {
status: 200;
value: Orders;
};
export type GetOrderFloorBidsByCollection400 = {
status: 400;
value: UnionApiErrorBadRequest;
};
export type GetOrderFloorBidsByCollection500 = {
status: 500;
value: UnionApiErrorServerError;
};
export type GetOrderFloorBidsByCollectionResponse = GetOrderFloorBidsByCollection200 | GetOrderFloorBidsByCollection400 | GetOrderFloorBidsByCollection500;
export type GetOrdersAll200 = {

@@ -423,2 +484,36 @@ status: 200;

export type GetValidatedOrderByIdResponse = GetValidatedOrderById200 | GetValidatedOrderById404 | GetValidatedOrderById400 | GetValidatedOrderById500;
export type PrepareOrderCancelTransaction200 = {
status: 200;
value: PreparedOrderTx;
};
export type PrepareOrderCancelTransaction404 = {
status: 404;
value: UnionApiErrorEntityNotFound;
};
export type PrepareOrderCancelTransaction400 = {
status: 400;
value: UnionApiErrorBadRequest;
};
export type PrepareOrderCancelTransaction500 = {
status: 500;
value: UnionApiErrorServerError;
};
export type PrepareOrderCancelTransactionResponse = PrepareOrderCancelTransaction200 | PrepareOrderCancelTransaction404 | PrepareOrderCancelTransaction400 | PrepareOrderCancelTransaction500;
export type PrepareOrderTransaction200 = {
status: 200;
value: PrepareOrderTxResponse;
};
export type PrepareOrderTransaction404 = {
status: 404;
value: UnionApiErrorEntityNotFound;
};
export type PrepareOrderTransaction400 = {
status: 400;
value: UnionApiErrorBadRequest;
};
export type PrepareOrderTransaction500 = {
status: 500;
value: UnionApiErrorServerError;
};
export type PrepareOrderTransactionResponse = PrepareOrderTransaction200 | PrepareOrderTransaction404 | PrepareOrderTransaction400 | PrepareOrderTransaction500;
export type ReportOrderById200 = {

@@ -425,0 +520,0 @@ status: 200;

63

build/models/Activity.d.ts

@@ -5,4 +5,2 @@ import { ActivityBlockchainInfo } from "./ActivityBlockchainInfo";

import { AssetType } from "./AssetType";
import { Auction } from "./Auction";
import { AuctionBid } from "./AuctionBid";
import { BigNumberLike } from "@rarible/types";

@@ -16,3 +14,3 @@ import { CollectionId } from "@rarible/types";

import { UnionContractAddress } from "@rarible/types";
export type Activity = MintActivity | BurnActivity | TransferActivity | OrderMatchActivity | OrderBidActivity | OrderListActivity | OrderCancelBidActivity | OrderCancelListActivity | AuctionOpenActivity | AuctionBidActivity | AuctionFinishActivity | AuctionCancelActivity | AuctionStartActivity | AuctionEndActivity | L2DepositActivity | L2WithdrawalActivity;
export type Activity = MintActivity | BurnActivity | TransferActivity | OrderMatchActivity | OrderBidActivity | OrderListActivity | OrderCancelBidActivity | OrderCancelListActivity | L2DepositActivity | L2WithdrawalActivity;
export type MintActivity = {

@@ -177,61 +175,2 @@ "@type": "MINT";

};
export type AuctionOpenActivity = {
"@type": "auction_open";
id: ActivityId;
date: string;
lastUpdatedAt?: string;
cursor?: string;
reverted?: boolean;
auction: Auction;
transactionHash: string;
};
export type AuctionBidActivity = {
"@type": "auction_bid";
id: ActivityId;
date: string;
lastUpdatedAt?: string;
cursor?: string;
reverted?: boolean;
auction: Auction;
bid: AuctionBid;
transactionHash: string;
};
export type AuctionFinishActivity = {
"@type": "auction_finish";
id: ActivityId;
date: string;
lastUpdatedAt?: string;
cursor?: string;
reverted?: boolean;
auction: Auction;
transactionHash: string;
};
export type AuctionCancelActivity = {
"@type": "auction_cancel";
id: ActivityId;
date: string;
lastUpdatedAt?: string;
cursor?: string;
reverted?: boolean;
auction: Auction;
transactionHash: string;
};
export type AuctionStartActivity = {
"@type": "auction_start";
id: ActivityId;
date: string;
lastUpdatedAt?: string;
cursor?: string;
reverted?: boolean;
auction: Auction;
};
export type AuctionEndActivity = {
"@type": "auction_end";
id: ActivityId;
date: string;
lastUpdatedAt?: string;
cursor?: string;
reverted?: boolean;
auction: Auction;
};
export type L2DepositActivity = {

@@ -238,0 +177,0 @@ "@type": "L2_DEPOSIT";

@@ -16,2 +16,4 @@ import { ActivityCurrencyFilter } from "./ActivityCurrencyFilter";

to?: string;
fromBlockInclusive?: number;
toBlockExclusive?: number;
};

@@ -9,9 +9,3 @@ export declare enum ActivityType {

CANCEL_LIST = "CANCEL_LIST",
CANCEL_BID = "CANCEL_BID",
AUCTION_BID = "AUCTION_BID",
AUCTION_CREATED = "AUCTION_CREATED",
AUCTION_CANCEL = "AUCTION_CANCEL",
AUCTION_FINISHED = "AUCTION_FINISHED",
AUCTION_STARTED = "AUCTION_STARTED",
AUCTION_ENDED = "AUCTION_ENDED"
CANCEL_BID = "CANCEL_BID"
}

@@ -14,8 +14,2 @@ "use strict";

ActivityType["CANCEL_BID"] = "CANCEL_BID";
ActivityType["AUCTION_BID"] = "AUCTION_BID";
ActivityType["AUCTION_CREATED"] = "AUCTION_CREATED";
ActivityType["AUCTION_CANCEL"] = "AUCTION_CANCEL";
ActivityType["AUCTION_FINISHED"] = "AUCTION_FINISHED";
ActivityType["AUCTION_STARTED"] = "AUCTION_STARTED";
ActivityType["AUCTION_ENDED"] = "AUCTION_ENDED";
})(ActivityType = exports.ActivityType || (exports.ActivityType = {}));

@@ -8,3 +8,25 @@ import { BigNumberLike } from "@rarible/types";

import { UnionContractAddress } from "@rarible/types";
export type AssetType = FlowAssetTypeNft | FlowAssetTypeFt | TezosXTZAssetType | TezosFTAssetType | TezosNFTAssetType | TezosMTAssetType | EthEthereumAssetType | EthErc20AssetType | EthErc721AssetType | EthErc721LazyAssetType | EthErc1155AssetType | EthErc1155LazyAssetType | EthCryptoPunksAssetType | EthGenerativeArtAssetType | EthCollectionAssetType | EthAmmNftAssetType | SolanaNftAssetType | SolanaFtAssetType | SolanaSolAssetType;
export type AssetType = NativeCurrencyAssetType | TokenCurrencyAssetType | NftAssetType | NftOfCollectionAssetType | FlowAssetTypeNft | FlowAssetTypeFt | TezosXTZAssetType | TezosFTAssetType | TezosNFTAssetType | TezosMTAssetType | EthEthereumAssetType | EthErc20AssetType | EthErc721AssetType | EthErc721LazyAssetType | EthErc1155AssetType | EthErc1155LazyAssetType | EthCryptoPunksAssetType | EthGenerativeArtAssetType | EthCollectionAssetType | EthAmmNftAssetType | SolanaNftAssetType | SolanaFtAssetType | SolanaSolAssetType;
export type NativeCurrencyAssetType = {
"@type": "CURRENCY_NATIVE";
blockchain: Blockchain;
};
export type TokenCurrencyAssetType = {
"@type": "CURRENCY_TOKEN";
contract: UnionContractAddress;
};
export declare enum NftAssetTypeStandard {
SINGLE = "SINGLE",
MULTIPLE = "MULTIPLE"
}
export type NftAssetType = {
"@type": "NFT";
collectionId: CollectionId;
itemId: ItemId;
standard?: NftAssetTypeStandard;
};
export type NftOfCollectionAssetType = {
"@type": "NFT_OF_COLLECTION";
collectionId: CollectionId;
};
export type FlowAssetTypeNft = {

@@ -11,0 +33,0 @@ "@type": "FLOW_NFT";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NftAssetTypeStandard = void 0;
var NftAssetTypeStandard;
(function (NftAssetTypeStandard) {
NftAssetTypeStandard["SINGLE"] = "SINGLE";
NftAssetTypeStandard["MULTIPLE"] = "MULTIPLE";
})(NftAssetTypeStandard = exports.NftAssetTypeStandard || (exports.NftAssetTypeStandard = {}));
export declare enum Blockchain {
APTOS = "APTOS",
ETHEREUM = "ETHEREUM",

@@ -15,3 +16,7 @@ POLYGON = "POLYGON",

BASE = "BASE",
RARI = "RARI"
RARI = "RARI",
CELO = "CELO",
FIEF = "FIEF",
XAI = "XAI",
KROMA = "KROMA"
}

@@ -6,2 +6,3 @@ "use strict";

(function (Blockchain) {
Blockchain["APTOS"] = "APTOS";
Blockchain["ETHEREUM"] = "ETHEREUM";

@@ -21,2 +22,6 @@ Blockchain["POLYGON"] = "POLYGON";

Blockchain["RARI"] = "RARI";
Blockchain["CELO"] = "CELO";
Blockchain["FIEF"] = "FIEF";
Blockchain["XAI"] = "XAI";
Blockchain["KROMA"] = "KROMA";
})(Blockchain = exports.Blockchain || (exports.Blockchain = {}));
export declare enum BlockchainGroup {
APTOS = "APTOS",
ETHEREUM = "ETHEREUM",

@@ -3,0 +4,0 @@ FLOW = "FLOW",

@@ -6,2 +6,3 @@ "use strict";

(function (BlockchainGroup) {
BlockchainGroup["APTOS"] = "APTOS";
BlockchainGroup["ETHEREUM"] = "ETHEREUM";

@@ -8,0 +9,0 @@ BlockchainGroup["FLOW"] = "FLOW";

@@ -41,3 +41,4 @@ import { Blockchain } from "./Blockchain";

SOLANA = "SOLANA",
IMMUTABLEX = "IMMUTABLEX"
IMMUTABLEX = "IMMUTABLEX",
APTOS = "APTOS"
}

@@ -44,0 +45,0 @@ export declare enum CollectionStatus {

@@ -20,2 +20,3 @@ "use strict";

CollectionType["IMMUTABLEX"] = "IMMUTABLEX";
CollectionType["APTOS"] = "APTOS";
})(CollectionType = exports.CollectionType || (exports.CollectionType = {}));

@@ -22,0 +23,0 @@ var CollectionStatus;

@@ -0,1 +1,2 @@

export * from "./ItemCollection";
export * from "./ItemLastSale";

@@ -18,3 +19,2 @@ export * from "./Meta";

export * from "./ItemIds";
export * from "./AuctionSort";
export * from "./SignatureInputForm";

@@ -32,3 +32,2 @@ export * from "./ItemSearchFullText";

export * from "./TraitEntry";
export * from "./Auction";
export * from "./OrderEvent";

@@ -41,5 +40,5 @@ export * from "./OwnershipEvent";

export * from "./TraitsRarityRequest";
export * from "./Auctions";
export * from "./SortType";
export * from "./EthSeaportConsideration";
export * from "./LatestIndexedBlock";
export * from "./ActivitiesByUsersRequest";

@@ -52,3 +51,2 @@ export * from "./CollectionsSearchFilter";

export * from "./MetaAttribute";
export * from "./AuctionBids";
export * from "./Royalties";

@@ -64,6 +62,4 @@ export * from "./OrderActivityMatchSide";

export * from "./SubscriptionAction";
export * from "./AuctionBidData";
export * from "./SignatureInput";
export * from "./UnionApiErrorEntityNotFound";
export * from "./AuctionBid";
export * from "./OwnershipSearchFilter";

@@ -76,3 +72,2 @@ export * from "./BlockchainGroup";

export * from "./TraitProperty";
export * from "./RaribleAuctionV1";
export * from "./UserActivityType";

@@ -89,11 +84,8 @@ export * from "./CollectionEvent";

export * from "./OwnershipSource";
export * from "./AuctionData";
export * from "./Activity";
export * from "./Payout";
export * from "./SignatureValidationForm";
export * from "./AuctionHistory";
export * from "./SudoSwapCurveType";
export * from "./Order";
export * from "./AmmOrders";
export * from "./PendingOrder";
export * from "./LazyItemBurnForm";

@@ -109,3 +101,5 @@ export * from "./EthOrderFormAsset";

export * from "./EthSeaportItemType";
export * from "./PrepareOrderTxResponse";
export * from "./ItemsSearchFilter";
export * from "./PreparedOrderTx";
export * from "./OrderActivitySource";

@@ -119,6 +113,6 @@ export * from "./LazyItem";

export * from "./AssetType";
export * from "./RawJson";
export * from "./ActivitySort";
export * from "./ExtendedTraitProperty";
export * from "./TraitSort";
export * from "./AuctionActivitySource";
export * from "./ActivityUserFilter";

@@ -128,3 +122,4 @@ export * from "./ActivityBlockchainInfo";

export * from "./OrderFees";
export * from "./AuctionStatus";
export * from "./EncodedOrder";
export * from "./PrepareOrderTxForm";
export * from "./ActivityType";

@@ -131,0 +126,0 @@ export * from "./OrderStatus";

@@ -17,2 +17,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./ItemCollection"), exports);
__exportStar(require("./ItemLastSale"), exports);

@@ -35,3 +36,2 @@ __exportStar(require("./Meta"), exports);

__exportStar(require("./ItemIds"), exports);
__exportStar(require("./AuctionSort"), exports);
__exportStar(require("./SignatureInputForm"), exports);

@@ -49,3 +49,2 @@ __exportStar(require("./ItemSearchFullText"), exports);

__exportStar(require("./TraitEntry"), exports);
__exportStar(require("./Auction"), exports);
__exportStar(require("./OrderEvent"), exports);

@@ -58,5 +57,5 @@ __exportStar(require("./OwnershipEvent"), exports);

__exportStar(require("./TraitsRarityRequest"), exports);
__exportStar(require("./Auctions"), exports);
__exportStar(require("./SortType"), exports);
__exportStar(require("./EthSeaportConsideration"), exports);
__exportStar(require("./LatestIndexedBlock"), exports);
__exportStar(require("./ActivitiesByUsersRequest"), exports);

@@ -69,3 +68,2 @@ __exportStar(require("./CollectionsSearchFilter"), exports);

__exportStar(require("./MetaAttribute"), exports);
__exportStar(require("./AuctionBids"), exports);
__exportStar(require("./Royalties"), exports);

@@ -81,6 +79,4 @@ __exportStar(require("./OrderActivityMatchSide"), exports);

__exportStar(require("./SubscriptionAction"), exports);
__exportStar(require("./AuctionBidData"), exports);
__exportStar(require("./SignatureInput"), exports);
__exportStar(require("./UnionApiErrorEntityNotFound"), exports);
__exportStar(require("./AuctionBid"), exports);
__exportStar(require("./OwnershipSearchFilter"), exports);

@@ -93,3 +89,2 @@ __exportStar(require("./BlockchainGroup"), exports);

__exportStar(require("./TraitProperty"), exports);
__exportStar(require("./RaribleAuctionV1"), exports);
__exportStar(require("./UserActivityType"), exports);

@@ -106,11 +101,8 @@ __exportStar(require("./CollectionEvent"), exports);

__exportStar(require("./OwnershipSource"), exports);
__exportStar(require("./AuctionData"), exports);
__exportStar(require("./Activity"), exports);
__exportStar(require("./Payout"), exports);
__exportStar(require("./SignatureValidationForm"), exports);
__exportStar(require("./AuctionHistory"), exports);
__exportStar(require("./SudoSwapCurveType"), exports);
__exportStar(require("./Order"), exports);
__exportStar(require("./AmmOrders"), exports);
__exportStar(require("./PendingOrder"), exports);
__exportStar(require("./LazyItemBurnForm"), exports);

@@ -126,3 +118,5 @@ __exportStar(require("./EthOrderFormAsset"), exports);

__exportStar(require("./EthSeaportItemType"), exports);
__exportStar(require("./PrepareOrderTxResponse"), exports);
__exportStar(require("./ItemsSearchFilter"), exports);
__exportStar(require("./PreparedOrderTx"), exports);
__exportStar(require("./OrderActivitySource"), exports);

@@ -136,6 +130,6 @@ __exportStar(require("./LazyItem"), exports);

__exportStar(require("./AssetType"), exports);
__exportStar(require("./RawJson"), exports);
__exportStar(require("./ActivitySort"), exports);
__exportStar(require("./ExtendedTraitProperty"), exports);
__exportStar(require("./TraitSort"), exports);
__exportStar(require("./AuctionActivitySource"), exports);
__exportStar(require("./ActivityUserFilter"), exports);

@@ -145,3 +139,4 @@ __exportStar(require("./ActivityBlockchainInfo"), exports);

__exportStar(require("./OrderFees"), exports);
__exportStar(require("./AuctionStatus"), exports);
__exportStar(require("./EncodedOrder"), exports);
__exportStar(require("./PrepareOrderTxForm"), exports);
__exportStar(require("./ActivityType"), exports);

@@ -148,0 +143,0 @@ __exportStar(require("./OrderStatus"), exports);

import { AmmOrders } from "./AmmOrders";
import { Auction } from "./Auction";
import { BigNumberLike } from "@rarible/types";

@@ -7,2 +6,3 @@ import { Blockchain } from "./Blockchain";

import { Creator } from "./Creator";
import { ItemCollection } from "./ItemCollection";
import { ItemId } from "@rarible/types";

@@ -34,3 +34,3 @@ import { ItemLastSale } from "./ItemLastSale";

ammOrders?: AmmOrders;
auctions: Array<Auction>;
auctions?: Array<string>;
totalStock?: BigNumberLike;

@@ -41,2 +41,3 @@ sellers: number;

suspicious?: boolean;
itemCollection?: ItemCollection;
};

@@ -17,2 +17,3 @@ import { MetaAttribute } from "./MetaAttribute";

content: Array<MetaContent>;
extraContent?: Array<MetaContent>;
};

@@ -54,4 +54,5 @@ export type MetaContent = ImageContent | VideoContent | AudioContent | Model3dContent | HtmlContent;

BIG = "BIG",
INITIAL = "INITIAL",
ORIGINAL = "ORIGINAL",
PORTRAIT = "PORTRAIT"
}

@@ -8,4 +8,5 @@ "use strict";

MetaContentRepresentation["BIG"] = "BIG";
MetaContentRepresentation["INITIAL"] = "INITIAL";
MetaContentRepresentation["ORIGINAL"] = "ORIGINAL";
MetaContentRepresentation["PORTRAIT"] = "PORTRAIT";
})(MetaContentRepresentation = exports.MetaContentRepresentation || (exports.MetaContentRepresentation = {}));

@@ -6,3 +6,2 @@ import { Asset } from "./Asset";

import { OrderStatus } from "./OrderStatus";
import { PendingOrder } from "./PendingOrder";
import { Platform } from "./Platform";

@@ -33,4 +32,4 @@ import { UnionAddress } from "@rarible/types";

signature?: string;
pending?: Array<PendingOrder>;
feeTakers?: Array<UnionAddress>;
data: OrderData;
};

@@ -7,2 +7,3 @@ import { BigNumberLike } from "@rarible/types";

import { Payout } from "./Payout";
import { RawJson } from "./RawJson";
import { SudoSwapCurveType } from "./SudoSwapCurveType";

@@ -12,3 +13,7 @@ import { SudoSwapPoolType } from "./SudoSwapPoolType";

import { UnionContractAddress } from "@rarible/types";
export type OrderData = EthOrderDataLegacy | EthRaribleV2OrderData | EthOrderOpenSeaV1DataV1 | EthOrderSeaportDataV1 | EthOrderCryptoPunksData | EthX2Y2OrderDataV1 | EthLooksRareOrderDataV1 | EthLooksRareOrderDataV2 | EthSudoSwapAmmDataV1 | TezosOrderDataLegacy | TezosOrderDataV2 | FlowOrderDataV1 | SolanaAuctionHouseDataV1 | ImmutablexOrderDataV1;
export type OrderData = RawOrderData | EthOrderDataLegacy | EthRaribleV2OrderData | EthOrderOpenSeaV1DataV1 | EthOrderSeaportDataV1 | EthOrderCryptoPunksData | EthX2Y2OrderDataV1 | EthLooksRareOrderDataV1 | EthLooksRareOrderDataV2 | EthSudoSwapAmmDataV1 | TezosOrderDataLegacy | TezosOrderDataV2 | FlowOrderDataV1 | SolanaAuctionHouseDataV1 | ImmutablexOrderDataV1;
export type RawOrderData = {
"@type": "RAW";
data?: RawJson;
};
export type EthOrderDataLegacy = {

@@ -15,0 +20,0 @@ "@type": "ETH_RARIBLE_V1";

@@ -1,2 +0,1 @@

import { Auction } from "./Auction";
import { BigNumberLike } from "@rarible/types";

@@ -29,5 +28,4 @@ import { Blockchain } from "./Blockchain";

pending: Array<ItemHistory>;
auction?: Auction;
bestSellOrder?: Order;
originOrders?: Array<OriginOrders>;
};

@@ -1,2 +0,1 @@

import { AuctionId } from "@rarible/types";
import { Blockchain } from "./Blockchain";

@@ -12,4 +11,2 @@ import { CollectionId } from "@rarible/types";

items?: Array<ItemId>;
auctions?: Array<AuctionId>;
auctionsOwners?: Array<UnionAddress>;
beforeDate?: string;

@@ -16,0 +13,0 @@ afterDate?: string;

export declare enum SyncType {
ORDER = "ORDER",
NFT = "NFT",
AUCTION = "AUCTION"
NFT = "NFT"
}

@@ -8,3 +8,2 @@ "use strict";

SyncType["NFT"] = "NFT";
SyncType["AUCTION"] = "AUCTION";
})(SyncType = exports.SyncType || (exports.SyncType = {}));

@@ -12,9 +12,3 @@ export declare enum UserActivityType {

CANCEL_LIST = "CANCEL_LIST",
CANCEL_BID = "CANCEL_BID",
AUCTION_BID = "AUCTION_BID",
AUCTION_CREATED = "AUCTION_CREATED",
AUCTION_CANCEL = "AUCTION_CANCEL",
AUCTION_FINISHED = "AUCTION_FINISHED",
AUCTION_STARTED = "AUCTION_STARTED",
AUCTION_ENDED = "AUCTION_ENDED"
CANCEL_BID = "CANCEL_BID"
}

@@ -17,8 +17,2 @@ "use strict";

UserActivityType["CANCEL_BID"] = "CANCEL_BID";
UserActivityType["AUCTION_BID"] = "AUCTION_BID";
UserActivityType["AUCTION_CREATED"] = "AUCTION_CREATED";
UserActivityType["AUCTION_CANCEL"] = "AUCTION_CANCEL";
UserActivityType["AUCTION_FINISHED"] = "AUCTION_FINISHED";
UserActivityType["AUCTION_STARTED"] = "AUCTION_STARTED";
UserActivityType["AUCTION_ENDED"] = "AUCTION_ENDED";
})(UserActivityType = exports.UserActivityType || (exports.UserActivityType = {}));
{
"name": "@rarible/api-client",
"version": "0.16.5-alpha.6",
"version": "0.16.5-alpha.7",
"keywords": [

@@ -5,0 +5,0 @@ "axios",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc