@crypticdot/defituna-api 1.1.37 → 1.1.38

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
@@ -1233,7 +1233,7 @@ declare const StakingTreasury$1: z.ZodObject<{
1233
1233
  amount: bigint;
1234
1234
  usd: number;
1235
1235
  }>;
1236
- unstakeCooldown: z.ZodBigInt;
1236
+ unstakeCooldownSeconds: z.ZodNumber;
1237
1237
  }, "strip", z.ZodTypeAny, {
1238
1238
  address: string;
1239
1239
  stakedTokenMint: string;
@@ -1247,7 +1247,7 @@ declare const StakingTreasury$1: z.ZodObject<{
1247
1247
  amount: bigint;
1248
1248
  usd: number;
1249
1249
  };
1250
- unstakeCooldown: bigint;
1250
+ unstakeCooldownSeconds: number;
1251
1251
  }, {
1252
1252
  address: string;
1253
1253
  stakedTokenMint: string;
@@ -1261,7 +1261,7 @@ declare const StakingTreasury$1: z.ZodObject<{
1261
1261
  amount: bigint;
1262
1262
  usd: number;
1263
1263
  };
1264
- unstakeCooldown: bigint;
1264
+ unstakeCooldownSeconds: number;
1265
1265
  }>;
1266
1266
  declare const StakingPosition$1: z.ZodObject<{
1267
1267
  address: z.ZodString;
@@ -1328,8 +1328,8 @@ declare const StakingPosition$1: z.ZodObject<{
1328
1328
  usd: number;
1329
1329
  }>;
1330
1330
  unlockRate: z.ZodBigInt;
1331
- unlockPeriod: z.ZodNumber;
1332
- unlockCliff: z.ZodNumber;
1331
+ unlockEverySeconds: z.ZodNumber;
1332
+ unlockCliffSeconds: z.ZodNumber;
1333
1333
  lockedAt: z.ZodNullable<z.ZodDate>;
1334
1334
  }, "strip", z.ZodTypeAny, {
1335
1335
  locked: {
@@ -1341,8 +1341,8 @@ declare const StakingPosition$1: z.ZodObject<{
1341
1341
  usd: number;
1342
1342
  };
1343
1343
  unlockRate: bigint;
1344
- unlockPeriod: number;
1345
- unlockCliff: number;
1344
+ unlockEverySeconds: number;
1345
+ unlockCliffSeconds: number;
1346
1346
  lockedAt: Date | null;
1347
1347
  }, {
1348
1348
  locked: {
@@ -1354,8 +1354,8 @@ declare const StakingPosition$1: z.ZodObject<{
1354
1354
  usd: number;
1355
1355
  };
1356
1356
  unlockRate: bigint;
1357
- unlockPeriod: number;
1358
- unlockCliff: number;
1357
+ unlockEverySeconds: number;
1358
+ unlockCliffSeconds: number;
1359
1359
  lockedAt: Date | null;
1360
1360
  }>;
1361
1361
  lastUnstakedAt: z.ZodNullable<z.ZodDate>;
@@ -1389,8 +1389,8 @@ declare const StakingPosition$1: z.ZodObject<{
1389
1389
  usd: number;
1390
1390
  };
1391
1391
  unlockRate: bigint;
1392
- unlockPeriod: number;
1393
- unlockCliff: number;
1392
+ unlockEverySeconds: number;
1393
+ unlockCliffSeconds: number;
1394
1394
  lockedAt: Date | null;
1395
1395
  };
1396
1396
  lastUnstakedAt: Date | null;
@@ -1424,8 +1424,8 @@ declare const StakingPosition$1: z.ZodObject<{
1424
1424
  usd: number;
1425
1425
  };
1426
1426
  unlockRate: bigint;
1427
- unlockPeriod: number;
1428
- unlockCliff: number;
1427
+ unlockEverySeconds: number;
1428
+ unlockCliffSeconds: number;
1429
1429
  lockedAt: Date | null;
1430
1430
  };
1431
1431
  lastUnstakedAt: Date | null;
package/dist/index.d.ts CHANGED
@@ -1233,7 +1233,7 @@ declare const StakingTreasury$1: z.ZodObject<{
1233
1233
  amount: bigint;
1234
1234
  usd: number;
1235
1235
  }>;
1236
- unstakeCooldown: z.ZodBigInt;
1236
+ unstakeCooldownSeconds: z.ZodNumber;
1237
1237
  }, "strip", z.ZodTypeAny, {
1238
1238
  address: string;
1239
1239
  stakedTokenMint: string;
@@ -1247,7 +1247,7 @@ declare const StakingTreasury$1: z.ZodObject<{
1247
1247
  amount: bigint;
1248
1248
  usd: number;
1249
1249
  };
1250
- unstakeCooldown: bigint;
1250
+ unstakeCooldownSeconds: number;
1251
1251
  }, {
1252
1252
  address: string;
1253
1253
  stakedTokenMint: string;
@@ -1261,7 +1261,7 @@ declare const StakingTreasury$1: z.ZodObject<{
1261
1261
  amount: bigint;
1262
1262
  usd: number;
1263
1263
  };
1264
- unstakeCooldown: bigint;
1264
+ unstakeCooldownSeconds: number;
1265
1265
  }>;
