Skip to content

Commit c463bd7

Browse files
committed
fix: type -> method in transport
1 parent 781d6e7 commit c463bd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/bytearena-sdk-comm/src/transport.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ const METHOD_MUTATION = 'Mutation';
77

88
const socket = new net.Socket();
99

10-
export function wrapInTransport(agentid, type, payload) {
11-
return { agentid, type, payload }
10+
export function wrapInTransport(agentid, method, payload) {
11+
return { agentid, method, payload }
1212
};
1313

1414
export function connect(host, port) {

0 commit comments

Comments
 (0)