@abtnode/queue 1.16.11-next-61882496 → 1.16.11-next-3e55bc95

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/store/nedb.js CHANGED
@@ -63,7 +63,8 @@ class NedbStore {
63
63
  }
64
64
 
65
65
  async deleteJob(id) {
66
- return this.db.remove({ id });
66
+ const data = await this.db.remove({ id });
67
+ return data;
67
68
  }
68
69
 
69
70
  loadDatabase(cb) {
@@ -54,7 +54,8 @@ class SequelizeStore {
54
54
  }
55
55
 
56
56
  async deleteJob(id) {
57
- return this.db.remove({ queue: this.queue, id });
57
+ const data = await this.db.remove({ queue: this.queue, id });
58
+ return data;
58
59
  }
59
60
 
60
61
  loadDatabase(cb) {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.11-next-61882496",
6
+ "version": "1.16.11-next-3e55bc95",
7
7
  "description": "",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -19,13 +19,13 @@
19
19
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {
22
- "@abtnode/db": "1.16.11-next-61882496",
23
- "@abtnode/util": "1.16.11-next-61882496",
22
+ "@abtnode/db": "1.16.11-next-3e55bc95",
23
+ "@abtnode/util": "1.16.11-next-3e55bc95",
24
24
  "debug": "^4.3.4",
25
25
  "fastq": "^1.13.0",
26
26
  "uuid": "^8.3.2"
27
27
  },
28
- "gitHead": "75e004bf1084bd138e89aadf7629f9fd061ec74d",
28
+ "gitHead": "cf0251c2d85c617b03151495b5944061ceb373e5",
29
29
  "devDependencies": {
30
30
  "jest": "^27.5.1"
31
31
  }