@crypticdot/defituna-api 1.1.47 → 1.1.49

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
@@ -1243,6 +1243,9 @@ declare const StakingTreasury$1: z.ZodObject<{
1243
1243
  usd: number;
1244
1244
  }>;
1245
1245
  unstakeCooldownSeconds: z.ZodNumber;
1246
+ isStakingEnabled: z.ZodBoolean;
1247
+ isUnstakingEnabled: z.ZodBoolean;
1248
+ isWithdrawEnabled: z.ZodBoolean;
1246
1249
  }, "strip", z.ZodTypeAny, {
1247
1250
  address: string;
1248
1251
  stakedTokenMint: string;
@@ -1257,6 +1260,9 @@ declare const StakingTreasury$1: z.ZodObject<{
1257
1260
  usd: number;
1258
1261
  };
1259
1262
  unstakeCooldownSeconds: number;
1263
+ isStakingEnabled: boolean;
1264
+ isUnstakingEnabled: boolean;
1265
+ isWithdrawEnabled: boolean;
1260
1266
  }, {
1261
1267
  address: string;
1262
1268
  stakedTokenMint: string;
@@ -1271,6 +1277,9 @@ declare const StakingTreasury$1: z.ZodObject<{
1271
1277
  usd: number;
1272
1278
  };
1273
1279
  unstakeCooldownSeconds: number;
1280
+ isStakingEnabled: boolean;
1281
+ isUnstakingEnabled: boolean;
1282
+ isWithdrawEnabled: boolean;
1274
1283
  }>;
