@xuda.io/xuda-worker-bundle-min 1.3.283 → 1.3.284

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 +12 -12
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -4316,7 +4316,7 @@ func.datasource.get_pre_init_fields = function (
4316
4316
  return; // inactive 021617
4317
4317
  }; // temporary inactive, init preformed on the first round
4318
4318
 
4319
- func.datasource.add_dynamic_field_to_dataset = function (
4319
+ func.datasource.add_dynamic_field_to_data_feed = function (
4320
4320
  SESSION_ID,
4321
4321
  dsSessionP,
4322
4322
  key,
@@ -4337,22 +4337,22 @@ func.datasource.add_dynamic_field_to_dataset = function (
4337
4337
  .toLowerCase();
4338
4338
  };
4339
4339
 
4340
- _ds.dynamic_fields.push({
4341
- id: Date.now(),
4342
- data: {
4343
- type: "virtual",
4344
- field_id: key,
4345
- },
4346
- props: {
4347
- fieldType: val ? toType(val) : "string",
4348
- },
4349
- });
4340
+ // _ds.data_feed.push({
4341
+ // id: Date.now(),
4342
+ // data: {
4343
+ // type: "virtual",
4344
+ // field_id: key,
4345
+ // },
4346
+ // props: {
4347
+ // fieldType: val ? toType(val) : "string",
4348
+ // },
4349
+ // });
4350
+ _ds.data_feed.rows[_ds.currentRecordId][key] = val;
4350
4351
  };
4351
4352
  const get_merge_progFields_with_dynamic_fields = async function (
4352
4353
  SESSION_ID,
4353
4354
  dsSessionP
4354
4355
  ) {
4355
- debugger;
4356
4356
  var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[dsSessionP];
4357
4357
  const _view_obj = await func.utils.VIEWS_OBJ.get(SESSION_ID, _ds.prog_id);
4358
4358
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.283",
3
+ "version": "1.3.284",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {