@constructive-io/knative-job-server 0.3.16 → 0.3.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/CHANGELOG.md +4 -0
- package/package.json +2 -2
- package/src/index.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.3.17](https://github.com/constructive-io/jobs/compare/@constructive-io/knative-job-server@0.3.16...@constructive-io/knative-job-server@0.3.17) (2025-12-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @constructive-io/knative-job-server
|
|
9
|
+
|
|
6
10
|
## [0.3.16](https://github.com/constructive-io/jobs/compare/@constructive-io/knative-job-server@0.3.15...@constructive-io/knative-job-server@0.3.16) (2025-12-26)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @constructive-io/knative-job-server
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/knative-job-server",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.17",
|
|
4
4
|
"description": "knative job server",
|
|
5
5
|
"author": "Constructive <developers@constructive.io>",
|
|
6
6
|
"homepage": "https://github.com/constructive-io/jobs/tree/master/packages/knative-job-server#readme",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"express": "5.2.1",
|
|
38
38
|
"pg": "8.16.3"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "e3d01915223e3d87d263606bc4086e3e88183cab"
|
|
41
41
|
}
|
package/src/index.ts
CHANGED
|
@@ -103,7 +103,7 @@ export default (pgPool: Pool = poolManager.getPool()) => {
|
|
|
103
103
|
res.status(200).json({ workerId, jobId: jobIdHeader });
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
app.post('
|
|
106
|
+
app.post('/callback', async (req: JobRequest, res: JobResponse, next: NextFn) => {
|
|
107
107
|
const jobId = req.get('X-Job-Id');
|
|
108
108
|
|
|
109
109
|
if (typeof jobId === 'undefined') {
|