@xuda.io/xuda-worker-bundle-min 1.3.140 → 1.3.142

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 +7 -7
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -786,7 +786,7 @@ func.common.get_module = async function (SESSION_ID, module) {
786
786
  func.api = {};
787
787
  func.api.set_field_value = async function (field_id, value) {
788
788
  const SESSION_ID = Object.keys(SESSION_OBJ)[0];
789
- const { api_utils } = await func.common.get_module(
789
+ const api_utils = await func.common.get_module(
790
790
  SESSION_ID,
791
791
  "xuda-api-library.mjs"
792
792
  );
@@ -804,7 +804,7 @@ func.api.set_field_value = async function (field_id, value) {
804
804
  };
805
805
  func.api.get_field_value = async function (field_id) {
806
806
  const SESSION_ID = Object.keys(SESSION_OBJ)[0];
807
- const { api_utils } = await func.common.get_module(
807
+ const api_utils = await func.common.get_module(
808
808
  SESSION_ID,
809
809
  "xuda-api-library.mjs"
810
810
  );
@@ -822,7 +822,7 @@ func.api.get_field_value = async function (field_id) {
822
822
  };
823
823
  func.api.invoke_event = async function (event_id) {
824
824
  const SESSION_ID = Object.keys(SESSION_OBJ)[0];
825
- const { api_utils } = await func.common.get_module(
825
+ const api_utils = await func.common.get_module(
826
826
  SESSION_ID,
827
827
  "xuda-api-library.mjs"
828
828
  );
@@ -840,7 +840,7 @@ func.api.invoke_event = async function (event_id) {
840
840
  };
841
841
  func.api.call_api_program = async function (prog_id, params) {
842
842
  const SESSION_ID = Object.keys(SESSION_OBJ)[0];
843
- const { api_utils } = await func.common.get_module(
843
+ const api_utils = await func.common.get_module(
844
844
  SESSION_ID,
845
845
  "xuda-api-library.mjs"
846
846
  );
@@ -1065,7 +1065,7 @@ glb.lifecycle = {
1065
1065
  execute: async function (SESSION_ID, event) {
1066
1066
  const _session = SESSION_OBJ[SESSION_ID];
1067
1067
 
1068
- const { api_utils: xu_api } = await func.common.get_module(
1068
+ const xu_api = await func.common.get_module(
1069
1069
  SESSION_ID,
1070
1070
  "xuda-api-library.mjs"
1071
1071
  );
@@ -7622,7 +7622,7 @@ func.events.execute = async function (
7622
7622
  return report_error(plugin_setup_ret);
7623
7623
  }
7624
7624
 
7625
- const { api_utils } = await func.common.get_module(
7625
+ const api_utils = await func.common.get_module(
7626
7626
  SESSION_ID,
7627
7627
  "xuda-api-library.mjs"
7628
7628
  );
@@ -8911,7 +8911,7 @@ func.expression.secure_eval = async function (
8911
8911
  dsSessionP,
8912
8912
  js_script_callback
8913
8913
  ) {
8914
- const { api_utils } = await func.common.get_module(
8914
+ const api_utils = await func.common.get_module(
8915
8915
  SESSION_ID,
8916
8916
  "xuda-api-library.mjs"
8917
8917
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.140",
3
+ "version": "1.3.142",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {