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
83
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.0.13-beta11 to 0.0.13-beta12

build/models/AmmOrders.d.ts

10

build/apis/ActivityControllerApi.d.ts

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

import * as runtime from '../runtime';
import { Activities, ActivitySort, ActivityType, Blockchain, SyncSort, SyncType, UnionApiErrorBadRequest, UnionApiErrorServerError, UserActivityType } from '../models';
import { Activities, ActivitySort, ActivityType, Blockchain, SearchEngine, SyncSort, SyncType, UnionApiErrorBadRequest, UnionApiErrorServerError, UserActivityType } from '../models';
export interface GetActivitiesByCollectionRequest {

@@ -22,3 +22,3 @@ type: Array<ActivityType>;

sort?: ActivitySort;
newSearchEngine?: boolean;
searchEngine?: SearchEngine;
}

@@ -32,3 +32,3 @@ export interface GetActivitiesByItemRequest {

sort?: ActivitySort;
newSearchEngine?: boolean;
searchEngine?: SearchEngine;
}

@@ -45,3 +45,3 @@ export interface GetActivitiesByUserRequest {

sort?: ActivitySort;
newSearchEngine?: boolean;
searchEngine?: SearchEngine;
}

@@ -55,3 +55,3 @@ export interface GetAllActivitiesRequest {

sort?: ActivitySort;
newSearchEngine?: boolean;
searchEngine?: SearchEngine;
}

