@tripsam/onboarding 1.0.78 → 1.0.79

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
@@ -364,8 +364,8 @@ var get8 = import_zod10.z.object({
364
364
  discount: import_zod10.z.coerce.number().default(0)
365
365
  });
366
366
  var create6 = import_zod10.z.object({
367
- baseRate: import_zod10.z.coerce.number().default(0),
368
- discount: import_zod10.z.coerce.number().default(0)
367
+ baseRate: import_zod10.z.coerce.number().min(1, "min").default(0),
368
+ discount: import_zod10.z.coerce.number().min(0, "min").max(90, "max").default(0)
369
369
  });
370
370
  var update6 = import_zod10.z.object({
371
371
  id: import_zod10.z.string().optional().default(""),
package/dist/index.js CHANGED
@@ -333,8 +333,8 @@ var get8 = z10.object({
333
333
  discount: z10.coerce.number().default(0)
334
334
  });
335
335
  var create6 = z10.object({
336
- baseRate: z10.coerce.number().default(0),
337
- discount: z10.coerce.number().default(0)
336
+ baseRate: z10.coerce.number().min(1, "min").default(0),
337
+ discount: z10.coerce.number().min(0, "min").max(90, "max").default(0)
338
338
  });
339
339
  var update6 = z10.object({
340
340
  id: z10.string().optional().default(""),
@@ -351,8 +351,8 @@ var get8 = import_zod10.z.object({
351
351
  discount: import_zod10.z.coerce.number().default(0)
352
352
  });
353
353
  var create6 = import_zod10.z.object({
354
- baseRate: import_zod10.z.coerce.number().default(0),
355
- discount: import_zod10.z.coerce.number().default(0)
354
+ baseRate: import_zod10.z.coerce.number().min(1, "min").default(0),
355
+ discount: import_zod10.z.coerce.number().min(0, "min").max(90, "max").default(0)
356
356
  });
357
357
  var update6 = import_zod10.z.object({
358
358
  id: import_zod10.z.string().optional().default(""),
@@ -312,8 +312,8 @@ var get8 = z10.object({
312
312
  discount: z10.coerce.number().default(0)
313
313
  });
314
314
  var create6 = z10.object({
315
- baseRate: z10.coerce.number().default(0),
316
- discount: z10.coerce.number().default(0)
315
+ baseRate: z10.coerce.number().min(1, "min").default(0),
316
+ discount: z10.coerce.number().min(0, "min").max(90, "max").default(0)
317
317
  });
318
318
  var update6 = z10.object({
319
319
  id: z10.string().optional().default(""),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripsam/onboarding",
3
- "version": "1.0.78",
3
+ "version": "1.0.79",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",