@xuda.io/xuda-worker-bundle-min 1.3.946 → 1.3.948

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 +3 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -916,9 +916,11 @@ func.common.get_module = async function (SESSION_ID, module, paramsP = {}) {
916
916
  const module_ret = await import(src);
917
917
  var params = get_params();
918
918
 
919
- return module_ret.XudaModule
919
+ const ret = module_ret.XudaModule
920
920
  ? new module_ret.XudaModule(params)
921
921
  : await invoke_init_module(module_ret, params);
922
+
923
+ return ret;
922
924
  };
923
925
 
924
926
  const get_params = function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.946",
3
+ "version": "1.3.948",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {