@xuda.io/runtime-bundle 1.0.1296 → 1.0.1298

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.
@@ -28680,7 +28680,7 @@ func.datasource.prepare = async function (SESSION_ID, prog_id, dataSourceNoP, pa
28680
28680
  _ds.refreshed = true;
28681
28681
  debugger;
28682
28682
  if (_ds.watcher) {
28683
- _.set(_ds, watcher.path, watcher.newValue);
28683
+ _.set(_ds, _ds.watcher.path, _ds.watcher.newValue);
28684
28684
  }
28685
28685
  try {
28686
28686
  if (!_ds.v) _ds.v = {};
@@ -30216,7 +30216,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
30216
30216
  datasource_changed.push(dataSource);
30217
30217
  }
30218
30218
 
30219
- if (field_id === 'watcher') {
30219
+ if (!glb.IS_WORKER && field_id === 'watcher') {
30220
30220
  if (!server_datasource_changes[dataSource]) {
30221
30221
  server_datasource_changes[dataSource] = {};
30222
30222
  }