react-native-http-bridge
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -16,11 +16,10 @@ /** | ||
Server.start(port, function () { | ||
DeviceEventEmitter.addListener('httpServerResponseReceived', callback); | ||
}); | ||
Server.start(port); | ||
DeviceEventEmitter.addListener('httpServerResponseReceived', callback); | ||
}, | ||
// effectively pause the instance of the server | ||
stop: function () { | ||
Server.stop(); | ||
DeviceEventEmitter.removeListener('httpServerResponseReceived'); | ||
} | ||
} |
{ | ||
"name": "react-native-http-bridge", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A simple HTTP debug server for React Native apps", | ||
@@ -5,0 +5,0 @@ "main": "httpServer.js", |
307449
163