@cocreate/crdt 1.8.19 → 1.8.20
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 +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.8.20](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.8.19...v1.8.20) (2021-11-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* if crud or save will not save to crud ([b8f51ac](https://github.com/CoCreate-app/CoCreate-crdt/commit/b8f51ac606fc3d1894404ef8ec82c3895b16d6cc))
|
|
7
|
+
|
|
1
8
|
## [1.8.19](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.8.18...v1.8.19) (2021-11-20)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -286,7 +286,7 @@ async function updateText(info, flag) {
|
|
|
286
286
|
|
|
287
287
|
insertChange(info, broadcast, flag);
|
|
288
288
|
|
|
289
|
-
if (info.crud != 'false') {
|
|
289
|
+
if (info.crud != 'false' && info.save != 'false') {
|
|
290
290
|
let wholestring = await getText(info);
|
|
291
291
|
crud.updateDocument({
|
|
292
292
|
collection: info.collection,
|