@nightlylabs/dex-sdk 0.0.82 → 0.0.83
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.d.cts +21 -10
- package/dist/index.d.ts +21 -10
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -331,13 +331,18 @@ interface GetUserAggregatedStatsRequest {
|
|
|
331
331
|
}
|
|
332
332
|
interface UserAggregatedStats {
|
|
333
333
|
userId: string;
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
spotVolumeMaker: string;
|
|
335
|
+
spotVolumeTaker: string;
|
|
336
|
+
perpVolumeMaker: string;
|
|
337
|
+
perpVolumeTaker: string;
|
|
336
338
|
liquidationVolume: string;
|
|
337
339
|
depositValue: string;
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
340
|
+
paidFeeMaker: string;
|
|
341
|
+
paidFeeTaker: string;
|
|
342
|
+
spotTradesCountMaker: string;
|
|
343
|
+
spotTradesCountTaker: string;
|
|
344
|
+
perpTradesCountMaker: string;
|
|
345
|
+
perpTradesCountTaker: string;
|
|
341
346
|
}
|
|
342
347
|
interface GetUserAggregatedStatsResponse {
|
|
343
348
|
userAggregatedStats: UserAggregatedStats;
|
|
@@ -370,6 +375,7 @@ interface User {
|
|
|
370
375
|
alias: string;
|
|
371
376
|
autolendEnabled: boolean;
|
|
372
377
|
ownerAddress: string;
|
|
378
|
+
userSignerAddress: string;
|
|
373
379
|
tokenBalances: Record<string, string>;
|
|
374
380
|
positions: Record<string, PerpPosition>;
|
|
375
381
|
perpOrders: Record<string, Record<string, Order>>;
|
|
@@ -459,11 +465,16 @@ interface GetUserTradeStatsHistoryRequest {
|
|
|
459
465
|
}
|
|
460
466
|
interface HistoricalTradeStats {
|
|
461
467
|
userId: string;
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
468
|
+
tradeVolumeSpotMaker: string;
|
|
469
|
+
tradeVolumeSpotTaker: string;
|
|
470
|
+
tradeVolumePerpMaker: string;
|
|
471
|
+
tradeVolumePerpTaker: string;
|
|
472
|
+
tradeCountSpotMaker: string;
|
|
473
|
+
tradeCountSpotTaker: string;
|
|
474
|
+
tradeCountPerpMaker: string;
|
|
475
|
+
tradeCountPerpTaker: string;
|
|
476
|
+
paidFeeMaker: string;
|
|
477
|
+
paidFeeTaker: string;
|
|
467
478
|
timestampOpen: string;
|
|
468
479
|
timestampClose: string;
|
|
469
480
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -331,13 +331,18 @@ interface GetUserAggregatedStatsRequest {
|
|
|
331
331
|
}
|
|
332
332
|
interface UserAggregatedStats {
|
|
333
333
|
userId: string;
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
spotVolumeMaker: string;
|
|
335
|
+
spotVolumeTaker: string;
|
|
336
|
+
perpVolumeMaker: string;
|
|
337
|
+
perpVolumeTaker: string;
|
|
336
338
|
liquidationVolume: string;
|
|
337
339
|
depositValue: string;
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
340
|
+
paidFeeMaker: string;
|
|
341
|
+
paidFeeTaker: string;
|
|
342
|
+
spotTradesCountMaker: string;
|
|
343
|
+
spotTradesCountTaker: string;
|
|
344
|
+
perpTradesCountMaker: string;
|
|
345
|
+
perpTradesCountTaker: string;
|
|
341
346
|
}
|
|
342
347
|
interface GetUserAggregatedStatsResponse {
|
|
343
348
|
userAggregatedStats: UserAggregatedStats;
|
|
@@ -370,6 +375,7 @@ interface User {
|
|
|
370
375
|
alias: string;
|
|
371
376
|
autolendEnabled: boolean;
|
|
372
377
|
ownerAddress: string;
|
|
378
|
+
userSignerAddress: string;
|
|
373
379
|
tokenBalances: Record<string, string>;
|
|
374
380
|
positions: Record<string, PerpPosition>;
|
|
375
381
|
perpOrders: Record<string, Record<string, Order>>;
|
|
@@ -459,11 +465,16 @@ interface GetUserTradeStatsHistoryRequest {
|
|
|
459
465
|
}
|
|
460
466
|
interface HistoricalTradeStats {
|
|
461
467
|
userId: string;
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
468
|
+
tradeVolumeSpotMaker: string;
|
|
469
|
+
tradeVolumeSpotTaker: string;
|
|
470
|
+
tradeVolumePerpMaker: string;
|
|
471
|
+
tradeVolumePerpTaker: string;
|
|
472
|
+
tradeCountSpotMaker: string;
|
|
473
|
+
tradeCountSpotTaker: string;
|
|
474
|
+
tradeCountPerpMaker: string;
|
|
475
|
+
tradeCountPerpTaker: string;
|
|
476
|
+
paidFeeMaker: string;
|
|
477
|
+
paidFeeTaker: string;
|
|
467
478
|
timestampOpen: string;
|
|
468
479
|
timestampClose: string;
|
|
469
480
|
}
|