@abtnode/queue 1.17.6-beta-20251221-021146-1a145a92 → 1.17.7-beta-20251223-090654-55d57623
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/sequelize.js +2 -0
- package/package.json +5 -5
package/lib/store/sequelize.js
CHANGED
|
@@ -125,10 +125,12 @@ class SequelizeStore {
|
|
|
125
125
|
if (exist) {
|
|
126
126
|
throw new CustomError('JOB_DUPLICATE', `Job ${id} already exist`);
|
|
127
127
|
}
|
|
128
|
+
const entityId = job.teamDid || job.did || job.entityId || job.appDid || '';
|
|
128
129
|
return this.db.insert({
|
|
129
130
|
id,
|
|
130
131
|
job,
|
|
131
132
|
queue: this.queue,
|
|
133
|
+
entityId,
|
|
132
134
|
retryCount: 1,
|
|
133
135
|
cancelled: false,
|
|
134
136
|
processingBy: null,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.17.
|
|
6
|
+
"version": "1.17.7-beta-20251223-090654-55d57623",
|
|
7
7
|
"description": "",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
"keywords": [],
|
|
17
17
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
|
18
18
|
"license": "Apache-2.0",
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "00a82b6f4ef5818d6ec37d74be404031c693247c",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@abtnode/db": "1.17.
|
|
22
|
-
"@abtnode/util": "1.17.
|
|
21
|
+
"@abtnode/db": "1.17.7-beta-20251223-090654-55d57623",
|
|
22
|
+
"@abtnode/util": "1.17.7-beta-20251223-090654-55d57623",
|
|
23
23
|
"@blocklet/error": "^0.3.5",
|
|
24
24
|
"debug": "^4.4.1",
|
|
25
25
|
"fastq": "^1.17.1",
|
|
26
26
|
"uuid": "^11.1.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@abtnode/models": "1.17.
|
|
29
|
+
"@abtnode/models": "1.17.7-beta-20251223-090654-55d57623"
|
|
30
30
|
}
|
|
31
31
|
}
|