exa-js 2.0.11 → 2.0.12
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 +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3029,7 +3029,7 @@ type ContentsOptions = {
|
|
|
3029
3029
|
* @property {string} [endCrawlDate] - End date for results based on crawl date.
|
|
3030
3030
|
* @property {string} [startPublishedDate] - Start date for results based on published date.
|
|
3031
3031
|
* @property {string} [endPublishedDate] - End date for results based on published date.
|
|
3032
|
-
* @property {string} [category] - A data category to focus on, with higher comprehensivity and data cleanliness.
|
|
3032
|
+
* @property {string} [category] - A data category to focus on, with higher comprehensivity and data cleanliness.
|
|
3033
3033
|
* @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.
|
|
3034
3034
|
* @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.
|
|
3035
3035
|
* @property {string[]} [flags] - Experimental flags
|
|
@@ -3044,7 +3044,7 @@ type BaseSearchOptions = {
|
|
|
3044
3044
|
endCrawlDate?: string;
|
|
3045
3045
|
startPublishedDate?: string;
|
|
3046
3046
|
endPublishedDate?: string;
|
|
3047
|
-
category?: "company" | "research paper" | "news" | "pdf" | "github" | "tweet" | "personal site" | "
|
|
3047
|
+
category?: "company" | "research paper" | "news" | "pdf" | "github" | "tweet" | "personal site" | "financial report" | "people";
|
|
3048
3048
|
includeText?: string[];
|
|
3049
3049
|
excludeText?: string[];
|
|
3050
3050
|
flags?: string[];
|
|
@@ -3168,11 +3168,11 @@ type TextResponse = {
|
|
|
3168
3168
|
/**
|
|
3169
3169
|
* @typedef {Object} HighlightsResponse
|
|
3170
3170
|
* @property {string[]} highlights - The highlights as an array of strings.
|
|
3171
|
-
* @property {number[]} highlightScores - The corresponding scores as an array of floats, 0 to 1
|
|
3171
|
+
* @property {number[]} [highlightScores] - The corresponding scores as an array of floats, 0 to 1
|
|
3172
3172
|
*/
|
|
3173
3173
|
type HighlightsResponse = {
|
|
3174
3174
|
highlights: string[];
|
|
3175
|
-
highlightScores
|
|
3175
|
+
highlightScores?: number[];
|
|
3176
3176
|
};
|
|
3177
3177
|
/**
|
|
3178
3178
|
* @typedef {Object} SummaryResponse
|
package/dist/index.d.ts
CHANGED
|
@@ -3029,7 +3029,7 @@ type ContentsOptions = {
|
|
|
3029
3029
|
* @property {string} [endCrawlDate] - End date for results based on crawl date.
|
|
3030
3030
|
* @property {string} [startPublishedDate] - Start date for results based on published date.
|
|
3031
3031
|
* @property {string} [endPublishedDate] - End date for results based on published date.
|
|
3032
|
-
* @property {string} [category] - A data category to focus on, with higher comprehensivity and data cleanliness.
|
|
3032
|
+
* @property {string} [category] - A data category to focus on, with higher comprehensivity and data cleanliness.
|
|
3033
3033
|
* @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.
|
|
3034
3034
|
* @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.
|
|
3035
3035
|
* @property {string[]} [flags] - Experimental flags
|
|
@@ -3044,7 +3044,7 @@ type BaseSearchOptions = {
|
|
|
3044
3044
|
endCrawlDate?: string;
|
|
3045
3045
|
startPublishedDate?: string;
|
|
3046
3046
|
endPublishedDate?: string;
|
|
3047
|
-
category?: "company" | "research paper" | "news" | "pdf" | "github" | "tweet" | "personal site" | "
|
|
3047
|
+
category?: "company" | "research paper" | "news" | "pdf" | "github" | "tweet" | "personal site" | "financial report" | "people";
|
|
3048
3048
|
includeText?: string[];
|
|
3049
3049
|
excludeText?: string[];
|
|
3050
3050
|
flags?: string[];
|
|
@@ -3168,11 +3168,11 @@ type TextResponse = {
|
|
|
3168
3168
|
/**
|
|
3169
3169
|
* @typedef {Object} HighlightsResponse
|
|
3170
3170
|
* @property {string[]} highlights - The highlights as an array of strings.
|
|
3171
|
-
* @property {number[]} highlightScores - The corresponding scores as an array of floats, 0 to 1
|
|
3171
|
+
* @property {number[]} [highlightScores] - The corresponding scores as an array of floats, 0 to 1
|
|
3172
3172
|
*/
|
|
3173
3173
|
type HighlightsResponse = {
|
|
3174
3174
|
highlights: string[];
|
|
3175
|
-
highlightScores
|
|
3175
|
+
highlightScores?: number[];
|
|
3176
3176
|
};
|
|
3177
3177
|
/**
|
|
3178
3178
|
* @typedef {Object} SummaryResponse
|
package/dist/index.js
CHANGED
|
@@ -74,7 +74,7 @@ var import_cross_fetch = __toESM(require("cross-fetch"));
|
|
|
74
74
|
// package.json
|
|
75
75
|
var package_default = {
|
|
76
76
|
name: "exa-js",
|
|
77
|
-
version: "2.0.
|
|
77
|
+
version: "2.0.12",
|
|
78
78
|
description: "Exa SDK for Node.js and the browser",
|
|
79
79
|
publishConfig: {
|
|
80
80
|
access: "public"
|