@xuda.io/xuda-worker-bundle 1.3.2442 → 1.3.2444

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 +15 -9
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -4354,16 +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
- if (obj.data_system) {
4358
- delete obj.data_system.SYS_GLOBAL_OBJ_REFS;
4359
- }
4360
- try {
4361
- clean_object_functions(obj);
4362
4357
 
4363
- obj = JSON.parse(JSON.stringify(obj, func.utils.clean_stringify_null, '\t'));
4364
- } catch (e) {
4365
- console.error(e);
4366
- }
4358
+ // try {
4359
+ // clean_object_functions(obj);
4360
+
4361
+ // obj = JSON.parse(JSON.stringify(obj, func.utils.clean_stringify_null, '\t'));
4362
+ // } catch (e) {
4363
+ // console.error(e);
4364
+ // }
4367
4365
 
4368
4366
  delete obj.pre_init_fields;
4369
4367
  delete obj.oninit_triggers_to_run;
@@ -4393,6 +4391,14 @@ func.utils.clean_returned_datasource = function (SESSION_ID, DS) {
4393
4391
 
4394
4392
  delete obj.v;
4395
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
+ }
4396
4402
  // clean_dataset();
4397
4403
  return obj;
4398
4404
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle",
3
- "version": "1.3.2442",
3
+ "version": "1.3.2444",
4
4
  "description": "xuda framework",
5
5
  "main": "index.js",
6
6
  "scripts": {