@xuda.io/xuda-worker-bundle-min 1.3.504 → 1.3.506

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 +16 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2375,7 +2375,7 @@ func.datasource.execute = async function (
2375
2375
 
2376
2376
  const row_not_found = async function () {
2377
2377
  _ds.currentRecordId = "newRecord";
2378
-
2378
+ _ds.set_mode = "C";
2379
2379
  _ds.record_not_found = true;
2380
2380
 
2381
2381
  if (_.isEmpty(_ds.data_feed.rows["newRecord"])) {
@@ -8093,7 +8093,11 @@ func.events.execute = async function (
8093
8093
  );
8094
8094
  },
8095
8095
  call_evaluate_javascript: async function () {
8096
- const module = await import("./modules/xuda-event-javascript-module.mjs");
8096
+ // const module = await import("./modules/xuda-event-javascript-module.mjs");
8097
+ const module = await func.common.get_module(
8098
+ SESSION_ID,
8099
+ "xuda-event-javascript-module.mjs"
8100
+ );
8097
8101
  return await module.call_javascript(
8098
8102
  SESSION_ID,
8099
8103
  jobNoP,
@@ -8103,11 +8107,19 @@ func.events.execute = async function (
8103
8107
  );
8104
8108
  },
8105
8109
  execute_native_javascript: async function () {
8106
- const module = await import("./modules/xuda-event-javascript-module.mjs");
8110
+ // const module = await import("./modules/xuda-event-javascript-module.mjs");
8111
+ const module = await func.common.get_module(
8112
+ SESSION_ID,
8113
+ "xuda-event-javascript-module.mjs"
8114
+ );
8107
8115
  return await module.run_javascript(SESSION_ID, jobNoP, refIdP, dsSession);
8108
8116
  },
8109
8117
  execute_evaluate_javascript: async function () {
8110
- const module = await import("./modules/xuda-event-javascript-module.mjs");
8118
+ // const module = await import("./modules/xuda-event-javascript-module.mjs");
8119
+ const module = await func.common.get_module(
8120
+ SESSION_ID,
8121
+ "xuda-event-javascript-module.mjs"
8122
+ );
8111
8123
  return await module.run_javascript(
8112
8124
  SESSION_ID,
8113
8125
  jobNoP,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.504",
3
+ "version": "1.3.506",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {