Comparing version 0.1.18 to 0.1.19
@@ -207,6 +207,6 @@ var assert = require('assert') | ||
// Validate that the body and patches are strings | ||
if (body) | ||
if (body !== undefined) | ||
assert(typeof body === 'string') | ||
else { | ||
assert(patches) | ||
assert(patches !== undefined) | ||
patches.forEach(p => assert(typeof p.content === 'string')) | ||
@@ -213,0 +213,0 @@ } |
{ | ||
"name": "braidify", | ||
"version": "0.1.18", | ||
"version": "0.1.19", | ||
"description": "Synchronization for the Web (reference implementation)", | ||
@@ -5,0 +5,0 @@ "scripts": { |
36723