@dnax/core 0.60.4 → 0.60.6

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.
@@ -14,7 +14,7 @@ type reasonType = any;
14
14
  export type callbackType = (
15
15
  socket: socketIoType,
16
16
  data: any | reasonType,
17
- clb?: _clbFunc
17
+ clb: _clbFunc
18
18
  ) => void;
19
19
 
20
20
  class Io {
@@ -154,7 +154,14 @@ function webSocketServer(server: Server): WebSocketHandler {
154
154
  });
155
155
  },
156
156
  emit: (event: string, data: any) =>
157
- ws.send(JSON.stringify({ type: "emit", event, data })),
157
+ ws.send(
158
+ JSON.stringify({
159
+ type: "emit",
160
+ event,
161
+ data,
162
+ uuid: options?.uuid,
163
+ })
164
+ ),
158
165
  },
159
166
  options?.data,
160
167
  clb_
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.60.4",
3
+ "version": "0.60.6",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {