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

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.
@@ -24062,12 +24062,12 @@ System.register(["tslib", "../../common/Modules"], function (_export, _context)
24062
24062
  return __awaiter(this, void 0, void 0, function* () {
24063
24063
  const {
24064
24064
  FFmpeg
24065
- } = yield Modules.import("/social-mail/ffmpeg/index.js");
24065
+ } = yield Modules.import("/social-mail/ffmpeg/ffmpeg/index.js");
24066
24066
  const {
24067
24067
  fetchFile,
24068
24068
  toBlobURL
24069
- } = yield Modules.import("https://cdn.jsdelivr.net/npm/@ffmpeg/util@0.12.1/dist/esm/index.js");
24070
- const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/core-mt@0.12.6/dist/umd';
24069
+ } = yield Modules.import("/social-mail/ffmpeg/util/index.js");
24070
+ const baseURL = '/social-mail/ffmpeg/core-mt';
24071
24071
  const ffmpeg = new FFmpeg();
24072
24072
  ffmpeg.on("log", ({
24073
24073
  message
@@ -24076,9 +24076,9 @@ System.register(["tslib", "../../common/Modules"], function (_export, _context)
24076
24076
  message
24077
24077
  }) => console.error(message));
24078
24078
  yield ffmpeg.load({
24079
- coreURL: yield toBlobURL(`${baseURL}/ffmpeg-core.js`, 'text/javascript'),
24080
- wasmURL: yield toBlobURL(`${baseURL}/ffmpeg-core.wasm`, 'application/wasm'),
24081
- workerURL: yield toBlobURL(`${baseURL}/ffmpeg-core.worker.js`, 'text/javascript')
24079
+ coreURL: `${baseURL}/ffmpeg-core.js`,
24080
+ wasmURL: `${baseURL}/ffmpeg-core.wasm`,
24081
+ workerURL: `${baseURL}/ffmpeg-core.worker.js`
24082
24082
  });
24083
24083
  const outputName = targetFile.name + ".webm";
24084
24084
  yield ffmpeg.fs.writeFile(targetFile.name, yield fetchFile(targetFile));