@rabby-wallet/rabby-api 0.9.23-beta.5 → 0.9.23-beta.7

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.
package/dist/index.js CHANGED
@@ -1474,7 +1474,7 @@ export class OpenApiService {
1474
1474
  return data;
1475
1475
  });
1476
1476
  this.getCopyTradingPnlList = (params) => __awaiter(this, void 0, void 0, function* () {
1477
- const { data } = yield this.request.get('/v1/copytrading/pnl/list', {
1477
+ const { data } = yield this.request.get('/v1/copytrading/smart_money/pnl/list', {
1478
1478
  params,
1479
1479
  });
1480
1480
  return data;
package/dist/types.d.ts CHANGED
@@ -106,6 +106,7 @@ export interface CopyTradeRecentBuyListResponse {
106
106
  }
107
107
  export interface CopyTradePnlItem extends TokenItem {
108
108
  profit_usd_value: number;
109
+ protocol_id?: string;
109
110
  }
110
111
  export interface CopyTradePnlListResponse {
111
112
  pnl_list: CopyTradePnlItem[];
@@ -1252,6 +1253,7 @@ export interface SupportedChain {
1252
1253
  is_disabled: boolean;
1253
1254
  explorer_host: string;
1254
1255
  block_interval: number;
1256
+ severity?: number;
1255
1257
  }
1256
1258
  export interface ChainListItem {
1257
1259
  chain_id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-api",
3
- "version": "0.9.23-beta.5",
3
+ "version": "0.9.23-beta.7",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [