Comparing version 0.9.8 to 0.9.9
{ | ||
"name": "ipevt", | ||
"version": "0.9.8", | ||
"version": "0.9.9", | ||
"description": "A small library that allows peers to communicate via a central server", | ||
@@ -5,0 +5,0 @@ "main": "ipevt-client.js", |
@@ -8,4 +8,11 @@ /** | ||
const beson = require('beson'); | ||
const ipevt = require('../ipevt-client.js'); | ||
const client = await ipevt({host:'127.0.0.1', port:65500, channel_id:'channel1', timeout:10, auto_reconnect:true, retry_count:3}); | ||
const client = await ipevt({ | ||
host:'127.0.0.1', port:65500, | ||
channel_id:'channel1', timeout:10, | ||
auto_reconnect:true, retry_count:3, | ||
serializer:beson.Serialize, | ||
deserializer:beson.Deserialize, | ||
}); | ||
console.log("CONNECTED"); | ||
@@ -12,0 +19,0 @@ |
49054
1516