@xuda.io/xuda-worker-bundle-min 1.3.253 → 1.3.255
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 +4 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -774,7 +774,8 @@ func.common.get_module = async function (SESSION_ID, module) {
|
|
|
774
774
|
const invoke_init_module = function (module_ret, params) {
|
|
775
775
|
if (!module_ret.init_module) return;
|
|
776
776
|
|
|
777
|
-
|
|
777
|
+
module_ret.init_module(params);
|
|
778
|
+
return module_ret;
|
|
778
779
|
};
|
|
779
780
|
const _session = SESSION_OBJ[SESSION_ID];
|
|
780
781
|
if (_session.worker_type === "Dev") {
|
|
@@ -787,7 +788,7 @@ func.common.get_module = async function (SESSION_ID, module) {
|
|
|
787
788
|
typeof IS_DOCKER !== "undefined" ||
|
|
788
789
|
typeof IS_PROCESS_SERVER !== "undefined"
|
|
789
790
|
) {
|
|
790
|
-
ret = await
|
|
791
|
+
ret = await get_ret(
|
|
791
792
|
func.utils.get_resource_filename(
|
|
792
793
|
SESSION_OBJ[SESSION_ID].engine_mode === "live_preview"
|
|
793
794
|
? ""
|
|
@@ -796,7 +797,7 @@ func.common.get_module = async function (SESSION_ID, module) {
|
|
|
796
797
|
)
|
|
797
798
|
);
|
|
798
799
|
} else {
|
|
799
|
-
ret = await
|
|
800
|
+
ret = await get_ret(
|
|
800
801
|
func.common.get_url(
|
|
801
802
|
SESSION_ID,
|
|
802
803
|
"dist",
|