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.24-beta1 to 0.1.25-beta1

build/models/EventTimeMark.d.ts

1

build/apis/NftActivityControllerApi.d.ts

@@ -24,2 +24,3 @@ /**

export interface GetNftActivitiesSyncRequest {
reverted?: boolean;
continuation?: string;

@@ -26,0 +27,0 @@ size?: number;

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

queryParameters = {};
if (requestParameters.reverted !== undefined) {
queryParameters['reverted'] = requestParameters.reverted;
}
if (requestParameters.continuation !== undefined) {

@@ -257,0 +260,0 @@ queryParameters['continuation'] = requestParameters.continuation;

4

build/apis/NftItemControllerApi.d.ts

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

import * as runtime from '../runtime';
import { BurnLazyNftForm, EthereumApiErrorBadRequest, EthereumApiErrorEntityNotFound, EthereumApiErrorServerError, EthereumApiMetaError, LazyNft, NftItem, NftItemIds, NftItemMeta, NftItemRoyaltyList, NftItems } from '../models';
import { BurnLazyNftForm, EthereumApiErrorBadRequest, EthereumApiErrorEntityNotFound, EthereumApiErrorServerError, LazyNft, NftItem, NftItemIds, NftItemMeta, NftItemRoyaltyList, NftItems } from '../models';
export interface DeleteLazyMintNftAssetRequest {

@@ -213,3 +213,3 @@ itemId: string;

status: 500;
value: EthereumApiMetaError;
value: EthereumApiErrorServerError;
};

@@ -216,0 +216,0 @@ export declare type GetNftItemMetaByIdResponse = GetNftItemMetaById200 | GetNftItemMetaById400 | GetNftItemMetaById404 | GetNftItemMetaById500;

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

import * as runtime from '../runtime';
import { ActivitiesByIdRequest, ActivitySort, EthereumApiErrorBadRequest, EthereumApiErrorServerError, OrderActivities, OrderActivityFilter, SyncSort } from '../models';
import { ActivitiesByIdRequest, ActivitySort, EthereumApiErrorBadRequest, EthereumApiErrorServerError, Ids, OrderActivities, OrderActivityFilter, SyncSort } from '../models';
export interface GetOrderActivitiesRequest {

@@ -79,3 +79,3 @@ orderActivityFilter: OrderActivityFilter;

*/
getOrderSellRightActivities(requestParameters: GetOrderSellRightActivitiesRequest): Promise<OrderActivities>;
getOrderSellRightActivities(requestParameters: GetOrderSellRightActivitiesRequest): Promise<Ids>;
}

@@ -136,3 +136,3 @@ export declare type GetOrderActivities200 = {

status: 200;
value: OrderActivities;
value: Ids;
};

@@ -139,0 +139,0 @@ export declare type GetOrderSellRightActivities400 = {

@@ -38,2 +38,5 @@ /**

}
export interface GetByIdsRequest {
orderIds: OrderIds;
}
export interface GetCurrenciesByBidOrdersOfItemRequest {

@@ -212,2 +215,10 @@ contract: string;

/**
* Returns all orders by order hash
*/
getByIdsRaw(requestParameters: GetByIdsRequest): Promise<GetByIdsResponse>;
/**
* Returns all orders by order hash
*/
getByIds(requestParameters: GetByIdsRequest): Promise<OrdersPagination>;
/**
* Returns currencies made as payment in all bid orders of the item

@@ -438,2 +449,15 @@ */

export declare type GetAmmOrdersByItemResponse = GetAmmOrdersByItem200 | GetAmmOrdersByItem400 | GetAmmOrdersByItem500;
export declare type GetByIds200 = {
status: 200;
value: OrdersPagination;
};
export declare type GetByIds400 = {
status: 400;
value: EthereumApiErrorBadRequest;
};
export declare type GetByIds500 = {
status: 500;
value: EthereumApiErrorServerError;
};
export declare type GetByIdsResponse = GetByIds200 | GetByIds400 | GetByIds500;
export declare type GetCurrenciesByBidOrdersOfItem200 = {

@@ -440,0 +464,0 @@ status: 200;

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

LOOKSRARE = "LOOKSRARE",
SUDOSWAP = "SUDOSWAP"
SUDOSWAP = "SUDOSWAP",
BLUR = "BLUR"
}

@@ -118,2 +119,3 @@ export declare type OrderActivity = OrderActivityMatch | OrderActivityBid | OrderActivityList | OrderActivityCancelBid | OrderActivityCancelList;

reverted?: boolean;
mintPrice?: BigNumber;
};

