chainpad
Advanced tools
Comparing version 5.2.1 to 5.2.2
@@ -43,3 +43,6 @@ /*@flow*/ | ||
parent: ?Message_t, | ||
isFromMe: boolean | ||
isFromMe: ?boolean, | ||
time: ?number, | ||
author: ?string, | ||
} | ||
@@ -74,3 +77,5 @@ } | ||
isFromMe: false, | ||
parent: undefined | ||
parent: undefined, | ||
time: undefined, | ||
author: undefined, | ||
} | ||
@@ -77,0 +82,0 @@ }; |
@@ -99,3 +99,4 @@ /*@flow*/ | ||
op.toInsert.length, | ||
doc.substring(op.offset, op.offset + op.toRemove) | ||
// https://stackoverflow.com/a/31733628 | ||
(' ' + doc.substring(op.offset, op.offset + op.toRemove)).slice(1) | ||
); | ||
@@ -102,0 +103,0 @@ }; |
{ | ||
"name": "chainpad", | ||
"description": "Realtime Collaborative Editor Algorithm based on the Nakamoto BlockChain", | ||
"version": "5.2.1", | ||
"version": "5.2.2", | ||
"dependencies": { | ||
@@ -6,0 +6,0 @@ "fast-diff": "^1.1.2", |
Sorry, the diff of this file is too big to display
441934
9698