@gscdump/sdk 1.4.7 → 1.4.10
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/indexing-issues.mjs
CHANGED
|
@@ -87,6 +87,14 @@ const issueDetails = {
|
|
|
87
87
|
description: "The canonical URL declared on these pages points to a different URL. Google may index the canonical target instead.",
|
|
88
88
|
fix: "Ensure each page's canonical tag points to itself, or intentionally to the preferred version. Fix any unintended canonical tags added by CMS plugins."
|
|
89
89
|
},
|
|
90
|
+
canonical_cross_domain: {
|
|
91
|
+
description: "The canonical URL declared on these pages and Google's selected canonical are on different domains.",
|
|
92
|
+
fix: "Confirm the cross-domain canonical is intentional. If it is not, update the declared canonical to the preferred URL on this domain and request another inspection."
|
|
93
|
+
},
|
|
94
|
+
canonical_formatting: {
|
|
95
|
+
description: "The declared and Google-selected canonicals identify the same resource but differ in scheme, www prefix, host casing, or trailing slash.",
|
|
96
|
+
fix: "Align the canonical spelling with the URL format your site consistently serves. This is low severity because both values identify the same resource."
|
|
97
|
+
},
|
|
90
98
|
fragment_url: {
|
|
91
99
|
description: "These URLs contain fragment identifiers (#). Googlebot typically ignores fragments as they're client-side only.",
|
|
92
100
|
fix: "Avoid using fragment URLs as unique pages. If using client-side routing with hashes, migrate to proper URL paths for better indexability."
|
|
@@ -113,6 +121,7 @@ const issueGroups = [
|
|
|
113
121
|
issueTypes: [
|
|
114
122
|
"blocked_robots",
|
|
115
123
|
"canonical_mismatch",
|
|
124
|
+
"canonical_cross_domain",
|
|
116
125
|
"duplicate_no_canonical",
|
|
117
126
|
"indexed_consider_canonical",
|
|
118
127
|
"sitemap_redirect"
|
|
@@ -165,6 +174,7 @@ const issueGroups = [
|
|
|
165
174
|
"noindex",
|
|
166
175
|
"redirect",
|
|
167
176
|
"alternate_canonical",
|
|
177
|
+
"canonical_formatting",
|
|
168
178
|
"page_removed",
|
|
169
179
|
"fragment_url"
|
|
170
180
|
]
|
|
@@ -156,7 +156,7 @@ function classifySearchConsoleStage(input) {
|
|
|
156
156
|
const discovered = countSearchConsoleIssues(issues, "discovered_not_indexed");
|
|
157
157
|
const crawled = countSearchConsoleIssues(issues, "crawled_not_indexed");
|
|
158
158
|
const hardBlocks = countSearchConsoleIssues(issues, "blocked_robots", "server_error", "access_denied", "forbidden") + (input.crawlAuditBlockerCount ?? 0);
|
|
159
|
-
const canonicalMismatches = Math.min(notIndexed, input.canonicalMismatchCount ?? countSearchConsoleIssues(issues, "canonical_mismatch"));
|
|
159
|
+
const canonicalMismatches = Math.min(notIndexed, input.canonicalMismatchCount ?? countSearchConsoleIssues(issues, "canonical_mismatch", "canonical_cross_domain"));
|
|
160
160
|
let visibleNoClickPages = 0;
|
|
161
161
|
let poorPositionPages = 0;
|
|
162
162
|
for (const page of input.pageInventory ?? []) {
|
package/dist/v1/http.d.mts
CHANGED
|
@@ -77,6 +77,7 @@ interface GscdumpV1Client {
|
|
|
77
77
|
updateUserTokens: (input: GscdumpV1OperationInput<'partner.users.tokens.update'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'partner.users.tokens.update'>>;
|
|
78
78
|
getSiteIndexing: (input: GscdumpV1OperationInput<'partner.sites.indexing.get'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'partner.sites.indexing.get'>>;
|
|
79
79
|
listSiteIndexingUrls: (input: GscdumpV1OperationInput<'partner.sites.indexing.urls.list'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'partner.sites.indexing.urls.list'>>;
|
|
80
|
+
listSiteIndexingTransitions: (input: GscdumpV1OperationInput<'partner.sites.indexing.transitions.list'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'partner.sites.indexing.transitions.list'>>;
|
|
80
81
|
getSiteIndexingDiagnostics: (input: GscdumpV1OperationInput<'partner.sites.indexing.diagnostics.get'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'partner.sites.indexing.diagnostics.get'>>;
|
|
81
82
|
getSiteSitemaps: (input: GscdumpV1OperationInput<'partner.sites.sitemaps.get'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'partner.sites.sitemaps.get'>>;
|
|
82
83
|
getSiteSitemapChanges: (input: GscdumpV1OperationInput<'partner.sites.sitemaps.changes.get'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'partner.sites.sitemaps.changes.get'>>;
|
package/dist/v1/http.mjs
CHANGED
|
@@ -379,6 +379,7 @@ function createGscdumpV1Client(options) {
|
|
|
379
379
|
updateUserTokens: (input, executeOptions) => execute("partner.users.tokens.update", input, executeOptions),
|
|
380
380
|
getSiteIndexing: (input, executeOptions) => execute("partner.sites.indexing.get", input, executeOptions),
|
|
381
381
|
listSiteIndexingUrls: (input, executeOptions) => execute("partner.sites.indexing.urls.list", input, executeOptions),
|
|
382
|
+
listSiteIndexingTransitions: (input, executeOptions) => execute("partner.sites.indexing.transitions.list", input, executeOptions),
|
|
382
383
|
getSiteIndexingDiagnostics: (input, executeOptions) => execute("partner.sites.indexing.diagnostics.get", input, executeOptions),
|
|
383
384
|
getSiteSitemaps: (input, executeOptions) => execute("partner.sites.sitemaps.get", input, executeOptions),
|
|
384
385
|
getSiteSitemapChanges: (input, executeOptions) => execute("partner.sites.sitemaps.changes.get", input, executeOptions),
|
package/dist/v1/realtime.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RealtimeV1Cursor, RealtimeV1Event, RealtimeV1StreamHead, RealtimeV1StreamId } from "@gscdump/contracts/v1/realtime";
|
|
2
2
|
type MaybePromise<T> = T | Promise<T>;
|
|
3
|
-
declare const GSCDUMP_REALTIME_V1_SDK_VERSION: "1.4.
|
|
3
|
+
declare const GSCDUMP_REALTIME_V1_SDK_VERSION: "1.4.10";
|
|
4
4
|
type GscdumpRealtimeV1TransportState = 'idle' | 'ticketing' | 'connecting' | 'handshaking' | 'replaying' | 'live' | 'waiting' | 'stopped' | 'terminal';
|
|
5
5
|
type GscdumpRealtimeV1Freshness = 'unknown' | 'stale' | 'applying' | 'fresh' | 'resyncing' | 'degraded';
|
|
6
6
|
type GscdumpRealtimeV1ErrorCode = 'cursor_store_failed' | 'effect_failed' | 'heartbeat_stale' | 'integration_failed' | 'protocol_error' | 'resync_failed' | 'runtime_unavailable' | 'socket_error' | 'ticket_invalid' | 'ticket_provider_failed' | 'upgrade_rejected';
|
package/dist/v1/realtime.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { utf8Size } from "../utf8.mjs";
|
|
2
2
|
import { GSCDUMP_REALTIME_ACK_POLICY, GSCDUMP_REALTIME_CLOSE_CODES, GSCDUMP_REALTIME_CONNECTION_POLICY, GSCDUMP_REALTIME_LIMITS, GSCDUMP_REALTIME_PING, GSCDUMP_REALTIME_PONG, GSCDUMP_REALTIME_PROTOCOL_VERSION, GSCDUMP_REALTIME_SUBPROTOCOL, REALTIME_V1_EVENT_NAMES, REALTIME_V1_RESOURCE_TYPES, createRealtimeV1Schemas } from "@gscdump/contracts/v1/realtime";
|
|
3
|
-
const GSCDUMP_REALTIME_V1_SDK_VERSION = "1.4.
|
|
3
|
+
const GSCDUMP_REALTIME_V1_SDK_VERSION = "1.4.10";
|
|
4
4
|
var GscdumpRealtimeV1Error = class extends Error {
|
|
5
5
|
tag = "GscdumpRealtimeV1Error";
|
|
6
6
|
code;
|
|
@@ -87,7 +87,7 @@ function createGscdumpRealtimeV1Client(options) {
|
|
|
87
87
|
const schemas = createRealtimeV1Schemas();
|
|
88
88
|
const runtime = options.runtime ?? defaultRuntime();
|
|
89
89
|
const cursorStore = options.cursorStore ?? createMemoryCursorStore();
|
|
90
|
-
const sdkVersion = options.sdkVersion ?? "1.4.
|
|
90
|
+
const sdkVersion = options.sdkVersion ?? "1.4.10";
|
|
91
91
|
if (!sdkVersion) throw new TypeError("sdkVersion cannot be empty.");
|
|
92
92
|
let running = false;
|
|
93
93
|
let epoch = 0;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gscdump/sdk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.10",
|
|
5
5
|
"description": "Consumer SDK for hosted gscdump.com integrations.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -158,10 +158,10 @@
|
|
|
158
158
|
"dependencies": {
|
|
159
159
|
"ofetch": "^1.5.1",
|
|
160
160
|
"zod": "^4.4.3",
|
|
161
|
-
"@gscdump/analysis": "^1.4.
|
|
162
|
-
"@gscdump/contracts": "^1.4.
|
|
163
|
-
"@gscdump/engine": "^1.4.
|
|
164
|
-
"gscdump": "^1.4.
|
|
161
|
+
"@gscdump/analysis": "^1.4.10",
|
|
162
|
+
"@gscdump/contracts": "^1.4.10",
|
|
163
|
+
"@gscdump/engine": "^1.4.10",
|
|
164
|
+
"gscdump": "^1.4.10"
|
|
165
165
|
},
|
|
166
166
|
"devDependencies": {
|
|
167
167
|
"typescript": "^7.0.2",
|