@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.
@@ -24081,9 +24081,9 @@ System.register(["tslib", "../../common/Modules"], function (_export, _context)
24081
24081
  workerURL: `${baseURL}/ffmpeg-core.worker.js`
24082
24082
  });
24083
24083
  const outputName = targetFile.name + ".webm";
24084
- yield ffmpeg.fs.writeFile(targetFile.name, yield fetchFile(targetFile));
24085
- const buffer = yield ffmpeg.fs.readFile(outputName);
24084
+ yield ffmpeg.writeFile(targetFile.name, yield fetchFile(targetFile));
24086
24085
  yield ffmpeg.exec(["-i", targetFile.name, outputName]);
24086
+ const buffer = yield ffmpeg.readFile(outputName);
24087
24087
  return new File([buffer.buffer], outputName, {
24088
24088
  type: "video/webm"
24089
24089
  });