@crypticdot/defituna-api 1.1.54 → 1.1.55

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 CHANGED
@@ -665,9 +665,21 @@ declare const TunaPosition$1: z.ZodObject<{
665
665
  liquidity: z.ZodBigInt;
666
666
  tickLowerIndex: z.ZodNumber;
667
667
  tickUpperIndex: z.ZodNumber;
668
+ /**
669
+ * @deprecated Use entrySqrtPrice
670
+ */
668
671
  tickEntryIndex: z.ZodNumber;
672
+ /**
673
+ * @deprecated Use lowerLimitOrderSqrtPrice
674
+ */
669
675
  tickStopLossIndex: z.ZodNumber;
676
+ /**
677
+ * @deprecated Use upperLimitOrderSqrtPrice
678
+ */
670
679
  tickTakeProfitIndex: z.ZodNumber;
680
+ entrySqrtPrice: z.ZodBigInt;
681
+ lowerLimitOrderSqrtPrice: z.ZodBigInt;
682
+ upperLimitOrderSqrtPrice: z.ZodBigInt;
671
683
  swapToTokenOnLimitOrder: z.ZodNumber;
672
684
  flags: z.ZodNumber;
673
685
  pool: z.ZodString;
@@ -858,6 +870,9 @@ declare const TunaPosition$1: z.ZodObject<{
858
870
  tickEntryIndex: number;
859
871
  tickStopLossIndex: number;
860
872
  tickTakeProfitIndex: number;
873
+ entrySqrtPrice: bigint;
874
+ lowerLimitOrderSqrtPrice: bigint;
875
+ upperLimitOrderSqrtPrice: bigint;
861
876
  swapToTokenOnLimitOrder: number;
862
877
  flags: number;
863
878
  pool: string;
@@ -946,6 +961,9 @@ declare const TunaPosition$1: z.ZodObject<{
946
961
  tickEntryIndex: number;
947
962
  tickStopLossIndex: number;
948
963
  tickTakeProfitIndex: number;
964
+ entrySqrtPrice: bigint;
965
+ lowerLimitOrderSqrtPrice: bigint;
966
+ upperLimitOrderSqrtPrice: bigint;
949
967
  swapToTokenOnLimitOrder: number;
950
968
  flags: number;
951
969
  pool: string;
@@ -2226,9 +2244,21 @@ declare const TunaPositionNotification: z.ZodObject<{
2226
2244
  liquidity: z.ZodBigInt;
2227
2245
  tickLowerIndex: z.ZodNumber;
2228
2246
  tickUpperIndex: z.ZodNumber;
2247
+ /**
2248
+ * @deprecated Use entrySqrtPrice
2249
+ */
2229
2250
  tickEntryIndex: z.ZodNumber;
2251
+ /**
2252
+ * @deprecated Use lowerLimitOrderSqrtPrice
2253
+ */
2230
2254
  tickStopLossIndex: z.ZodNumber;
2255
+ /**
2256
+ * @deprecated Use upperLimitOrderSqrtPrice
2257
+ */
2231
2258
  tickTakeProfitIndex: z.ZodNumber;
2259
+ entrySqrtPrice: z.ZodBigInt;
2260
+ lowerLimitOrderSqrtPrice: z.ZodBigInt;
2261
+ upperLimitOrderSqrtPrice: z.ZodBigInt;
2232
2262
  swapToTokenOnLimitOrder: z.ZodNumber;
2233
2263
  flags: z.ZodNumber;
2234
2264
  pool: z.ZodString;
@@ -2419,6 +2449,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2419
2449
  tickEntryIndex: number;
2420
2450
  tickStopLossIndex: number;
2421
2451
  tickTakeProfitIndex: number;
2452
+ entrySqrtPrice: bigint;
2453
+ lowerLimitOrderSqrtPrice: bigint;
2454
+ upperLimitOrderSqrtPrice: bigint;
2422
2455
  swapToTokenOnLimitOrder: number;
2423
2456
  flags: number;
2424
2457
  pool: string;
@@ -2507,6 +2540,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2507
2540
  tickEntryIndex: number;
2508
2541
  tickStopLossIndex: number;
2509
2542
  tickTakeProfitIndex: number;
2543
+ entrySqrtPrice: bigint;
2544
+ lowerLimitOrderSqrtPrice: bigint;
2545
+ upperLimitOrderSqrtPrice: bigint;
2510
2546
  swapToTokenOnLimitOrder: number;
2511
2547
  flags: number;
2512
2548
  pool: string;
@@ -2599,9 +2635,21 @@ declare const TunaPositionNotification: z.ZodObject<{
2599
2635
  liquidity: z.ZodBigInt;
2600
2636
  tickLowerIndex: z.ZodNumber;
2601
2637
  tickUpperIndex: z.ZodNumber;
2638
+ /**
2639
+ * @deprecated Use entrySqrtPrice
2640
+ */
2602
2641
  tickEntryIndex: z.ZodNumber;
2642
+ /**
2643
+ * @deprecated Use lowerLimitOrderSqrtPrice
2644
+ */
2603
2645
  tickStopLossIndex: z.ZodNumber;
2646
+ /**
2647
+ * @deprecated Use upperLimitOrderSqrtPrice
2648
+ */
2604
2649
  tickTakeProfitIndex: z.ZodNumber;
2650
+ entrySqrtPrice: z.ZodBigInt;
2651
+ lowerLimitOrderSqrtPrice: z.ZodBigInt;
2652
+ upperLimitOrderSqrtPrice: z.ZodBigInt;
2605
2653
  swapToTokenOnLimitOrder: z.ZodNumber;
2606
2654
  flags: z.ZodNumber;
2607
2655
  pool: z.ZodString;
@@ -2792,6 +2840,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2792
2840
  tickEntryIndex: number;
2793
2841
  tickStopLossIndex: number;
2794
2842
  tickTakeProfitIndex: number;
2843
+ entrySqrtPrice: bigint;
2844
+ lowerLimitOrderSqrtPrice: bigint;
2845
+ upperLimitOrderSqrtPrice: bigint;
2795
2846
  swapToTokenOnLimitOrder: number;
2796
2847
  flags: number;
2797
2848
  pool: string;
@@ -2880,6 +2931,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2880
2931
  tickEntryIndex: number;
2881
2932
  tickStopLossIndex: number;
2882
2933
  tickTakeProfitIndex: number;
2934
+ entrySqrtPrice: bigint;
2935
+ lowerLimitOrderSqrtPrice: bigint;
2936
+ upperLimitOrderSqrtPrice: bigint;
2883
2937
  swapToTokenOnLimitOrder: number;
2884
2938
  flags: number;
2885
2939
  pool: string;
@@ -2974,6 +3028,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2974
3028
  tickEntryIndex: number;
2975
3029
  tickStopLossIndex: number;
2976
3030
  tickTakeProfitIndex: number;
3031
+ entrySqrtPrice: bigint;
3032
+ lowerLimitOrderSqrtPrice: bigint;
3033
+ upperLimitOrderSqrtPrice: bigint;
2977
3034
  swapToTokenOnLimitOrder: number;
2978
3035
  flags: number;
2979
3036
  pool: string;
@@ -3069,6 +3126,9 @@ declare const TunaPositionNotification: z.ZodObject<{
3069
3126
  tickEntryIndex: number;
3070
3127
  tickStopLossIndex: number;
3071
3128
  tickTakeProfitIndex: number;
3129
+ entrySqrtPrice: bigint;
3130
+ lowerLimitOrderSqrtPrice: bigint;
3131
+ upperLimitOrderSqrtPrice: bigint;
3072
3132
  swapToTokenOnLimitOrder: number;
3073
3133
  flags: number;
3074
3134
  pool: string;
@@ -3164,6 +3224,9 @@ declare const TunaPositionNotification: z.ZodObject<{
3164
3224
  tickEntryIndex: number;
3165
3225
  tickStopLossIndex: number;
3166
3226
  tickTakeProfitIndex: number;
3227
+ entrySqrtPrice: bigint;
3228
+ lowerLimitOrderSqrtPrice: bigint;
3229
+ upperLimitOrderSqrtPrice: bigint;
3167
3230
  swapToTokenOnLimitOrder: number;
3168
3231
  flags: number;
3169
3232
  pool: string;
@@ -3259,6 +3322,9 @@ declare const TunaPositionNotification: z.ZodObject<{
3259
3322
  tickEntryIndex: number;
3260
3323
  tickStopLossIndex: number;
3261
3324
  tickTakeProfitIndex: number;
3325
+ entrySqrtPrice: bigint;
3326
+ lowerLimitOrderSqrtPrice: bigint;
3327
+ upperLimitOrderSqrtPrice: bigint;
3262
3328
  swapToTokenOnLimitOrder: number;
3263
3329
  flags: number;
3264
3330
  pool: string;
package/dist/index.d.ts CHANGED
@@ -665,9 +665,21 @@ declare const TunaPosition$1: z.ZodObject<{
665
665
  liquidity: z.ZodBigInt;
666
666
  tickLowerIndex: z.ZodNumber;
667
667
  tickUpperIndex: z.ZodNumber;
668
+ /**
669
+ * @deprecated Use entrySqrtPrice
670
+ */
668
671
  tickEntryIndex: z.ZodNumber;
672
+ /**
673
+ * @deprecated Use lowerLimitOrderSqrtPrice
674
+ */
669
675
  tickStopLossIndex: z.ZodNumber;
676
+ /**
677
+ * @deprecated Use upperLimitOrderSqrtPrice
678
+ */
670
679
  tickTakeProfitIndex: z.ZodNumber;
680
+ entrySqrtPrice: z.ZodBigInt;
681
+ lowerLimitOrderSqrtPrice: z.ZodBigInt;
682
+ upperLimitOrderSqrtPrice: z.ZodBigInt;
671
683
  swapToTokenOnLimitOrder: z.ZodNumber;
672
684
  flags: z.ZodNumber;
673
685
  pool: z.ZodString;
@@ -858,6 +870,9 @@ declare const TunaPosition$1: z.ZodObject<{
858
870
  tickEntryIndex: number;
859
871
  tickStopLossIndex: number;
860
872
  tickTakeProfitIndex: number;
873
+ entrySqrtPrice: bigint;
874
+ lowerLimitOrderSqrtPrice: bigint;
875
+ upperLimitOrderSqrtPrice: bigint;
861
876
  swapToTokenOnLimitOrder: number;
862
877
  flags: number;
863
878
  pool: string;
@@ -946,6 +961,9 @@ declare const TunaPosition$1: z.ZodObject<{
946
961
  tickEntryIndex: number;
947
962
  tickStopLossIndex: number;
948
963
  tickTakeProfitIndex: number;
964
+ entrySqrtPrice: bigint;
965
+ lowerLimitOrderSqrtPrice: bigint;
966
+ upperLimitOrderSqrtPrice: bigint;
949
967
  swapToTokenOnLimitOrder: number;
950
968
  flags: number;
951
969
  pool: string;
@@ -2226,9 +2244,21 @@ declare const TunaPositionNotification: z.ZodObject<{
2226
2244
  liquidity: z.ZodBigInt;
2227
2245
  tickLowerIndex: z.ZodNumber;
2228
2246
  tickUpperIndex: z.ZodNumber;
2247
+ /**
2248
+ * @deprecated Use entrySqrtPrice
2249
+ */
2229
2250
  tickEntryIndex: z.ZodNumber;
2251
+ /**
2252
+ * @deprecated Use lowerLimitOrderSqrtPrice
2253
+ */
2230
2254
  tickStopLossIndex: z.ZodNumber;
2255
+ /**
2256
+ * @deprecated Use upperLimitOrderSqrtPrice
2257
+ */
2231
2258
  tickTakeProfitIndex: z.ZodNumber;
2259
+ entrySqrtPrice: z.ZodBigInt;
2260
+ lowerLimitOrderSqrtPrice: z.ZodBigInt;
2261
+ upperLimitOrderSqrtPrice: z.ZodBigInt;
2232
2262
  swapToTokenOnLimitOrder: z.ZodNumber;
2233
2263
  flags: z.ZodNumber;
2234
2264
  pool: z.ZodString;
@@ -2419,6 +2449,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2419
2449
  tickEntryIndex: number;
2420
2450
  tickStopLossIndex: number;
2421
2451
  tickTakeProfitIndex: number;
2452
+ entrySqrtPrice: bigint;
2453
+ lowerLimitOrderSqrtPrice: bigint;
2454
+ upperLimitOrderSqrtPrice: bigint;
2422
2455
  swapToTokenOnLimitOrder: number;
2423
2456
  flags: number;
2424
2457
  pool: string;
@@ -2507,6 +2540,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2507
2540
  tickEntryIndex: number;
2508
2541
  tickStopLossIndex: number;
2509
2542
  tickTakeProfitIndex: number;
2543
+ entrySqrtPrice: bigint;
2544
+ lowerLimitOrderSqrtPrice: bigint;
2545
+ upperLimitOrderSqrtPrice: bigint;
2510
2546
  swapToTokenOnLimitOrder: number;
2511
2547
  flags: number;
2512
2548
  pool: string;
@@ -2599,9 +2635,21 @@ declare const TunaPositionNotification: z.ZodObject<{
2599
2635
  liquidity: z.ZodBigInt;
2600
2636
  tickLowerIndex: z.ZodNumber;
2601
2637
  tickUpperIndex: z.ZodNumber;
2638
+ /**
2639
+ * @deprecated Use entrySqrtPrice
2640
+ */
2602
2641
  tickEntryIndex: z.ZodNumber;
2642
+ /**
2643
+ * @deprecated Use lowerLimitOrderSqrtPrice
2644
+ */
2603
2645
  tickStopLossIndex: z.ZodNumber;
2646
+ /**
2647
+ * @deprecated Use upperLimitOrderSqrtPrice
2648
+ */
2604
2649
  tickTakeProfitIndex: z.ZodNumber;
2650
+ entrySqrtPrice: z.ZodBigInt;
2651
+ lowerLimitOrderSqrtPrice: z.ZodBigInt;
2652
+ upperLimitOrderSqrtPrice: z.ZodBigInt;
2605
2653
  swapToTokenOnLimitOrder: z.ZodNumber;
2606
2654
  flags: z.ZodNumber;
2607
2655
  pool: z.ZodString;
@@ -2792,6 +2840,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2792
2840
  tickEntryIndex: number;
2793
2841
  tickStopLossIndex: number;
2794
2842
  tickTakeProfitIndex: number;
2843
+ entrySqrtPrice: bigint;
2844
+ lowerLimitOrderSqrtPrice: bigint;
2845
+ upperLimitOrderSqrtPrice: bigint;
2795
2846
  swapToTokenOnLimitOrder: number;
2796
2847
  flags: number;
2797
2848
  pool: string;
@@ -2880,6 +2931,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2880
2931
  tickEntryIndex: number;
2881
2932
  tickStopLossIndex: number;
2882
2933
  tickTakeProfitIndex: number;
2934
+ entrySqrtPrice: bigint;
2935
+ lowerLimitOrderSqrtPrice: bigint;
2936
+ upperLimitOrderSqrtPrice: bigint;
2883
2937
  swapToTokenOnLimitOrder: number;
2884
2938
  flags: number;
2885
2939
  pool: string;
@@ -2974,6 +3028,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2974
3028
  tickEntryIndex: number;
2975
3029
  tickStopLossIndex: number;
2976
3030
  tickTakeProfitIndex: number;
3031
+ entrySqrtPrice: bigint;
3032
+ lowerLimitOrderSqrtPrice: bigint;
3033
+ upperLimitOrderSqrtPrice: bigint;
2977
3034
  swapToTokenOnLimitOrder: number;
2978
3035
  flags: number;
2979
3036
  pool: string;
@@ -3069,6 +3126,9 @@ declare const TunaPositionNotification: z.ZodObject<{
3069
3126
  tickEntryIndex: number;
3070
3127
  tickStopLossIndex: number;
3071
3128
  tickTakeProfitIndex: number;
3129
+ entrySqrtPrice: bigint;
3130
+ lowerLimitOrderSqrtPrice: bigint;
3131
+ upperLimitOrderSqrtPrice: bigint;
3072
3132
  swapToTokenOnLimitOrder: number;
3073
3133
  flags: number;
3074
3134
  pool: string;
@@ -3164,6 +3224,9 @@ declare const TunaPositionNotification: z.ZodObject<{
3164
3224
  tickEntryIndex: number;
3165
3225
  tickStopLossIndex: number;
3166
3226
  tickTakeProfitIndex: number;
3227
+ entrySqrtPrice: bigint;
3228
+ lowerLimitOrderSqrtPrice: bigint;
3229
+ upperLimitOrderSqrtPrice: bigint;
3167
3230
  swapToTokenOnLimitOrder: number;
3168
3231
  flags: number;
3169
3232
  pool: string;
@@ -3259,6 +3322,9 @@ declare const TunaPositionNotification: z.ZodObject<{
3259
3322
  tickEntryIndex: number;
3260
3323
  tickStopLossIndex: number;
3261
3324
  tickTakeProfitIndex: number;
3325
+ entrySqrtPrice: bigint;
3326
+ lowerLimitOrderSqrtPrice: bigint;
3327
+ upperLimitOrderSqrtPrice: bigint;
3262
3328
  swapToTokenOnLimitOrder: number;
3263
3329
  flags: number;
3264
3330
  pool: string;
package/dist/index.js CHANGED
@@ -310,9 +310,21 @@ var TunaPosition = import_zod.z.object({
310
310
  liquidity: import_zod.z.coerce.bigint(),
311
311
  tickLowerIndex: import_zod.z.number(),
312
312
  tickUpperIndex: import_zod.z.number(),
313
+ /**
314
+ * @deprecated Use entrySqrtPrice
315
+ */
313
316
  tickEntryIndex: import_zod.z.number(),
317
+ /**
318
+ * @deprecated Use lowerLimitOrderSqrtPrice
319
+ */
314
320
  tickStopLossIndex: import_zod.z.number(),
321
+ /**
322
+ * @deprecated Use upperLimitOrderSqrtPrice
323
+ */
315
324
  tickTakeProfitIndex: import_zod.z.number(),
325
+ entrySqrtPrice: import_zod.z.coerce.bigint(),
326
+ lowerLimitOrderSqrtPrice: import_zod.z.coerce.bigint(),
327
+ upperLimitOrderSqrtPrice: import_zod.z.coerce.bigint(),
316
328
  swapToTokenOnLimitOrder: import_zod.z.number(),
317
329
  flags: import_zod.z.number(),
318
330
  pool: import_zod.z.string(),
package/dist/index.mjs CHANGED
@@ -275,9 +275,21 @@ var TunaPosition = z.object({
275
275
  liquidity: z.coerce.bigint(),
276
276
  tickLowerIndex: z.number(),
277
277
  tickUpperIndex: z.number(),
278
+ /**
279
+ * @deprecated Use entrySqrtPrice
280
+ */
278
281
  tickEntryIndex: z.number(),
282
+ /**
283
+ * @deprecated Use lowerLimitOrderSqrtPrice
284
+ */
279
285
  tickStopLossIndex: z.number(),
286
+ /**
287
+ * @deprecated Use upperLimitOrderSqrtPrice
288
+ */
280
289
  tickTakeProfitIndex: z.number(),
290
+ entrySqrtPrice: z.coerce.bigint(),
291
+ lowerLimitOrderSqrtPrice: z.coerce.bigint(),
292
+ upperLimitOrderSqrtPrice: z.coerce.bigint(),
281
293
  swapToTokenOnLimitOrder: z.number(),
282
294
  flags: z.number(),
283
295
  pool: z.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crypticdot/defituna-api",
3
- "version": "1.1.54",
3
+ "version": "1.1.55",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",