@xuda.io/runtime-bundle 1.0.1358 → 1.0.1359

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.
@@ -24513,7 +24513,7 @@ func.api.watch = function (path, cb, opt = {}) {
24513
24513
 
24514
24514
  _session.watchers[path] = cb;
24515
24515
  if (opt.immediate) {
24516
- const value = _.get(SESSION_OBJ[SESSION_ID][0], path);
24516
+ const value = _.get(SESSION_OBJ[SESSION_ID].DS_GLB[0], path);
24517
24517
  cb({ path, newValue: value, oldValue: value, timestamp: Date.now(), opt });
24518
24518
  }
24519
24519
  return 'ok';