@minimaltech/node-infra 0.5.3-0 → 0.5.4
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.
@@ -2,7 +2,7 @@ import { BaseHelper } from '../../base/base.helper';
|
|
2
2
|
import { ValueOrPromise } from '../../common/types';
|
3
3
|
import { dayjs } from '../../utilities/date.utility';
|
4
4
|
import { ListenOptions, ServerOpts, Server as SocketServer, Socket as SocketClient } from 'node:net';
|
5
|
-
interface ITcpSocketClient<SocketClientType> {
|
5
|
+
export interface ITcpSocketClient<SocketClientType> {
|
6
6
|
id: string;
|
7
7
|
socket: SocketClientType;
|
8
8
|
state: 'unauthorized' | 'authenticating' | 'authenticated';
|
@@ -105,4 +105,3 @@ export declare class BaseNetworkTcpServer<SocketServerOptions extends ServerOpts
|
|
105
105
|
payload: Buffer | string;
|
106
106
|
}): void;
|
107
107
|
}
|
108
|
-
export {};
|