@xuda.io/xuda-worker-bundle-min 1.3.2333 → 1.3.2335

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 +14 -10
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -4354,18 +4354,14 @@ func.utils.clean_returned_datasource = function (SESSION_ID, DS) {
4354
4354
  var obj = _.clone(_session.DS_GLB[DS]);
4355
4355
 
4356
4356
  delete obj.screen_params;
4357
- delete obj.old_dataSource;
4358
4357
 
4359
- // if (obj.data_system) {
4360
- // delete obj.data_system.SYS_GLOBAL_OBJ_REFS;
4361
- // }
4362
- try {
4363
- clean_object_functions(obj);
4358
+ // try {
4359
+ // clean_object_functions(obj);
4364
4360
 
4365
- obj = JSON.parse(JSON.stringify(obj, func.utils.clean_stringify_null, '\t'));
4366
- } catch (e) {
4367
- console.error(e);
4368
- }
4361
+ // obj = JSON.parse(JSON.stringify(obj, func.utils.clean_stringify_null, '\t'));
4362
+ // } catch (e) {
4363
+ // console.error(e);
4364
+ // }
4369
4365
 
4370
4366
  delete obj.pre_init_fields;
4371
4367
  delete obj.oninit_triggers_to_run;
@@ -4395,6 +4391,14 @@ func.utils.clean_returned_datasource = function (SESSION_ID, DS) {
4395
4391
 
4396
4392
  delete obj.v;
4397
4393
  clean_empty_objects();
4394
+
4395
+ try {
4396
+ clean_object_functions(obj);
4397
+
4398
+ obj = JSON.parse(JSON.stringify(obj, func.utils.clean_stringify_null, '\t'));
4399
+ } catch (e) {
4400
+ console.error(e);
4401
+ }
4398
4402
  // clean_dataset();
4399
4403
  return obj;
4400
4404
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.2333",
3
+ "version": "1.3.2335",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {