exa-js 1.8.25 → 1.8.27
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 +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2778,6 +2778,7 @@ declare const isBeta = false;
|
|
|
2778
2778
|
* @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.
|
|
2779
2779
|
* @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.
|
|
2780
2780
|
* @property {string[]} [flags] - Experimental flags
|
|
2781
|
+
* @property {string} [userLocation] - The two-letter ISO country code of the user, e.g. US.
|
|
2781
2782
|
*/
|
|
2782
2783
|
type BaseSearchOptions = {
|
|
2783
2784
|
numResults?: number;
|
|
@@ -2791,6 +2792,7 @@ type BaseSearchOptions = {
|
|
|
2791
2792
|
includeText?: string[];
|
|
2792
2793
|
excludeText?: string[];
|
|
2793
2794
|
flags?: string[];
|
|
2795
|
+
userLocation?: string;
|
|
2794
2796
|
};
|
|
2795
2797
|
/**
|
|
2796
2798
|
* Search options for performing a search query.
|
package/dist/index.d.ts
CHANGED
|
@@ -2778,6 +2778,7 @@ declare const isBeta = false;
|
|
|
2778
2778
|
* @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.
|
|
2779
2779
|
* @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.
|
|
2780
2780
|
* @property {string[]} [flags] - Experimental flags
|
|
2781
|
+
* @property {string} [userLocation] - The two-letter ISO country code of the user, e.g. US.
|
|
2781
2782
|
*/
|
|
2782
2783
|
type BaseSearchOptions = {
|
|
2783
2784
|
numResults?: number;
|
|
@@ -2791,6 +2792,7 @@ type BaseSearchOptions = {
|
|
|
2791
2792
|
includeText?: string[];
|
|
2792
2793
|
excludeText?: string[];
|
|
2793
2794
|
flags?: string[];
|
|
2795
|
+
userLocation?: string;
|
|
2794
2796
|
};
|
|
2795
2797
|
/**
|
|
2796
2798
|
* Search options for performing a search query.
|