scavio 0.32.1 → 0.32.2
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 +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -78,8 +78,8 @@ interface GoogleSearchOptions {
|
|
|
78
78
|
google_domain?: string;
|
|
79
79
|
/**
|
|
80
80
|
* Canonical location name; auto-encoded to a UULE string. On the standard
|
|
81
|
-
* results page
|
|
82
|
-
* organic results
|
|
81
|
+
* results page Google localizes the local pack only and ranks organic results
|
|
82
|
+
* nationally; set web_only for organic results ranked for this location.
|
|
83
83
|
*/
|
|
84
84
|
location?: string;
|
|
85
85
|
/** Pre-encoded UULE location string (takes priority over location). */
|
|
@@ -99,7 +99,7 @@ interface GoogleSearchOptions {
|
|
|
99
99
|
/** Resolve a deferred AI Overview (server default true). */
|
|
100
100
|
resolve_ai_overview?: boolean;
|
|
101
101
|
/**
|
|
102
|
-
* Return Google's Web results only: organic results
|
|
102
|
+
* Return Google's Web results only: organic results ranked for location,
|
|
103
103
|
* with no local pack, ads, related questions, knowledge graph or AI Overview.
|
|
104
104
|
*/
|
|
105
105
|
web_only?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -78,8 +78,8 @@ interface GoogleSearchOptions {
|
|
|
78
78
|
google_domain?: string;
|
|
79
79
|
/**
|
|
80
80
|
* Canonical location name; auto-encoded to a UULE string. On the standard
|
|
81
|
-
* results page
|
|
82
|
-
* organic results
|
|
81
|
+
* results page Google localizes the local pack only and ranks organic results
|
|
82
|
+
* nationally; set web_only for organic results ranked for this location.
|
|
83
83
|
*/
|
|
84
84
|
location?: string;
|
|
85
85
|
/** Pre-encoded UULE location string (takes priority over location). */
|
|
@@ -99,7 +99,7 @@ interface GoogleSearchOptions {
|
|
|
99
99
|
/** Resolve a deferred AI Overview (server default true). */
|
|
100
100
|
resolve_ai_overview?: boolean;
|
|
101
101
|
/**
|
|
102
|
-
* Return Google's Web results only: organic results
|
|
102
|
+
* Return Google's Web results only: organic results ranked for location,
|
|
103
103
|
* with no local pack, ads, related questions, knowledge graph or AI Overview.
|
|
104
104
|
*/
|
|
105
105
|
web_only?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -145,7 +145,7 @@ function parseRetryAfter(header) {
|
|
|
145
145
|
var BASE_URL = "https://api.scavio.dev";
|
|
146
146
|
var DEFAULT_TIMEOUT = 3e4;
|
|
147
147
|
var DEFAULT_MAX_RETRIES = 2;
|
|
148
|
-
var SDK_VERSION = true ? "0.32.
|
|
148
|
+
var SDK_VERSION = true ? "0.32.2" : "0.0.0";
|
|
149
149
|
var USER_AGENT = `scavio-js/${SDK_VERSION}`;
|
|
150
150
|
function isServerRuntime() {
|
|
151
151
|
const g = globalThis;
|