@dreamcommerce/aurora 2.8.1-15 → 2.8.1-16

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.
@@ -50,7 +50,7 @@ const useFilePicker = ({ onChange, initialFile, allowedExtensions, inputRef, ini
50
50
  fileName: files === null || files === void 0 ? void 0 : files[0].name,
51
51
  fileUrl: URL.createObjectURL(files === null || files === void 0 ? void 0 : files[0])
52
52
  });
53
- console.log('updateFile', files[0]);
53
+ console.log('updateFile', files === null || files === void 0 ? void 0 : files[0]);
54
54
  const isValid = validateFileExtension(allowedExtensions, files[0].type);
55
55
  if (isValid)
56
56
  onChange === null || onChange === void 0 ? void 0 : onChange(files);
@@ -46,7 +46,7 @@ const useFilePicker = ({ onChange, initialFile, allowedExtensions, inputRef, ini
46
46
  fileName: files === null || files === void 0 ? void 0 : files[0].name,
47
47
  fileUrl: URL.createObjectURL(files === null || files === void 0 ? void 0 : files[0])
48
48
  });
49
- console.log('updateFile', files[0]);
49
+ console.log('updateFile', files === null || files === void 0 ? void 0 : files[0]);
50
50
  const isValid = validateFileExtension(allowedExtensions, files[0].type);
51
51
  if (isValid)
52
52
  onChange === null || onChange === void 0 ? void 0 : onChange(files);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@dreamcommerce/aurora",
3
3
  "packageManager": "yarn@3.2.0",
4
4
  "sideEffects": false,
5
- "version": "2.8.1-15",
5
+ "version": "2.8.1-16",
6
6
  "description": "aurora",
7
7
  "author": "k0ssak",
8
8
  "license": "MIT",