@unchainedshop/core-worker 4.8.1 → 4.8.2

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.
@@ -158,7 +158,15 @@ export const configureWorkerModule = async ({ db, options }) => {
158
158
  worker,
159
159
  });
160
160
  }
161
- logger.debug(`work details:`, { work });
161
+ logger.debug(`work details:`, {
162
+ workId: work._id,
163
+ type: work.type,
164
+ retries: work.retries,
165
+ started: work.started,
166
+ finished: work.finished,
167
+ success: work.success,
168
+ worker: work.worker,
169
+ });
162
170
  emit(WorkerEventTypes.FINISHED, removePrivateFields(work));
163
171
  return work;
164
172
  };
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.1",
4
+ "version": "4.8.2",
5
5
  "main": "lib/worker-index.js",
6
6
  "types": "lib/worker-index.d.ts",
7
7
  "type": "module",