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