@social-mail/social-mail-web-server 1.4.921 → 1.4.922

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-web-server",
3
- "version": "1.4.921",
3
+ "version": "1.4.922",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -24,7 +24,7 @@ export const spawnPromise = (path, args?: string[], options?: SpawnOptionsWithou
24
24
  cd.on("error", (error) => {
25
25
  const errorText = color.red(error.stack ?? error.toString());
26
26
  all.push(error.stack ?? error.toString());
27
- if (logData) {
27
+ if (logData || logError) {
28
28
  console.error(errorText);
29
29
  }
30
30
  reject(error);
@@ -94,7 +94,8 @@ export default class CaptchaService {
94
94
  "-map", "[v]",
95
95
  "-y", tf.path
96
96
  ], {
97
- logData: false
97
+ logData: false,
98
+ logCommand: false
98
99
  });
99
100
 
100
101
  await spawnPromise("/ffmpeg/ffmpeg", [
@@ -102,7 +103,8 @@ export default class CaptchaService {
102
103
  "-filter:v", "scale=300:-1",
103
104
  "-y", saveAs
104
105
  ],{
105
- logData: false
106
+ logData: false,
107
+ logCommand: false
106
108
  });
107
109
  }
108
110