@xuda.io/xuda-worker-bundle-min 1.3.101 → 1.3.103

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 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -662,7 +662,7 @@ func.common.get_cast_val = async function (
662
662
  };
663
663
  const module = await func.common.get_module(
664
664
  SESSION_ID,
665
- "xuda-get-cast-util-module.mjs"
665
+ `xuda-get-cast-util-module.mjs`
666
666
  );
667
667
  return module.cast(
668
668
  typeP,
@@ -754,7 +754,9 @@ func.common.get_module = async function (SESSION_ID, module) {
754
754
  typeof IS_DOCKER !== "undefined" ||
755
755
  typeof IS_PROCESS_SERVER !== "undefined"
756
756
  ) {
757
- ret = await import(`${_conf.xuda_home}modules/` + rep());
757
+ ret = await import(
758
+ `${_conf.xuda_home}root/dist/runtime/js/modules/` + rep()
759
+ );
758
760
  } else {
759
761
  ret = await import(
760
762
  func.common.get_url(
@@ -4295,7 +4297,7 @@ func.utils.DOCS_OBJ.get = async function (SESSION_ID, idP) {
4295
4297
  if (typeof _session.SLIM_BUNDLE === "undefined" || !_session.SLIM_BUNDLE) {
4296
4298
  const module = await func.common.get_module(
4297
4299
  SESSION_ID,
4298
- `xuda-progs-loader-module${!_conf.is_debug ? ".min" : ""}.mjs`
4300
+ `xuda-progs-loader-module$.mjs`
4299
4301
  );
4300
4302
 
4301
4303
  if (idP !== "system") {
@@ -4852,7 +4854,7 @@ func.utils.ws_worker.functions = {
4852
4854
  } else {
4853
4855
  const module = await func.common.get_module(
4854
4856
  SESSION_ID,
4855
- `xuda-progs-loader-module${!_conf.is_debug ? ".min" : ""}.mjs`
4857
+ `xuda-progs-loader-module.mjs`
4856
4858
  );
4857
4859
  await module.load_objects_cache(SESSION_ID);
4858
4860
  worker_post_message({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.101",
3
+ "version": "1.3.103",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {