@emailmaker/filemanager 0.10.31 → 0.10.33

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/notification.d.ts CHANGED
@@ -513,8 +513,6 @@ declare namespace Notify {
513
513
  FOLDER_CREATE_FAILED: FolderOperationPayload;
514
514
  FOLDER_CHILDREN_COUNT_FAILED: FolderOperationPayload;
515
515
  FOLDER_CHILDREN_FETCH_FAILED: FolderOperationPayload;
516
-
517
- JSON_DATA_PROVIDER_LOAD_FAILED: JsonDataProviderErrorPayload;
518
516
  FILE_URL_VALIDATION_FAILED: FileUrlValidationErrorPayload;
519
517
  }
520
518
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emailmaker/filemanager",
3
- "version": "0.10.31",
3
+ "version": "0.10.33",
4
4
  "main": "./file-manager.js",
5
5
  "module": "./file-manager.esm.js",
6
6
  "types": "./index.d.ts",
@@ -31,4 +31,5 @@ export declare const validateFiles: (files: File[], options?: FileValidationOpti
31
31
  export declare const validateFileUrl: (url: string) => Promise<FileValidationResult>;
32
32
  export declare const getFileCategory: (file: File) => string;
33
33
  export declare const formatFileSize: (bytes: number) => string;
34
+ export declare const formatFileSizeShort: (bytes?: number) => string;
34
35
  export declare const sanitizeFileName: (fileName: string) => string;