@xuda.io/xuda-worker-bundle-min 1.3.523 → 1.3.524

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 +6 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3102,7 +3102,12 @@ func.datasource.get_field_init_count = async function (
3102
3102
  continue;
3103
3103
  }
3104
3104
  for await (const trigger_obj of field_obj.triggers) {
3105
- if (!oninit_triggers_to_runP?.includes(trigger_obj.id)) continue;
3105
+ if (
3106
+ oninit_triggers_to_runP &&
3107
+ !oninit_triggers_to_runP?.includes(trigger_obj.id)
3108
+ ) {
3109
+ continue;
3110
+ }
3106
3111
  if (
3107
3112
  trigger_obj.data.trigger === "oninit" &&
3108
3113
  ["get_data", "set_data", "batch", "update", "raise_event"].includes(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.523",
3
+ "version": "1.3.524",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {