scavio 0.30.0 → 0.30.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/README.md CHANGED
@@ -1215,7 +1215,7 @@ await client.glassdoor.reviews({ url: company.reviews_url as string });
1215
1215
  await client.glassdoor.salaries({ url: company.salaries_url as string });
1216
1216
  ```
1217
1217
 
1218
- 1 credit per call. Glassdoor's login wall caps `reviews` at **three reviews per
1218
+ 2 credits per call. Glassdoor's login wall caps `reviews` at **three reviews per
1219
1219
  response** — there is deliberately no `page` param; move the window with
1220
1220
  `category` and `employment_status` and read `filtered_review_count` to see how
1221
1221
  many match. Addressing `reviews` or `salaries` by `employer_id` needs an
package/dist/index.cjs CHANGED
@@ -237,7 +237,7 @@ function parseRetryAfter(header) {
237
237
  var BASE_URL = "https://api.scavio.dev";
238
238
  var DEFAULT_TIMEOUT = 3e4;
239
239
  var DEFAULT_MAX_RETRIES = 2;
240
- var SDK_VERSION = true ? "0.30.0" : "0.0.0";
240
+ var SDK_VERSION = true ? "0.30.1" : "0.0.0";
241
241
  var USER_AGENT = `scavio-js/${SDK_VERSION}`;
242
242
  function isServerRuntime() {
243
243
  const g = globalThis;
@@ -2037,7 +2037,7 @@ var GlassdoorNamespace = class {
2037
2037
  * only inside Glassdoor's /Overview/ URLs, so this lookup is the entry
2038
2038
  * point.
2039
2039
  *
2040
- * Costs 1 credit. Single response, no pagination.
2040
+ * Costs 2 credits. Single response, no pagination.
2041
2041
  */
2042
2042
  async companies(options) {
2043
2043
  return this.client._post("/api/v1/glassdoor/companies", options);
@@ -2052,7 +2052,7 @@ var GlassdoorNamespace = class {
2052
2052
  * reviews() and salaries() to halve the lookups. `employer_id` or
2053
2053
  * `url` is required - `company` is cosmetic and does not satisfy it.
2054
2054
  *
2055
- * Costs 1 credit. Single response, no pagination. Typically ~3-47s.
2055
+ * Costs 2 credits. Single response, no pagination. Typically a few seconds.
2056
2056
  */
2057
2057
  async company(options) {
2058
2058
  return this.client._post("/api/v1/glassdoor/company", options);
@@ -2069,7 +2069,7 @@ var GlassdoorNamespace = class {
2069
2069
  * filtered_review_count to see how many match; the aggregate statistics are
2070
2070
  * the full-population signal here, not the bodies.
2071
2071
  *
2072
- * `employer_id` or `url` is required. Costs 1 credit. Typically ~75s.
2072
+ * `employer_id` or `url` is required. Costs 2 credits. Typically a few seconds.
2073
2073
  */
2074
2074
  async reviews(options) {
2075
2075
  return this.client._post("/api/v1/glassdoor/reviews", options);
@@ -2083,7 +2083,7 @@ var GlassdoorNamespace = class {
2083
2083
  * salaries. Paged with `page` at 10 job titles per page; `page_count` on the
2084
2084
  * response is how many pages exist.
2085
2085
  *
2086
- * `employer_id` or `url` is required. Costs 1 credit. Typically ~41s.
2086
+ * `employer_id` or `url` is required. Costs 2 credits. Typically a few seconds.
2087
2087
  */
2088
2088
  async salaries(options) {
2089
2089
  return this.client._post("/api/v1/glassdoor/salaries", options);