@xuda.io/xuda-worker-bundle-min 1.3.2321 → 1.3.2323

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 +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1654,7 +1654,7 @@ func.datasource.prepare = async function (SESSION_ID, prog_id, dataSourceNoP, pa
1654
1654
  _ds.refreshed = true;
1655
1655
  debugger;
1656
1656
  if (_ds.watcher) {
1657
- _.set(_ds, watcher.path, watcher.newValue);
1657
+ _.set(_ds, _ds.watcher.path, _ds.watcher.newValue);
1658
1658
  }
1659
1659
  try {
1660
1660
  if (!_ds.v) _ds.v = {};
@@ -3190,7 +3190,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
3190
3190
  datasource_changed.push(dataSource);
3191
3191
  }
3192
3192
 
3193
- if (field_id === 'watcher') {
3193
+ if (!glb.IS_WORKER && field_id === 'watcher') {
3194
3194
  if (!server_datasource_changes[dataSource]) {
3195
3195
  server_datasource_changes[dataSource] = {};
3196
3196
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.2321",
3
+ "version": "1.3.2323",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {