@qlibs/utils 1.1.0 → 1.1.2

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.
@@ -1 +1,2 @@
1
+ export * from './baseProps.type';
1
2
  export * from './config.type';
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./baseProps.type"), exports);
17
18
  __exportStar(require("./config.type"), exports);
@@ -107,8 +107,13 @@ async function fileListToBase64(fileList) {
107
107
  }
108
108
  function getFile(newFile) {
109
109
  if (isImage(newFile) && newFile.originFileObj) {
110
+ console.info('getFile - return (newFile as any).originFileObj');
110
111
  return newFile.originFileObj;
111
112
  }
113
+ else if (isImage) {
114
+ console.info('getFile - return newFile');
115
+ return newFile;
116
+ }
112
117
  else {
113
118
  return null;
114
119
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qlibs/utils",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "",
5
5
  "author": "QBIT Developer",
6
6
  "license": "MIT",