@rabby-wallet/rabby-api 0.9.23-beta.6 → 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[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-api",
3
- "version": "0.9.23-beta.6",
3
+ "version": "0.9.23-beta.7",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [