@strimz/shared-types 0.10.0 → 0.11.1
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 +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/contact.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strimz/shared-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.1",
|
|
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>",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
],
|
|
119
119
|
"dependencies": {
|
|
120
120
|
"zod": "^3.24.1",
|
|
121
|
-
"@strimz/shared-config": "0.
|
|
121
|
+
"@strimz/shared-config": "0.2.0"
|
|
122
122
|
},
|
|
123
123
|
"devDependencies": {
|
|
124
124
|
"eslint": "^9.18.0",
|
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>
|