@xuda.io/xuda-worker-bundle-min 1.3.76 → 1.3.77
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 +13 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -617,6 +617,18 @@ var UI_FRAMEWORK_INSTALLED = null;
|
|
|
617
617
|
var UI_FRAMEWORK_PLUGIN = {};
|
|
618
618
|
|
|
619
619
|
func.api = {};
|
|
620
|
+
func.api = {
|
|
621
|
+
init: async function () {
|
|
622
|
+
const SESSION_ID = Object.keys(SESSION_OBJ)[0];
|
|
623
|
+
const api_utils = await func.common.get_module(
|
|
624
|
+
SESSION_ID,
|
|
625
|
+
"xuda-api-library.mjs"
|
|
626
|
+
);
|
|
627
|
+
console.log(api_utils);
|
|
628
|
+
},
|
|
629
|
+
};
|
|
630
|
+
func.api.init();
|
|
631
|
+
|
|
620
632
|
func.api.set_field_value = async function (field_id, value) {
|
|
621
633
|
const SESSION_ID = Object.keys(SESSION_OBJ)[0];
|
|
622
634
|
const api_utils = await func.common.get_module(
|
|
@@ -6514,7 +6526,7 @@ func.utils.find_key_in_ViewUITreeObj = function (arr, key, val) {
|
|
|
6514
6526
|
|
|
6515
6527
|
func.utils.get_plugin_setup = function (SESSION_ID, plugin_name) {
|
|
6516
6528
|
const report_error = function (descP, warn) {
|
|
6517
|
-
func.utils.debug.log(SESSION_ID,
|
|
6529
|
+
func.utils.debug.log(SESSION_ID, plugin_name, {
|
|
6518
6530
|
module: "plugin",
|
|
6519
6531
|
action: "Init",
|
|
6520
6532
|
source: "get_plugin_setup",
|