@xuda.io/xuda-worker-bundle-min 1.3.1258 → 1.3.1260

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 +6 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1729,7 +1729,7 @@ func.datasource.create = async function (
1729
1729
  new func.datasource.interval(
1730
1730
  SESSION_ID,
1731
1731
  dsSessionP,
1732
- "browser_interval"
1732
+ "client_interval"
1733
1733
  );
1734
1734
  DATASOURCE_INTERVALS[SESSION_ID][dsSessionP].init();
1735
1735
  }
@@ -2154,10 +2154,10 @@ func.datasource.prepare = async function (
2154
2154
  // INTERVALS
2155
2155
  //======================================
2156
2156
 
2157
- _ds.browser_interval = func.datasource.get_event_interval_arr(
2157
+ _ds.client_interval = func.datasource.get_event_interval_arr(
2158
2158
  SESSION_ID,
2159
2159
  dataSourceSession,
2160
- "browser_interval"
2160
+ "client_interval"
2161
2161
  );
2162
2162
 
2163
2163
  if (prog_id === "system") {
@@ -4095,7 +4095,8 @@ func.datasource.del = function (SESSION_ID, dsP) {
4095
4095
  func.datasource.update = async function (
4096
4096
  SESSION_ID,
4097
4097
  datasource_changes,
4098
- update_local_scope_only
4098
+ update_local_scope_only,
4099
+ avoid_refresh
4099
4100
  ) {
4100
4101
  return new Promise(async (resolve, reject) => {
4101
4102
  var _session = SESSION_OBJ[SESSION_ID];
@@ -4318,7 +4319,7 @@ func.datasource.update = async function (
4318
4319
  });
4319
4320
  }
4320
4321
  ///// REFRESH SCREEN
4321
- if (fields_changed.length) {
4322
+ if (!avoid_refresh && fields_changed.length) {
4322
4323
  await func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_changed);
4323
4324
  await func.UI.screen.refresh_screen(
4324
4325
  SESSION_ID,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.1258",
3
+ "version": "1.3.1260",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {