@remotion/vercel 4.0.536 → 4.0.537

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.
@@ -2544,12 +2544,12 @@ function validateDurationInFrames(durationInFrames, options) {
2544
2544
  if (durationInFrames <= 0) {
2545
2545
  throw new TypeError(\`The "durationInFrames" prop \${component} must be positive, but got \${durationInFrames}.\`);
2546
2546
  }
2547
- if (!allowFloats && durationInFrames % 1 !== 0) {
2548
- throw new TypeError(\`The "durationInFrames" prop \${component} must be an integer, but got \${durationInFrames}.\`);
2549
- }
2550
2547
  if (!Number.isFinite(durationInFrames)) {
2551
2548
  throw new TypeError(\`The "durationInFrames" prop \${component} must be finite, but got \${durationInFrames}.\`);
2552
2549
  }
2550
+ if (!allowFloats && durationInFrames % 1 !== 0) {
2551
+ throw new TypeError(\`The "durationInFrames" prop \${component} must be an integer, but got \${durationInFrames}.\`);
2552
+ }
2553
2553
  }
2554
2554
  var getExpectedMediaFrameUncorrected = ({
2555
2555
  frame,
@@ -5158,12 +5158,12 @@ function validateDurationInFrames(durationInFrames, options) {
5158
5158
  if (durationInFrames <= 0) {
5159
5159
  throw new TypeError(\`The "durationInFrames" prop \${component} must be positive, but got \${durationInFrames}.\`);
5160
5160
  }
5161
- if (!allowFloats && durationInFrames % 1 !== 0) {
5162
- throw new TypeError(\`The "durationInFrames" prop \${component} must be an integer, but got \${durationInFrames}.\`);
5163
- }
5164
5161
  if (!Number.isFinite(durationInFrames)) {
5165
5162
  throw new TypeError(\`The "durationInFrames" prop \${component} must be finite, but got \${durationInFrames}.\`);
5166
5163
  }
5164
+ if (!allowFloats && durationInFrames % 1 !== 0) {
5165
+ throw new TypeError(\`The "durationInFrames" prop \${component} must be an integer, but got \${durationInFrames}.\`);
5166
+ }
5167
5167
  }
5168
5168
  var getExpectedMediaFrameUncorrected = ({
5169
5169
  frame,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/vercel",
3
- "version": "4.0.536",
3
+ "version": "4.0.537",
4
4
  "description": "Render Remotion videos on Vercel Sandbox",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -23,8 +23,8 @@
23
23
  "url": "https://github.com/remotion-dev/remotion/issues"
24
24
  },
25
25
  "dependencies": {
26
- "@remotion/renderer": "4.0.536",
27
- "remotion": "4.0.536"
26
+ "@remotion/renderer": "4.0.537",
27
+ "remotion": "4.0.537"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "@vercel/sandbox": ">=1.0.0"
@@ -38,7 +38,7 @@
38
38
  "./package.json": "./package.json"
39
39
  },
40
40
  "devDependencies": {
41
- "@remotion/eslint-config-internal": "4.0.536",
41
+ "@remotion/eslint-config-internal": "4.0.537",
42
42
  "@vercel/blob": "2.3.0",
43
43
  "@vercel/sandbox": "1.6.0",
44
44
  "eslint": "9.19.0",