@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.
- package/js/xuda-runtime-bundle.js +1 -1
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +1 -1
- package/js/xuda-runtime-slim.min.es.js +1 -1
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +1 -1
- package/js/xuda-worker-bundle.js +1 -1
- package/js/xuda-worker-bundle.min.js +1 -1
- package/js/xuda_common-bundle.js +1 -1
- package/js/xuda_common-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -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';
|