@qlibs/utils 1.1.2 → 1.1.3

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.
@@ -110,7 +110,7 @@ function getFile(newFile) {
110
110
  console.info('getFile - return (newFile as any).originFileObj');
111
111
  return newFile.originFileObj;
112
112
  }
113
- else if (isImage) {
113
+ else if (isImage(newFile) && newFile instanceof File) {
114
114
  console.info('getFile - return newFile');
115
115
  return newFile;
116
116
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qlibs/utils",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "",
5
5
  "author": "QBIT Developer",
6
6
  "license": "MIT",