@imqueue/job 2.0.3 → 2.0.4

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/index.d.ts CHANGED
@@ -79,6 +79,12 @@ export interface JobQueueOptions {
79
79
  * By default is "imq-job".
80
80
  */
81
81
  prefix?: string;
82
+ /**
83
+ * Verbose logging mode.
84
+ * Optional.
85
+ * By default is false.
86
+ */
87
+ verbose?: boolean;
82
88
  }
83
89
  export interface JobQueuePopHandler<T> {
84
90
  /**
package/index.js CHANGED
@@ -86,6 +86,9 @@ function toIMQOptions(options, logger) {
86
86
  safeDeliveryTtl: typeof options.safeLockTtl === 'undefined'
87
87
  ? 10000 : options.safeLockTtl,
88
88
  prefix: options.prefix || 'imq-job',
89
+ verbose: typeof options.verbose === 'undefined'
90
+ ? false
91
+ : options.verbose,
89
92
  logger,
90
93
  };
91
94
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imqueue/job",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Simple job queue",
5
5
  "keywords": [
6
6
  "message-queue",
@@ -36,7 +36,7 @@
36
36
  "author": "imqueue.com <support@imqueue.com> (https://imqueue.com)",
37
37
  "license": "GPL-3.0-only",
38
38
  "dependencies": {
39
- "@imqueue/core": "^2.0.13"
39
+ "@imqueue/core": "^2.0.16"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@eslint/eslintrc": "^3.3.1",
package/debug.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};