@xuda.io/runtime-bundle 1.0.748 → 1.0.750

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.
@@ -32178,13 +32178,13 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32178
32178
  const field_id_from_exp = Object.keys(res.fields)[0];
32179
32179
  bind_field_id = await get_bind_field(field_id_from_exp);
32180
32180
  } else {
32181
- throw err.message;
32181
+ throw err?.message || err;
32182
32182
  }
32183
32183
  } else {
32184
32184
  throw err.message;
32185
32185
  }
32186
32186
  } catch (err) {
32187
- console.error(err.message);
32187
+ console.error(err?.message || err);
32188
32188
  return {};
32189
32189
  }
32190
32190
  // return {};
@@ -34047,7 +34047,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
34047
34047
  if (_session.worker_type === 'Dev') {
34048
34048
  return `../../plugins/${plugin_name}/${resource}`;
34049
34049
  }
34050
- return `https://${_session.domain}/plugins/${plugin_name}/${plugin.manifest[resource].dist ? 'dist/' : ''}${resource}?gtp_token=${_session.gtp_token}&app_id=${_session.app_id}`;
34050
+ return `https://${_session.domain}/plugins/${plugin_name}/${APP_OBJ[_session.app_id].app_plugins_purchased[plugin_name].manifest[resource].dist ? 'dist/' : ''}${resource}?gtp_token=${_session.gtp_token}&app_id=${_session.app_id}`;
34051
34051
  };
34052
34052
  let path = get_css_path('style.css');
34053
34053
  func.utils.load_css_on_demand(path);