1266
1266
  declare const StakingPosition$1: z.ZodObject<{
1267
1267
  address: z.ZodString;
@@ -1328,8 +1328,8 @@ declare const StakingPosition$1: z.ZodObject<{
1328
1328
  usd: number;
1329
1329
  }>;
1330
1330
  unlockRate: z.ZodBigInt;
1331
- unlockPeriod: z.ZodNumber;
1332
- unlockCliff: z.ZodNumber;
1331
+ unlockEverySeconds: z.ZodNumber;
1332
+ unlockCliffSeconds: z.ZodNumber;
1333
1333
  lockedAt: z.ZodNullable<z.ZodDate>;
1334
1334
  }, "strip", z.ZodTypeAny, {
1335
1335
  locked: {
@@ -1341,8 +1341,8 @@ declare const StakingPosition$1: z.ZodObject<{
1341
1341
  usd: number;
1342
1342
  };
1343
1343
  unlockRate: bigint;
1344
- unlockPeriod: number;
1345
- unlockCliff: number;
1344
+ unlockEverySeconds: number;
1345
+ unlockCliffSeconds: number;
1346
1346
  lockedAt: Date | null;
1347
1347
  }, {
1348
1348
  locked: {
@@ -1354,8 +1354,8 @@ declare const StakingPosition$1: z.ZodObject<{
1354
1354
  usd: number;
1355
1355
  };
1356
1356
  unlockRate: bigint;
1357
- unlockPeriod: number;
1358
- unlockCliff: number;
1357
+ unlockEverySeconds: number;
1358
+ unlockCliffSeconds: number;
1359
1359
  lockedAt: Date | null;
1360
1360
  }>;
1361
1361
  lastUnstakedAt: z.ZodNullable<z.ZodDate>;
@@ -1389,8 +1389,8 @@ declare const StakingPosition$1: z.ZodObject<{
1389
1389
  usd: number;
1390
1390
  };
1391
1391
  unlockRate: bigint;
1392
- unlockPeriod: number;
1393
- unlockCliff: number;
1392
+ unlockEverySeconds: number;
1393
+ unlockCliffSeconds: number;
1394
1394
  lockedAt: Date | null;
1395
1395
  };
1396
1396
  lastUnstakedAt: Date | null;
@@ -1424,8 +1424,8 @@ declare const StakingPosition$1: z.ZodObject<{
1424
1424
  usd: number;
1425
1425
  };
1426
1426
  unlockRate: bigint;
1427
- unlockPeriod: number;
1428
- unlockCliff: number;
1427
+ unlockEverySeconds: number;
1428
+ unlockCliffSeconds: number;
1429
1429
  lockedAt: Date | null;
1430
1430
  };
1431
1431
  lastUnstakedAt: Date | null;
package/dist/index.js CHANGED
@@ -376,7 +376,7 @@ var StakingTreasury = import_zod.z.object({
376
376
  apy: import_zod.z.number(),
377
377
  totalStaked: amountWithUsd,
378
378
  totalReward: amountWithUsd,
379
- unstakeCooldown: import_zod.z.coerce.bigint()
379
+ unstakeCooldownSeconds: import_zod.z.number()
380
380
  });
381
381
  var StakingPosition = import_zod.z.object({
382
382
  address: import_zod.z.string(),
@@ -389,8 +389,8 @@ var StakingPosition = import_zod.z.object({
389
389
  locked: amountWithUsd,
390
390
  unlocked: amountWithUsd,
391
391
  unlockRate: import_zod.z.coerce.bigint(),
392
- unlockPeriod: import_zod.z.number(),
393
- unlockCliff: import_zod.z.number(),
392
+ unlockEverySeconds: import_zod.z.number(),
393
+ unlockCliffSeconds: import_zod.z.number(),
394
394
  lockedAt: import_zod.z.nullable(import_zod.z.date())
395
395
  }),
396
396
  lastUnstakedAt: import_zod.z.nullable(import_zod.z.date()),
package/dist/index.mjs CHANGED
@@ -341,7 +341,7 @@ var StakingTreasury = z.object({
341
341
  apy: z.number(),
342
342
  totalStaked: amountWithUsd,
343
343
  totalReward: amountWithUsd,
344
- unstakeCooldown: z.coerce.bigint()
344
+ unstakeCooldownSeconds: z.number()
345
345
  });
346
346
  var StakingPosition = z.object({
347
347
  address: z.string(),
@@ -354,8 +354,8 @@ var StakingPosition = z.object({
354
354
  locked: amountWithUsd,
355
355
  unlocked: amountWithUsd,
356
356
  unlockRate: z.coerce.bigint(),
357
- unlockPeriod: z.number(),
358
- unlockCliff: z.number(),
357
+ unlockEverySeconds: z.number(),
358
+ unlockCliffSeconds: z.number(),
359
359
  lockedAt: z.nullable(z.date())
360
360
  }),
361
361
  lastUnstakedAt: z.nullable(z.date()),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crypticdot/defituna-api",
3
- "version": "1.1.37",
3
+ "version": "1.1.38",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",