@xuda.io/runtime-bundle 1.0.1424 → 1.0.1425

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.
@@ -35083,10 +35083,11 @@ func.runtime.render.bind_xu_event = function (options) {
35083
35083
  evt[val.event_modifiers]();
35084
35084
  }
35085
35085
 
35086
- if (val.workflow) {
35087
- const workflow_keys = Object.keys(val.workflow);
35086
+ const workflow = val.workflow || val.event;
35087
+ if (workflow) {
35088
+ const workflow_keys = Object.keys(workflow);
35088
35089
  for (let workflow_index = 0; workflow_index < workflow_keys.length; workflow_index++) {
35089
- const val2 = val.workflow[workflow_keys[workflow_index]];
35090
+ const val2 = workflow[workflow_keys[workflow_index]];
35090
35091
  if (!val2.data.enabled) continue;
35091
35092
 
35092
35093
  func.events.add_to_queue(
@@ -35798,7 +35799,7 @@ func.runtime.render.normalize_node_attributes = function (nodeP) {
35798
35799
  {
35799
35800
  handler: 'custom',
35800
35801
  props: {},
35801
- event: [
35802
+ workflow: [
35802
35803
  {
35803
35804
  id: Date.now(),
35804
35805
  data: {