@plyaz/types 1.36.1 → 1.36.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.
@@ -11,7 +11,6 @@
11
11
  * Domain stores (like files) use selectors to filter messages from this store
12
12
  * by type, subtype, scope, transport, etc.
13
13
  */
14
- import type { PackageErrorLike } from '../../errors';
15
14
  import type { StreamMessage, StreamMessageType, StreamMessageSubtype, StreamMessageScope, StreamTransportType } from '../../core/events/streaming';
16
15
  /**
17
16
  * Stream message handler function.
@@ -75,8 +74,6 @@ export interface StreamMessageFilter {
75
74
  export interface StreamStoreState {
76
75
  /** Whether SSE/WebSocket connection is established */
77
76
  connected: boolean;
78
- /** Connection error (if any) - also added to global errors store */
79
- connectionError: PackageErrorLike | null;
80
77
  /** Connection ID (from server) */
81
78
  connectionId: string | null;
82
79
  /** Transport type in use */
@@ -112,11 +109,6 @@ export interface StreamStoreState {
112
109
  export interface StreamStoreActions {
113
110
  /** Set connection state */
114
111
  setConnected(connected: boolean): void;
115
- /**
116
- * Set connection error.
117
- * NOTE: This also adds the error to the GLOBAL errors store.
118
- */
119
- setConnectionError(error: PackageErrorLike | null): void;
120
112
  /** Set connection ID */
121
113
  setConnectionId(id: string | null): void;
122
114
  /** Set transport type */
@@ -280,7 +272,6 @@ export interface StreamSliceConfig {
280
272
  /**
281
273
  * Callback to add errors to the global errors store.
282
274
  * Called when:
283
- * - setConnectionError is called with an error
284
275
  * - handleMessage receives an 'error' event
285
276
  * - A registered handler throws an error
286
277
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plyaz/types",
3
- "version": "1.36.1",
3
+ "version": "1.36.2",
4
4
  "author": "Redeemer Pace",
5
5
  "license": "ISC",
6
6
  "description": "Provides shared TypeScript types and schema utilities for validation and parsing in the @playz ecosystem.",