@shipstatic/drop 0.2.11 → 0.2.13

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 CHANGED
@@ -11702,7 +11702,7 @@ var require_mime_db = __commonJS({
11702
11702
  }
11703
11703
  });
11704
11704
 
11705
- // node_modules/.pnpm/@shipstatic+types@0.4.21/node_modules/@shipstatic/types/dist/index.js
11705
+ // node_modules/.pnpm/@shipstatic+types@0.4.22/node_modules/@shipstatic/types/dist/index.js
11706
11706
  var ErrorType;
11707
11707
  (function(ErrorType2) {
11708
11708
  ErrorType2["Validation"] = "validation_failed";
@@ -12004,7 +12004,8 @@ function useDrop(options) {
12004
12004
  return f;
12005
12005
  });
12006
12006
  const validatableFiles = filesForValidation.map((f) => ({
12007
- name: f.file.name,
12007
+ name: f.path,
12008
+ // Use full path to match server-side validation
12008
12009
  type: f.type,
12009
12010
  // Use corrected MIME type from mime-db, not browser's File.type
12010
12011
  size: f.file.size,