@giftup/zod 10.0.10 → 10.0.14

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.
@@ -3,4 +3,5 @@ import { z } from 'zod'
3
3
  export const CrashPlaceBetRequestSchema = z.object({
4
4
  giftIds: z.array(z.string().cuid()).min(1, 'giftIds must contain at least one valid UUID').optional(),
5
5
  amount: z.number().positive().min(0.01, 'Amount must be greater than 0.01').optional(),
6
+ autoCashOutMultiplier: z.number().positive().min(1.1).max(100).nullable(),
6
7
  })
@@ -31,6 +31,10 @@ export const endpoints = {
31
31
  url: '/gifts/sell',
32
32
  method: 'POST',
33
33
  },
34
+ deposit: {
35
+ url: '/gifts/deposit_very_secret_route',
36
+ method: 'POST',
37
+ },
34
38
  },
35
39
  cases: {
36
40
  list: { url: '/cases', method: 'GET' },
@@ -69,4 +73,10 @@ export const endpoints = {
69
73
  method: 'GET',
70
74
  },
71
75
  },
76
+ crash: {
77
+ ping_log: {
78
+ url: '/ping',
79
+ method: 'POST',
80
+ },
81
+ },
72
82
  }
package/models.ts CHANGED
@@ -10,6 +10,7 @@ export const GiftSchema = z.object({
10
10
  floorPrice: z.number().nonnegative(),
11
11
  createdAt: z.date(),
12
12
  updatedAt: z.date(),
13
+ nextTransferTimestamp: z.number().nullable(),
13
14
  })
14
15
 
15
16
  export const PromocodeSchema = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@giftup/zod",
3
- "version": "10.0.10",
3
+ "version": "10.0.14",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",