@quatrain/worker 1.1.39 → 1.1.41
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 +0 -1
- package/lib/Worker.js +1 -3
- package/package.json +2 -2
package/lib/Worker.d.ts
CHANGED
package/lib/Worker.js
CHANGED
|
@@ -69,6 +69,7 @@ class Worker extends core_1.Core {
|
|
|
69
69
|
.patch(Worker.endpoint, payload)
|
|
70
70
|
.then((res) => {
|
|
71
71
|
Worker.info(`Event pushed to backend: ${res.statusText}`);
|
|
72
|
+
Worker.info(res.data);
|
|
72
73
|
return true;
|
|
73
74
|
})
|
|
74
75
|
.catch((err) => {
|
|
@@ -114,8 +115,5 @@ class Worker extends core_1.Core {
|
|
|
114
115
|
process.exit(1);
|
|
115
116
|
}
|
|
116
117
|
};
|
|
117
|
-
static sleep(seconds = 1) {
|
|
118
|
-
return new Promise((resolve) => setTimeout(resolve, seconds * 1000));
|
|
119
|
-
}
|
|
120
118
|
}
|
|
121
119
|
exports.Worker = Worker;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quatrain/worker",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.41",
|
|
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.23",
|
|
29
29
|
"@quatrain/queue": "^1.1.19",
|
|
30
30
|
"axios": "^1.7.7",
|
|
31
31
|
"fluent-ffmpeg": "^2.1.2",
|