Comparing version 0.1.22 to 0.1.23
@@ -114,3 +114,3 @@ var assert = require('assert') | ||
function braidify (req, res, next) { | ||
console.log('\n## Braidifying', req.method, req.url, req.headers.peer) | ||
// console.log('\n## Braidifying', req.method, req.url, req.headers.peer) | ||
@@ -153,3 +153,3 @@ // First, declare that we support Patches and JSON ranges. | ||
function startSubscription (args = {}) { | ||
console.log('Starting subscription!') | ||
// console.log('Starting subscription!') | ||
// console.log('Timeouts are:', | ||
@@ -173,3 +173,3 @@ // req.socket.server.timeout, | ||
connected = false | ||
console.log(`Connection closed on ${req.url} from`, x, 'event') | ||
// console.log(`Connection closed on ${req.url} from`, x, 'event') | ||
@@ -209,4 +209,4 @@ // Now call the callback | ||
console.log('sending version', {url, peer, version, parents, patches, body, | ||
subscription: res.isSubscription}) | ||
// console.log('sending version', {url, peer, version, parents, patches, body, | ||
// subscription: res.isSubscription}) | ||
@@ -213,0 +213,0 @@ // Validate that the body and patches are strings |
{ | ||
"name": "braidify", | ||
"version": "0.1.22", | ||
"version": "0.1.23", | ||
"description": "Synchronization for the Web (reference implementation)", | ||
@@ -5,0 +5,0 @@ "scripts": { |
37368