@crypticdot/defituna-api 1.10.13 → 1.10.15
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.mts +47 -48
- package/dist/index.d.ts +47 -48
- package/dist/index.js +9 -6
- package/dist/index.mjs +9 -6
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -57,11 +57,11 @@ declare const Pool$1: z$1.ZodObject<{
|
|
|
57
57
|
stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
58
58
|
tvlUsd: z$1.ZodCoercedNumber<unknown>;
|
|
59
59
|
groups: z$1.ZodObject<{
|
|
60
|
-
"24h": z$1.ZodObject<{
|
|
60
|
+
"24h": z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
61
61
|
volumeUsd: z$1.ZodNumber;
|
|
62
62
|
feesUsd: z$1.ZodNumber;
|
|
63
63
|
priceChange: z$1.ZodNumber;
|
|
64
|
-
}, z$1.core.$strip
|
|
64
|
+
}, z$1.core.$strip>>>;
|
|
65
65
|
}, z$1.core.$strip>;
|
|
66
66
|
}, z$1.core.$strip>>>;
|
|
67
67
|
}, z$1.core.$strip>;
|
|
@@ -134,11 +134,11 @@ declare const Market$1: z.ZodObject<{
|
|
|
134
134
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
135
135
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
136
136
|
groups: z.ZodObject<{
|
|
137
|
-
"24h": z.ZodObject<{
|
|
137
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
138
138
|
volumeUsd: z.ZodNumber;
|
|
139
139
|
feesUsd: z.ZodNumber;
|
|
140
140
|
priceChange: z.ZodNumber;
|
|
141
|
-
}, z.core.$strip
|
|
141
|
+
}, z.core.$strip>>>;
|
|
142
142
|
}, z.core.$strip>;
|
|
143
143
|
}, z.core.$strip>>>;
|
|
144
144
|
}, z.core.$strip>;
|
|
@@ -197,11 +197,11 @@ declare const LimitOrder$1: z.ZodObject<{
|
|
|
197
197
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
198
198
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
199
199
|
groups: z.ZodObject<{
|
|
200
|
-
"24h": z.ZodObject<{
|
|
200
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
201
201
|
volumeUsd: z.ZodNumber;
|
|
202
202
|
feesUsd: z.ZodNumber;
|
|
203
203
|
priceChange: z.ZodNumber;
|
|
204
|
-
}, z.core.$strip
|
|
204
|
+
}, z.core.$strip>>>;
|
|
205
205
|
}, z.core.$strip>;
|
|
206
206
|
}, z.core.$strip>>>;
|
|
207
207
|
}, z.core.$strip>;
|
|
@@ -368,11 +368,11 @@ declare const TunaLpPositionDtoSchema: z$1.ZodObject<{
|
|
|
368
368
|
stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
369
369
|
tvlUsd: z$1.ZodCoercedNumber<unknown>;
|
|
370
370
|
groups: z$1.ZodObject<{
|
|
371
|
-
"24h": z$1.ZodObject<{
|
|
371
|
+
"24h": z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
372
372
|
volumeUsd: z$1.ZodNumber;
|
|
373
373
|
feesUsd: z$1.ZodNumber;
|
|
374
374
|
priceChange: z$1.ZodNumber;
|
|
375
|
-
}, z$1.core.$strip
|
|
375
|
+
}, z$1.core.$strip>>>;
|
|
376
376
|
}, z$1.core.$strip>;
|
|
377
377
|
}, z$1.core.$strip>>>;
|
|
378
378
|
}, z$1.core.$strip>;
|
|
@@ -1074,11 +1074,11 @@ declare const TunaSpotPosition$1: z.ZodObject<{
|
|
|
1074
1074
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1075
1075
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
1076
1076
|
groups: z.ZodObject<{
|
|
1077
|
-
"24h": z.ZodObject<{
|
|
1077
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1078
1078
|
volumeUsd: z.ZodNumber;
|
|
1079
1079
|
feesUsd: z.ZodNumber;
|
|
1080
1080
|
priceChange: z.ZodNumber;
|
|
1081
|
-
}, z.core.$strip
|
|
1081
|
+
}, z.core.$strip>>>;
|
|
1082
1082
|
}, z.core.$strip>;
|
|
1083
1083
|
}, z.core.$strip>>>;
|
|
1084
1084
|
}, z.core.$strip>;
|
|
@@ -1223,11 +1223,11 @@ declare const StateSnapshot$1: z$1.ZodObject<{
|
|
|
1223
1223
|
stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
1224
1224
|
tvlUsd: z$1.ZodCoercedNumber<unknown>;
|
|
1225
1225
|
groups: z$1.ZodObject<{
|
|
1226
|
-
"24h": z$1.ZodObject<{
|
|
1226
|
+
"24h": z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
1227
1227
|
volumeUsd: z$1.ZodNumber;
|
|
1228
1228
|
feesUsd: z$1.ZodNumber;
|
|
1229
1229
|
priceChange: z$1.ZodNumber;
|
|
1230
|
-
}, z$1.core.$strip
|
|
1230
|
+
}, z$1.core.$strip>>>;
|
|
1231
1231
|
}, z$1.core.$strip>;
|
|
1232
1232
|
}, z$1.core.$strip>>>;
|
|
1233
1233
|
}, z$1.core.$strip>;
|
|
@@ -1278,11 +1278,11 @@ declare const StateSnapshot$1: z$1.ZodObject<{
|
|
|
1278
1278
|
stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
1279
1279
|
tvlUsd: z$1.ZodCoercedNumber<unknown>;
|
|
1280
1280
|
groups: z$1.ZodObject<{
|
|
1281
|
-
"24h": z$1.ZodObject<{
|
|
1281
|
+
"24h": z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
1282
1282
|
volumeUsd: z$1.ZodNumber;
|
|
1283
1283
|
feesUsd: z$1.ZodNumber;
|
|
1284
1284
|
priceChange: z$1.ZodNumber;
|
|
1285
|
-
}, z$1.core.$strip
|
|
1285
|
+
}, z$1.core.$strip>>>;
|
|
1286
1286
|
}, z$1.core.$strip>;
|
|
1287
1287
|
}, z$1.core.$strip>>>;
|
|
1288
1288
|
}, z$1.core.$strip>;
|
|
@@ -1384,11 +1384,11 @@ declare const StateSnapshot$1: z$1.ZodObject<{
|
|
|
1384
1384
|
stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
1385
1385
|
tvlUsd: z$1.ZodCoercedNumber<unknown>;
|
|
1386
1386
|
groups: z$1.ZodObject<{
|
|
1387
|
-
"24h": z$1.ZodObject<{
|
|
1387
|
+
"24h": z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
1388
1388
|
volumeUsd: z$1.ZodNumber;
|
|
1389
1389
|
feesUsd: z$1.ZodNumber;
|
|
1390
1390
|
priceChange: z$1.ZodNumber;
|
|
1391
|
-
}, z$1.core.$strip
|
|
1391
|
+
}, z$1.core.$strip>>>;
|
|
1392
1392
|
}, z$1.core.$strip>;
|
|
1393
1393
|
}, z$1.core.$strip>>>;
|
|
1394
1394
|
}, z$1.core.$strip>;
|
|
@@ -1508,11 +1508,11 @@ declare const StateSnapshot$1: z$1.ZodObject<{
|
|
|
1508
1508
|
stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
1509
1509
|
tvlUsd: z$1.ZodCoercedNumber<unknown>;
|
|
1510
1510
|
groups: z$1.ZodObject<{
|
|
1511
|
-
"24h": z$1.ZodObject<{
|
|
1511
|
+
"24h": z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
1512
1512
|
volumeUsd: z$1.ZodNumber;
|
|
1513
1513
|
feesUsd: z$1.ZodNumber;
|
|
1514
1514
|
priceChange: z$1.ZodNumber;
|
|
1515
|
-
}, z$1.core.$strip
|
|
1515
|
+
}, z$1.core.$strip>>>;
|
|
1516
1516
|
}, z$1.core.$strip>;
|
|
1517
1517
|
}, z$1.core.$strip>>>;
|
|
1518
1518
|
}, z$1.core.$strip>;
|
|
@@ -1654,7 +1654,6 @@ declare const StakingPositionHistoryActionType$1: {
|
|
|
1654
1654
|
};
|
|
1655
1655
|
declare const PoolSubscriptionTopic: {
|
|
1656
1656
|
readonly ORDER_BOOK: "order_book";
|
|
1657
|
-
readonly POOL: "pool";
|
|
1658
1657
|
readonly POOL_SWAPS: "pool_swaps";
|
|
1659
1658
|
};
|
|
1660
1659
|
declare const WalletSubscriptionTopic: {
|
|
@@ -1725,7 +1724,6 @@ declare const StakingPositionHistoryActionTypeSchema: z.ZodEnum<{
|
|
|
1725
1724
|
compound_rewards: "compound_rewards";
|
|
1726
1725
|
}>;
|
|
1727
1726
|
declare const PoolSubscriptionTopicSchema: z.ZodEnum<{
|
|
1728
|
-
pool: "pool";
|
|
1729
1727
|
order_book: "order_book";
|
|
1730
1728
|
pool_swaps: "pool_swaps";
|
|
1731
1729
|
}>;
|
|
@@ -1854,11 +1852,11 @@ declare const TradeHistoryEntry$1: z.ZodObject<{
|
|
|
1854
1852
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1855
1853
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
1856
1854
|
groups: z.ZodObject<{
|
|
1857
|
-
"24h": z.ZodObject<{
|
|
1855
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1858
1856
|
volumeUsd: z.ZodNumber;
|
|
1859
1857
|
feesUsd: z.ZodNumber;
|
|
1860
1858
|
priceChange: z.ZodNumber;
|
|
1861
|
-
}, z.core.$strip
|
|
1859
|
+
}, z.core.$strip>>>;
|
|
1862
1860
|
}, z.core.$strip>;
|
|
1863
1861
|
}, z.core.$strip>>>;
|
|
1864
1862
|
}, z.core.$strip>;
|
|
@@ -1938,11 +1936,11 @@ declare const OrderHistoryEntry$1: z.ZodObject<{
|
|
|
1938
1936
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1939
1937
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
1940
1938
|
groups: z.ZodObject<{
|
|
1941
|
-
"24h": z.ZodObject<{
|
|
1939
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1942
1940
|
volumeUsd: z.ZodNumber;
|
|
1943
1941
|
feesUsd: z.ZodNumber;
|
|
1944
1942
|
priceChange: z.ZodNumber;
|
|
1945
|
-
}, z.core.$strip
|
|
1943
|
+
}, z.core.$strip>>>;
|
|
1946
1944
|
}, z.core.$strip>;
|
|
1947
1945
|
}, z.core.$strip>>>;
|
|
1948
1946
|
}, z.core.$strip>;
|
|
@@ -2326,11 +2324,11 @@ declare const TradeHistoryEntryNotification: z.ZodObject<{
|
|
|
2326
2324
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2327
2325
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
2328
2326
|
groups: z.ZodObject<{
|
|
2329
|
-
"24h": z.ZodObject<{
|
|
2327
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2330
2328
|
volumeUsd: z.ZodNumber;
|
|
2331
2329
|
feesUsd: z.ZodNumber;
|
|
2332
2330
|
priceChange: z.ZodNumber;
|
|
2333
|
-
}, z.core.$strip
|
|
2331
|
+
}, z.core.$strip>>>;
|
|
2334
2332
|
}, z.core.$strip>;
|
|
2335
2333
|
}, z.core.$strip>>>;
|
|
2336
2334
|
}, z.core.$strip>;
|
|
@@ -2427,11 +2425,11 @@ declare const TradeHistoryEntryNotification: z.ZodObject<{
|
|
|
2427
2425
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2428
2426
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
2429
2427
|
groups: z.ZodObject<{
|
|
2430
|
-
"24h": z.ZodObject<{
|
|
2428
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2431
2429
|
volumeUsd: z.ZodNumber;
|
|
2432
2430
|
feesUsd: z.ZodNumber;
|
|
2433
2431
|
priceChange: z.ZodNumber;
|
|
2434
|
-
}, z.core.$strip
|
|
2432
|
+
}, z.core.$strip>>>;
|
|
2435
2433
|
}, z.core.$strip>;
|
|
2436
2434
|
}, z.core.$strip>>>;
|
|
2437
2435
|
}, z.core.$strip>;
|
|
@@ -2529,11 +2527,11 @@ declare const OrderHistoryEntryNotification: z.ZodObject<{
|
|
|
2529
2527
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2530
2528
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
2531
2529
|
groups: z.ZodObject<{
|
|
2532
|
-
"24h": z.ZodObject<{
|
|
2530
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2533
2531
|
volumeUsd: z.ZodNumber;
|
|
2534
2532
|
feesUsd: z.ZodNumber;
|
|
2535
2533
|
priceChange: z.ZodNumber;
|
|
2536
|
-
}, z.core.$strip
|
|
2534
|
+
}, z.core.$strip>>>;
|
|
2537
2535
|
}, z.core.$strip>;
|
|
2538
2536
|
}, z.core.$strip>>>;
|
|
2539
2537
|
}, z.core.$strip>;
|
|
@@ -2636,11 +2634,11 @@ declare const OrderHistoryEntryNotification: z.ZodObject<{
|
|
|
2636
2634
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2637
2635
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
2638
2636
|
groups: z.ZodObject<{
|
|
2639
|
-
"24h": z.ZodObject<{
|
|
2637
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2640
2638
|
volumeUsd: z.ZodNumber;
|
|
2641
2639
|
feesUsd: z.ZodNumber;
|
|
2642
2640
|
priceChange: z.ZodNumber;
|
|
2643
|
-
}, z.core.$strip
|
|
2641
|
+
}, z.core.$strip>>>;
|
|
2644
2642
|
}, z.core.$strip>;
|
|
2645
2643
|
}, z.core.$strip>>>;
|
|
2646
2644
|
}, z.core.$strip>;
|
|
@@ -2889,11 +2887,11 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
2889
2887
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2890
2888
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
2891
2889
|
groups: z.ZodObject<{
|
|
2892
|
-
"24h": z.ZodObject<{
|
|
2890
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2893
2891
|
volumeUsd: z.ZodNumber;
|
|
2894
2892
|
feesUsd: z.ZodNumber;
|
|
2895
2893
|
priceChange: z.ZodNumber;
|
|
2896
|
-
}, z.core.$strip
|
|
2894
|
+
}, z.core.$strip>>>;
|
|
2897
2895
|
}, z.core.$strip>;
|
|
2898
2896
|
}, z.core.$strip>>>;
|
|
2899
2897
|
}, z.core.$strip>;
|
|
@@ -2944,11 +2942,11 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
2944
2942
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2945
2943
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
2946
2944
|
groups: z.ZodObject<{
|
|
2947
|
-
"24h": z.ZodObject<{
|
|
2945
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2948
2946
|
volumeUsd: z.ZodNumber;
|
|
2949
2947
|
feesUsd: z.ZodNumber;
|
|
2950
2948
|
priceChange: z.ZodNumber;
|
|
2951
|
-
}, z.core.$strip
|
|
2949
|
+
}, z.core.$strip>>>;
|
|
2952
2950
|
}, z.core.$strip>;
|
|
2953
2951
|
}, z.core.$strip>>>;
|
|
2954
2952
|
}, z.core.$strip>;
|
|
@@ -3050,11 +3048,11 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3050
3048
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3051
3049
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
3052
3050
|
groups: z.ZodObject<{
|
|
3053
|
-
"24h": z.ZodObject<{
|
|
3051
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3054
3052
|
volumeUsd: z.ZodNumber;
|
|
3055
3053
|
feesUsd: z.ZodNumber;
|
|
3056
3054
|
priceChange: z.ZodNumber;
|
|
3057
|
-
}, z.core.$strip
|
|
3055
|
+
}, z.core.$strip>>>;
|
|
3058
3056
|
}, z.core.$strip>;
|
|
3059
3057
|
}, z.core.$strip>>>;
|
|
3060
3058
|
}, z.core.$strip>;
|
|
@@ -3174,11 +3172,11 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3174
3172
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3175
3173
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
3176
3174
|
groups: z.ZodObject<{
|
|
3177
|
-
"24h": z.ZodObject<{
|
|
3175
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3178
3176
|
volumeUsd: z.ZodNumber;
|
|
3179
3177
|
feesUsd: z.ZodNumber;
|
|
3180
3178
|
priceChange: z.ZodNumber;
|
|
3181
|
-
}, z.core.$strip
|
|
3179
|
+
}, z.core.$strip>>>;
|
|
3182
3180
|
}, z.core.$strip>;
|
|
3183
3181
|
}, z.core.$strip>>>;
|
|
3184
3182
|
}, z.core.$strip>;
|
|
@@ -3310,11 +3308,11 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3310
3308
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3311
3309
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
3312
3310
|
groups: z.ZodObject<{
|
|
3313
|
-
"24h": z.ZodObject<{
|
|
3311
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3314
3312
|
volumeUsd: z.ZodNumber;
|
|
3315
3313
|
feesUsd: z.ZodNumber;
|
|
3316
3314
|
priceChange: z.ZodNumber;
|
|
3317
|
-
}, z.core.$strip
|
|
3315
|
+
}, z.core.$strip>>>;
|
|
3318
3316
|
}, z.core.$strip>;
|
|
3319
3317
|
}, z.core.$strip>>>;
|
|
3320
3318
|
}, z.core.$strip>;
|
|
@@ -3365,11 +3363,11 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3365
3363
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3366
3364
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
3367
3365
|
groups: z.ZodObject<{
|
|
3368
|
-
"24h": z.ZodObject<{
|
|
3366
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3369
3367
|
volumeUsd: z.ZodNumber;
|
|
3370
3368
|
feesUsd: z.ZodNumber;
|
|
3371
3369
|
priceChange: z.ZodNumber;
|
|
3372
|
-
}, z.core.$strip
|
|
3370
|
+
}, z.core.$strip>>>;
|
|
3373
3371
|
}, z.core.$strip>;
|
|
3374
3372
|
}, z.core.$strip>>>;
|
|
3375
3373
|
}, z.core.$strip>;
|
|
@@ -3471,11 +3469,11 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3471
3469
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3472
3470
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
3473
3471
|
groups: z.ZodObject<{
|
|
3474
|
-
"24h": z.ZodObject<{
|
|
3472
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3475
3473
|
volumeUsd: z.ZodNumber;
|
|
3476
3474
|
feesUsd: z.ZodNumber;
|
|
3477
3475
|
priceChange: z.ZodNumber;
|
|
3478
|
-
}, z.core.$strip
|
|
3476
|
+
}, z.core.$strip>>>;
|
|
3479
3477
|
}, z.core.$strip>;
|
|
3480
3478
|
}, z.core.$strip>>>;
|
|
3481
3479
|
}, z.core.$strip>;
|
|
@@ -3595,11 +3593,11 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3595
3593
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3596
3594
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
3597
3595
|
groups: z.ZodObject<{
|
|
3598
|
-
"24h": z.ZodObject<{
|
|
3596
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3599
3597
|
volumeUsd: z.ZodNumber;
|
|
3600
3598
|
feesUsd: z.ZodNumber;
|
|
3601
3599
|
priceChange: z.ZodNumber;
|
|
3602
|
-
}, z.core.$strip
|
|
3600
|
+
}, z.core.$strip>>>;
|
|
3603
3601
|
}, z.core.$strip>;
|
|
3604
3602
|
}, z.core.$strip>>>;
|
|
3605
3603
|
}, z.core.$strip>;
|
|
@@ -3777,6 +3775,7 @@ type SubscriptionPayload = {
|
|
|
3777
3775
|
orderBookPriceStep?: number;
|
|
3778
3776
|
isInverted?: boolean;
|
|
3779
3777
|
}[];
|
|
3778
|
+
markets?: string[];
|
|
3780
3779
|
wallet?: {
|
|
3781
3780
|
address: string;
|
|
3782
3781
|
topics: WalletSubscriptionTopicType[];
|
package/dist/index.d.ts
CHANGED
|
@@ -57,11 +57,11 @@ declare const Pool$1: z$1.ZodObject<{
|
|
|
57
57
|
stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
58
58
|
tvlUsd: z$1.ZodCoercedNumber<unknown>;
|
|
59
59
|
groups: z$1.ZodObject<{
|
|
60
|
-
"24h": z$1.ZodObject<{
|
|
60
|
+
"24h": z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
61
61
|
volumeUsd: z$1.ZodNumber;
|
|
62
62
|
feesUsd: z$1.ZodNumber;
|
|
63
63
|
priceChange: z$1.ZodNumber;
|
|
64
|
-
}, z$1.core.$strip
|
|
64
|
+
}, z$1.core.$strip>>>;
|
|
65
65
|
}, z$1.core.$strip>;
|
|
66
66
|
}, z$1.core.$strip>>>;
|
|
67
67
|
}, z$1.core.$strip>;
|
|
@@ -134,11 +134,11 @@ declare const Market$1: z.ZodObject<{
|
|
|
134
134
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
135
135
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
136
136
|
groups: z.ZodObject<{
|
|
137
|
-
"24h": z.ZodObject<{
|
|
137
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
138
138
|
volumeUsd: z.ZodNumber;
|
|
139
139
|
feesUsd: z.ZodNumber;
|
|
140
140
|
priceChange: z.ZodNumber;
|
|
141
|
-
}, z.core.$strip
|
|
141
|
+
}, z.core.$strip>>>;
|
|
142
142
|
}, z.core.$strip>;
|
|
143
143
|
}, z.core.$strip>>>;
|
|
144
144
|
}, z.core.$strip>;
|
|
@@ -197,11 +197,11 @@ declare const LimitOrder$1: z.ZodObject<{
|
|
|
197
197
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
198
198
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
199
199
|
groups: z.ZodObject<{
|
|
200
|
-
"24h": z.ZodObject<{
|
|
200
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
201
201
|
volumeUsd: z.ZodNumber;
|
|
202
202
|
feesUsd: z.ZodNumber;
|
|
203
203
|
priceChange: z.ZodNumber;
|
|
204
|
-
}, z.core.$strip
|
|
204
|
+
}, z.core.$strip>>>;
|
|
205
205
|
}, z.core.$strip>;
|
|
206
206
|
}, z.core.$strip>>>;
|
|
207
207
|
}, z.core.$strip>;
|
|
@@ -368,11 +368,11 @@ declare const TunaLpPositionDtoSchema: z$1.ZodObject<{
|
|
|
368
368
|
stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
369
369
|
tvlUsd: z$1.ZodCoercedNumber<unknown>;
|
|
370
370
|
groups: z$1.ZodObject<{
|
|
371
|
-
"24h": z$1.ZodObject<{
|
|
371
|
+
"24h": z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
372
372
|
volumeUsd: z$1.ZodNumber;
|
|
373
373
|
feesUsd: z$1.ZodNumber;
|
|
374
374
|
priceChange: z$1.ZodNumber;
|
|
375
|
-
}, z$1.core.$strip
|
|
375
|
+
}, z$1.core.$strip>>>;
|
|
376
376
|
}, z$1.core.$strip>;
|
|
377
377
|
}, z$1.core.$strip>>>;
|
|
378
378
|
}, z$1.core.$strip>;
|
|
@@ -1074,11 +1074,11 @@ declare const TunaSpotPosition$1: z.ZodObject<{
|
|
|
1074
1074
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1075
1075
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
1076
1076
|
groups: z.ZodObject<{
|
|
1077
|
-
"24h": z.ZodObject<{
|
|
1077
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1078
1078
|
volumeUsd: z.ZodNumber;
|
|
1079
1079
|
feesUsd: z.ZodNumber;
|
|
1080
1080
|
priceChange: z.ZodNumber;
|
|
1081
|
-
}, z.core.$strip
|
|
1081
|
+
}, z.core.$strip>>>;
|
|
1082
1082
|
}, z.core.$strip>;
|
|
1083
1083
|
}, z.core.$strip>>>;
|
|
1084
1084
|
}, z.core.$strip>;
|
|
@@ -1223,11 +1223,11 @@ declare const StateSnapshot$1: z$1.ZodObject<{
|
|
|
1223
1223
|
stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
1224
1224
|
tvlUsd: z$1.ZodCoercedNumber<unknown>;
|
|
1225
1225
|
groups: z$1.ZodObject<{
|
|
1226
|
-
"24h": z$1.ZodObject<{
|
|
1226
|
+
"24h": z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
1227
1227
|
volumeUsd: z$1.ZodNumber;
|
|
1228
1228
|
feesUsd: z$1.ZodNumber;
|
|
1229
1229
|
priceChange: z$1.ZodNumber;
|
|
1230
|
-
}, z$1.core.$strip
|
|
1230
|
+
}, z$1.core.$strip>>>;
|
|
1231
1231
|
}, z$1.core.$strip>;
|
|
1232
1232
|
}, z$1.core.$strip>>>;
|
|
1233
1233
|
}, z$1.core.$strip>;
|
|
@@ -1278,11 +1278,11 @@ declare const StateSnapshot$1: z$1.ZodObject<{
|
|
|
1278
1278
|
stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
1279
1279
|
tvlUsd: z$1.ZodCoercedNumber<unknown>;
|
|
1280
1280
|
groups: z$1.ZodObject<{
|
|
1281
|
-
"24h": z$1.ZodObject<{
|
|
1281
|
+
"24h": z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
1282
1282
|
volumeUsd: z$1.ZodNumber;
|
|
1283
1283
|
feesUsd: z$1.ZodNumber;
|
|
1284
1284
|
priceChange: z$1.ZodNumber;
|
|
1285
|
-
}, z$1.core.$strip
|
|
1285
|
+
}, z$1.core.$strip>>>;
|
|
1286
1286
|
}, z$1.core.$strip>;
|
|
1287
1287
|
}, z$1.core.$strip>>>;
|
|
1288
1288
|
}, z$1.core.$strip>;
|
|
@@ -1384,11 +1384,11 @@ declare const StateSnapshot$1: z$1.ZodObject<{
|
|
|
1384
1384
|
stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
1385
1385
|
tvlUsd: z$1.ZodCoercedNumber<unknown>;
|
|
1386
1386
|
groups: z$1.ZodObject<{
|
|
1387
|
-
"24h": z$1.ZodObject<{
|
|
1387
|
+
"24h": z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
1388
1388
|
volumeUsd: z$1.ZodNumber;
|
|
1389
1389
|
feesUsd: z$1.ZodNumber;
|
|
1390
1390
|
priceChange: z$1.ZodNumber;
|
|
1391
|
-
}, z$1.core.$strip
|
|
1391
|
+
}, z$1.core.$strip>>>;
|
|
1392
1392
|
}, z$1.core.$strip>;
|
|
1393
1393
|
}, z$1.core.$strip>>>;
|
|
1394
1394
|
}, z$1.core.$strip>;
|
|
@@ -1508,11 +1508,11 @@ declare const StateSnapshot$1: z$1.ZodObject<{
|
|
|
1508
1508
|
stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
1509
1509
|
tvlUsd: z$1.ZodCoercedNumber<unknown>;
|
|
1510
1510
|
groups: z$1.ZodObject<{
|
|
1511
|
-
"24h": z$1.ZodObject<{
|
|
1511
|
+
"24h": z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
1512
1512
|
volumeUsd: z$1.ZodNumber;
|
|
1513
1513
|
feesUsd: z$1.ZodNumber;
|
|
1514
1514
|
priceChange: z$1.ZodNumber;
|
|
1515
|
-
}, z$1.core.$strip
|
|
1515
|
+
}, z$1.core.$strip>>>;
|
|
1516
1516
|
}, z$1.core.$strip>;
|
|
1517
1517
|
}, z$1.core.$strip>>>;
|
|
1518
1518
|
}, z$1.core.$strip>;
|
|
@@ -1654,7 +1654,6 @@ declare const StakingPositionHistoryActionType$1: {
|
|
|
1654
1654
|
};
|
|
1655
1655
|
declare const PoolSubscriptionTopic: {
|
|
1656
1656
|
readonly ORDER_BOOK: "order_book";
|
|
1657
|
-
readonly POOL: "pool";
|
|
1658
1657
|
readonly POOL_SWAPS: "pool_swaps";
|
|
1659
1658
|
};
|
|
1660
1659
|
declare const WalletSubscriptionTopic: {
|
|
@@ -1725,7 +1724,6 @@ declare const StakingPositionHistoryActionTypeSchema: z.ZodEnum<{
|
|
|
1725
1724
|
compound_rewards: "compound_rewards";
|
|
1726
1725
|
}>;
|
|
1727
1726
|
declare const PoolSubscriptionTopicSchema: z.ZodEnum<{
|
|
1728
|
-
pool: "pool";
|
|
1729
1727
|
order_book: "order_book";
|
|
1730
1728
|
pool_swaps: "pool_swaps";
|
|
1731
1729
|
}>;
|
|
@@ -1854,11 +1852,11 @@ declare const TradeHistoryEntry$1: z.ZodObject<{
|
|
|
1854
1852
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1855
1853
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
1856
1854
|
groups: z.ZodObject<{
|
|
1857
|
-
"24h": z.ZodObject<{
|
|
1855
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1858
1856
|
volumeUsd: z.ZodNumber;
|
|
1859
1857
|
feesUsd: z.ZodNumber;
|
|
1860
1858
|
priceChange: z.ZodNumber;
|
|
1861
|
-
}, z.core.$strip
|
|
1859
|
+
}, z.core.$strip>>>;
|
|
1862
1860
|
}, z.core.$strip>;
|
|
1863
1861
|
}, z.core.$strip>>>;
|
|
1864
1862
|
}, z.core.$strip>;
|
|
@@ -1938,11 +1936,11 @@ declare const OrderHistoryEntry$1: z.ZodObject<{
|
|
|
1938
1936
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1939
1937
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
1940
1938
|
groups: z.ZodObject<{
|
|
1941
|
-
"24h": z.ZodObject<{
|
|
1939
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1942
1940
|
volumeUsd: z.ZodNumber;
|
|
1943
1941
|
feesUsd: z.ZodNumber;
|
|
1944
1942
|
priceChange: z.ZodNumber;
|
|
1945
|
-
}, z.core.$strip
|
|
1943
|
+
}, z.core.$strip>>>;
|
|
1946
1944
|
}, z.core.$strip>;
|
|
1947
1945
|
}, z.core.$strip>>>;
|
|
1948
1946
|
}, z.core.$strip>;
|
|
@@ -2326,11 +2324,11 @@ declare const TradeHistoryEntryNotification: z.ZodObject<{
|
|
|
2326
2324
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2327
2325
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
2328
2326
|
groups: z.ZodObject<{
|
|
2329
|
-
"24h": z.ZodObject<{
|
|
2327
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2330
2328
|
volumeUsd: z.ZodNumber;
|
|
2331
2329
|
feesUsd: z.ZodNumber;
|
|
2332
2330
|
priceChange: z.ZodNumber;
|
|
2333
|
-
}, z.core.$strip
|
|
2331
|
+
}, z.core.$strip>>>;
|
|
2334
2332
|
}, z.core.$strip>;
|
|
2335
2333
|
}, z.core.$strip>>>;
|
|
2336
2334
|
}, z.core.$strip>;
|
|
@@ -2427,11 +2425,11 @@ declare const TradeHistoryEntryNotification: z.ZodObject<{
|
|
|
2427
2425
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2428
2426
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
2429
2427
|
groups: z.ZodObject<{
|
|
2430
|
-
"24h": z.ZodObject<{
|
|
2428
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2431
2429
|
volumeUsd: z.ZodNumber;
|
|
2432
2430
|
feesUsd: z.ZodNumber;
|
|
2433
2431
|
priceChange: z.ZodNumber;
|
|
2434
|
-
}, z.core.$strip
|
|
2432
|
+
}, z.core.$strip>>>;
|
|
2435
2433
|
}, z.core.$strip>;
|
|
2436
2434
|
}, z.core.$strip>>>;
|
|
2437
2435
|
}, z.core.$strip>;
|
|
@@ -2529,11 +2527,11 @@ declare const OrderHistoryEntryNotification: z.ZodObject<{
|
|
|
2529
2527
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2530
2528
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
2531
2529
|
groups: z.ZodObject<{
|
|
2532
|
-
"24h": z.ZodObject<{
|
|
2530
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2533
2531
|
volumeUsd: z.ZodNumber;
|
|
2534
2532
|
feesUsd: z.ZodNumber;
|
|
2535
2533
|
priceChange: z.ZodNumber;
|
|
2536
|
-
}, z.core.$strip
|
|
2534
|
+
}, z.core.$strip>>>;
|
|
2537
2535
|
}, z.core.$strip>;
|
|
2538
2536
|
}, z.core.$strip>>>;
|
|
2539
2537
|
}, z.core.$strip>;
|
|
@@ -2636,11 +2634,11 @@ declare const OrderHistoryEntryNotification: z.ZodObject<{
|
|
|
2636
2634
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2637
2635
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
2638
2636
|
groups: z.ZodObject<{
|
|
2639
|
-
"24h": z.ZodObject<{
|
|
2637
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2640
2638
|
volumeUsd: z.ZodNumber;
|
|
2641
2639
|
feesUsd: z.ZodNumber;
|
|
2642
2640
|
priceChange: z.ZodNumber;
|
|
2643
|
-
}, z.core.$strip
|
|
2641
|
+
}, z.core.$strip>>>;
|
|
2644
2642
|
}, z.core.$strip>;
|
|
2645
2643
|
}, z.core.$strip>>>;
|
|
2646
2644
|
}, z.core.$strip>;
|
|
@@ -2889,11 +2887,11 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
2889
2887
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2890
2888
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
2891
2889
|
groups: z.ZodObject<{
|
|
2892
|
-
"24h": z.ZodObject<{
|
|
2890
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2893
2891
|
volumeUsd: z.ZodNumber;
|
|
2894
2892
|
feesUsd: z.ZodNumber;
|
|
2895
2893
|
priceChange: z.ZodNumber;
|
|
2896
|
-
}, z.core.$strip
|
|
2894
|
+
}, z.core.$strip>>>;
|
|
2897
2895
|
}, z.core.$strip>;
|
|
2898
2896
|
}, z.core.$strip>>>;
|
|
2899
2897
|
}, z.core.$strip>;
|
|
@@ -2944,11 +2942,11 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
2944
2942
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2945
2943
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
2946
2944
|
groups: z.ZodObject<{
|
|
2947
|
-
"24h": z.ZodObject<{
|
|
2945
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2948
2946
|
volumeUsd: z.ZodNumber;
|
|
2949
2947
|
feesUsd: z.ZodNumber;
|
|
2950
2948
|
priceChange: z.ZodNumber;
|
|
2951
|
-
}, z.core.$strip
|
|
2949
|
+
}, z.core.$strip>>>;
|
|
2952
2950
|
}, z.core.$strip>;
|
|
2953
2951
|
}, z.core.$strip>>>;
|
|
2954
2952
|
}, z.core.$strip>;
|
|
@@ -3050,11 +3048,11 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3050
3048
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3051
3049
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
3052
3050
|
groups: z.ZodObject<{
|
|
3053
|
-
"24h": z.ZodObject<{
|
|
3051
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3054
3052
|
volumeUsd: z.ZodNumber;
|
|
3055
3053
|
feesUsd: z.ZodNumber;
|
|
3056
3054
|
priceChange: z.ZodNumber;
|
|
3057
|
-
}, z.core.$strip
|
|
3055
|
+
}, z.core.$strip>>>;
|
|
3058
3056
|
}, z.core.$strip>;
|
|
3059
3057
|
}, z.core.$strip>>>;
|
|
3060
3058
|
}, z.core.$strip>;
|
|
@@ -3174,11 +3172,11 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3174
3172
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3175
3173
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
3176
3174
|
groups: z.ZodObject<{
|
|
3177
|
-
"24h": z.ZodObject<{
|
|
3175
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3178
3176
|
volumeUsd: z.ZodNumber;
|
|
3179
3177
|
feesUsd: z.ZodNumber;
|
|
3180
3178
|
priceChange: z.ZodNumber;
|
|
3181
|
-
}, z.core.$strip
|
|
3179
|
+
}, z.core.$strip>>>;
|
|
3182
3180
|
}, z.core.$strip>;
|
|
3183
3181
|
}, z.core.$strip>>>;
|
|
3184
3182
|
}, z.core.$strip>;
|
|
@@ -3310,11 +3308,11 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3310
3308
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3311
3309
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
3312
3310
|
groups: z.ZodObject<{
|
|
3313
|
-
"24h": z.ZodObject<{
|
|
3311
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3314
3312
|
volumeUsd: z.ZodNumber;
|
|
3315
3313
|
feesUsd: z.ZodNumber;
|
|
3316
3314
|
priceChange: z.ZodNumber;
|
|
3317
|
-
}, z.core.$strip
|
|
3315
|
+
}, z.core.$strip>>>;
|
|
3318
3316
|
}, z.core.$strip>;
|
|
3319
3317
|
}, z.core.$strip>>>;
|
|
3320
3318
|
}, z.core.$strip>;
|
|
@@ -3365,11 +3363,11 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3365
3363
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3366
3364
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
3367
3365
|
groups: z.ZodObject<{
|
|
3368
|
-
"24h": z.ZodObject<{
|
|
3366
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3369
3367
|
volumeUsd: z.ZodNumber;
|
|
3370
3368
|
feesUsd: z.ZodNumber;
|
|
3371
3369
|
priceChange: z.ZodNumber;
|
|
3372
|
-
}, z.core.$strip
|
|
3370
|
+
}, z.core.$strip>>>;
|
|
3373
3371
|
}, z.core.$strip>;
|
|
3374
3372
|
}, z.core.$strip>>>;
|
|
3375
3373
|
}, z.core.$strip>;
|
|
@@ -3471,11 +3469,11 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3471
3469
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3472
3470
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
3473
3471
|
groups: z.ZodObject<{
|
|
3474
|
-
"24h": z.ZodObject<{
|
|
3472
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3475
3473
|
volumeUsd: z.ZodNumber;
|
|
3476
3474
|
feesUsd: z.ZodNumber;
|
|
3477
3475
|
priceChange: z.ZodNumber;
|
|
3478
|
-
}, z.core.$strip
|
|
3476
|
+
}, z.core.$strip>>>;
|
|
3479
3477
|
}, z.core.$strip>;
|
|
3480
3478
|
}, z.core.$strip>>>;
|
|
3481
3479
|
}, z.core.$strip>;
|
|
@@ -3595,11 +3593,11 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3595
3593
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3596
3594
|
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
3597
3595
|
groups: z.ZodObject<{
|
|
3598
|
-
"24h": z.ZodObject<{
|
|
3596
|
+
"24h": z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3599
3597
|
volumeUsd: z.ZodNumber;
|
|
3600
3598
|
feesUsd: z.ZodNumber;
|
|
3601
3599
|
priceChange: z.ZodNumber;
|
|
3602
|
-
}, z.core.$strip
|
|
3600
|
+
}, z.core.$strip>>>;
|
|
3603
3601
|
}, z.core.$strip>;
|
|
3604
3602
|
}, z.core.$strip>>>;
|
|
3605
3603
|
}, z.core.$strip>;
|
|
@@ -3777,6 +3775,7 @@ type SubscriptionPayload = {
|
|
|
3777
3775
|
orderBookPriceStep?: number;
|
|
3778
3776
|
isInverted?: boolean;
|
|
3779
3777
|
}[];
|
|
3778
|
+
markets?: string[];
|
|
3780
3779
|
wallet?: {
|
|
3781
3780
|
address: string;
|
|
3782
3781
|
topics: WalletSubscriptionTopicType[];
|
package/dist/index.js
CHANGED
|
@@ -212,11 +212,15 @@ var Pool = import_zod3.default.object({
|
|
|
212
212
|
import_zod3.default.object({
|
|
213
213
|
tvlUsd: import_zod3.default.coerce.number(),
|
|
214
214
|
groups: import_zod3.default.object({
|
|
215
|
-
"24h": import_zod3.default.
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
215
|
+
"24h": import_zod3.default.optional(
|
|
216
|
+
import_zod3.default.nullable(
|
|
217
|
+
import_zod3.default.object({
|
|
218
|
+
volumeUsd: import_zod3.default.number(),
|
|
219
|
+
feesUsd: import_zod3.default.number(),
|
|
220
|
+
priceChange: import_zod3.default.number()
|
|
221
|
+
})
|
|
222
|
+
)
|
|
223
|
+
)
|
|
220
224
|
})
|
|
221
225
|
})
|
|
222
226
|
)
|
|
@@ -746,7 +750,6 @@ var StakingPositionHistoryActionType = {
|
|
|
746
750
|
};
|
|
747
751
|
var PoolSubscriptionTopic = {
|
|
748
752
|
ORDER_BOOK: "order_book",
|
|
749
|
-
POOL: "pool",
|
|
750
753
|
POOL_SWAPS: "pool_swaps"
|
|
751
754
|
};
|
|
752
755
|
var WalletSubscriptionTopic = {
|
package/dist/index.mjs
CHANGED
|
@@ -175,11 +175,15 @@ var Pool = z3.object({
|
|
|
175
175
|
z3.object({
|
|
176
176
|
tvlUsd: z3.coerce.number(),
|
|
177
177
|
groups: z3.object({
|
|
178
|
-
"24h": z3.
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
178
|
+
"24h": z3.optional(
|
|
179
|
+
z3.nullable(
|
|
180
|
+
z3.object({
|
|
181
|
+
volumeUsd: z3.number(),
|
|
182
|
+
feesUsd: z3.number(),
|
|
183
|
+
priceChange: z3.number()
|
|
184
|
+
})
|
|
185
|
+
)
|
|
186
|
+
)
|
|
183
187
|
})
|
|
184
188
|
})
|
|
185
189
|
)
|
|
@@ -709,7 +713,6 @@ var StakingPositionHistoryActionType = {
|
|
|
709
713
|
};
|
|
710
714
|
var PoolSubscriptionTopic = {
|
|
711
715
|
ORDER_BOOK: "order_book",
|
|
712
|
-
POOL: "pool",
|
|
713
716
|
POOL_SWAPS: "pool_swaps"
|
|
714
717
|
};
|
|
715
718
|
var WalletSubscriptionTopic = {
|