@social-mail/social-mail-client 1.2.581 → 1.2.583

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.
@@ -27847,9 +27847,9 @@ System.register(["tslib", "../../common/Modules"], function (_export, _context)
27847
27847
  workerURL: `${baseURL}/ffmpeg-core.worker.js`
27848
27848
  });
27849
27849
  const outputName = targetFile.name + ".webm";
27850
- yield ffmpeg.fs.writeFile(targetFile.name, yield fetchFile(targetFile));
27851
- const buffer = yield ffmpeg.fs.readFile(outputName);
27850
+ yield ffmpeg.writeFile(targetFile.name, yield fetchFile(targetFile));
27852
27851
  yield ffmpeg.exec(["-i", targetFile.name, outputName]);
27852
+ const buffer = yield ffmpeg.readFile(outputName);
27853
27853
  return new File([buffer.buffer], outputName, {
27854
27854
  type: "video/webm"
27855
27855
  });