socket.io-client-xcontrol
Advanced tools
Comparing version 0.0.0 to 0.0.1
{ | ||
"name": "socket.io-client-xcontrol", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "A Controller for the socket.io client", | ||
@@ -27,3 +27,4 @@ "main": "src/index.js", | ||
"peerDependencies": { | ||
"xcontrol": "^0.1.4" | ||
"xcontrol": "^0.1.4", | ||
"socket.io-client": "^2.1.0" | ||
}, | ||
@@ -30,0 +31,0 @@ "devDependencies": { |
@@ -25,3 +25,3 @@ export default (Controller, methods = []) => { | ||
socket.emit(eventName, args) | ||
Controller.prototype[methodName](args) | ||
Controller.prototype[methodName](...args) | ||
} | ||
@@ -28,0 +28,0 @@ } |
8157
2