zklighter-perps 1.0.99 → 1.0.100

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.
@@ -19,12 +19,6 @@ import {
19
19
  AccountMarketStatsFromJSONTyped,
20
20
  AccountMarketStatsToJSON,
21
21
  } from './AccountMarketStats';
22
- import type { AccountTradeStats } from './AccountTradeStats';
23
- import {
24
- AccountTradeStatsFromJSON,
25
- AccountTradeStatsFromJSONTyped,
26
- AccountTradeStatsToJSON,
27
- } from './AccountTradeStats';
28
22
  import type { AccountPosition } from './AccountPosition';
29
23
  import {
30
24
  AccountPositionFromJSON,
@@ -146,12 +140,6 @@ export interface DetailedAccount {
146
140
  * @memberof DetailedAccount
147
141
  */
148
142
  positions: Array<AccountPosition>;
149
- /**
150
- *
151
- * @type {Array<AccountTradeStats>}
152
- * @memberof DetailedAccount
153
- */
154
- trade_stats: Array<AccountTradeStats>;
155
143
  /**
156
144
  *
157
145
  * @type {string}
@@ -197,7 +185,6 @@ export function instanceOfDetailedAccount(value: object): value is DetailedAccou
197
185
  if (!('referral_points_percentage' in value) || value['referral_points_percentage'] === undefined) return false;
198
186
  if (!('max_referral_usage_limit' in value) || value['max_referral_usage_limit'] === undefined) return false;
199
187
  if (!('positions' in value) || value['positions'] === undefined) return false;
200
- if (!('trade_stats' in value) || value['trade_stats'] === undefined) return false;
201
188
  if (!('total_asset_value' in value) || value['total_asset_value'] === undefined) return false;
202
189
  if (!('market_stats' in value) || value['market_stats'] === undefined) return false;
203
190
  if (!('pool_info' in value) || value['pool_info'] === undefined) return false;
@@ -231,7 +218,6 @@ export function DetailedAccountFromJSONTyped(json: any, ignoreDiscriminator: boo
231
218
  'referral_points_percentage': json['referral_points_percentage'],
232
219
  'max_referral_usage_limit': json['max_referral_usage_limit'],
233
220
  'positions': ((json['positions'] as Array<any>).map(AccountPositionFromJSON)),
234
- 'trade_stats': ((json['trade_stats'] as Array<any>).map(AccountTradeStatsFromJSON)),
235
221
  'total_asset_value': json['total_asset_value'],
236
222
  'market_stats': ((json['market_stats'] as Array<any>).map(AccountMarketStatsFromJSON)),
237
223
  'pool_info': PublicPoolInfoFromJSON(json['pool_info']),
@@ -261,7 +247,6 @@ export function DetailedAccountToJSON(value?: DetailedAccount | null): any {
261
247
  'referral_points_percentage': value['referral_points_percentage'],
262
248
  'max_referral_usage_limit': value['max_referral_usage_limit'],
263
249
  'positions': ((value['positions'] as Array<any>).map(AccountPositionToJSON)),
264
- 'trade_stats': ((value['trade_stats'] as Array<any>).map(AccountTradeStatsToJSON)),
265
250
  'total_asset_value': value['total_asset_value'],
266
251
  'market_stats': ((value['market_stats'] as Array<any>).map(AccountMarketStatsToJSON)),
267
252
  'pool_info': PublicPoolInfoToJSON(value['pool_info']),
package/openapi.json CHANGED
@@ -3387,12 +3387,6 @@
3387
3387
  "$ref": "#/definitions/AccountPosition"
3388
3388
  }
3389
3389
  },
3390
- "trade_stats": {
3391
- "type": "array",
3392
- "items": {
3393
- "$ref": "#/definitions/AccountTradeStats"
3394
- }
3395
- },
3396
3390
  "total_asset_value": {
3397
3391
  "type": "string",
3398
3392
  "example": "19995"
@@ -3430,7 +3424,6 @@
3430
3424
  "referral_points_percentage",
3431
3425
  "max_referral_usage_limit",
3432
3426
  "positions",
3433
- "trade_stats",
3434
3427
  "total_asset_value",
3435
3428
  "market_stats",
3436
3429
  "pool_info",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zklighter-perps",
3
- "version": "1.0.99",
3
+ "version": "1.0.100",
4
4
  "description": "zkLighter Perps SDK",
5
5
  "main": "index.ts",
6
6
  "directories": {