triangle-utils 1.4.168 → 1.4.169

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.
@@ -31,7 +31,7 @@ export class UtilsBrave {
31
31
  if (!Array.isArray(results)) {
32
32
  return undefined;
33
33
  }
34
- return body.results;
34
+ return results;
35
35
  }
36
36
  catch (error) {
37
37
  console.log("Failed to Brave:", error.stack);
@@ -66,7 +66,7 @@ export class UtilsBrave {
66
66
  if (!Array.isArray(results)) {
67
67
  return undefined;
68
68
  }
69
- return body.results;
69
+ return results;
70
70
  }
71
71
  catch (error) {
72
72
  console.log("Failed to Brave:", error.stack);
package/dist/src/f.js CHANGED
@@ -83,5 +83,5 @@ const utils = new TriangleUtils(config);
83
83
  // .then(response => console.log(response))
84
84
  // await utils.s3.get_download_url("s3://triangle-675045717295-us-east-1-an/tenant_documents/a3a9627f-a94d-4d47-a110-307a6f5563af/a146d789-da40-4e3c-a132-8b7110f3f7df.pdf", { name : "hye.pdf" })
85
85
  // .then(response => console.log(response))
86
- await utils.brave.web_search("press releases site:https://cohen.house.gov/", { min_date: "2026-09-03", max_date: "2026-09-05" })
86
+ await utils.brave.web_search("press releases site:https://cohen.house.gov/")
87
87
  .then(console.log);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triangle-utils",
3
- "version": "1.4.168",
3
+ "version": "1.4.169",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "directories": {
package/src/UtilsBrave.ts CHANGED
@@ -38,7 +38,7 @@ export class UtilsBrave {
38
38
  if (!Array.isArray(results)) {
39
39
  return undefined
40
40
  }
41
- return body.results
41
+ return results
42
42
  } catch (error : any) {
43
43
  console.log("Failed to Brave:", error.stack)
44
44
  }
@@ -77,7 +77,7 @@ export class UtilsBrave {
77
77
  if (!Array.isArray(results)) {
78
78
  return undefined
79
79
  }
80
- return body.results
80
+ return results
81
81
  } catch (error : any) {
82
82
  console.log("Failed to Brave:", error.stack)
83
83
  }
package/src/f.ts CHANGED
@@ -107,5 +107,5 @@ const utils = new TriangleUtils(config)
107
107
  // .then(response => console.log(response))
108
108
 
109
109
 
110
- await utils.brave.web_search("press releases site:https://cohen.house.gov/", { min_date : "2026-09-03", max_date : "2026-09-05" })
110
+ await utils.brave.web_search("press releases site:https://cohen.house.gov/")
111
111
  .then(console.log)