@cocreate/crdt 1.8.16 → 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 +28 -0
- package/docs/index.html +3 -23
- package/package.json +5 -5
- package/src/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
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
|
+
|
|
8
|
+
## [1.8.19](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.8.18...v1.8.19) (2021-11-20)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* updated script tags and link tags ([6618c3a](https://github.com/CoCreate-app/CoCreate-crdt/commit/6618c3a265d348e6c2c8ba046a426509cb0ad03d))
|
|
14
|
+
|
|
15
|
+
## [1.8.18](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.8.17...v1.8.18) (2021-11-20)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* update dependencies ([4602d3a](https://github.com/CoCreate-app/CoCreate-crdt/commit/4602d3a9a9a7e7da0e0784a612fe689c0c3f35a6))
|
|
21
|
+
|
|
22
|
+
## [1.8.17](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.8.16...v1.8.17) (2021-11-19)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* update dependencies ([c1a5dab](https://github.com/CoCreate-app/CoCreate-crdt/commit/c1a5dab49dbcd6ae9e8653b66f43b5be361c7e7b))
|
|
28
|
+
|
|
1
29
|
## [1.8.16](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.8.15...v1.8.16) (2021-11-18)
|
|
2
30
|
|
|
3
31
|
|
package/docs/index.html
CHANGED
|
@@ -13,13 +13,6 @@
|
|
|
13
13
|
<!-- CoCreate CSS -->
|
|
14
14
|
<link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css" />
|
|
15
15
|
|
|
16
|
-
<!-- Font Awesome -->
|
|
17
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" crossorigin="anonymous" />
|
|
18
|
-
|
|
19
|
-
<!-- Codemirror -->
|
|
20
|
-
<link rel="stylesheet" href="https://server.cocreate.app/CoCreate-plugins/CoCreate-codemirror/src/CoCreate-codemirror.css" type="text/css" />
|
|
21
|
-
<link rel=stylesheet href="https://codemirror.net/lib/codemirror.css" async defer>
|
|
22
|
-
|
|
23
16
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.21.0/themes/prism.min.css" rel="stylesheet" />
|
|
24
17
|
</head>
|
|
25
18
|
|
|
@@ -120,21 +113,8 @@
|
|
|
120
113
|
|
|
121
114
|
</div>
|
|
122
115
|
</div>
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
|
|
127
|
-
organization_Id: '5de0387b12e200ea63204d6c'
|
|
128
|
-
}
|
|
129
|
-
</script>
|
|
130
|
-
|
|
131
|
-
<!--CoCreateJS-->
|
|
132
|
-
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
|
|
133
|
-
|
|
134
|
-
<!-- CoCreate CodeMiirror -->
|
|
135
|
-
<script type="text/javascript" src="https://server.cocreate.app/CoCreate-plugins/CoCreate-codemirror/dist/CoCreate-codemirror.js" async></script>
|
|
136
|
-
|
|
137
|
-
<!-- Prism -->
|
|
138
|
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.21.0/prism.min.js"></script>
|
|
116
|
+
|
|
117
|
+
<script src="/apikey.js"></script>
|
|
118
|
+
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js" ></script>
|
|
139
119
|
</body>
|
|
140
120
|
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/crdt",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.20",
|
|
4
4
|
"description": "CoCreate crdt",
|
|
5
5
|
"author": "CoCreate LLC",
|
|
6
6
|
"license": "SEE LICENSE",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"webpack-log": "^3.0.1"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@cocreate/action": "^1.3.
|
|
47
|
-
"@cocreate/crud-client": "^1.4.
|
|
48
|
-
"@cocreate/message-client": "^1.1.
|
|
49
|
-
"@cocreate/utils": "^1.3.
|
|
46
|
+
"@cocreate/action": "^1.3.15",
|
|
47
|
+
"@cocreate/crud-client": "^1.4.29",
|
|
48
|
+
"@cocreate/message-client": "^1.1.49",
|
|
49
|
+
"@cocreate/utils": "^1.3.10"
|
|
50
50
|
}
|
|
51
51
|
}
|
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,
|