@getanyapi/sdk 0.9.9 → 0.9.11

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
@@ -493,7 +493,7 @@ async function agentSignup(options = {}) {
493
493
 
494
494
  // src/core/client.ts
495
495
  var DEFAULT_BASE_URL2 = "https://api.getanyapi.com";
496
- var DEFAULT_TIMEOUT_MS = 6e4;
496
+ var DEFAULT_TIMEOUT_MS = 3e5;
497
497
  var DEFAULT_MAX_RETRIES = 2;
498
498
  var RETRY_BASE_DELAY_MS = 500;
499
499
  var RETRY_MAX_DELAY_MS = 8e3;
@@ -5203,10 +5203,10 @@ var WebNamespace = class {
5203
5203
  *
5204
5204
  * Scrape any web page and get its content back as clean Markdown (or HTML, or raw HTML) plus title and metadata.
5205
5205
  *
5206
- * Price: $0.0009 per request.
5206
+ * Price: $0.0005 per request.
5207
5207
  *
5208
5208
  * @example
5209
- * const res = await client.web.scrape({ url: "https://example.com", formats: ["markdown", "html", "rawHtml"], onlyMainContent: true });
5209
+ * const res = await client.web.scrape({ url: "https://example.com", formats: ["markdown", "rawHtml"], onlyMainContent: false });
5210
5210
  */
5211
5211
  scrape(input, options) {
5212
5212
  return this._core.run("web.scrape", input, options);