exa-js 2.21.0 → 2.22.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.mjs CHANGED
@@ -4,7 +4,7 @@ import fetch2, { Headers } from "cross-fetch";
4
4
  // package.json
5
5
  var package_default = {
6
6
  name: "exa-js",
7
- version: "2.21.0",
7
+ version: "2.22.0",
8
8
  description: "Exa SDK for Node.js and the browser",
9
9
  publishConfig: {
10
10
  access: "public"
@@ -2789,6 +2789,7 @@ var Exa2 = class {
2789
2789
  livecrawl,
2790
2790
  livecrawlTimeout,
2791
2791
  maxAgeHours,
2792
+ snapshotAsOf,
2792
2793
  // DEPRECATED FIELD: preserve legacy `context` only for backward compatibility.
2793
2794
  context,
2794
2795
  ...rest
@@ -2817,6 +2818,8 @@ var Exa2 = class {
2817
2818
  if (livecrawlTimeout !== void 0)
2818
2819
  contentsOptions.livecrawlTimeout = livecrawlTimeout;
2819
2820
  if (maxAgeHours !== void 0) contentsOptions.maxAgeHours = maxAgeHours;
2821
+ if (snapshotAsOf !== void 0)
2822
+ contentsOptions.snapshotAsOf = snapshotAsOf;
2820
2823
  if (context !== void 0) contentsOptions.context = context;
2821
2824
  return {
2822
2825
  contentsOptions,