@inf-monkeys-tech/monkeys 1.0.52 → 1.0.53

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/lib/esm/index.mjs CHANGED
@@ -8447,7 +8447,10 @@ var FileUploadCreateRequestSchema = z10.object({
8447
8447
  usage: FileUsageSchema.optional()
8448
8448
  }).strict();
8449
8449
  var FileUploadInstructionSchema = z10.object({
8450
- url: z10.string().url(),
8450
+ url: z10.union([
8451
+ z10.string().url(),
8452
+ z10.string().trim().regex(/^\/(?!\/)/, "Expected an absolute same-origin path")
8453
+ ]),
8451
8454
  method: z10.string().trim().min(1),
8452
8455
  headers: z10.record(z10.string(), z10.string()),
8453
8456
  expiresAt: IsoDateTimeSchema