Skip to content

Commit aee919d

Browse files
committed
Update reciever wsMessage type to string
1 parent a77324e commit aee919d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/types/utilities/receiver.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
import { MagmaAgent } from '../../agent';
22
import { MagmaSendFunction } from '../agent';
33

4-
export type MagmaWSMessage = {
5-
type: string;
6-
data: unknown;
7-
};
8-
94
export type MagmaReceiver = {
105
handler: (
11-
wsMessage: MagmaWSMessage,
6+
wsMessage: string,
127
send: MagmaSendFunction,
138
agent: MagmaAgent
149
) => Promise<void> | void;

0 commit comments

Comments
 (0)