exa-js 2.11.0 → 2.12.1

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright © 2024 Hubert Yuan
3
+ Copyright © 2024 Exa Labs
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/dist/index.d.mts CHANGED
@@ -1022,6 +1022,8 @@ interface components {
1022
1022
  /** @enum {string} */
1023
1023
  source: WebsetExcludeSource;
1024
1024
  }[];
1025
+ /** @description Optional soft cap for people searches. When set, the search will try to include at most this many matching people from the same current employer company. */
1026
+ maxPeoplePerCompany?: number;
1025
1027
  /** @description Natural language search query describing what you are looking for.
1026
1028
  *
1027
1029
  * Be specific and descriptive about your requirements, characteristics, and any constraints that help narrow down the results.
@@ -1078,6 +1080,8 @@ interface components {
1078
1080
  metadata?: {
1079
1081
  [key: string]: string;
1080
1082
  };
1083
+ /** @description Optional soft cap for people searches. When set, the search will try to include at most this many matching people from the same current employer company. */
1084
+ maxPeoplePerCompany?: number;
1081
1085
  /** @description Natural language search query describing what you are looking for.
1082
1086
  *
1083
1087
  * Be specific and descriptive about your requirements, characteristics, and any constraints that help narrow down the results.
@@ -2317,6 +2321,8 @@ interface components {
2317
2321
  }[];
2318
2322
  /** @description The unique identifier for the search */
2319
2323
  id: string;
2324
+ /** @description The soft cap requested for matching people from the same current employer company, or null when no cap was requested. */
2325
+ maxPeoplePerCompany: number | null;
2320
2326
  /**
2321
2327
  * @description Set of key-value pairs you want to associate with this object.
2322
2328
  * @default {}
package/dist/index.d.ts CHANGED
@@ -1022,6 +1022,8 @@ interface components {
1022
1022
  /** @enum {string} */
1023
1023
  source: WebsetExcludeSource;
1024
1024
  }[];
1025
+ /** @description Optional soft cap for people searches. When set, the search will try to include at most this many matching people from the same current employer company. */
1026
+ maxPeoplePerCompany?: number;
1025
1027
  /** @description Natural language search query describing what you are looking for.
1026
1028
  *
1027
1029
  * Be specific and descriptive about your requirements, characteristics, and any constraints that help narrow down the results.
@@ -1078,6 +1080,8 @@ interface components {
1078
1080
  metadata?: {
1079
1081
  [key: string]: string;
1080
1082
  };
1083
+ /** @description Optional soft cap for people searches. When set, the search will try to include at most this many matching people from the same current employer company. */
1084
+ maxPeoplePerCompany?: number;
1081
1085
  /** @description Natural language search query describing what you are looking for.
1082
1086
  *
1083
1087
  * Be specific and descriptive about your requirements, characteristics, and any constraints that help narrow down the results.
@@ -2317,6 +2321,8 @@ interface components {
2317
2321
  }[];
2318
2322
  /** @description The unique identifier for the search */
2319
2323
  id: string;
2324
+ /** @description The soft cap requested for matching people from the same current employer company, or null when no cap was requested. */
2325
+ maxPeoplePerCompany: number | null;
2320
2326
  /**
2321
2327
  * @description Set of key-value pairs you want to associate with this object.
2322
2328
  * @default {}
package/dist/index.js CHANGED
@@ -76,7 +76,7 @@ var import_cross_fetch = __toESM(require("cross-fetch"));
76
76
  // package.json
77
77
  var package_default = {
78
78
  name: "exa-js",
79
- version: "2.11.0",
79
+ version: "2.12.1",
80
80
  description: "Exa SDK for Node.js and the browser",
81
81
  publishConfig: {
82
82
  access: "public"