scrapebadger 0.80.0 → 0.81.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.cjs CHANGED
@@ -9,7 +9,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
9
9
  var WebSocket__default = /*#__PURE__*/_interopDefault(WebSocket);
10
10
 
11
11
  // src/internal/version.ts
12
- var SDK_VERSION = "0.80.0";
12
+ var SDK_VERSION = "0.81.0";
13
13
 
14
14
  // src/internal/exceptions.ts
15
15
  var ScrapeBadgerError = class _ScrapeBadgerError extends Error {
@@ -10259,8 +10259,13 @@ var MetaAiClient = class {
10259
10259
 
10260
10260
  // src/perplexity/client.ts
10261
10261
  function toQuery(params) {
10262
- const { strictCountry, ...rest } = params;
10263
- return strictCountry ? { ...rest, strict_country: true } : rest;
10262
+ const { strictCountry, html, raw, ...rest } = params;
10263
+ return {
10264
+ ...rest,
10265
+ ...strictCountry ? { strict_country: true } : {},
10266
+ ...html ? { html: true } : {},
10267
+ ...raw ? { raw: true } : {}
10268
+ };
10264
10269
  }
10265
10270
  var PerplexityClient = class {
10266
10271
  client;