@shipstatic/drop 0.2.12 → 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 +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -12004,7 +12004,8 @@ function useDrop(options) {
|
|
|
12004
12004
|
return f;
|
|
12005
12005
|
});
|
|
12006
12006
|
const validatableFiles = filesForValidation.map((f) => ({
|
|
12007
|
-
name: f.
|
|
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,
|