@gscdump/sdk 1.0.4 → 1.1.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.
@@ -98,7 +98,7 @@ interface GscdumpV1Client {
98
98
  /** Create one framework-neutral client whose behavior is driven by the v1 registry. */
99
99
  declare function createGscdumpV1Client(options: CreateGscdumpV1ClientOptions): GscdumpV1Client;
100
100
  type MaybePromise<T> = T | Promise<T>;
101
- declare const GSCDUMP_REALTIME_V1_SDK_VERSION: "1.0.3";
101
+ declare const GSCDUMP_REALTIME_V1_SDK_VERSION: "1.1.0";
102
102
  type GscdumpRealtimeV1TransportState = 'idle' | 'ticketing' | 'connecting' | 'handshaking' | 'replaying' | 'live' | 'waiting' | 'stopped' | 'terminal';
103
103
  type GscdumpRealtimeV1Freshness = 'unknown' | 'stale' | 'applying' | 'fresh' | 'resyncing' | 'degraded';
104
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
@@ -401,7 +401,7 @@ function utf8Size(value) {
401
401
  }
402
402
  return bytes;
403
403
  }
404
- const GSCDUMP_REALTIME_V1_SDK_VERSION = "1.0.3";
404
+ const GSCDUMP_REALTIME_V1_SDK_VERSION = "1.1.0";
405
405
  var GscdumpRealtimeV1Error = class extends Error {
406
406
  tag = "GscdumpRealtimeV1Error";
407
407
  code;
@@ -488,7 +488,7 @@ function createGscdumpRealtimeV1Client(options) {
488
488
  const protocol = createGscdumpV1Protocol();
489
489
  const runtime = options.runtime ?? defaultRuntime();
490
490
  const cursorStore = options.cursorStore ?? createMemoryCursorStore();
491
- const sdkVersion = options.sdkVersion ?? "1.0.3";
491
+ const sdkVersion = options.sdkVersion ?? "1.1.0";
492
492
  if (!sdkVersion) throw new TypeError("sdkVersion cannot be empty.");
493
493
  let running = false;
494
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",
4
+ "version": "1.1.0",
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/contracts": "^1.0.4",
153
- "@gscdump/analysis": "^1.0.4",
154
- "@gscdump/engine": "^1.0.4",
155
- "gscdump": "^1.0.4"
152
+ "@gscdump/analysis": "^1.1.0",
153
+ "gscdump": "^1.1.0",
154
+ "@gscdump/engine": "^1.1.0",
155
+ "@gscdump/contracts": "^1.1.0"
156
156
  },
157
157
  "devDependencies": {
158
158
  "typescript": "^6.0.3",