@social-mail/social-mail-client 1.2.579 → 1.2.580

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.
@@ -24064,6 +24064,7 @@ System.register(["tslib", "../../common/Modules"], function (_export, _context)
24064
24064
  FFmpeg
24065
24065
  } = yield Modules.import("/social-mail/ffmpeg/index.js");
24066
24066
  const {
24067
+ fetchFile,
24067
24068
  toBlobURL
24068
24069
  } = yield Modules.import("https://cdn.jsdelivr.net/npm/@ffmpeg/util@0.12.1/dist/esm/index.js");
24069
24070
  const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/core-mt@0.12.6/dist/umd';
@@ -24080,7 +24081,7 @@ System.register(["tslib", "../../common/Modules"], function (_export, _context)
24080
24081
  workerURL: yield toBlobURL(`${baseURL}/ffmpeg-core.worker.js`, 'text/javascript')
24081
24082
  });
24082
24083
  const outputName = targetFile.name + ".webm";
24083
- yield ffmpeg.fs.writeFile(targetFile.name, targetFile);
24084
+ yield ffmpeg.fs.writeFile(targetFile.name, yield fetchFile(targetFile));
24084
24085
  const buffer = yield ffmpeg.fs.readFile(outputName);
24085
24086
  yield ffmpeg.exec(["-i", targetFile.name, outputName]);
24086
24087
  return new File([buffer.buffer], outputName, {