Comparing version 2.5.0 to 2.5.1
@@ -27,5 +27,4 @@ "use strict"; | ||
if (msg.changes) { | ||
ourDoc = automerge_1.applyChanges(doc, msg.changes); | ||
this._ourClock = automerge_clocks_1.getClock(ourDoc); | ||
// We broadcast here for the other members of the hub | ||
// We broadcast FIRST for the other members of the hub | ||
// Since we'll assume these changes should be applied to everyone. | ||
this.broadcastMsg({ | ||
@@ -38,2 +37,4 @@ clock: automerge_clocks_1.getClock(ourDoc), | ||
}); | ||
ourDoc = automerge_1.applyChanges(doc, msg.changes); | ||
this._ourClock = automerge_clocks_1.getClock(ourDoc); | ||
} | ||
@@ -40,0 +41,0 @@ // 2. If we have any changes to let them know about, |
{ | ||
"name": "manymerge", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "author": "Evan Conrad", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23161
489