@gscdump/sdk 1.0.3 → 1.0.4
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/v1/index.d.mts +7 -1
- package/dist/v1/index.mjs +8 -2
- package/package.json +5 -5
package/dist/v1/index.d.mts
CHANGED
|
@@ -83,6 +83,12 @@ interface GscdumpV1Client {
|
|
|
83
83
|
getSiteAnalysis: (input: GscdumpV1OperationInput<'partner.sites.analysis.get'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'partner.sites.analysis.get'>>;
|
|
84
84
|
getSiteAnalysisBundle: (input: GscdumpV1OperationInput<'partner.sites.analysis.bundle.get'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'partner.sites.analysis.bundle.get'>>;
|
|
85
85
|
deleteSite: (input: GscdumpV1OperationInput<'partner.sites.delete'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'partner.sites.delete'>>;
|
|
86
|
+
getCanonicalMismatches: (input: GscdumpV1OperationInput<'partner.sites.canonical.mismatches.get'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'partner.sites.canonical.mismatches.get'>>;
|
|
87
|
+
inspectSiteUrls: (input: GscdumpV1OperationInput<'partner.sites.indexing.inspect.create'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'partner.sites.indexing.inspect.create'>>;
|
|
88
|
+
recoverSitePermission: (input: GscdumpV1OperationInput<'partner.sites.permission.recover'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'partner.sites.permission.recover'>>;
|
|
89
|
+
queryKeywordSparklines: (input: GscdumpV1OperationInput<'partner.sites.keyword.sparklines.query'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'partner.sites.keyword.sparklines.query'>>;
|
|
90
|
+
getQueryTrend: (input: GscdumpV1OperationInput<'partner.sites.query.trend.get'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'partner.sites.query.trend.get'>>;
|
|
91
|
+
getPageTrend: (input: GscdumpV1OperationInput<'partner.sites.page.trend.get'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'partner.sites.page.trend.get'>>;
|
|
86
92
|
queryAnalyticsRows: (input: GscdumpV1OperationInput<'analytics.rows.query'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'analytics.rows.query'>>;
|
|
87
93
|
queryAnalyticsReport: (input: GscdumpV1OperationInput<'analytics.reports.query'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'analytics.reports.query'>>;
|
|
88
94
|
queryAnalyticsReportDetail: (input: GscdumpV1OperationInput<'analytics.reports.detail.query'>, options?: GscdumpV1ExecuteOptions) => Promise<GscdumpV1OperationResponse<'analytics.reports.detail.query'>>;
|
|
@@ -92,7 +98,7 @@ interface GscdumpV1Client {
|
|
|
92
98
|
/** Create one framework-neutral client whose behavior is driven by the v1 registry. */
|
|
93
99
|
declare function createGscdumpV1Client(options: CreateGscdumpV1ClientOptions): GscdumpV1Client;
|
|
94
100
|
type MaybePromise<T> = T | Promise<T>;
|
|
95
|
-
declare const GSCDUMP_REALTIME_V1_SDK_VERSION: "1.0.
|
|
101
|
+
declare const GSCDUMP_REALTIME_V1_SDK_VERSION: "1.0.3";
|
|
96
102
|
type GscdumpRealtimeV1TransportState = 'idle' | 'ticketing' | 'connecting' | 'handshaking' | 'replaying' | 'live' | 'waiting' | 'stopped' | 'terminal';
|
|
97
103
|
type GscdumpRealtimeV1Freshness = 'unknown' | 'stale' | 'applying' | 'fresh' | 'resyncing' | 'degraded';
|
|
98
104
|
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/index.mjs
CHANGED
|
@@ -375,6 +375,12 @@ function createGscdumpV1Client(options) {
|
|
|
375
375
|
getSiteAnalysis: (input, executeOptions) => execute("partner.sites.analysis.get", input, executeOptions),
|
|
376
376
|
getSiteAnalysisBundle: (input, executeOptions) => execute("partner.sites.analysis.bundle.get", input, executeOptions),
|
|
377
377
|
deleteSite: (input, executeOptions) => execute("partner.sites.delete", input, executeOptions),
|
|
378
|
+
getCanonicalMismatches: (input, executeOptions) => execute("partner.sites.canonical.mismatches.get", input, executeOptions),
|
|
379
|
+
inspectSiteUrls: (input, executeOptions) => execute("partner.sites.indexing.inspect.create", input, executeOptions),
|
|
380
|
+
recoverSitePermission: (input, executeOptions) => execute("partner.sites.permission.recover", input, executeOptions),
|
|
381
|
+
queryKeywordSparklines: (input, executeOptions) => execute("partner.sites.keyword.sparklines.query", input, executeOptions),
|
|
382
|
+
getQueryTrend: (input, executeOptions) => execute("partner.sites.query.trend.get", input, executeOptions),
|
|
383
|
+
getPageTrend: (input, executeOptions) => execute("partner.sites.page.trend.get", input, executeOptions),
|
|
378
384
|
queryAnalyticsRows: (input, executeOptions) => execute("analytics.rows.query", input, executeOptions),
|
|
379
385
|
queryAnalyticsReport: (input, executeOptions) => execute("analytics.reports.query", input, executeOptions),
|
|
380
386
|
queryAnalyticsReportDetail: (input, executeOptions) => execute("analytics.reports.detail.query", input, executeOptions),
|
|
@@ -395,7 +401,7 @@ function utf8Size(value) {
|
|
|
395
401
|
}
|
|
396
402
|
return bytes;
|
|
397
403
|
}
|
|
398
|
-
const GSCDUMP_REALTIME_V1_SDK_VERSION = "1.0.
|
|
404
|
+
const GSCDUMP_REALTIME_V1_SDK_VERSION = "1.0.3";
|
|
399
405
|
var GscdumpRealtimeV1Error = class extends Error {
|
|
400
406
|
tag = "GscdumpRealtimeV1Error";
|
|
401
407
|
code;
|
|
@@ -482,7 +488,7 @@ function createGscdumpRealtimeV1Client(options) {
|
|
|
482
488
|
const protocol = createGscdumpV1Protocol();
|
|
483
489
|
const runtime = options.runtime ?? defaultRuntime();
|
|
484
490
|
const cursorStore = options.cursorStore ?? createMemoryCursorStore();
|
|
485
|
-
const sdkVersion = options.sdkVersion ?? "1.0.
|
|
491
|
+
const sdkVersion = options.sdkVersion ?? "1.0.3";
|
|
486
492
|
if (!sdkVersion) throw new TypeError("sdkVersion cannot be empty.");
|
|
487
493
|
let running = false;
|
|
488
494
|
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.0.
|
|
4
|
+
"version": "1.0.4",
|
|
5
5
|
"description": "Consumer SDK for hosted gscdump.com integrations.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -149,10 +149,10 @@
|
|
|
149
149
|
"date-fns": "^4.4.0",
|
|
150
150
|
"ofetch": "^1.5.1",
|
|
151
151
|
"zod": "^4.4.3",
|
|
152
|
-
"@gscdump/
|
|
153
|
-
"@gscdump/
|
|
154
|
-
"@gscdump/
|
|
155
|
-
"gscdump": "^1.0.
|
|
152
|
+
"@gscdump/contracts": "^1.0.4",
|
|
153
|
+
"@gscdump/analysis": "^1.0.4",
|
|
154
|
+
"@gscdump/engine": "^1.0.4",
|
|
155
|
+
"gscdump": "^1.0.4"
|
|
156
156
|
},
|
|
157
157
|
"devDependencies": {
|
|
158
158
|
"typescript": "^6.0.3",
|