@saltcorn/history-control 0.4.0 → 0.4.1

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/common.js CHANGED
@@ -117,7 +117,7 @@ const countRows = async (table_name, whereFull) => {
117
117
  table_name
118
118
  )}__history" h ${where.length ? ` ${where}` : ""}`;
119
119
  const { rows } = await db.query(sql, values);
120
- console.log(rows);
120
+ //console.log(rows);
121
121
  return +rows?.[0]?.count;
122
122
  };
123
123
 
package/diffview.js CHANGED
@@ -125,7 +125,7 @@ const run = async (
125
125
  const oldH = cmpMode === "Latest" ? row[diff_field] : cmpTo[diff_field];
126
126
  const newH = cmpMode === "Latest" ? cmpTo[diff_field] : row[diff_field];
127
127
  diff_html = HtmlDiff.default.execute(oldH, newH);
128
- console.log({ oldH, newH, diff_html });
128
+ //console.log({ oldH, newH, diff_html });
129
129
  }
130
130
  }
131
131
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saltcorn/history-control",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Allow users to interact with row history",
5
5
  "main": "index.js",
6
6
  "dependencies": {