@m4k/common 0.2.0 → 0.2.2

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +8 -2
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -60,10 +60,14 @@ export type VideoOptions = {
60
60
  complexFilters?: string;
61
61
  /** The duration of the output file. */
62
62
  duration?: number | string;
63
- /** The format of the output file. */
63
+ /** The extension of the output file. */
64
+ ext?: string;
65
+ /** The format of the output file. If no extension is provided, it will be inferred from the format. */
64
66
  format?: string;
65
67
  /** The frames per second of the output file. */
66
68
  fps?: number;
69
+ /** The frames to process. */
70
+ frames?: number;
67
71
  /** The input format of the video. */
68
72
  inputFormat?: string;
69
73
  /** The padding of the output file. */
@@ -94,7 +98,9 @@ export type AudioOptions = {
94
98
  filters?: string;
95
99
  /** The duration of the output file. */
96
100
  duration?: number | string;
97
- /** The format of the output file. */
101
+ /** The extension of the output file. */
102
+ ext?: string;
103
+ /** The format of the output file. If no extension is provided, it will be inferred from the format. */
98
104
  format?: string;
99
105
  /** The input format of the audio. */
100
106
  inputFormat?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4k/common",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",