@noatgnu/cupcake-core 1.3.5 → 1.3.7
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/index.d.ts
CHANGED
|
@@ -696,6 +696,7 @@ declare const TASK_STATUS_COLORS: Record<TaskStatus, string>;
|
|
|
696
696
|
|
|
697
697
|
interface CupcakeCoreConfig {
|
|
698
698
|
apiUrl: string;
|
|
699
|
+
websocketUrl?: string;
|
|
699
700
|
}
|
|
700
701
|
declare const CUPCAKE_CORE_CONFIG: InjectionToken<CupcakeCoreConfig>;
|
|
701
702
|
interface AuthResponse {
|
|
@@ -1206,13 +1207,13 @@ declare class WebSocketService {
|
|
|
1206
1207
|
protected destroy$: Subject<void>;
|
|
1207
1208
|
protected reconnectAttempts: number;
|
|
1208
1209
|
protected isConnecting: boolean;
|
|
1209
|
-
protected connectionState: _angular_core.WritableSignal<"
|
|
1210
|
+
protected connectionState: _angular_core.WritableSignal<"disconnected" | "connecting" | "connected" | "error">;
|
|
1210
1211
|
protected lastError: _angular_core.WritableSignal<string | null>;
|
|
1211
1212
|
protected messageSubject: Subject<WebSocketMessage>;
|
|
1212
1213
|
protected connectionSubject: BehaviorSubject<boolean>;
|
|
1213
1214
|
readonly messages$: Observable<WebSocketMessage>;
|
|
1214
1215
|
readonly isConnected$: Observable<boolean>;
|
|
1215
|
-
readonly connectionState$: _angular_core.Signal<"
|
|
1216
|
+
readonly connectionState$: _angular_core.Signal<"disconnected" | "connecting" | "connected" | "error">;
|
|
1216
1217
|
readonly lastError$: _angular_core.Signal<string | null>;
|
|
1217
1218
|
protected config_token: _noatgnu_cupcake_core.CupcakeCoreConfig;
|
|
1218
1219
|
protected endpoint: string;
|
package/package.json
CHANGED