@strimz/shared-types 0.10.0 → 0.11.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strimz/shared-types",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "Zod schemas and inferred TypeScript types for every Strimz platform entity, API input, and webhook event.",
5
5
  "license": "MIT",
6
6
  "author": "Strimz <hello@strimz.finance>",
package/src/contact.ts CHANGED
@@ -17,6 +17,7 @@ export const contactRequestInputSchema = z.object({
17
17
  company: z.string().min(1).max(120).optional(),
18
18
  topic: contactTopicSchema,
19
19
  message: z.string().min(20).max(4000),
20
+ turnstileToken: z.string().min(1).max(2048).optional(),
20
21
  })
21
22
  export type ContactRequestInput = z.input<typeof contactRequestInputSchema>
22
23
  export type ContactRequestParsed = z.output<typeof contactRequestInputSchema>