@@ -120,0 +122,0 @@ export declare type Burn = {

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

OrderActivitySource["SUDOSWAP"] = "SUDOSWAP";
OrderActivitySource["BLUR"] = "BLUR";
})(OrderActivitySource = exports.OrderActivitySource || (exports.OrderActivitySource = {}));

@@ -14,0 +15,0 @@ var OrderActivityMatchType;

import { Erc20Balance } from "./Erc20Balance";
import { EventTimeMarks } from "./EventTimeMarks";
export declare type Erc20BalanceEvent = Erc20BalanceUpdateEvent;

@@ -9,3 +10,4 @@ export declare type Erc20BalanceUpdateEvent = {

lastUpdatedAt?: string;
eventTimeMarks?: EventTimeMarks;
balance: Erc20Balance;
};

@@ -28,2 +28,3 @@ export * from "./NftSignature";

export * from "./LazyNft";
export * from "./Ids";
export * from "./OrderExchangeHistory";

@@ -52,2 +53,3 @@ export * from "./EthBalance";

export * from "./NftItem";
export * from "./EventTimeMarks";
export * from "./AuctionBidData";

@@ -59,3 +61,2 @@ export * from "./NftOrdersPriceUpdateEvent";

export * from "./ActivityFilterByCollectionType";
export * from "./NftMediaSize";
export * from "./Platform";

@@ -67,2 +68,3 @@ export * from "./OrderSide";

export * from "./OrderSort";
export * from "./EventTimeMark";
export * from "./AggregationData";

@@ -69,0 +71,0 @@ export * from "./AuctionIds";

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

__exportStar(require("./LazyNft"), exports);
__exportStar(require("./Ids"), exports);
__exportStar(require("./OrderExchangeHistory"), exports);

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

__exportStar(require("./NftItem"), exports);
__exportStar(require("./EventTimeMarks"), exports);
__exportStar(require("./AuctionBidData"), exports);

@@ -71,3 +73,2 @@ __exportStar(require("./NftOrdersPriceUpdateEvent"), exports);

__exportStar(require("./ActivityFilterByCollectionType"), exports);
__exportStar(require("./NftMediaSize"), exports);
__exportStar(require("./Platform"), exports);

@@ -79,2 +80,3 @@ __exportStar(require("./OrderSide"), exports);

__exportStar(require("./OrderSort"), exports);
__exportStar(require("./EventTimeMark"), exports);
__exportStar(require("./AggregationData"), exports);

@@ -81,0 +83,0 @@ __exportStar(require("./AuctionIds"), exports);

@@ -57,3 +57,4 @@ export declare type MetaContent = ImageContent | VideoContent | AudioContent | Model3dContent | HtmlContent | UnknownContent;

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

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

MetaContentRepresentation["ORIGINAL"] = "ORIGINAL";
MetaContentRepresentation["PORTRAIT"] = "PORTRAIT";
})(MetaContentRepresentation = exports.MetaContentRepresentation || (exports.MetaContentRepresentation = {}));
import { Address } from "@rarible/types";
import { EventTimeMarks } from "./EventTimeMarks";
import { NftCollection } from "./NftCollection";

@@ -8,3 +9,4 @@ export declare type NftCollectionEvent = NftCollectionUpdateEvent;

id: Address;
eventTimeMarks?: EventTimeMarks;
collection: NftCollection;
};

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

isRaribleContract?: boolean;
isSuspiciousOnOS?: boolean;
};

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

import { EventTimeMarks } from "./EventTimeMarks";
import { NftDeletedItem } from "./NftDeletedItem";

@@ -8,2 +9,3 @@ import { NftItem } from "./NftItem";

itemId: string;
eventTimeMarks?: EventTimeMarks;
item: NftItem;

@@ -15,3 +17,4 @@ };

itemId: string;
eventTimeMarks?: EventTimeMarks;
item: NftDeletedItem;
};

@@ -16,2 +16,10 @@ import { MetaContent } from "./MetaContent";

