@xuda.io/xuda-worker-bundle-min 1.3.102 → 1.3.104
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.
- package/index.js +7 -5
- 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
|
|
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(
|
|
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(
|
|
@@ -4171,7 +4173,7 @@ func.datasource.get_cast_val = async function (
|
|
|
4171
4173
|
|
|
4172
4174
|
const module = await func.common.get_module(
|
|
4173
4175
|
SESSION_ID,
|
|
4174
|
-
|
|
4176
|
+
"xuda-get-cast-util-module.mjs"
|
|
4175
4177
|
);
|
|
4176
4178
|
return module.cast(
|
|
4177
4179
|
typeP,
|
|
@@ -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
|
|
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
|
|
4857
|
+
`xuda-progs-loader-module.mjs`
|
|
4856
4858
|
);
|
|
4857
4859
|
await module.load_objects_cache(SESSION_ID);
|
|
4858
4860
|
worker_post_message({
|