rc-lib-ui 1.1.53 → 1.2.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.
- package/dist/NetworkAndSocket/Network/store/network.store.d.ts +1 -1
- package/dist/NetworkAndSocket/Socket/api/SocketApi.d.ts +1 -1
- package/dist/NetworkAndSocket/Socket/api/deps/NetworkControls/NetworkControls.d.ts +5 -1
- package/dist/NetworkAndSocket/Socket/api/index.d.ts +1 -1
- package/dist/socket.js +3084 -566
- package/package.json +3 -2
- package/dist/NetworkAndSocket/Socket/api/deps/NetworkStatusTracker/NetworkStatusTracker.d.ts +0 -30
- package/dist/NetworkAndSocket/Socket/api/deps/NetworkStatusTracker/NetworkStatusTracker.types.d.ts +0 -22
|
@@ -7,7 +7,7 @@ export declare const networkSelectors: {
|
|
|
7
7
|
getInfoNetworkStatus: (state: InitialStatePropsNetwork) => {
|
|
8
8
|
online: "" | "active";
|
|
9
9
|
offline: "" | "active";
|
|
10
|
-
action: "" | "
|
|
10
|
+
action: "" | "online" | "offline";
|
|
11
11
|
status: null | boolean;
|
|
12
12
|
titleOnline: string;
|
|
13
13
|
titleOffline: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { NetworkStatusInfoTracker } from './deps/NetworkStatusTracker/NetworkStatusTracker.types';
|
|
2
1
|
import { WsApi_Options_P } from './deps/WsApi';
|
|
3
2
|
import { WsApi_Events } from './deps/WsApi/WsApi.types';
|
|
4
3
|
import { BasePayloadSocket, SocketApi_Options_P, SocketApi_StateProps_P, SocketApiOptionsRequest } from './SocketApi.types';
|
|
4
|
+
import { NetworkStatusInfoTracker } from 'dev-classes';
|
|
5
5
|
interface ConnectInfoProps {
|
|
6
6
|
status: boolean;
|
|
7
7
|
msg: string;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { OnStatusChange } from '../NetworkStatusTracker/NetworkStatusTracker.types';
|
|
2
1
|
import { NetworkControlsConfigProps, NetworkControlsStateProps, NetworkMonitorCallback, NetworkMonitorCallbackInterval } from './NetworkControls.types';
|
|
2
|
+
type OnStatusChange = (info: {
|
|
3
|
+
isNetwork: boolean;
|
|
4
|
+
typeNetwork: string;
|
|
5
|
+
}) => void;
|
|
3
6
|
export declare class NetworkControls {
|
|
4
7
|
private networkTicker;
|
|
5
8
|
private state;
|
|
@@ -12,3 +15,4 @@ export declare class NetworkControls {
|
|
|
12
15
|
motitorNetwirk(cbInterval: NetworkMonitorCallbackInterval, cb: NetworkMonitorCallback, options?: NetworkControlsConfigProps): Promise<void>;
|
|
13
16
|
stopMotitorNetwirk(): void;
|
|
14
17
|
}
|
|
18
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from './SocketApi';
|
|
2
2
|
export * from './hooks';
|
|
3
|
-
export { type SocketApi_StateProps_P, type SocketApi_StatusConnect_OR, type BasePayloadSocket } from './SocketApi.types';
|
|
3
|
+
export { type SocketApi_StateProps_P, type SocketApi_StatusConnect_OR, type BasePayloadSocket, type SocketResponse } from './SocketApi.types';
|