exa-js 1.8.24 → 1.8.26

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.mts CHANGED
@@ -2766,6 +2766,7 @@ declare const isBeta = false;
2766
2766
  * @property {string[]} [includeText] - List of strings that must be present in webpage text of results. Currently only supports 1 string of up to 5 words.
2767
2767
  * @property {string[]} [excludeText] - List of strings that must not be present in webpage text of results. Currently only supports 1 string of up to 5 words.
2768
2768
  * @property {string[]} [flags] - Experimental flags
2769
+ * @property {string} [userLocation] - The two-letter ISO country code of the user, e.g. US.
2769
2770
  */
2770
2771
  type BaseSearchOptions = {
2771
2772
  numResults?: number;
@@ -2779,6 +2780,7 @@ type BaseSearchOptions = {
2779
2780
  includeText?: string[];
2780
2781
  excludeText?: string[];
2781
2782
  flags?: string[];
2783
+ userLocation?: string;
2782
2784
  };
2783
2785
  /**
2784
2786
  * Search options for performing a search query.
package/dist/index.d.ts CHANGED
@@ -2766,6 +2766,7 @@ declare const isBeta = false;
2766
2766
  * @property {string[]} [includeText] - List of strings that must be present in webpage text of results. Currently only supports 1 string of up to 5 words.
2767
2767
  * @property {string[]} [excludeText] - List of strings that must not be present in webpage text of results. Currently only supports 1 string of up to 5 words.
2768
2768
  * @property {string[]} [flags] - Experimental flags
2769
+ * @property {string} [userLocation] - The two-letter ISO country code of the user, e.g. US.
2769
2770
  */
2770
2771
  type BaseSearchOptions = {
2771
2772
  numResults?: number;
@@ -2779,6 +2780,7 @@ type BaseSearchOptions = {
2779
2780
  includeText?: string[];
2780
2781
  excludeText?: string[];
2781
2782
  flags?: string[];
2783
+ userLocation?: string;
2782
2784
  };
2783
2785
  /**
2784
2786
  * Search options for performing a search query.