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

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 +14 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -754,8 +754,20 @@ 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(
758
+ // `${_conf.xuda_home}root/dist/runtime/js/modules/` + rep()
759
+ // );
757
760
  ret = await import(
758
- `${_conf.xuda_home}root/dist/runtime/js/modules/` + rep()
761
+ func.common.get_url(
762
+ SESSION_ID,
763
+ "dist",
764
+ func.utils.get_resource_filename(
765
+ SESSION_OBJ[SESSION_ID].engine_mode === "live_preview"
766
+ ? ""
767
+ : SESSION_OBJ[SESSION_ID]?.opt?.app_build_id,
768
+ `${_conf.xuda_home}root/dist/runtime/js/modules/` + rep()
769
+ )
770
+ )
759
771
  );
760
772
  } else {
761
773
  ret = await import(
@@ -4297,7 +4309,7 @@ func.utils.DOCS_OBJ.get = async function (SESSION_ID, idP) {
4297
4309
  if (typeof _session.SLIM_BUNDLE === "undefined" || !_session.SLIM_BUNDLE) {
4298
4310
  const module = await func.common.get_module(
4299
4311
  SESSION_ID,
4300
- `xuda-progs-loader-module$.mjs`
4312
+ `xuda-progs-loader-module.mjs`
4301
4313
  );
4302
4314
 
4303
4315
  if (idP !== "system") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.103",
3
+ "version": "1.3.105",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {