@quatrain/worker 1.1.16 → 1.1.17
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/lib/Worker.d.ts +1 -0
- package/lib/Worker.js +1 -0
- package/package.json +2 -2
package/lib/Worker.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Core } from '@quatrain/core';
|
|
2
2
|
export declare class Worker extends Core {
|
|
3
3
|
static endpoint: string;
|
|
4
|
+
static logger: any;
|
|
4
5
|
/**
|
|
5
6
|
* Execute an external command in a promise
|
|
6
7
|
* @see https://stackoverflow.com/questions/46289682/how-to-wait-for-child-process-spawn-execution-with-async-await
|
package/lib/Worker.js
CHANGED
|
@@ -10,6 +10,7 @@ const axios_1 = __importDefault(require("axios"));
|
|
|
10
10
|
const child_process_1 = require("child_process");
|
|
11
11
|
class Worker extends core_1.Core {
|
|
12
12
|
static endpoint = '';
|
|
13
|
+
static logger = this.addLogger('Worker');
|
|
13
14
|
/**
|
|
14
15
|
* Execute an external command in a promise
|
|
15
16
|
* @see https://stackoverflow.com/questions/46289682/how-to-wait-for-child-process-spawn-execution-with-async-await
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quatrain/worker",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.17",
|
|
4
4
|
"description": "Container Worker helpers",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"typescript": "^5.1.5"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quatrain/core": "^1.1.
|
|
28
|
+
"@quatrain/core": "^1.1.15",
|
|
29
29
|
"axios": "^1.7.7",
|
|
30
30
|
"fluent-ffmpeg": "^2.1.2",
|
|
31
31
|
"fs-extra": "^11.2.0",
|