gscdump 5.3.0 → 5.6.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/indexnow.mjs +2 -2
- package/package.json +2 -2
package/dist/indexnow.mjs
CHANGED
|
@@ -23,7 +23,7 @@ function indexNow(options = {}) {
|
|
|
23
23
|
const parsed = parseInput(input);
|
|
24
24
|
if (!parsed.ok) return parsed;
|
|
25
25
|
const response = await fetch(input.keyLocation, {
|
|
26
|
-
redirect: "
|
|
26
|
+
redirect: "manual",
|
|
27
27
|
signal: AbortSignal.timeout(timeoutMs)
|
|
28
28
|
});
|
|
29
29
|
if (response.status !== 200) return ok({
|
|
@@ -78,7 +78,7 @@ function indexNow(options = {}) {
|
|
|
78
78
|
}
|
|
79
79
|
const response = await fetch("https://api.indexnow.org/indexnow", {
|
|
80
80
|
method: "POST",
|
|
81
|
-
redirect: "
|
|
81
|
+
redirect: "manual",
|
|
82
82
|
signal: AbortSignal.timeout(timeoutMs),
|
|
83
83
|
headers: { "content-type": "application/json; charset=utf-8" },
|
|
84
84
|
body: JSON.stringify({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gscdump",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.6.0",
|
|
5
5
|
"description": "Direct Google Search Console and Bing Webmaster clients with typed queries and Indexing Evidence",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"node": ">=22.13.0"
|
|
119
119
|
},
|
|
120
120
|
"dependencies": {
|
|
121
|
-
"@gscdump/contracts": "^5.
|
|
121
|
+
"@gscdump/contracts": "^5.6.0",
|
|
122
122
|
"ofetch": "^1.5.1"
|
|
123
123
|
},
|
|
124
124
|
"scripts": {
|