@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 CHANGED
@@ -9853,7 +9853,7 @@ var zSseResponseLendingPositionPayload = object({
9853
9853
  _null3(),
9854
9854
  zPubkeyDto
9855
9855
  ])),
9856
- data: zLendingPositionDto,
9856
+ data: zLendingPositionResponse,
9857
9857
  entity: zNotificationEntity,
9858
9858
  id: string2()
9859
9859
  });
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: LendingPositionDto;
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
- address: z.ZodString;
5482
- authority: z.ZodString;
5483
- earned: z.ZodObject<{
5484
- amount: z.ZodCoercedBigInt<unknown>;
5485
- usd: z.ZodNumber;
5486
- }, z.core.$strip>;
5487
- funds: z.ZodObject<{
5488
- amount: z.ZodCoercedBigInt<unknown>;
5489
- usd: z.ZodNumber;
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
- mint: z.ZodString;
5492
- shares: z.ZodCoercedBigInt<unknown>;
5493
- supplyApy: z.ZodNumber;
5494
- updatedAtSlot: z.ZodCoercedBigInt<unknown>;
5495
- vault: z.ZodString;
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
- address: z.ZodString;
5522
- authority: z.ZodString;
5523
- earned: z.ZodObject<{
5524
- amount: z.ZodCoercedBigInt<unknown>;
5525
- usd: z.ZodNumber;
5526
- }, z.core.$strip>;
5527
- funds: z.ZodObject<{
5528
- amount: z.ZodCoercedBigInt<unknown>;
5529
- usd: z.ZodNumber;
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
- mint: z.ZodString;
5532
- shares: z.ZodCoercedBigInt<unknown>;
5533
- supplyApy: z.ZodNumber;
5534
- updatedAtSlot: z.ZodCoercedBigInt<unknown>;
5535
- vault: z.ZodString;
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
- address: z.ZodString;
8643
- authority: z.ZodString;
8644
- earned: z.ZodObject<{
8645
- amount: z.ZodCoercedBigInt<unknown>;
8646
- usd: z.ZodNumber;
8647
- }, z.core.$strip>;
8648
- funds: z.ZodObject<{
8649
- amount: z.ZodCoercedBigInt<unknown>;
8650
- usd: z.ZodNumber;
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
- mint: z.ZodString;
8653
- shares: z.ZodCoercedBigInt<unknown>;
8654
- supplyApy: z.ZodNumber;
8655
- updatedAtSlot: z.ZodCoercedBigInt<unknown>;
8656
- vault: z.ZodString;
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
- address: z.ZodString;
10261
- authority: z.ZodString;
10262
- earned: z.ZodObject<{
10263
- amount: z.ZodCoercedBigInt<unknown>;
10264
- usd: z.ZodNumber;
10265
- }, z.core.$strip>;
10266
- funds: z.ZodObject<{
10267
- amount: z.ZodCoercedBigInt<unknown>;
10268
- usd: z.ZodNumber;
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
- mint: z.ZodString;
10271
- shares: z.ZodCoercedBigInt<unknown>;
10272
- supplyApy: z.ZodNumber;
10273
- updatedAtSlot: z.ZodCoercedBigInt<unknown>;
10274
- vault: z.ZodString;
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: LendingPositionDto;
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
- address: z.ZodString;
5482
- authority: z.ZodString;
5483
- earned: z.ZodObject<{
5484
- amount: z.ZodCoercedBigInt<unknown>;
5485
- usd: z.ZodNumber;
5486
- }, z.core.$strip>;
5487
- funds: z.ZodObject<{
5488
- amount: z.ZodCoercedBigInt<unknown>;
5489
- usd: z.ZodNumber;
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
- mint: z.ZodString;
5492
- shares: z.ZodCoercedBigInt<unknown>;
5493
- supplyApy: z.ZodNumber;
5494
- updatedAtSlot: z.ZodCoercedBigInt<unknown>;
5495
- vault: z.ZodString;
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
- address: z.ZodString;
5522
- authority: z.ZodString;
5523
- earned: z.ZodObject<{
5524
- amount: z.ZodCoercedBigInt<unknown>;
5525
- usd: z.ZodNumber;
5526
- }, z.core.$strip>;
5527
- funds: z.ZodObject<{
5528
- amount: z.ZodCoercedBigInt<unknown>;
5529
- usd: z.ZodNumber;
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
- mint: z.ZodString;
5532
- shares: z.ZodCoercedBigInt<unknown>;
5533
- supplyApy: z.ZodNumber;
5534
- updatedAtSlot: z.ZodCoercedBigInt<unknown>;
5535
- vault: z.ZodString;
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
- address: z.ZodString;
8643
- authority: z.ZodString;
8644
- earned: z.ZodObject<{
8645
- amount: z.ZodCoercedBigInt<unknown>;
8646
- usd: z.ZodNumber;
8647
- }, z.core.$strip>;
8648
- funds: z.ZodObject<{
8649
- amount: z.ZodCoercedBigInt<unknown>;
8650
- usd: z.ZodNumber;
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
- mint: z.ZodString;
8653
- shares: z.ZodCoercedBigInt<unknown>;
8654
- supplyApy: z.ZodNumber;
8655
- updatedAtSlot: z.ZodCoercedBigInt<unknown>;
8656
- vault: z.ZodString;
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
- address: z.ZodString;
10261
- authority: z.ZodString;
10262
- earned: z.ZodObject<{
10263
- amount: z.ZodCoercedBigInt<unknown>;
10264
- usd: z.ZodNumber;
10265
- }, z.core.$strip>;
10266
- funds: z.ZodObject<{
10267
- amount: z.ZodCoercedBigInt<unknown>;
10268
- usd: z.ZodNumber;
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
- mint: z.ZodString;
10271
- shares: z.ZodCoercedBigInt<unknown>;
10272
- supplyApy: z.ZodNumber;
10273
- updatedAtSlot: z.ZodCoercedBigInt<unknown>;
10274
- vault: z.ZodString;
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
@@ -9548,7 +9548,7 @@ var zSseResponseLendingPositionPayload = object({
9548
9548
  _null3(),
9549
9549
  zPubkeyDto
9550
9550
  ])),
9551
- data: zLendingPositionDto,
9551
+ data: zLendingPositionResponse,
9552
9552
  entity: zNotificationEntity,
9553
9553
  id: string2()
9554
9554
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crypticdot/defituna-api",
3
- "version": "4.1.2",
3
+ "version": "4.1.3",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",