@revideo/cli 0.3.7-blue.987 → 0.3.7-red.988
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.
- package/dist/server/render.js +3 -3
- package/package.json +4 -4
package/dist/server/render.js
CHANGED
|
@@ -68,7 +68,7 @@ async function renderWithoutCallback(req, res) {
|
|
|
68
68
|
// TODO: validate request body
|
|
69
69
|
const { variables, streamProgress, settings } = req.body;
|
|
70
70
|
const tempProjectName = `${(0, uuid_1.v4)()}.mp4`;
|
|
71
|
-
const resultFilePath = path_1.default.join(process.cwd(), `output/${tempProjectName}
|
|
71
|
+
const resultFilePath = path_1.default.join(process.cwd(), `output/${tempProjectName}`);
|
|
72
72
|
if (streamProgress) {
|
|
73
73
|
res.writeHead(200, {
|
|
74
74
|
// eslint-disable-next-line
|
|
@@ -92,7 +92,7 @@ async function renderWithoutCallback(req, res) {
|
|
|
92
92
|
progressCallback: sendProgress,
|
|
93
93
|
},
|
|
94
94
|
});
|
|
95
|
-
const downloadLink = `${req.protocol}://${req.get('host')}/download/${tempProjectName}
|
|
95
|
+
const downloadLink = `${req.protocol}://${req.get('host')}/download/${tempProjectName}`;
|
|
96
96
|
res.write(`event: completed\n`);
|
|
97
97
|
res.write(`data: ${JSON.stringify({ status: 'success', downloadLink })}\n\n`);
|
|
98
98
|
res.end();
|
|
@@ -115,7 +115,7 @@ async function renderWithoutCallback(req, res) {
|
|
|
115
115
|
outFile: tempProjectName,
|
|
116
116
|
},
|
|
117
117
|
});
|
|
118
|
-
const downloadLink = `${req.protocol}://${req.get('host')}/download/${tempProjectName}
|
|
118
|
+
const downloadLink = `${req.protocol}://${req.get('host')}/download/${tempProjectName}`;
|
|
119
119
|
res.json({
|
|
120
120
|
status: 'success',
|
|
121
121
|
downloadLink: downloadLink,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revideo/cli",
|
|
3
|
-
"version": "0.3.7-
|
|
3
|
+
"version": "0.3.7-red.988+3bfa488",
|
|
4
4
|
"description": "A CLI for revideo",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "revideo",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"typescript": "^5.4.3"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@revideo/renderer": "^0.3.7-
|
|
29
|
-
"@revideo/telemetry": "^0.3.7-
|
|
28
|
+
"@revideo/renderer": "^0.3.7-red.988+3bfa488",
|
|
29
|
+
"@revideo/telemetry": "^0.3.7-red.988+3bfa488",
|
|
30
30
|
"chokidar": "^3.5.3",
|
|
31
31
|
"commander": "^12.0.0",
|
|
32
32
|
"cors": "^2.8.5",
|
|
33
33
|
"express": "^4.19.2",
|
|
34
34
|
"uuid": "^9.0.1"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "3bfa488e0c9aec2e5344650fc8d6df959a668a4c"
|
|
37
37
|
}
|