@crypticdot/defituna-api 4.1.2 → 4.1.3
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.cjs +1 -1
- package/dist/index.d.cts +105 -57
- package/dist/index.d.ts +105 -57
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1003,7 +1003,7 @@ type SseResponseLendingPosition = SseResponseLendingPositionPayload & {
|
|
|
1003
1003
|
type SseResponseLendingPositionPayload = {
|
|
1004
1004
|
action: NotificationAction;
|
|
1005
1005
|
authority?: null | PubkeyDto;
|
|
1006
|
-
data:
|
|
1006
|
+
data: LendingPositionResponse;
|
|
1007
1007
|
entity: NotificationEntity;
|
|
1008
1008
|
id: string;
|
|
1009
1009
|
};
|
|
@@ -5478,21 +5478,33 @@ declare const zSseResponseLendingPositionPayload: z.ZodObject<{
|
|
|
5478
5478
|
}>;
|
|
5479
5479
|
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
5480
5480
|
data: z.ZodObject<{
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5481
|
+
item: z.ZodObject<{
|
|
5482
|
+
address: z.ZodString;
|
|
5483
|
+
authority: z.ZodString;
|
|
5484
|
+
earned: z.ZodObject<{
|
|
5485
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
5486
|
+
usd: z.ZodNumber;
|
|
5487
|
+
}, z.core.$strip>;
|
|
5488
|
+
funds: z.ZodObject<{
|
|
5489
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
5490
|
+
usd: z.ZodNumber;
|
|
5491
|
+
}, z.core.$strip>;
|
|
5492
|
+
mint: z.ZodString;
|
|
5493
|
+
shares: z.ZodCoercedBigInt<unknown>;
|
|
5494
|
+
supplyApy: z.ZodNumber;
|
|
5495
|
+
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
5496
|
+
vault: z.ZodString;
|
|
5490
5497
|
}, z.core.$strip>;
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5498
|
+
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5499
|
+
address: z.ZodString;
|
|
5500
|
+
decimals: z.ZodInt;
|
|
5501
|
+
logo: z.ZodString;
|
|
5502
|
+
logo128: z.ZodString;
|
|
5503
|
+
logo32: z.ZodString;
|
|
5504
|
+
logo64: z.ZodString;
|
|
5505
|
+
name: z.ZodString;
|
|
5506
|
+
symbol: z.ZodString;
|
|
5507
|
+
}, z.core.$strip>>;
|
|
5496
5508
|
}, z.core.$strip>;
|
|
5497
5509
|
entity: z.ZodEnum<{
|
|
5498
5510
|
initial_message: "initial_message";
|
|
@@ -5518,21 +5530,33 @@ declare const zSseResponseLendingPosition: z.ZodIntersection<z.ZodObject<{
|
|
|
5518
5530
|
}>;
|
|
5519
5531
|
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
5520
5532
|
data: z.ZodObject<{
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5533
|
+
item: z.ZodObject<{
|
|
5534
|
+
address: z.ZodString;
|
|
5535
|
+
authority: z.ZodString;
|
|
5536
|
+
earned: z.ZodObject<{
|
|
5537
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
5538
|
+
usd: z.ZodNumber;
|
|
5539
|
+
}, z.core.$strip>;
|
|
5540
|
+
funds: z.ZodObject<{
|
|
5541
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
5542
|
+
usd: z.ZodNumber;
|
|
5543
|
+
}, z.core.$strip>;
|
|
5544
|
+
mint: z.ZodString;
|
|
5545
|
+
shares: z.ZodCoercedBigInt<unknown>;
|
|
5546
|
+
supplyApy: z.ZodNumber;
|
|
5547
|
+
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
5548
|
+
vault: z.ZodString;
|
|
5530
5549
|
}, z.core.$strip>;
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5550
|
+
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5551
|
+
address: z.ZodString;
|
|
5552
|
+
decimals: z.ZodInt;
|
|
5553
|
+
logo: z.ZodString;
|
|
5554
|
+
logo128: z.ZodString;
|
|
5555
|
+
logo32: z.ZodString;
|
|
5556
|
+
logo64: z.ZodString;
|
|
5557
|
+
name: z.ZodString;
|
|
5558
|
+
symbol: z.ZodString;
|
|
5559
|
+
}, z.core.$strip>>;
|
|
5536
5560
|
}, z.core.$strip>;
|
|
5537
5561
|
entity: z.ZodEnum<{
|
|
5538
5562
|
initial_message: "initial_message";
|
|
@@ -8639,21 +8663,33 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
|
8639
8663
|
}>;
|
|
8640
8664
|
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8641
8665
|
data: z.ZodObject<{
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
|
|
8649
|
-
|
|
8650
|
-
|
|
8666
|
+
item: z.ZodObject<{
|
|
8667
|
+
address: z.ZodString;
|
|
8668
|
+
authority: z.ZodString;
|
|
8669
|
+
earned: z.ZodObject<{
|
|
8670
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8671
|
+
usd: z.ZodNumber;
|
|
8672
|
+
}, z.core.$strip>;
|
|
8673
|
+
funds: z.ZodObject<{
|
|
8674
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8675
|
+
usd: z.ZodNumber;
|
|
8676
|
+
}, z.core.$strip>;
|
|
8677
|
+
mint: z.ZodString;
|
|
8678
|
+
shares: z.ZodCoercedBigInt<unknown>;
|
|
8679
|
+
supplyApy: z.ZodNumber;
|
|
8680
|
+
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
8681
|
+
vault: z.ZodString;
|
|
8651
8682
|
}, z.core.$strip>;
|
|
8652
|
-
|
|
8653
|
-
|
|
8654
|
-
|
|
8655
|
-
|
|
8656
|
-
|
|
8683
|
+
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8684
|
+
address: z.ZodString;
|
|
8685
|
+
decimals: z.ZodInt;
|
|
8686
|
+
logo: z.ZodString;
|
|
8687
|
+
logo128: z.ZodString;
|
|
8688
|
+
logo32: z.ZodString;
|
|
8689
|
+
logo64: z.ZodString;
|
|
8690
|
+
name: z.ZodString;
|
|
8691
|
+
symbol: z.ZodString;
|
|
8692
|
+
}, z.core.$strip>>;
|
|
8657
8693
|
}, z.core.$strip>;
|
|
8658
8694
|
entity: z.ZodEnum<{
|
|
8659
8695
|
initial_message: "initial_message";
|
|
@@ -10257,21 +10293,33 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
|
|
|
10257
10293
|
}>;
|
|
10258
10294
|
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
10259
10295
|
data: z.ZodObject<{
|
|
10260
|
-
|
|
10261
|
-
|
|
10262
|
-
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
|
|
10266
|
-
|
|
10267
|
-
|
|
10268
|
-
|
|
10296
|
+
item: z.ZodObject<{
|
|
10297
|
+
address: z.ZodString;
|
|
10298
|
+
authority: z.ZodString;
|
|
10299
|
+
earned: z.ZodObject<{
|
|
10300
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
10301
|
+
usd: z.ZodNumber;
|
|
10302
|
+
}, z.core.$strip>;
|
|
10303
|
+
funds: z.ZodObject<{
|
|
10304
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
10305
|
+
usd: z.ZodNumber;
|
|
10306
|
+
}, z.core.$strip>;
|
|
10307
|
+
mint: z.ZodString;
|
|
10308
|
+
shares: z.ZodCoercedBigInt<unknown>;
|
|
10309
|
+
supplyApy: z.ZodNumber;
|
|
10310
|
+
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
10311
|
+
vault: z.ZodString;
|
|
10269
10312
|
}, z.core.$strip>;
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
|
|
10274
|
-
|
|
10313
|
+
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10314
|
+
address: z.ZodString;
|
|
10315
|
+
decimals: z.ZodInt;
|
|
10316
|
+
logo: z.ZodString;
|
|
10317
|
+
logo128: z.ZodString;
|
|
10318
|
+
logo32: z.ZodString;
|
|
10319
|
+
logo64: z.ZodString;
|
|
10320
|
+
name: z.ZodString;
|
|
10321
|
+
symbol: z.ZodString;
|
|
10322
|
+
}, z.core.$strip>>;
|
|
10275
10323
|
}, z.core.$strip>;
|
|
10276
10324
|
entity: z.ZodEnum<{
|
|
10277
10325
|
initial_message: "initial_message";
|
package/dist/index.d.ts
CHANGED
|
@@ -1003,7 +1003,7 @@ type SseResponseLendingPosition = SseResponseLendingPositionPayload & {
|
|
|
1003
1003
|
type SseResponseLendingPositionPayload = {
|
|
1004
1004
|
action: NotificationAction;
|
|
1005
1005
|
authority?: null | PubkeyDto;
|
|
1006
|
-
data:
|
|
1006
|
+
data: LendingPositionResponse;
|
|
1007
1007
|
entity: NotificationEntity;
|
|
1008
1008
|
id: string;
|
|
1009
1009
|
};
|
|
@@ -5478,21 +5478,33 @@ declare const zSseResponseLendingPositionPayload: z.ZodObject<{
|
|
|
5478
5478
|
}>;
|
|
5479
5479
|
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
5480
5480
|
data: z.ZodObject<{
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5481
|
+
item: z.ZodObject<{
|
|
5482
|
+
address: z.ZodString;
|
|
5483
|
+
authority: z.ZodString;
|
|
5484
|
+
earned: z.ZodObject<{
|
|
5485
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
5486
|
+
usd: z.ZodNumber;
|
|
5487
|
+
}, z.core.$strip>;
|
|
5488
|
+
funds: z.ZodObject<{
|
|
5489
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
5490
|
+
usd: z.ZodNumber;
|
|
5491
|
+
}, z.core.$strip>;
|
|
5492
|
+
mint: z.ZodString;
|
|
5493
|
+
shares: z.ZodCoercedBigInt<unknown>;
|
|
5494
|
+
supplyApy: z.ZodNumber;
|
|
5495
|
+
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
5496
|
+
vault: z.ZodString;
|
|
5490
5497
|
}, z.core.$strip>;
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5498
|
+
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5499
|
+
address: z.ZodString;
|
|
5500
|
+
decimals: z.ZodInt;
|
|
5501
|
+
logo: z.ZodString;
|
|
5502
|
+
logo128: z.ZodString;
|
|
5503
|
+
logo32: z.ZodString;
|
|
5504
|
+
logo64: z.ZodString;
|
|
5505
|
+
name: z.ZodString;
|
|
5506
|
+
symbol: z.ZodString;
|
|
5507
|
+
}, z.core.$strip>>;
|
|
5496
5508
|
}, z.core.$strip>;
|
|
5497
5509
|
entity: z.ZodEnum<{
|
|
5498
5510
|
initial_message: "initial_message";
|
|
@@ -5518,21 +5530,33 @@ declare const zSseResponseLendingPosition: z.ZodIntersection<z.ZodObject<{
|
|
|
5518
5530
|
}>;
|
|
5519
5531
|
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
5520
5532
|
data: z.ZodObject<{
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5533
|
+
item: z.ZodObject<{
|
|
5534
|
+
address: z.ZodString;
|
|
5535
|
+
authority: z.ZodString;
|
|
5536
|
+
earned: z.ZodObject<{
|
|
5537
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
5538
|
+
usd: z.ZodNumber;
|
|
5539
|
+
}, z.core.$strip>;
|
|
5540
|
+
funds: z.ZodObject<{
|
|
5541
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
5542
|
+
usd: z.ZodNumber;
|
|
5543
|
+
}, z.core.$strip>;
|
|
5544
|
+
mint: z.ZodString;
|
|
5545
|
+
shares: z.ZodCoercedBigInt<unknown>;
|
|
5546
|
+
supplyApy: z.ZodNumber;
|
|
5547
|
+
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
5548
|
+
vault: z.ZodString;
|
|
5530
5549
|
}, z.core.$strip>;
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5550
|
+
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5551
|
+
address: z.ZodString;
|
|
5552
|
+
decimals: z.ZodInt;
|
|
5553
|
+
logo: z.ZodString;
|
|
5554
|
+
logo128: z.ZodString;
|
|
5555
|
+
logo32: z.ZodString;
|
|
5556
|
+
logo64: z.ZodString;
|
|
5557
|
+
name: z.ZodString;
|
|
5558
|
+
symbol: z.ZodString;
|
|
5559
|
+
}, z.core.$strip>>;
|
|
5536
5560
|
}, z.core.$strip>;
|
|
5537
5561
|
entity: z.ZodEnum<{
|
|
5538
5562
|
initial_message: "initial_message";
|
|
@@ -8639,21 +8663,33 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
|
8639
8663
|
}>;
|
|
8640
8664
|
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8641
8665
|
data: z.ZodObject<{
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
|
|
8649
|
-
|
|
8650
|
-
|
|
8666
|
+
item: z.ZodObject<{
|
|
8667
|
+
address: z.ZodString;
|
|
8668
|
+
authority: z.ZodString;
|
|
8669
|
+
earned: z.ZodObject<{
|
|
8670
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8671
|
+
usd: z.ZodNumber;
|
|
8672
|
+
}, z.core.$strip>;
|
|
8673
|
+
funds: z.ZodObject<{
|
|
8674
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8675
|
+
usd: z.ZodNumber;
|
|
8676
|
+
}, z.core.$strip>;
|
|
8677
|
+
mint: z.ZodString;
|
|
8678
|
+
shares: z.ZodCoercedBigInt<unknown>;
|
|
8679
|
+
supplyApy: z.ZodNumber;
|
|
8680
|
+
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
8681
|
+
vault: z.ZodString;
|
|
8651
8682
|
}, z.core.$strip>;
|
|
8652
|
-
|
|
8653
|
-
|
|
8654
|
-
|
|
8655
|
-
|
|
8656
|
-
|
|
8683
|
+
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8684
|
+
address: z.ZodString;
|
|
8685
|
+
decimals: z.ZodInt;
|
|
8686
|
+
logo: z.ZodString;
|
|
8687
|
+
logo128: z.ZodString;
|
|
8688
|
+
logo32: z.ZodString;
|
|
8689
|
+
logo64: z.ZodString;
|
|
8690
|
+
name: z.ZodString;
|
|
8691
|
+
symbol: z.ZodString;
|
|
8692
|
+
}, z.core.$strip>>;
|
|
8657
8693
|
}, z.core.$strip>;
|
|
8658
8694
|
entity: z.ZodEnum<{
|
|
8659
8695
|
initial_message: "initial_message";
|
|
@@ -10257,21 +10293,33 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
|
|
|
10257
10293
|
}>;
|
|
10258
10294
|
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
10259
10295
|
data: z.ZodObject<{
|
|
10260
|
-
|
|
10261
|
-
|
|
10262
|
-
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
|
|
10266
|
-
|
|
10267
|
-
|
|
10268
|
-
|
|
10296
|
+
item: z.ZodObject<{
|
|
10297
|
+
address: z.ZodString;
|
|
10298
|
+
authority: z.ZodString;
|
|
10299
|
+
earned: z.ZodObject<{
|
|
10300
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
10301
|
+
usd: z.ZodNumber;
|
|
10302
|
+
}, z.core.$strip>;
|
|
10303
|
+
funds: z.ZodObject<{
|
|
10304
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
10305
|
+
usd: z.ZodNumber;
|
|
10306
|
+
}, z.core.$strip>;
|
|
10307
|
+
mint: z.ZodString;
|
|
10308
|
+
shares: z.ZodCoercedBigInt<unknown>;
|
|
10309
|
+
supplyApy: z.ZodNumber;
|
|
10310
|
+
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
10311
|
+
vault: z.ZodString;
|
|
10269
10312
|
}, z.core.$strip>;
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
|
|
10274
|
-
|
|
10313
|
+
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10314
|
+
address: z.ZodString;
|
|
10315
|
+
decimals: z.ZodInt;
|
|
10316
|
+
logo: z.ZodString;
|
|
10317
|
+
logo128: z.ZodString;
|
|
10318
|
+
logo32: z.ZodString;
|
|
10319
|
+
logo64: z.ZodString;
|
|
10320
|
+
name: z.ZodString;
|
|
10321
|
+
symbol: z.ZodString;
|
|
10322
|
+
}, z.core.$strip>>;
|
|
10275
10323
|
}, z.core.$strip>;
|
|
10276
10324
|
entity: z.ZodEnum<{
|
|
10277
10325
|
initial_message: "initial_message";
|
package/dist/index.js
CHANGED