@unchainedshop/core-worker 4.8.18 → 4.8.20

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.
@@ -317,7 +317,7 @@ export const configureWorkerModule = async ({ db, options }) => {
317
317
  try {
318
318
  const result = await WorkQueue.findOneAndUpdate(query, {
319
319
  $set: {
320
- input,
320
+ input: input || {},
321
321
  worker: null,
322
322
  updated: created,
323
323
  retries,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unchainedshop/core-worker",
3
3
  "description": "Background job and task queue module for the Unchained Engine",
4
- "version": "4.8.18",
4
+ "version": "4.8.20",
5
5
  "main": "lib/worker-index.js",
6
6
  "types": "lib/worker-index.d.ts",
7
7
  "type": "module",
@@ -39,7 +39,7 @@
39
39
  "@unchainedshop/utils": "^4.8.12"
40
40
  },
41
41
  "devDependencies": {
42
- "@types/node": "^25.0.0",
42
+ "@types/node": "^26.2.0",
43
43
  "typescript": "^5.8.3"
44
44
  }
45
45
  }