@xuda.io/runtime-bundle 1.0.1127 → 1.0.1128

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.
@@ -26730,7 +26730,7 @@ func.utils.get_plugin_resource = function (SESSION_ID, plugin_name, plugin_resou
26730
26730
  return `${_conf.plugins_drive_path}/${_session.app_id}/node_modules/${plugin_name}/${resource}`;
26731
26731
  } else {
26732
26732
  // return `./node_modules/${plugin_name}/${resource}?app_id=${_session.app_id}`;
26733
- return `https://${_session.domain}/plugins/${plugin_name}/${resource}?app_id=${_session.app_id}`;
26733
+ return `https://${_session.domain}/plugins/${plugin_name}/${resource}?app_id=${_session.app_id}&ts=${_session?.opt?.app_build_id || 0}`;
26734
26734
  }
26735
26735
  };
26736
26736
 
@@ -26806,7 +26806,7 @@ func.utils.get_plugin_npm_cdn = async function (SESSION_ID, plugin_name, resourc
26806
26806
  return `../../plugins/${plugin_name}/${resource}`;
26807
26807
  }
26808
26808
 
26809
- return `https://${_session.domain}/plugins/${plugin_name}/${resource}?app_id=${_session.app_id}`;
26809
+ return `https://${_session.domain}/plugins/${plugin_name}/${resource}?app_id=${_session.app_id}&ts=${_session?.opt?.app_build_id || 0}`;
26810
26810
  };
26811
26811
 
26812
26812
  return get_path(resource);
@@ -34460,7 +34460,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
34460
34460
 
34461
34461
  let $ret_panel_div = ret.$new_div;
34462
34462
 
34463
- if (!$ret_panel_div.children().length) {
34463
+ if (!$ret_panel_div?.children()?.length) {
34464
34464
  ////// render default children tree
34465
34465
  if (nodeP.children.length) {
34466
34466
  $ret_panel_div = await func.UI.screen.render_ui_tree(SESSION_ID, $container, nodeP.children[0], parent_infoP, paramsP, jobNoP, null, 0, null, nodeP, null, $root_container);