Socket
Socket
Sign inDemoInstall

@rarible/ethereum-api-client

Package Overview
Dependencies
2
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.23-beta1 to 0.1.23-beta2

4

build/apis/OrderControllerApi.d.ts

@@ -54,3 +54,3 @@ /**

export interface GetOrderBidsByMakerAndByStatusRequest {
maker: string;
maker: Array<string>;
origin?: string;

@@ -124,3 +124,3 @@ platform?: Platform;

export interface GetSellOrdersByMakerAndByStatusRequest {
maker: string;
maker: Array<string>;
origin?: string;

@@ -127,0 +127,0 @@ platform?: Platform;

@@ -13,3 +13,4 @@ import { Address } from "@rarible/types";

OPEN_SEA = "OPEN_SEA",
CRYPTO_PUNKS = "CRYPTO_PUNKS"
CRYPTO_PUNKS = "CRYPTO_PUNKS",
X2Y2 = "X2Y2"
}

@@ -16,0 +17,0 @@ export declare type OrderActivity = OrderActivityMatch | OrderActivityBid | OrderActivityList | OrderActivityCancelBid | OrderActivityCancelList;

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

OrderActivitySource["CRYPTO_PUNKS"] = "CRYPTO_PUNKS";
OrderActivitySource["X2Y2"] = "X2Y2";
})(OrderActivitySource = exports.OrderActivitySource || (exports.OrderActivitySource = {}));

@@ -11,0 +12,0 @@ var OrderActivityMatchType;

@@ -14,2 +14,3 @@ import { Address } from "@rarible/types";

meta?: NftCollectionMeta;
isRaribleContract?: boolean;
};

@@ -16,0 +17,0 @@ export declare enum NftCollectionType {

@@ -18,2 +18,3 @@ import { Address } from "@rarible/types";

deleted?: boolean;
isRaribleContract?: boolean;
};

@@ -13,4 +13,5 @@ import { Address } from "@rarible/types";

import { OrderStatus } from "./OrderStatus";
import { OrderX2Y2Data } from "./OrderData";
import { Word } from "@rarible/types";
export declare type Order = LegacyOrder | RaribleV2Order | OpenSeaV1Order | SeaportV1Order | CryptoPunkOrder;
export declare type Order = LegacyOrder | RaribleV2Order | OpenSeaV1Order | SeaportV1Order | CryptoPunkOrder | X2Y2Order;
export declare type LegacyOrder = {

@@ -161,1 +162,30 @@ type: "RARIBLE_V1";

};
export declare type X2Y2Order = {
type: "X2Y2";
maker: Address;
taker?: Address;
make: Asset;
take: Asset;
fill: BigNumber;
fillValue?: BigNumber;
start?: number;
end?: number;
makeStock: BigNumber;
makeStockValue?: BigNumber;
cancelled: boolean;
salt: Word;
signature?: Binary;
createdAt: string;
lastUpdateAt: string;
dbUpdatedAt?: string;
pending?: Array<OrderExchangeHistory>;
hash: Word;
makeBalance?: BigNumber;
makePrice?: BigNumber;
takePrice?: BigNumber;
makePriceUsd?: BigNumber;
takePriceUsd?: BigNumber;
priceHistory?: Array<OrderPriceHistoryRecord>;
status?: OrderStatus;
data: OrderX2Y2Data;
};

@@ -9,3 +9,3 @@ import { Address } from "@rarible/types";

import { Word } from "@rarible/types";
export declare type OrderData = OrderRaribleV2Data | OrderDataLegacy | OrderOpenSeaV1DataV1 | OrderSeaportDataV1 | OrderCryptoPunksData;
export declare type OrderData = OrderRaribleV2Data | OrderDataLegacy | OrderOpenSeaV1DataV1 | OrderSeaportDataV1 | OrderCryptoPunksData | OrderX2Y2Data;
export declare type OrderRaribleV2Data = OrderRaribleV2DataV1 | OrderRaribleV2DataV2 | OrderRaribleV2DataV3Sell | OrderRaribleV2DataV3Buy;

@@ -92,1 +92,9 @@ export declare type OrderRaribleV2DataV1 = {

};
export declare type OrderX2Y2Data = {
dataType: "X2Y2_DATA";
itemHash?: Word;
isCollectionOffer?: boolean;
isBundle?: boolean;
side?: number;
orderId?: BigNumber;
};
export declare enum Platform {
RARIBLE = "RARIBLE",
OPEN_SEA = "OPEN_SEA",
CRYPTO_PUNKS = "CRYPTO_PUNKS"
CRYPTO_PUNKS = "CRYPTO_PUNKS",
X2Y2 = "X2Y2"
}

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

Platform["CRYPTO_PUNKS"] = "CRYPTO_PUNKS";
Platform["X2Y2"] = "X2Y2";
})(Platform = exports.Platform || (exports.Platform = {}));
{
"name": "@rarible/ethereum-api-client",
"version": "0.1.23-beta1",
"version": "0.1.23-beta2",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc