@j0hanz/superfetch 1.2.4 → 1.2.5
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/tools/schemas.js +2 -2
- package/package.json +1 -1
package/dist/tools/schemas.js
CHANGED
|
@@ -77,13 +77,13 @@ const fileDownloadSchema = z.object({
|
|
|
77
77
|
});
|
|
78
78
|
export const fetchUrlInputSchema = z.strictObject({
|
|
79
79
|
...requestOptionsSchema.shape,
|
|
80
|
-
url: z.url({ protocol: /^https
|
|
80
|
+
url: z.url({ protocol: /^https?$/i }).describe('The URL to fetch'),
|
|
81
81
|
...extractionOptionsSchema.shape,
|
|
82
82
|
...formatOptionsSchema.shape,
|
|
83
83
|
});
|
|
84
84
|
export const fetchMarkdownInputSchema = z.strictObject({
|
|
85
85
|
...requestOptionsSchema.shape,
|
|
86
|
-
url: z.url({ protocol: /^https
|
|
86
|
+
url: z.url({ protocol: /^https?$/i }).describe('The URL to fetch'),
|
|
87
87
|
...extractionOptionsSchema.shape,
|
|
88
88
|
});
|
|
89
89
|
export const fetchUrlOutputSchema = z.strictObject({
|
package/package.json
CHANGED