@crypticdot/defituna-api 1.1.41 → 1.1.43
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 +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -377,6 +377,7 @@ declare const Pool$1: z.ZodObject<{
|
|
|
377
377
|
tokenAVault: z.ZodString;
|
|
378
378
|
tokenBVault: z.ZodString;
|
|
379
379
|
tvlUsdc: z.ZodNumber;
|
|
380
|
+
priceChange24H: z.ZodNumber;
|
|
380
381
|
tickSpacing: z.ZodNumber;
|
|
381
382
|
feeRate: z.ZodNumber;
|
|
382
383
|
protocolFeeRate: z.ZodNumber;
|
|
@@ -479,6 +480,7 @@ declare const Pool$1: z.ZodObject<{
|
|
|
479
480
|
tokenAVault: string;
|
|
480
481
|
tokenBVault: string;
|
|
481
482
|
tvlUsdc: number;
|
|
483
|
+
priceChange24H: number;
|
|
482
484
|
tickSpacing: number;
|
|
483
485
|
feeRate: number;
|
|
484
486
|
protocolFeeRate: number;
|
|
@@ -513,6 +515,7 @@ declare const Pool$1: z.ZodObject<{
|
|
|
513
515
|
tokenAVault: string;
|
|
514
516
|
tokenBVault: string;
|
|
515
517
|
tvlUsdc: number;
|
|
518
|
+
priceChange24H: number;
|
|
516
519
|
tickSpacing: number;
|
|
517
520
|
feeRate: number;
|
|
518
521
|
protocolFeeRate: number;
|
|
@@ -1437,13 +1440,16 @@ declare const StakingPositionHistoryAction$1: z.ZodObject<{
|
|
|
1437
1440
|
position: z.ZodString;
|
|
1438
1441
|
action: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards")[]]>;
|
|
1439
1442
|
txSignature: z.ZodString;
|
|
1443
|
+
amount: z.ZodBigInt;
|
|
1440
1444
|
time: z.ZodDate;
|
|
1441
1445
|
}, "strip", z.ZodTypeAny, {
|
|
1446
|
+
amount: bigint;
|
|
1442
1447
|
time: Date;
|
|
1443
1448
|
position: string;
|
|
1444
1449
|
action: "stake" | "unstake" | "withdraw" | "claim_rewards";
|
|
1445
1450
|
txSignature: string;
|
|
1446
1451
|
}, {
|
|
1452
|
+
amount: bigint;
|
|
1447
1453
|
time: Date;
|
|
1448
1454
|
position: string;
|
|
1449
1455
|
action: "stake" | "unstake" | "withdraw" | "claim_rewards";
|
package/dist/index.d.ts
CHANGED
|
@@ -377,6 +377,7 @@ declare const Pool$1: z.ZodObject<{
|
|
|
377
377
|
tokenAVault: z.ZodString;
|
|
378
378
|
tokenBVault: z.ZodString;
|
|
379
379
|
tvlUsdc: z.ZodNumber;
|
|
380
|
+
priceChange24H: z.ZodNumber;
|
|
380
381
|
tickSpacing: z.ZodNumber;
|
|
381
382
|
feeRate: z.ZodNumber;
|
|
382
383
|
protocolFeeRate: z.ZodNumber;
|
|
@@ -479,6 +480,7 @@ declare const Pool$1: z.ZodObject<{
|
|
|
479
480
|
tokenAVault: string;
|
|
480
481
|
tokenBVault: string;
|
|
481
482
|
tvlUsdc: number;
|
|
483
|
+
priceChange24H: number;
|
|
482
484
|
tickSpacing: number;
|
|
483
485
|
feeRate: number;
|
|
484
486
|
protocolFeeRate: number;
|
|
@@ -513,6 +515,7 @@ declare const Pool$1: z.ZodObject<{
|
|
|
513
515
|
tokenAVault: string;
|
|
514
516
|
tokenBVault: string;
|
|
515
517
|
tvlUsdc: number;
|
|
518
|
+
priceChange24H: number;
|
|
516
519
|
tickSpacing: number;
|
|
517
520
|
feeRate: number;
|
|
518
521
|
protocolFeeRate: number;
|
|
@@ -1437,13 +1440,16 @@ declare const StakingPositionHistoryAction$1: z.ZodObject<{
|
|
|
1437
1440
|
position: z.ZodString;
|
|
1438
1441
|
action: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards")[]]>;
|
|
1439
1442
|
txSignature: z.ZodString;
|
|
1443
|
+
amount: z.ZodBigInt;
|
|
1440
1444
|
time: z.ZodDate;
|
|
1441
1445
|
}, "strip", z.ZodTypeAny, {
|
|
1446
|
+
amount: bigint;
|
|
1442
1447
|
time: Date;
|
|
1443
1448
|
position: string;
|
|
1444
1449
|
action: "stake" | "unstake" | "withdraw" | "claim_rewards";
|
|
1445
1450
|
txSignature: string;
|
|
1446
1451
|
}, {
|
|
1452
|
+
amount: bigint;
|
|
1447
1453
|
time: Date;
|
|
1448
1454
|
position: string;
|
|
1449
1455
|
action: "stake" | "unstake" | "withdraw" | "claim_rewards";
|
package/dist/index.js
CHANGED
|
@@ -242,6 +242,7 @@ var Pool = import_zod.z.object({
|
|
|
242
242
|
tokenAVault: import_zod.z.string(),
|
|
243
243
|
tokenBVault: import_zod.z.string(),
|
|
244
244
|
tvlUsdc: import_zod.z.coerce.number(),
|
|
245
|
+
priceChange24H: import_zod.z.number(),
|
|
245
246
|
tickSpacing: import_zod.z.number(),
|
|
246
247
|
feeRate: import_zod.z.number(),
|
|
247
248
|
protocolFeeRate: import_zod.z.number(),
|
|
@@ -403,6 +404,7 @@ var StakingPositionHistoryAction = import_zod.z.object({
|
|
|
403
404
|
position: import_zod.z.string(),
|
|
404
405
|
action: StakingPositionHistoryActionTypeSchema,
|
|
405
406
|
txSignature: import_zod.z.string(),
|
|
407
|
+
amount: import_zod.z.coerce.bigint(),
|
|
406
408
|
time: import_zod.z.coerce.date()
|
|
407
409
|
});
|
|
408
410
|
var PoolPriceCandle = import_zod.z.object({
|
package/dist/index.mjs
CHANGED
|
@@ -207,6 +207,7 @@ var Pool = z.object({
|
|
|
207
207
|
tokenAVault: z.string(),
|
|
208
208
|
tokenBVault: z.string(),
|
|
209
209
|
tvlUsdc: z.coerce.number(),
|
|
210
|
+
priceChange24H: z.number(),
|
|
210
211
|
tickSpacing: z.number(),
|
|
211
212
|
feeRate: z.number(),
|
|
212
213
|
protocolFeeRate: z.number(),
|
|
@@ -368,6 +369,7 @@ var StakingPositionHistoryAction = z.object({
|
|
|
368
369
|
position: z.string(),
|
|
369
370
|
action: StakingPositionHistoryActionTypeSchema,
|
|
370
371
|
txSignature: z.string(),
|
|
372
|
+
amount: z.coerce.bigint(),
|
|
371
373
|
time: z.coerce.date()
|
|
372
374
|
});
|
|
373
375
|
var PoolPriceCandle = z.object({
|