We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a77324e commit aee919dCopy full SHA for aee919d
src/types/utilities/receiver.ts
@@ -1,14 +1,9 @@
1
import { MagmaAgent } from '../../agent';
2
import { MagmaSendFunction } from '../agent';
3
4
-export type MagmaWSMessage = {
5
- type: string;
6
- data: unknown;
7
-};
8
-
9
export type MagmaReceiver = {
10
handler: (
11
- wsMessage: MagmaWSMessage,
+ wsMessage: string,
12
send: MagmaSendFunction,
13
agent: MagmaAgent
14
) => Promise<void> | void;
0 commit comments