@xuda.io/xuda-worker-bundle-min 1.3.1166 → 1.3.1167

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.
Files changed (2) hide show
  1. package/index.js +9 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3243,10 +3243,15 @@ func.datasource.run_events_functions = async function (
3243
3243
 
3244
3244
 
3245
3245
  }
3246
- // if (job_promises.length) {
3247
- // await Promise.all(job_promises)
3248
- // }
3249
- resolve()
3246
+ if (job_promises.length) {
3247
+ Promise.all(job_promises)
3248
+ .then((e) => {
3249
+ resolve()
3250
+ });
3251
+
3252
+ } else {
3253
+ resolve()
3254
+ }
3250
3255
 
3251
3256
  })
3252
3257
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.1166",
3
+ "version": "1.3.1167",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {