@inceptionbg/iui 1.0.196 → 1.0.197

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/dist/index.d.ts CHANGED
@@ -817,8 +817,8 @@ declare const getExtensionFromFilename: (filename?: string) => string;
817
817
  declare const calculateFilesSize: (filesList: any[], selectedFiles: IBooleanObject) => any;
818
818
  declare const downloadDocumentFile: (fileName: string, url: string, type: 'pdf' | 'xml' | 'xlsx', apiUrl?: string, search?: any) => void;
819
819
  declare const getFileFromUrl: (url: string, name: string) => Promise<File>;
820
- declare const getBase64FromFile: (file: Blob, callback: (data: string) => void) => void;
821
- declare const getBase64FromUrl: (url: string, callback: (data: string) => void) => void;
820
+ declare const getBase64FromFile: (file: Blob) => Promise<string>;
821
+ declare const getBase64FromUrl: (url: string) => Promise<string>;
822
822
  declare const splitBase64File: (base64: string, type?: 'img') => {
823
823
  contentType: string;
824
824
  base64Data: string;