@evedex/exchange-api 1.0.59 → 1.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -80,6 +80,7 @@ export declare class ExchangeRestGateway {
80
80
  getPower(query: PowerQuery): Promise<Power>;
81
81
  getTransfers(query: TransferListQuery): Promise<TransferList>;
82
82
  getPositions(): Promise<PositionList>;
83
+ getOrder(orderId: string): Promise<Order>;
83
84
  getOrders(query: OrderListQuery): Promise<OrderList>;
84
85
  getOpenedOrders(): Promise<OpenedOrdersList>;
85
86
  getTpSl(query: TpSlListQuery): Promise<TpSlList>;
@@ -114,6 +114,9 @@ class ExchangeRestGateway {
114
114
  getPositions() {
115
115
  return this.authGet("/api/position");
116
116
  }
117
+ getOrder(orderId) {
118
+ return this.authGet(`/api/order/${orderId}`);
119
+ }
117
120
  getOrders(query) {
118
121
  var _a;
119
122
  return this.authGet(`/api/order`, (0, utils_1.serializeQueryParams)(Object.assign(Object.assign({}, query), { limit: query.limit, offset: (_a = query.offset) !== null && _a !== void 0 ? _a : 0 })));
@@ -271,6 +271,9 @@ export interface Instrument {
271
271
  fatFingerPriceProtection: number;
272
272
  markPriceLimit: number;
273
273
  isPopular: boolean;
274
+ priceIncrement: number;
275
+ minPrice: number;
276
+ maxPrice: number;
274
277
  }
275
278
  export type InstrumentList = Instrument[];
276
279
  export interface InstrumentMetrics extends Instrument {
@@ -80,6 +80,7 @@ export declare class ExchangeRestGateway {
80
80
  getPower(query: PowerQuery): Promise<Power>;
81
81
  getTransfers(query: TransferListQuery): Promise<TransferList>;
82
82
  getPositions(): Promise<PositionList>;
83
+ getOrder(orderId: string): Promise<Order>;
83
84
  getOrders(query: OrderListQuery): Promise<OrderList>;
84
85
  getOpenedOrders(): Promise<OpenedOrdersList>;
85
86
  getTpSl(query: TpSlListQuery): Promise<TpSlList>;
@@ -111,6 +111,9 @@ export class ExchangeRestGateway {
111
111
  getPositions() {
112
112
  return this.authGet("/api/position");
113
113
  }
114
+ getOrder(orderId) {
115
+ return this.authGet(`/api/order/${orderId}`);
116
+ }
114
117
  getOrders(query) {
115
118
  return this.authGet(`/api/order`, serializeQueryParams({
116
119
  ...query,
@@ -271,6 +271,9 @@ export interface Instrument {
271
271
  fatFingerPriceProtection: number;
272
272
  markPriceLimit: number;
273
273
  isPopular: boolean;
274
+ priceIncrement: number;
275
+ minPrice: number;
276
+ maxPrice: number;
274
277
  }
275
278
  export type InstrumentList = Instrument[];
276
279
  export interface InstrumentMetrics extends Instrument {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evedex/exchange-api",
3
- "version": "1.0.59",
3
+ "version": "1.0.61",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/mjs/index.js",