exa-js 1.9.2 → 1.9.3

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
@@ -3112,6 +3112,7 @@ type AnswerOptions = {
3112
3112
  model?: "exa";
3113
3113
  systemPrompt?: string;
3114
3114
  outputSchema?: Record<string, unknown>;
3115
+ userLocation?: string;
3115
3116
  };
3116
3117
  /**
3117
3118
  * Represents an answer response object from the /answer endpoint.
package/dist/index.d.ts CHANGED
@@ -3112,6 +3112,7 @@ type AnswerOptions = {
3112
3112
  model?: "exa";
3113
3113
  systemPrompt?: string;
3114
3114
  outputSchema?: Record<string, unknown>;
3115
+ userLocation?: string;
3115
3116
  };
3116
3117
  /**
3117
3118
  * Represents an answer response object from the /answer endpoint.
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: "1.9.2",
77
+ version: "1.9.3",
78
78
  description: "Exa SDK for Node.js and the browser",
79
79
  publishConfig: {
80
80
  access: "public"
@@ -1581,7 +1581,8 @@ var Exa2 = class {
1581
1581
  text: options?.text ?? false,
1582
1582
  model: options?.model ?? "exa",
1583
1583
  systemPrompt: options?.systemPrompt,
1584
- outputSchema
1584
+ outputSchema,
1585
+ userLocation: options?.userLocation
1585
1586
  };
1586
1587
  return await this.request("/answer", "POST", requestBody);
1587
1588
  }