@cocreate/crdt 1.13.1 → 1.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/index.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.13.2](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.13.1...v1.13.2) (2022-08-31)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* rename variables isBroadcast and isBroadcastSender to broadcast and broadcastSender ([2560074](https://github.com/CoCreate-app/CoCreate-crdt/commit/2560074c2200c5d7475b347ea8dacc4d86e5107d))
|
|
7
|
+
|
|
1
8
|
## [1.13.1](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.13.0...v1.13.1) (2022-08-18)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -191,7 +191,7 @@ function insertChange(info, flag) {
|
|
|
191
191
|
function broadcastChange(info){
|
|
192
192
|
message.send({
|
|
193
193
|
room: "",
|
|
194
|
-
|
|
194
|
+
broadcastSender: 'false',
|
|
195
195
|
message: "crdt",
|
|
196
196
|
data: info
|
|
197
197
|
});
|
|
@@ -220,7 +220,7 @@ function persistChange(info) {
|
|
|
220
220
|
namespace: info.namespace,
|
|
221
221
|
room: info.room,
|
|
222
222
|
broadcast: info.broadcast,
|
|
223
|
-
|
|
223
|
+
broadcastSender: info.broadcastSender,
|
|
224
224
|
metadata: 'crdt-change'
|
|
225
225
|
});
|
|
226
226
|
}
|
|
@@ -322,7 +322,7 @@ async function updateText(info, flag) {
|
|
|
322
322
|
namespace: info.namespace,
|
|
323
323
|
room: info.room,
|
|
324
324
|
broadcast: info.broadcast,
|
|
325
|
-
|
|
325
|
+
broadcastSender: info.broadcastSender,
|
|
326
326
|
metadata: 'crdt-change'
|
|
327
327
|
});
|
|
328
328
|
}
|