@@ -58,0 +58,0 @@ export interface GetAllActivitiesSyncRequest {

@@ -131,4 +131,4 @@ "use strict";

}
if (requestParameters.newSearchEngine !== undefined) {
queryParameters['newSearchEngine'] = requestParameters.newSearchEngine;
if (requestParameters.searchEngine !== undefined) {
queryParameters['searchEngine'] = requestParameters.searchEngine;
}

@@ -226,4 +226,4 @@ headerParameters = {};

}
if (requestParameters.newSearchEngine !== undefined) {
queryParameters['newSearchEngine'] = requestParameters.newSearchEngine;
if (requestParameters.searchEngine !== undefined) {
queryParameters['searchEngine'] = requestParameters.searchEngine;
}

@@ -330,4 +330,4 @@ headerParameters = {};

}
if (requestParameters.newSearchEngine !== undefined) {
queryParameters['newSearchEngine'] = requestParameters.newSearchEngine;
if (requestParameters.searchEngine !== undefined) {
queryParameters['searchEngine'] = requestParameters.searchEngine;
}

@@ -422,4 +422,4 @@ headerParameters = {};

}
if (requestParameters.newSearchEngine !== undefined) {
queryParameters['newSearchEngine'] = requestParameters.newSearchEngine;
if (requestParameters.searchEngine !== undefined) {
queryParameters['searchEngine'] = requestParameters.searchEngine;
}

@@ -426,0 +426,0 @@ headerParameters = {};

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

import * as runtime from '../runtime';
import { Blockchain, ExtendedTraitProperties, Item, ItemIds, Items, ItemsSearchRequest, ItemsWithOwnership, RestrictionCheckForm, RestrictionCheckResult, Royalties, Traits, TraitsRarityRequest, UnionApiErrorBadRequest, UnionApiErrorEntityNotFound, UnionApiErrorServerError } from '../models';
import { Blockchain, ExtendedTraitProperties, Item, ItemIds, Items, ItemsSearchRequest, ItemsWithOwnership, RestrictionCheckForm, RestrictionCheckResult, Royalties, SearchEngine, Traits, TraitsRarityRequest, UnionApiErrorBadRequest, UnionApiErrorEntityNotFound, UnionApiErrorServerError } from '../models';
export interface CheckItemRestrictionRequest {

@@ -26,2 +26,3 @@ itemId: string;

lastUpdatedTo?: number;
searchEngine?: SearchEngine;
}

@@ -41,2 +42,3 @@ export interface GetItemByIdRequest {

size?: number;
searchEngine?: SearchEngine;
}

@@ -48,2 +50,3 @@ export interface GetItemsByCreatorRequest {

size?: number;
searchEngine?: SearchEngine;
}

@@ -55,2 +58,3 @@ export interface GetItemsByOwnerRequest {

size?: number;
searchEngine?: SearchEngine;
}

@@ -61,2 +65,3 @@ export interface GetItemsByOwnerWithOwnershipRequest {

size?: number;
searchEngine?: SearchEngine;
}

@@ -158,11 +163,15 @@ export interface QueryTraitsRequest {

/**
* **[Not yet implemented]**
*/
queryTraitsRaw(requestParameters: QueryTraitsRequest): Promise<QueryTraitsResponse>;
/**
* **[Not yet implemented]**
*/
queryTraits(requestParameters: QueryTraitsRequest): Promise<Traits>;
/**
* **[Not yet implemented]**
*/
queryTraitsWithRarityRaw(requestParameters: QueryTraitsWithRarityRequest): Promise<QueryTraitsWithRarityResponse>;
/**
* **[Not yet implemented]**
*/

@@ -179,15 +188,15 @@ queryTraitsWithRarity(requestParameters: QueryTraitsWithRarityRequest): Promise<ExtendedTraitProperties>;

/**
* Complex search for items
* **[Not yet implemented]** Complex search for items.
*/
searchItemsRaw(requestParameters: SearchItemsRequest): Promise<SearchItemsResponse>;
/**
* Complex search for items
* **[Not yet implemented]** Complex search for items.
*/
searchItems(requestParameters: SearchItemsRequest): Promise<Items>;
/**
* Returns combination of Item attribute key with list of values
* **[Not yet implemented]** Returns combination of Item attribute key with list of values
*/
searchTraitsRaw(requestParameters: SearchTraitsRequest): Promise<SearchTraitsResponse>;
/**
* Returns combination of Item attribute key with list of values
* **[Not yet implemented]** Returns combination of Item attribute key with list of values
*/

@@ -194,0 +203,0 @@ searchTraits(requestParameters: SearchTraitsRequest): Promise<Traits>;

@@ -200,2 +200,5 @@ "use strict";

}
if (requestParameters.searchEngine !== undefined) {
queryParameters['searchEngine'] = requestParameters.searchEngine;
}
headerParameters = {};

@@ -508,2 +511,5 @@ return [4 /*yield*/, this.request({

}
if (requestParameters.searchEngine !== undefined) {
queryParameters['searchEngine'] = requestParameters.searchEngine;
}
headerParameters = {};

@@ -591,2 +597,5 @@ return [4 /*yield*/, this.request({

}
if (requestParameters.searchEngine !== undefined) {
queryParameters['searchEngine'] = requestParameters.searchEngine;
}
headerParameters = {};

@@ -674,2 +683,5 @@ return [4 /*yield*/, this.request({

}
if (requestParameters.searchEngine !== undefined) {
queryParameters['searchEngine'] = requestParameters.searchEngine;
}
headerParameters = {};

@@ -754,2 +766,5 @@ return [4 /*yield*/, this.request({

}
if (requestParameters.searchEngine !== undefined) {
queryParameters['searchEngine'] = requestParameters.searchEngine;
}
headerParameters = {};

@@ -812,2 +827,3 @@ return [4 /*yield*/, this.request({

/**
* **[Not yet implemented]**
*/

@@ -869,2 +885,3 @@ ItemControllerApi.prototype.queryTraitsRaw = function (requestParameters) {

/**
* **[Not yet implemented]**
*/

@@ -888,2 +905,3 @@ ItemControllerApi.prototype.queryTraits = function (requestParameters) {

/**
* **[Not yet implemented]**
*/

@@ -925,2 +943,3 @@ ItemControllerApi.prototype.queryTraitsWithRarityRaw = function (requestParameters) {

/**
* **[Not yet implemented]**
*/

@@ -1010,3 +1029,3 @@ ItemControllerApi.prototype.queryTraitsWithRarity = function (requestParameters) {

/**
* Complex search for items
* **[Not yet implemented]** Complex search for items.
*/

@@ -1064,3 +1083,3 @@ ItemControllerApi.prototype.searchItemsRaw = function (requestParameters) {

/**
* Complex search for items
* **[Not yet implemented]** Complex search for items.
*/

@@ -1084,3 +1103,3 @@ ItemControllerApi.prototype.searchItems = function (requestParameters) {

/**
* Returns combination of Item attribute key with list of values
* **[Not yet implemented]** Returns combination of Item attribute key with list of values
*/

@@ -1145,3 +1164,3 @@ ItemControllerApi.prototype.searchTraitsRaw = function (requestParameters) {

/**
* Returns combination of Item attribute key with list of values
* **[Not yet implemented]** Returns combination of Item attribute key with list of values
*/

@@ -1148,0 +1167,0 @@ ItemControllerApi.prototype.searchTraits = function (requestParameters) {

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

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

@@ -31,2 +31,3 @@ blockchain: Blockchain;

size?: number;
searchEngine?: SearchEngine;
}

@@ -43,2 +44,3 @@ export interface GetOrderBidsByMakerRequest {

size?: number;
searchEngine?: SearchEngine;
}

@@ -54,2 +56,3 @@ export interface GetOrderByIdRequest {

status?: Array<OrderStatus>;
searchEngine?: SearchEngine;
}

@@ -65,2 +68,3 @@ export interface GetOrdersByIdsRequest {

size?: number;
searchEngine?: SearchEngine;
}

@@ -75,2 +79,3 @@ export interface GetSellOrdersByItemRequest {

size?: number;
searchEngine?: SearchEngine;
}

@@ -85,2 +90,3 @@ export interface GetSellOrdersByMakerRequest {

status?: Array<OrderStatus>;
searchEngine?: SearchEngine;
}

@@ -87,0 +93,0 @@ /**

@@ -219,2 +219,5 @@ "use strict";

}
if (requestParameters.searchEngine !== undefined) {
queryParameters['searchEngine'] = requestParameters.searchEngine;
}
headerParameters = {};

@@ -317,2 +320,5 @@ return [4 /*yield*/, this.request({

}
if (requestParameters.searchEngine !== undefined) {
queryParameters['searchEngine'] = requestParameters.searchEngine;
}
headerParameters = {};

@@ -478,2 +484,5 @@ return [4 /*yield*/, this.request({

}
if (requestParameters.searchEngine !== undefined) {
queryParameters['searchEngine'] = requestParameters.searchEngine;
}
headerParameters = {};

@@ -633,2 +642,5 @@ return [4 /*yield*/, this.request({

}
if (requestParameters.searchEngine !== undefined) {
queryParameters['searchEngine'] = requestParameters.searchEngine;
}
headerParameters = {};

@@ -725,2 +737,5 @@ return [4 /*yield*/, this.request({

}
if (requestParameters.searchEngine !== undefined) {
queryParameters['searchEngine'] = requestParameters.searchEngine;
}
headerParameters = {};

@@ -817,2 +832,5 @@ return [4 /*yield*/, this.request({

}
if (requestParameters.searchEngine !== undefined) {
queryParameters['searchEngine'] = requestParameters.searchEngine;
}
headerParameters = {};

@@ -819,0 +837,0 @@ return [4 /*yield*/, this.request({

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

import { Royalty } from "./Royalty";
export declare type AssetType = FlowAssetTypeNft | FlowAssetTypeFt | TezosXTZAssetType | TezosFTAssetType | TezosNFTAssetType | TezosMTAssetType | EthEthereumAssetType | EthErc20AssetType | EthErc721AssetType | EthErc721LazyAssetType | EthErc1155AssetType | EthErc1155LazyAssetType | EthCryptoPunksAssetType | EthGenerativeArtAssetType | EthCollectionAssetType | SolanaNftAssetType | SolanaFtAssetType | SolanaSolAssetType;
export declare type AssetType = FlowAssetTypeNft | FlowAssetTypeFt | TezosXTZAssetType | TezosFTAssetType | TezosNFTAssetType | TezosMTAssetType | EthEthereumAssetType | EthErc20AssetType | EthErc721AssetType | EthErc721LazyAssetType | EthErc1155AssetType | EthErc1155LazyAssetType | EthCryptoPunksAssetType | EthGenerativeArtAssetType | EthCollectionAssetType | EthAmmNftAssetType | SolanaNftAssetType | SolanaFtAssetType | SolanaSolAssetType;
export declare type FlowAssetTypeNft = {

@@ -86,2 +86,6 @@ "@type": "FLOW_NFT";

};
export declare type EthAmmNftAssetType = {
"@type": "AMM_NFT";
contract: ContractAddress;
};
export declare type SolanaNftAssetType = {

@@ -88,0 +92,0 @@ "@type": "SOLANA_NFT";

@@ -6,6 +6,6 @@ import { StatisticsPeriod } from "./StatisticsPeriod";

itemCount: number;
highestSale: StatisticsValue;
highestSale?: StatisticsValue;
totalVolume: StatisticsValue;
volumes: Array<StatisticsPeriod>;
floorPrice: StatisticsValue;
floorPrice?: StatisticsValue;
};

@@ -11,2 +11,3 @@ export * from "./ItemLastSale";

export * from "./ItemsSearchRequest";
export * from "./ItemsSearchSort";
export * from "./OrderIds";

@@ -53,2 +54,3 @@ export * from "./CollectionMeta";

export * from "./BlockchainGroup";
export * from "./SearchEngine";
export * from "./Platform";

@@ -71,3 +73,5 @@ export * from "./StatisticsValue";

export * from "./AuctionHistory";
export * from "./SudoSwapCurveType";
export * from "./Order";
export * from "./AmmOrders";
export * from "./PendingOrder";

@@ -90,2 +94,3 @@ export * from "./OwnershipIds";

export * from "./ActivityBlockchainInfo";
export * from "./SudoSwapPoolType";
export * from "./AuctionStatus";

@@ -92,0 +97,0 @@ export * from "./ActivityType";

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

__exportStar(require("./ItemsSearchRequest"), exports);
__exportStar(require("./ItemsSearchSort"), exports);
__exportStar(require("./OrderIds"), exports);

@@ -65,2 +66,3 @@ __exportStar(require("./CollectionMeta"), exports);

__exportStar(require("./BlockchainGroup"), exports);
__exportStar(require("./SearchEngine"), exports);
__exportStar(require("./Platform"), exports);

@@ -83,3 +85,5 @@ __exportStar(require("./StatisticsValue"), exports);

__exportStar(require("./AuctionHistory"), exports);
__exportStar(require("./SudoSwapCurveType"), exports);
__exportStar(require("./Order"), exports);
__exportStar(require("./AmmOrders"), exports);
__exportStar(require("./PendingOrder"), exports);

@@ -102,2 +106,3 @@ __exportStar(require("./OwnershipIds"), exports);

__exportStar(require("./ActivityBlockchainInfo"), exports);
__exportStar(require("./SudoSwapPoolType"), exports);
__exportStar(require("./AuctionStatus"), exports);

@@ -104,0 +109,0 @@ __exportStar(require("./ActivityType"), exports);

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

import { AmmOrders } from "./AmmOrders";
import { Auction } from "./Auction";

@@ -30,2 +31,3 @@ import { BigNumber } from "@rarible/types";

originOrders?: Array<OriginOrders>;
ammOrders?: Array<AmmOrders>;
auctions: Array<Auction>;

@@ -32,0 +34,0 @@ totalStock?: BigNumber;

import { Blockchain } from "./Blockchain";
import { CollectionId } from "@rarible/types";
import { Platform } from "./Platform";
import { TraitProperty } from "./TraitProperty";

@@ -17,2 +18,10 @@ import { UnionAddress } from "@rarible/types";

lastUpdatedAtTo?: string;
sellPriceFrom?: number;
sellPriceTo?: number;
sellCurrency?: string;
sellPlatforms?: Array<Platform>;
bidPriceFrom?: number;
bidPriceTo?: number;
bidCurrency?: string;
bidPlatforms?: Array<Platform>;
};
import { ItemsSearchFilter } from "./ItemsSearchFilter";
import { ItemsSearchSort } from "./ItemsSearchSort";
export declare type ItemsSearchRequest = {

@@ -6,2 +7,3 @@ size: number;

filter: ItemsSearchFilter;
sort?: ItemsSearchSort;
};

@@ -9,2 +9,3 @@ export declare type MetaContent = ImageContent | VideoContent | AudioContent | Model3dContent | HtmlContent;

size?: number;
available?: boolean;
width?: number;

@@ -20,2 +21,3 @@ height?: number;

size?: number;
available?: boolean;
width?: number;

@@ -31,2 +33,3 @@ height?: number;

size?: number;
available?: boolean;
};

@@ -40,2 +43,3 @@ export declare type Model3dContent = {

size?: number;
available?: boolean;
};

@@ -49,2 +53,3 @@ export declare type HtmlContent = {

size?: number;
available?: boolean;
};

@@ -51,0 +56,0 @@ export declare enum MetaContentRepresentation {

@@ -7,3 +7,8 @@ export declare enum OrderActivitySource {

HEN = "HEN",
OBJKT = "OBJKT"
OBJKT = "OBJKT",
X2Y2 = "X2Y2",
LOOKSRARE = "LOOKSRARE",
SUDOSWAP = "SUDOSWAP",
TEIA = "TEIA",
VERSUM = "VERSUM"
}

@@ -12,2 +12,7 @@ "use strict";

OrderActivitySource["OBJKT"] = "OBJKT";
OrderActivitySource["X2Y2"] = "X2Y2";
OrderActivitySource["LOOKSRARE"] = "LOOKSRARE";
OrderActivitySource["SUDOSWAP"] = "SUDOSWAP";
OrderActivitySource["TEIA"] = "TEIA";
OrderActivitySource["VERSUM"] = "VERSUM";
})(OrderActivitySource = exports.OrderActivitySource || (exports.OrderActivitySource = {}));

@@ -7,4 +7,6 @@ import { BigNumber } from "@rarible/types";

import { Payout } from "./Payout";
import { SudoSwapCurveType } from "./SudoSwapCurveType";
import { SudoSwapPoolType } from "./SudoSwapPoolType";
import { UnionAddress } from "@rarible/types";
export declare type OrderData = EthOrderDataLegacy | EthOrderDataRaribleV2DataV1 | EthOrderDataRaribleV2DataV3Sell | EthOrderDataRaribleV2DataV3Buy | EthOrderOpenSeaV1DataV1 | EthOrderSeaportDataV1 | EthOrderCryptoPunksData | TezosOrderDataRaribleV2DataV1 | TezosOrderDataRaribleV2DataV2 | FlowOrderDataV1 | SolanaAuctionHouseDataV1 | ImmutablexOrderDataV1;
export declare type OrderData = EthOrderDataLegacy | EthOrderDataRaribleV2DataV1 | EthOrderDataRaribleV2DataV3Sell | EthOrderDataRaribleV2DataV3Buy | EthOrderOpenSeaV1DataV1 | EthOrderSeaportDataV1 | EthOrderCryptoPunksData | EthX2Y2OrderDataV1 | EthLooksRareOrderDataV1 | EthSudoSwapAmmDataV1 | TezosOrderDataRaribleV2DataV1 | TezosOrderDataRaribleV2DataV2 | FlowOrderDataV1 | SolanaAuctionHouseDataV1 | ImmutablexOrderDataV1;
export declare type EthOrderDataLegacy = {

@@ -84,2 +86,28 @@ "@type": "ETH_RARIBLE_V1";

};
export declare type EthX2Y2OrderDataV1 = {
"@type": "ETH_X2Y2_ORDER_DATA_V1";
itemHash: string;
isCollectionOffer: boolean;
isBundle: boolean;
side: number;
orderId: BigNumber;
};
export declare type EthLooksRareOrderDataV1 = {
"@type": "ETH_LOOKSRARE_ORDER_DATA_V1";
minPercentageToAsk: number;
strategy: UnionAddress;
nonce: number;
params?: string;
};
export declare type EthSudoSwapAmmDataV1 = {
"@type": "ETH_SUDOSWAP_AMM_DATA_V1";
poolAddress: UnionAddress;
bondingCurve: UnionAddress;
curveType: SudoSwapCurveType;
assetRecipient: UnionAddress;
poolType: SudoSwapPoolType;
delta: BigNumber;
fee: BigNumber;
feeDecimal: number;
};
export declare type TezosOrderDataRaribleV2DataV1 = {

@@ -86,0 +114,0 @@ "@type": "TEZOS_RARIBLE_V2";

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

import { UnionAddress } from "@rarible/types";
export declare type PendingOrder = PendingOrderCancel | PendingOrderMatch | OnChainOrder;
export declare type PendingOrder = PendingOrderCancel | PendingOrderMatch | OnChainOrder | OnChainAmmOrder;
export declare type PendingOrderCancel = {

@@ -44,1 +44,9 @@ "@type": "CANCEL";

};
export declare type OnChainAmmOrder = {
"@type": "ON_CHAIN_AMM_ORDER";
id: OrderId;
make?: Asset;
take?: Asset;
date: string;
maker?: UnionAddress;
};

@@ -8,3 +8,6 @@ export declare enum Platform {

OBJKT = "OBJKT",
OTHER = "OTHER"
OTHER = "OTHER",
X2Y2 = "X2Y2",
LOOKSRARE = "LOOKSRARE",
SUDOSWAP = "SUDOSWAP"
}

@@ -13,2 +13,5 @@ "use strict";

Platform["OTHER"] = "OTHER";
Platform["X2Y2"] = "X2Y2";
Platform["LOOKSRARE"] = "LOOKSRARE";
Platform["SUDOSWAP"] = "SUDOSWAP";
})(Platform = exports.Platform || (exports.Platform = {}));
{
"name": "@rarible/api-client",
"version": "0.0.13-beta11",
"version": "0.0.13-beta12",
"keywords": [

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

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