@xuda.io/xuda-worker-bundle-min 1.3.833 → 1.3.835

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 +4 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -32,6 +32,8 @@ glb.PROTECTED_VARS = [
32
32
  "_VAL",
33
33
  ];
34
34
 
35
+ glb.newRecord = 999999;
36
+
35
37
  func.common = {};
36
38
  func.common.find_item_by_key = function (arr, key, val) {
37
39
  return _.find(arr, function (e) {
@@ -2910,7 +2912,8 @@ func.datasource.render_fields_dataset = async function (
2910
2912
  func.utils.debug_report(SESSION_ID, "Datasource", err, "E", null, _ds);
2911
2913
  }
2912
2914
  }
2913
- _ds.data_feed.rows.push(data_feed);
2915
+ // _ds.data_feed.rows.push(data_feed);
2916
+ _ds.data_feed.rows[0] = data_feed;
2914
2917
  };
2915
2918
 
2916
2919
  func.datasource.run_events_functions = async function (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.833",
3
+ "version": "1.3.835",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {