@xuda.io/xuda-worker-bundle-min 1.3.1159 → 1.3.1160

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 +4 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -7780,9 +7780,9 @@ func.events.validate = async function (
7780
7780
  await func.datasource.update(SESSION_ID, datasource_changes);
7781
7781
  }
7782
7782
 
7783
- add_event();
7783
+ await add_event();
7784
7784
  };
7785
- var add_event = function () {
7785
+ const add_event = async function () {
7786
7786
  const _event = func.common.find_item_by_key_root(
7787
7787
  _view_obj.progEvents,
7788
7788
  "id",
@@ -7850,7 +7850,7 @@ func.events.validate = async function (
7850
7850
  }
7851
7851
 
7852
7852
  jobs.push(
7853
- func.events.add_to_queue(
7853
+ await func.events.add_to_queue(
7854
7854
  SESSION_ID,
7855
7855
  sourceP + " event",
7856
7856
  trigger_obj.id,
@@ -7887,7 +7887,7 @@ func.events.validate = async function (
7887
7887
  if (val.data.parameters) {
7888
7888
  await set_arguments();
7889
7889
  } else {
7890
- add_event();
7890
+ await add_event();
7891
7891
  }
7892
7892
  } else {
7893
7893
  if (val.data.condition && !expCond.result) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.1159",
3
+ "version": "1.3.1160",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {