@grvt/client 1.4.3 → 1.4.5

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.
@@ -723,6 +723,7 @@ export interface IApiTradeResponse {
723
723
  }
724
724
  export interface IApiTradingPerformanceTrend {
725
725
  start_interval?: string;
726
+ end_interval?: string;
726
727
  trading_volume?: string;
727
728
  realized_pnl?: string;
728
729
  }
@@ -5,11 +5,13 @@ exports.API_TRADING_PERFORMANCE_TREND_MAP = void 0;
5
5
  exports.API_TRADING_PERFORMANCE_TREND_MAP = Object.freeze({
6
6
  FULL_TO_LITE: {
7
7
  start_interval: 'si',
8
+ end_interval: 'ei',
8
9
  trading_volume: 'tv',
9
10
  realized_pnl: 'rp'
10
11
  },
11
12
  LITE_TO_FULL: {
12
13
  si: 'start_interval',
14
+ ei: 'end_interval',
13
15
  tv: 'trading_volume',
14
16
  rp: 'realized_pnl'
15
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grvt/client",
3
- "version": "1.4.3",
3
+ "version": "1.4.5",
4
4
  "description": "Node.js & JavaScript client for GRVT REST APIs & WebSockets",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,8 +18,8 @@
18
18
  "engines": {
19
19
  "node": ">=20"
20
20
  },
21
- "main": "dist/index.js",
22
- "types": "dist/index.d.ts",
21
+ "main": "index.js",
22
+ "types": "index.d.ts",
23
23
  "scripts": {
24
24
  "start": "tsc --watch",
25
25
  "prebuild": "rimraf dist",