@wooksjs/ws-client 0.7.9 → 0.7.10
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/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ interface WsClientMessage {
|
|
|
7
7
|
/** Payload. */
|
|
8
8
|
data?: unknown;
|
|
9
9
|
/** Correlation ID. When present, the server sends a reply with the same ID. */
|
|
10
|
-
id?: number;
|
|
10
|
+
id?: string | number;
|
|
11
11
|
}
|
|
12
12
|
/** Server-to-client reply (sent only when the client message included an `id`). */
|
|
13
13
|
interface WsReplyMessage {
|