Commit Graph

12 Commits

Author SHA1 Message Date
a2bc9748a0 Update README with installation instructions 2023-06-20 18:36:02 -04:00
44b8f4a924 Refactored code 2023-06-20 18:30:55 -04:00
59bda5d12b Refactor IPFSFileManager class in retrive.js 2023-06-20 14:14:56 -04:00
8289c1982b Refactor IPFSFileManager class in send.js 2023-06-20 14:14:42 -04:00
fc549dd56c Remove unnecessary files 2023-06-20 14:10:34 -04:00
6091ea9cd9 Update README.md with the latest code changes 2023-06-20 14:01:54 -04:00
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
764f097326 Added better pratices 2023-06-20 13:46:59 -04:00
aa6c8124fa Updated readme 2023-06-19 11:07:25 -04:00
8dd111d680 Adicionado método para finalizar section ipfs 2023-06-19 11:01:35 -04:00
3a570d232f Adicinado gitignore 2023-06-19 11:01:09 -04:00
632473f060 Commit inicial 2023-06-18 22:22:42 -04:00