@resolveio/client-lib-core 15.3.45 → 15.4.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.
package/lib/socket.service.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare class SocketService {
|
|
|
10
10
|
readyState: number;
|
|
11
11
|
readyState$: BehaviorSubject<number>;
|
|
12
12
|
private protocols;
|
|
13
|
-
ws: WebSocket;
|
|
13
|
+
ws: WebSocket | null;
|
|
14
14
|
private url;
|
|
15
15
|
private timezone;
|
|
16
16
|
private pingInterval;
|
|
@@ -20,10 +20,10 @@ export declare class SocketService {
|
|
|
20
20
|
onopen: (ev: Event) => void;
|
|
21
21
|
onclose: (ev: CloseEvent) => void;
|
|
22
22
|
onconnecting: () => void;
|
|
23
|
-
onmessage: (
|
|
23
|
+
onmessage: (data: any) => void;
|
|
24
24
|
onerror: (ev: ErrorEvent) => void;
|
|
25
25
|
constructor(_storage: LocalStorageService);
|
|
26
|
-
openSocket(environment: any, protocols:
|
|
26
|
+
openSocket(environment: any, protocols: string[]): void;
|
|
27
27
|
private onOpenHandler;
|
|
28
28
|
private onCloseHandler;
|
|
29
29
|
private onMessageHandler;
|
package/package.json
CHANGED