@xuda.io/xuda-worker-bundle-min 1.3.140 → 1.3.141
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 -7
- 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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
8914
|
+
const api_utils = await func.common.get_module(
|
|
8915
8915
|
SESSION_ID,
|
|
8916
8916
|
"xuda-api-library.mjs"
|
|
8917
8917
|
);
|