originalMetaUri?: string;
status: NftItemMetaStatus;
};
export declare enum NftItemMetaStatus {
UNPARSEABLE_LINK = "UNPARSEABLE_LINK",
UNPARSEABLE_JSON = "UNPARSEABLE_JSON",
TIMEOUT = "TIMEOUT",
ERROR = "ERROR",
OK = "OK"
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NftItemMetaStatus = void 0;
var NftItemMetaStatus;
(function (NftItemMetaStatus) {
NftItemMetaStatus["UNPARSEABLE_LINK"] = "UNPARSEABLE_LINK";
NftItemMetaStatus["UNPARSEABLE_JSON"] = "UNPARSEABLE_JSON";
NftItemMetaStatus["TIMEOUT"] = "TIMEOUT";
NftItemMetaStatus["ERROR"] = "ERROR";
NftItemMetaStatus["OK"] = "OK";
})(NftItemMetaStatus = exports.NftItemMetaStatus || (exports.NftItemMetaStatus = {}));

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

import { EventTimeMarks } from "./EventTimeMarks";
import { NftDeletedOwnership } from "./NftDeletedOwnership";

@@ -8,2 +9,3 @@ import { NftOwnership } from "./NftOwnership";

ownershipId: string;
eventTimeMarks?: EventTimeMarks;
ownership: NftOwnership;

@@ -15,4 +17,5 @@ };

ownershipId: string;
eventTimeMarks?: EventTimeMarks;
ownership?: NftDeletedOwnership;
deletedOwnership?: NftOwnership;
};

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

pending?: Array<OrderExchangeHistory>;
id?: string;
hash: Word;

@@ -69,2 +70,3 @@ makeBalance?: BigNumber;

pending?: Array<OrderExchangeHistory>;
id?: string;
hash: Word;

@@ -100,2 +102,3 @@ makeBalance?: BigNumber;

pending?: Array<OrderExchangeHistory>;
id?: string;
hash: Word;

@@ -131,2 +134,3 @@ makeBalance?: BigNumber;

pending?: Array<OrderExchangeHistory>;
id?: string;
hash: Word;

@@ -162,2 +166,3 @@ makeBalance?: BigNumber;

pending?: Array<OrderExchangeHistory>;
id?: string;
hash: Word;

@@ -193,2 +198,3 @@ makeBalance?: BigNumber;

pending?: Array<OrderExchangeHistory>;
id?: string;
hash: Word;

@@ -224,2 +230,3 @@ makeBalance?: BigNumber;

pending?: Array<OrderExchangeHistory>;
id?: string;
hash: Word;

@@ -255,2 +262,3 @@ makeBalance?: BigNumber;

pending?: Array<OrderExchangeHistory>;
id?: string;
hash: Word;

@@ -257,0 +265,0 @@ makeBalance?: BigNumber;

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

conduitKey: Word;
counter: number;
counter?: number;
nonce?: BigNumber;
};

@@ -91,0 +92,0 @@ export declare type OrderCryptoPunksData = {

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

import { EventTimeMarks } from "./EventTimeMarks";
import { Order } from "./Order";

@@ -7,2 +8,3 @@ export declare type OrderEvent = OrderUpdateEvent | AmmOrderNftUpdateEvent;

orderId: string;
eventTimeMarks?: EventTimeMarks;
order: Order;

@@ -14,4 +16,5 @@ };

orderId: string;
eventTimeMarks?: EventTimeMarks;
inNft: Array<string>;
outNft: Array<string>;
};

@@ -1,4 +0,3 @@

import { Word } from "@rarible/types";
export declare type OrderIds = {
ids: Array<Word>;
ids: Array<string>;
};

@@ -7,3 +7,4 @@ export declare enum Platform {

LOOKSRARE = "LOOKSRARE",
SUDOSWAP = "SUDOSWAP"
SUDOSWAP = "SUDOSWAP",
BLUR = "BLUR"
}

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

Platform["SUDOSWAP"] = "SUDOSWAP";
Platform["BLUR"] = "BLUR";
})(Platform = exports.Platform || (exports.Platform = {}));

@@ -79,3 +79,3 @@ "use strict";

exports.TextApiResponse = exports.BlobApiResponse = exports.VoidApiResponse = exports.JSONApiResponse = exports.canConsumeForm = exports.mapValues = exports.querystring = exports.exists = exports.Configuration = exports.COLLECTION_FORMATS = exports.RequiredError = exports.BaseAPI = exports.BASE_PATH = void 0;
exports.BASE_PATH = "http://localhost".replace(/\/+$/, "");
exports.BASE_PATH = "https://ethereum-api.rarible.org".replace(/\/+$/, "");
var isBlob = function (value) { return typeof Blob !== 'undefined' && value instanceof Blob; };

@@ -82,0 +82,0 @@ /**

{
"name": "@rarible/ethereum-api-client",
"version": "0.1.24-beta1",
"version": "0.1.25-beta1",
"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