scrapebadger 0.11.0 → 0.12.0
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/dist/index.d.cts +69 -2
- package/dist/index.d.ts +69 -2
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2766,6 +2766,14 @@ var AiModeClient = class {
|
|
|
2766
2766
|
constructor(client) {
|
|
2767
2767
|
this.client = client;
|
|
2768
2768
|
}
|
|
2769
|
+
/**
|
|
2770
|
+
* Get an AI-generated answer from Google's AI Mode (udm=50).
|
|
2771
|
+
*
|
|
2772
|
+
* The response carries structured `text_blocks` (prose, headings,
|
|
2773
|
+
* comparison `table` blocks and lists), a flat `references` list, a
|
|
2774
|
+
* compact `markdown` rendering and — unless `include_html: false` —
|
|
2775
|
+
* the raw `answer_html` body.
|
|
2776
|
+
*/
|
|
2769
2777
|
async search(params) {
|
|
2770
2778
|
return this.client.request("/v1/google/ai-mode/search", {
|
|
2771
2779
|
params: { ...params }
|