@bendyline/squisq-cli 2.3.2 → 2.3.3

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.
@@ -11,7 +11,7 @@ import {
11
11
  readInput,
12
12
  renderDocToGif,
13
13
  renderDocToMp4
14
- } from "./chunk-ZEN42AFN.js";
14
+ } from "./chunk-WR2BZJ77.js";
15
15
  import {
16
16
  GIF_EXPORT_DEFAULTS,
17
17
  framesToGifNative,
package/dist/api.js CHANGED
@@ -298,6 +298,7 @@ var GIF_DEFAULTS = {
298
298
  function mp4Format() {
299
299
  return {
300
300
  id: "mp4",
301
+ templateAnnotationHandling: "rendered",
301
302
  label: "MP4 Video",
302
303
  mimeType: "video/mp4",
303
304
  extensions: [".mp4"],
@@ -339,6 +340,7 @@ function mp4Format() {
339
340
  function gifFormat() {
340
341
  return {
341
342
  id: "gif",
343
+ templateAnnotationHandling: "rendered",
342
344
  label: "Animated GIF",
343
345
  mimeType: "image/gif",
344
346
  extensions: [".gif"],
@@ -295,6 +295,7 @@ var GIF_DEFAULTS = {
295
295
  function mp4Format() {
296
296
  return {
297
297
  id: "mp4",
298
+ templateAnnotationHandling: "rendered",
298
299
  label: "MP4 Video",
299
300
  mimeType: "video/mp4",
300
301
  extensions: [".mp4"],
@@ -308,7 +309,7 @@ function mp4Format() {
308
309
  const animationsEnabled = typeof mp4Opts.animationsEnabled === "boolean" ? mp4Opts.animationsEnabled : MP4_DEFAULTS.animationsEnabled;
309
310
  const outputPath = join(tmpdir(), `squisq-mp4-${randomBytes(8).toString("hex")}.mp4`);
310
311
  try {
311
- const { renderDocToMp4: renderDocToMp42 } = await import("./api-A7FKMZY6.js");
312
+ const { renderDocToMp4: renderDocToMp42 } = await import("./api-HBPJQ7MA.js");
312
313
  await renderDocToMp42(input.doc, input.container, {
313
314
  outputPath,
314
315
  fps,
@@ -336,6 +337,7 @@ function mp4Format() {
336
337
  function gifFormat() {
337
338
  return {
338
339
  id: "gif",
340
+ templateAnnotationHandling: "rendered",
339
341
  label: "Animated GIF",
340
342
  mimeType: "image/gif",
341
343
  extensions: [".gif"],
@@ -348,7 +350,7 @@ function gifFormat() {
348
350
  const defaultHeight = portrait ? GIF_DEFAULTS.width : GIF_DEFAULTS.height;
349
351
  const outputPath = join(tmpdir(), `squisq-gif-${randomBytes(8).toString("hex")}.gif`);
350
352
  try {
351
- const { renderDocToGif: renderDocToGif2 } = await import("./api-A7FKMZY6.js");
353
+ const { renderDocToGif: renderDocToGif2 } = await import("./api-HBPJQ7MA.js");
352
354
  const result = await renderDocToGif2(input.doc, input.container, {
353
355
  outputPath,
354
356
  fps: typeof gifOpts.fps === "number" ? gifOpts.fps : GIF_DEFAULTS.fps,
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  readInput,
8
8
  renderDocToGif,
9
9
  renderDocToMp4
10
- } from "./chunk-ZEN42AFN.js";
10
+ } from "./chunk-WR2BZJ77.js";
11
11
  import "./chunk-GGVASRPG.js";
12
12
 
13
13
  // src/index.ts