automation_model 1.0.52 → 1.0.53

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.
@@ -270,18 +270,20 @@ class StableBrowser {
270
270
  throw e;
271
271
  }
272
272
  }
273
- async analyzeTable(selector, quary, operator, value, _params = null, options = {}) {
273
+ async analyzeTable(selector, query, operator, value, _params = null, options = {}) {
274
274
  const info = {};
275
275
  info.log = [];
276
276
  info.operation = "analyzeTable";
277
277
  info.selector = selector;
278
- info.quary = quary;
278
+ info.query = query;
279
+ query = this._fixUsingParams(query, _params);
280
+ info.query_fixed = query;
279
281
  info.operator = operator;
280
282
  info.value = value;
281
283
  try {
282
284
  let table = await this._locate(selector, info, _params);
283
285
  await this._screenShot(options);
284
- const cells = await getTableCells(this.page, table, quary, info);
286
+ const cells = await getTableCells(this.page, table, query, info);
285
287
 
286
288
  if (cells.error) {
287
289
  throw new Error(cells.error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automation_model",
3
- "version": "1.0.52",
3
+ "version": "1.0.53",
4
4
  "description": "An automation infrastructure module to be use for generative AI automation projects.",
5
5
  "main": "bin/index.js",
6
6
  "type": "module",