1275
1284
  declare const StakingPosition$1: z.ZodObject<{
1276
1285
  address: z.ZodString;
@@ -1577,19 +1586,19 @@ declare const StakingRevenueStatsGroup$1: z.ZodObject<{
1577
1586
  totalDepositsUsd: z.ZodNumber;
1578
1587
  totalDepositsSol: z.ZodBigInt;
1579
1588
  runningTotalDepositsUsd: z.ZodNumber;
1580
- runningtotalDepositsSol: z.ZodBigInt;
1589
+ runningTotalDepositsSol: z.ZodBigInt;
1581
1590
  }, "strip", z.ZodTypeAny, {
1582
1591
  time: Date;
1583
1592
  totalDepositsUsd: number;
1584
1593
  totalDepositsSol: bigint;
1585
1594
  runningTotalDepositsUsd: number;
1586
- runningtotalDepositsSol: bigint;
1595
+ runningTotalDepositsSol: bigint;
1587
1596
  }, {
1588
1597
  time: Date;
1589
1598
  totalDepositsUsd: number;
1590
1599
  totalDepositsSol: bigint;
1591
1600
  runningTotalDepositsUsd: number;
1592
- runningtotalDepositsSol: bigint;
1601
+ runningTotalDepositsSol: bigint;
1593
1602
  }>;
1594
1603
  declare const UpdateStreamSubscriptionResult: z.ZodObject<{
1595
1604
  status: z.ZodString;
package/dist/index.d.ts CHANGED
@@ -1243,6 +1243,9 @@ declare const StakingTreasury$1: z.ZodObject<{
1243
1243
  usd: number;
1244
1244
  }>;
1245
1245
  unstakeCooldownSeconds: z.ZodNumber;
1246
+ isStakingEnabled: z.ZodBoolean;
1247
+ isUnstakingEnabled: z.ZodBoolean;
1248
+ isWithdrawEnabled: z.ZodBoolean;
1246
1249
  }, "strip", z.ZodTypeAny, {
1247
1250
  address: string;
1248
1251
  stakedTokenMint: string;
@@ -1257,6 +1260,9 @@ declare const StakingTreasury$1: z.ZodObject<{
1257
1260
  usd: number;
1258
1261
  };
1259
1262
  unstakeCooldownSeconds: number;
1263
+ isStakingEnabled: boolean;
1264
+ isUnstakingEnabled: boolean;
1265
+ isWithdrawEnabled: boolean;
1260
1266
  }, {
1261
1267
  address: string;
1262
1268
  stakedTokenMint: string;
@@ -1271,6 +1277,9 @@ declare const StakingTreasury$1: z.ZodObject<{
1271
1277
  usd: number;
1272
1278
  };
1273
1279
  unstakeCooldownSeconds: number;
1280
+ isStakingEnabled: boolean;
1281
+ isUnstakingEnabled: boolean;
1282
+ isWithdrawEnabled: boolean;
1274
1283
  }>;
1275
1284
  declare const StakingPosition$1: z.ZodObject<{
1276
1285
  address: z.ZodString;
@@ -1577,19 +1586,19 @@ declare const StakingRevenueStatsGroup$1: z.ZodObject<{
1577
1586
  totalDepositsUsd: z.ZodNumber;
1578
1587
  totalDepositsSol: z.ZodBigInt;
1579
1588
  runningTotalDepositsUsd: z.ZodNumber;
1580
- runningtotalDepositsSol: z.ZodBigInt;
1589
+ runningTotalDepositsSol: z.ZodBigInt;
1581
1590
  }, "strip", z.ZodTypeAny, {
1582
1591
  time: Date;
1583
1592
  totalDepositsUsd: number;
1584
1593
  totalDepositsSol: bigint;
1585
1594
  runningTotalDepositsUsd: number;
1586
- runningtotalDepositsSol: bigint;
1595
+ runningTotalDepositsSol: bigint;
1587
1596
  }, {
1588
1597
  time: Date;
1589
1598
  totalDepositsUsd: number;
1590
1599
  totalDepositsSol: bigint;
1591
1600
  runningTotalDepositsUsd: number;
1592
- runningtotalDepositsSol: bigint;
1601
+ runningTotalDepositsSol: bigint;
1593
1602
  }>;
1594
1603
  declare const UpdateStreamSubscriptionResult: z.ZodObject<{
1595
1604
  status: z.ZodString;
package/dist/index.js CHANGED
@@ -384,7 +384,10 @@ var StakingTreasury = import_zod.z.object({
384
384
  apy: import_zod.z.number(),
385
385
  totalStaked: amountWithUsd,
386
386
  totalReward: amountWithUsd,
387
- unstakeCooldownSeconds: import_zod.z.number()
387
+ unstakeCooldownSeconds: import_zod.z.number(),
388
+ isStakingEnabled: import_zod.z.boolean(),
389
+ isUnstakingEnabled: import_zod.z.boolean(),
390
+ isWithdrawEnabled: import_zod.z.boolean()
388
391
  });
389
392
  var StakingPosition = import_zod.z.object({
390
393
  address: import_zod.z.string(),
@@ -455,7 +458,7 @@ var StakingRevenueStatsGroup = import_zod.z.object({
455
458
  totalDepositsUsd: import_zod.z.number(),
456
459
  totalDepositsSol: import_zod.z.coerce.bigint(),
457
460
  runningTotalDepositsUsd: import_zod.z.number(),
458
- runningtotalDepositsSol: import_zod.z.coerce.bigint()
461
+ runningTotalDepositsSol: import_zod.z.coerce.bigint()
459
462
  });
460
463
  var UpdateStreamSubscriptionResult = import_zod.z.object({
461
464
  status: import_zod.z.string()
package/dist/index.mjs CHANGED
@@ -349,7 +349,10 @@ var StakingTreasury = z.object({
349
349
  apy: z.number(),
350
350
  totalStaked: amountWithUsd,
351
351
  totalReward: amountWithUsd,
352
- unstakeCooldownSeconds: z.number()
352
+ unstakeCooldownSeconds: z.number(),
353
+ isStakingEnabled: z.boolean(),
354
+ isUnstakingEnabled: z.boolean(),
355
+ isWithdrawEnabled: z.boolean()
353
356
  });
354
357
  var StakingPosition = z.object({
355
358
  address: z.string(),
@@ -420,7 +423,7 @@ var StakingRevenueStatsGroup = z.object({
420
423
  totalDepositsUsd: z.number(),
421
424
  totalDepositsSol: z.coerce.bigint(),
422
425
  runningTotalDepositsUsd: z.number(),
423
- runningtotalDepositsSol: z.coerce.bigint()
426
+ runningTotalDepositsSol: z.coerce.bigint()
424
427
  });
425
428
  var UpdateStreamSubscriptionResult = z.object({
426
429
  status: z.string()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crypticdot/defituna-api",
3
- "version": "1.1.47",
3
+ "version": "1.1.49",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",