@oya-ai/browser 1.0.176 → 1.0.178

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.cjs CHANGED
@@ -383,7 +383,7 @@ var Browser = class {
383
383
  if (this.autoCaptcha) assertCaptchaCleared(await this.solveCaptcha());
384
384
  }
385
385
  /**
386
- * The page, written as markdown (the default), TOON or JSONL, plus its blocks and
386
+ * The page, written as TOON (the default), markdown or JSONL, plus its blocks and
387
387
  * the numbered elements to act on.
388
388
  */
389
389
  async analyze(options = {}) {
package/dist/index.d.cts CHANGED
@@ -101,11 +101,11 @@ interface Element {
101
101
  /** Action of the enclosing form. */
102
102
  formName?: string;
103
103
  }
104
- /** How `analyze()` writes the page: markdown (the default) or toon (toonformat.dev). */
104
+ /** How `analyze()` writes the page: toon (the default, toonformat.dev), markdown or jsonl. */
105
105
  type PageFormat = 'markdown' | 'toon' | 'jsonl';
106
106
  /** What `analyze()` accepts. */
107
107
  interface AnalyzeOptions {
108
- /** How the page is written: markdown (the default) or toon. */
108
+ /** How the page is written: toon (the default), markdown or jsonl. */
109
109
  format?: PageFormat;
110
110
  }
111
111
  /** One block of a page, in reading order: a heading, paragraph, list item, table row, image or element. */
@@ -129,7 +129,7 @@ interface Analysis {
129
129
  format?: PageFormat;
130
130
  /** The page, written in `format`. */
131
131
  page?: string;
132
- /** The page as markdown; present when the format is markdown (the default). */
132
+ /** The page as markdown; present when the format is markdown. */
133
133
  markdown?: string;
134
134
  /** The page's facts: url, title, scroll, and when they apply panelScroll, modal, covered, truncated. */
135
135
  facts?: Record<string, string | number>;
@@ -1340,7 +1340,7 @@ declare class Browser {
1340
1340
  /** Navigates, then clears any CAPTCHA when `captcha: 'auto'` was asked for. */
1341
1341
  goto(url: string): Promise<void>;
1342
1342
  /**
1343
- * The page, written as markdown (the default), TOON or JSONL, plus its blocks and
1343
+ * The page, written as TOON (the default), markdown or JSONL, plus its blocks and
1344
1344
  * the numbered elements to act on.
1345
1345
  */
1346
1346
  analyze(options?: AnalyzeOptions): Promise<Analysis>;
package/dist/index.d.ts CHANGED
@@ -101,11 +101,11 @@ interface Element {
101
101
  /** Action of the enclosing form. */
102
102
  formName?: string;
103
103
  }
104
- /** How `analyze()` writes the page: markdown (the default) or toon (toonformat.dev). */
104
+ /** How `analyze()` writes the page: toon (the default, toonformat.dev), markdown or jsonl. */
105
105
  type PageFormat = 'markdown' | 'toon' | 'jsonl';
106
106
  /** What `analyze()` accepts. */
107
107
  interface AnalyzeOptions {
108
- /** How the page is written: markdown (the default) or toon. */
108
+ /** How the page is written: toon (the default), markdown or jsonl. */
109
109
  format?: PageFormat;
110
110
  }
111
111
  /** One block of a page, in reading order: a heading, paragraph, list item, table row, image or element. */
@@ -129,7 +129,7 @@ interface Analysis {
129
129
  format?: PageFormat;
130
130
  /** The page, written in `format`. */
131
131
  page?: string;
132
- /** The page as markdown; present when the format is markdown (the default). */
132
+ /** The page as markdown; present when the format is markdown. */
133
133
  markdown?: string;
134
134
  /** The page's facts: url, title, scroll, and when they apply panelScroll, modal, covered, truncated. */
135
135
  facts?: Record<string, string | number>;
@@ -1340,7 +1340,7 @@ declare class Browser {
1340
1340
  /** Navigates, then clears any CAPTCHA when `captcha: 'auto'` was asked for. */
1341
1341
  goto(url: string): Promise<void>;
1342
1342
  /**
1343
- * The page, written as markdown (the default), TOON or JSONL, plus its blocks and
1343
+ * The page, written as TOON (the default), markdown or JSONL, plus its blocks and
1344
1344
  * the numbered elements to act on.
1345
1345
  */
1346
1346
  analyze(options?: AnalyzeOptions): Promise<Analysis>;
package/dist/index.js CHANGED
@@ -351,7 +351,7 @@ var Browser = class {
351
351
  if (this.autoCaptcha) assertCaptchaCleared(await this.solveCaptcha());
352
352
  }
353
353
  /**
354
- * The page, written as markdown (the default), TOON or JSONL, plus its blocks and
354
+ * The page, written as TOON (the default), markdown or JSONL, plus its blocks and
355
355
  * the numbered elements to act on.
356
356
  */
357
357
  async analyze(options = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oya-ai/browser",
3
- "version": "1.0.176",
3
+ "version": "1.0.178",
4
4
  "description": "Rotate thousands of browsers behind one API, personas, proxies, stealth, CAPTCHA and MFA.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://oyabrowser.com",