@remotion/cloudrun 4.1.0-alpha10 → 4.1.0-alpha12

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.
@@ -1,13 +1,13 @@
1
1
 
2
- > @remotion/cloudrun@4.0.10 build /Users/jonathanburger/remotion/packages/cloudrun
2
+ > @remotion/cloudrun@4.0.17 build /Users/jonathanburger/remotion/packages/cloudrun
3
3
  > tsc -d && cp src/shared/sa-permissions.json dist/shared/sa-permissions.json && pnpm run buildContainer && pnpm run tarInstaller
4
4
 
5
5
 
6
- > @remotion/cloudrun@4.0.10 buildContainer /Users/jonathanburger/remotion/packages/cloudrun
6
+ > @remotion/cloudrun@4.0.17 buildContainer /Users/jonathanburger/remotion/packages/cloudrun
7
7
  > ts-node src/admin/bundle-renderLogic.ts
8
8
 
9
9
  distribution bundled.
10
10
 
11
- > @remotion/cloudrun@4.0.10 tarInstaller /Users/jonathanburger/remotion/packages/cloudrun
11
+ > @remotion/cloudrun@4.0.17 tarInstaller /Users/jonathanburger/remotion/packages/cloudrun
12
12
  > ts-node src/admin/bundle-installer.ts
13
13
 
@@ -108,7 +108,7 @@ const renderMediaOnCloudrun = async ({ cloudRunUrl, serviceName, region, serveUr
108
108
  const formattedStartTime = new Date().toISOString();
109
109
  const stream = postResponse.data;
110
110
  stream.on('data', (chunk) => {
111
- const chunkResponse = JSON.parse(chunk.toString());
111
+ const chunkResponse = JSON.parse(chunk.toString().trim());
112
112
  if (chunkResponse.response) {
113
113
  response = chunkResponse.response;
114
114
  }
@@ -18,7 +18,7 @@ const renderMediaSingleThread = async (body, res) => {
18
18
  let previousProgress = 2;
19
19
  const onProgress = ({ progress }) => {
20
20
  if (previousProgress !== progress) {
21
- res.write(JSON.stringify({ onProgress: progress }));
21
+ res.write(JSON.stringify({ onProgress: progress }) + '\n');
22
22
  previousProgress = progress;
23
23
  }
24
24
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/cloudrun",
3
- "version": "4.1.0-alpha10",
3
+ "version": "4.1.0-alpha12",
4
4
  "description": "GCP Cloud Run alternative to lambda rendering",
5
5
  "main": "dist/index.js",
6
6
  "dependencies": {
@@ -12,10 +12,10 @@
12
12
  "@google-cloud/logging": "^10.5.0",
13
13
  "google-auth-library": "^8.7.0",
14
14
  "zod": "^3.21.4",
15
- "@remotion/bundler": "4.1.0-alpha10",
16
- "@remotion/cli": "4.1.0-alpha10",
17
- "remotion": "4.1.0-alpha10",
18
- "@remotion/renderer": "4.1.0-alpha10"
15
+ "remotion": "4.1.0-alpha12",
16
+ "@remotion/cli": "4.1.0-alpha12",
17
+ "@remotion/bundler": "4.1.0-alpha12",
18
+ "@remotion/renderer": "4.1.0-alpha12"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@jonny/eslint-config": "3.0.266",
@@ -27,7 +27,7 @@
27
27
  "ts-node": "^10.8.0",
28
28
  "typescript": "4.7.2",
29
29
  "vitest": "0.24.3",
30
- "@remotion/compositor-linux-x64-gnu": "4.1.0-alpha10"
30
+ "@remotion/compositor-linux-x64-gnu": "4.1.0-alpha12"
31
31
  },
32
32
  "exports": {
33
33
  "./package.json": "./package.json",