@crypticdot/defituna-api 1.1.39 → 1.1.40

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.js CHANGED
@@ -393,16 +393,16 @@ var StakingPosition = import_zod.z.object({
393
393
  unlockRate: import_zod.z.coerce.bigint(),
394
394
  unlockEverySeconds: import_zod.z.number(),
395
395
  unlockCliffSeconds: import_zod.z.number(),
396
- lockedAt: import_zod.z.nullable(import_zod.z.date())
396
+ lockedAt: import_zod.z.nullable(import_zod.z.coerce.date())
397
397
  }),
398
- lastUnstakedAt: import_zod.z.nullable(import_zod.z.date()),
399
- withdrawAvailableAt: import_zod.z.nullable(import_zod.z.date())
398
+ lastUnstakedAt: import_zod.z.nullable(import_zod.z.coerce.date()),
399
+ withdrawAvailableAt: import_zod.z.nullable(import_zod.z.coerce.date())
400
400
  });
401
401
  var StakingPositionHistoryAction = import_zod.z.object({
402
402
  position: import_zod.z.string(),
403
403
  action: StakingPositionHistoryActionTypeSchema,
404
404
  txSignature: import_zod.z.string(),
405
- time: import_zod.z.date()
405
+ time: import_zod.z.coerce.date()
406
406
  });
407
407
  var PoolPriceCandle = import_zod.z.object({
408
408
  time: import_zod.z.number(),
package/dist/index.mjs CHANGED
@@ -358,16 +358,16 @@ var StakingPosition = z.object({
358
358
  unlockRate: z.coerce.bigint(),
359
359
  unlockEverySeconds: z.number(),
360
360
  unlockCliffSeconds: z.number(),
361
- lockedAt: z.nullable(z.date())
361
+ lockedAt: z.nullable(z.coerce.date())
362
362
  }),
363
- lastUnstakedAt: z.nullable(z.date()),
364
- withdrawAvailableAt: z.nullable(z.date())
363
+ lastUnstakedAt: z.nullable(z.coerce.date()),
364
+ withdrawAvailableAt: z.nullable(z.coerce.date())
365
365
  });
366
366
  var StakingPositionHistoryAction = z.object({
367
367
  position: z.string(),
368
368
  action: StakingPositionHistoryActionTypeSchema,
369
369
  txSignature: z.string(),
370
- time: z.date()
370
+ time: z.coerce.date()
371
371
  });
372
372
  var PoolPriceCandle = z.object({
373
373
  time: z.number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crypticdot/defituna-api",
3
- "version": "1.1.39",
3
+ "version": "1.1.40",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",