@emailmaker/filemanager 0.10.17 → 0.10.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emailmaker/filemanager",
3
- "version": "0.10.17",
3
+ "version": "0.10.18",
4
4
  "main": "./file-manager.js",
5
5
  "module": "./file-manager.esm.js",
6
6
  "types": "./index.d.ts",
package/types.d.ts CHANGED
@@ -413,7 +413,7 @@ export interface ImageGifProps {
413
413
  currentReqGif: CurrentReqGif;
414
414
  setCurrentReqGif: React.Dispatch<React.SetStateAction<CurrentReqGif>>;
415
415
  inputRef: React.RefObject<InputRef>;
416
- customRequest: (data: string) => void;
416
+ customRequest: (data: string) => Promise<File | void> | void;
417
417
  }
418
418
  export interface UnsplashImage {
419
419
  id: string;
@@ -442,7 +442,7 @@ export interface ImageStockProps {
442
442
  currentReq: CurrentReqStock;
443
443
  setCurrentReq: React.Dispatch<React.SetStateAction<CurrentReqStock>>;
444
444
  inputRef: React.RefObject<InputRef>;
445
- customRequest: (data: string) => void;
445
+ customRequest: (data: string) => Promise<File | void> | void;
446
446
  }
447
447
  export interface ImageAIProps {
448
448
  customRequest: (file: {