Files
ipfs-file-manager/retrive.js
Luiz F. Picolo e60be91d49 Refactor IPFSFileManager code for file retrieval and saving
- Removed unused constructor parameter in IPFSFileManager class
- Renamed class method  to  for clarity
- Updated import statement for the  library to use  function instead of the default import
- Added  method to retrieve the file type from the buffer
- Modified the code to determine the file extension based on the MIME type using  method
- Updated the file name in the saveFileToLocal method to include the appropriate file extension based on the MIME type
2023-06-20 13:58:30 -04:00

2.3 KiB