@wavy/util 0.0.5 → 0.0.7

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/main.d.ts CHANGED
@@ -31,6 +31,7 @@ declare const FileDetails: z.ZodObject<{
31
31
  path: z.ZodString;
32
32
  extension: z.ZodString;
33
33
  description: z.ZodOptional<z.ZodString>;
34
+ mime: z.ZodString;
34
35
  alias: z.ZodEnum<{
35
36
  pdf: "pdf";
36
37
  word: "word";
@@ -104,6 +105,7 @@ declare const Email: z.ZodObject<{
104
105
  path: z.ZodString;
105
106
  extension: z.ZodString;
106
107
  description: z.ZodOptional<z.ZodString>;
108
+ mime: z.ZodString;
107
109
  alias: z.ZodEnum<{
108
110
  pdf: "pdf";
109
111
  word: "word";
package/dist/main.js CHANGED
@@ -22,6 +22,7 @@ var FileDetails = z2.object({
22
22
  path: z2.string().trim(),
23
23
  extension: z2.string().trim().startsWith(".").lowercase(),
24
24
  description: z2.string().trim().optional(),
25
+ mime: z2.string().trim().includes("/"),
25
26
  alias: fileAliases
26
27
  });
27
28
  var FILE_MIME_TYPES = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavy/util",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "Yay, utils!",
5
5
  "main": "./dist/main.js",
6
6
  "types": "./dist/main.d.ts",
@@ -14,6 +14,9 @@
14
14
  ],
15
15
  "author": "wavy",
16
16
  "license": "MIT",
17
+ "peerDependencies": {
18
+ "zod": "^4.2.1"
19
+ },
17
20
  "devDependencies": {
18
21
  "tsup": "^8.5.0",
19
22
  "typescript": "^5.9.2",