@xuda.io/runtime-bundle 1.0.699 → 1.0.701

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.
@@ -876,7 +876,7 @@ func.api.dbs_read = async function (table_id, selector, fields, sort, limit, ski
876
876
 
877
877
  return await api_utils.dbs_read(table_id, selector, fields, sort, limit, skip, cb);
878
878
  };
879
- func.api.dbs_update = async function (table_id, row_id, data) {
879
+ func.api.dbs_update = async function (table_id, row_id, data, cb) {
880
880
  const SESSION_ID = Object.keys(SESSION_OBJ)[0];
881
881
  const api_utils = await func.common.get_module(SESSION_ID, 'xuda-api-library.mjs', {
882
882
  func,
@@ -876,7 +876,7 @@ func.api.dbs_read = async function (table_id, selector, fields, sort, limit, ski
876
876
 
877
877
  return await api_utils.dbs_read(table_id, selector, fields, sort, limit, skip, cb);
878
878
  };
879
- func.api.dbs_update = async function (table_id, row_id, data) {
879
+ func.api.dbs_update = async function (table_id, row_id, data, cb) {
880
880
  const SESSION_ID = Object.keys(SESSION_OBJ)[0];
881
881
  const api_utils = await func.common.get_module(SESSION_ID, 'xuda-api-library.mjs', {
882
882
  func,