@xuda.io/runtime-bundle 1.0.1328 → 1.0.1329

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.
@@ -24502,7 +24502,7 @@ func.api.call_javascript = async function (prog_id, params, evaluate) {
24502
24502
  return await api_utils.call_javascript(prog_id, params, evaluate);
24503
24503
  };
24504
24504
 
24505
- func.api.watch = async function (path, cb) {
24505
+ func.api.watch = function (path, cb) {
24506
24506
  if (!path) return 'path is mandatory';
24507
24507
  if (!cb) return 'cb (callback function) is mandatory';
24508
24508
  const SESSION_ID = Object.keys(SESSION_OBJ)[0];