@cocreate/crdt 1.17.7 → 1.18.0

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 CHANGED
@@ -1,3 +1,22 @@
1
+ # [1.18.0](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.17.8...v1.18.0) (2023-04-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump cdn to 1.50.0 ([7c11b2c](https://github.com/CoCreate-app/CoCreate-crdt/commit/7c11b2c3f304b31b2d8801ba22832d46602b3a89))
7
+
8
+
9
+ ### Features
10
+
11
+ * added pwa manifest ([efb13fb](https://github.com/CoCreate-app/CoCreate-crdt/commit/efb13fb980e1d2feef9a5a1329d957b4aba9d0cd))
12
+
13
+ ## [1.17.8](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.17.7...v1.17.8) (2023-04-13)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * replaced substr with substring ([8cc4fd8](https://github.com/CoCreate-app/CoCreate-crdt/commit/8cc4fd847b9972f2fac6dcb8a200082593b31acc))
19
+
1
20
  ## [1.17.7](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.17.6...v1.17.7) (2023-04-11)
2
21
 
3
22
 
package/demo/index.html CHANGED
@@ -1,5 +1,6 @@
1
1
  <html>
2
2
  <head>
3
+ <link rel="manifest" href="/manifest.json" />
3
4
  </head>
4
5
  <body>
5
6
 
@@ -40,7 +41,7 @@
40
41
 
41
42
 
42
43
  <!--<script src="../dist/CoCreate-crdt.js"></script>-->
43
- <!-- <script src="https://cdn.cocreate.app/1.49.2/CoCreate.min.js" ></script> -->
44
+ <!-- <script src="https://cdn.cocreate.app/1.50.0/CoCreate.min.js" ></script> -->
44
45
  <script src="https://cdn.cocreate.app/latest/CoCreate.min.js" ></script>
45
46
  </body>
46
47
  </html>
package/docs/index.html CHANGED
@@ -14,7 +14,8 @@
14
14
  <link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css" />
15
15
 
16
16
 
17
- </head>
17
+ <link rel="manifest" href="/manifest.json" />
18
+ </head>
18
19
 
19
20
  <body>
20
21
  <nav class="nav display:flex align-items:center left:0px background:whitesmoke padding-top:10px padding-bottom:10px" content_id="content" scroll="sticky-nav,hide-nav" scroll-up="10" scroll-down="10" collection="files" document_id="60395ef42b3ac232657040fd" name="src">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/crdt",
3
- "version": "1.17.7",
3
+ "version": "1.18.0",
4
4
  "description": "CoCreate crdt",
5
5
  "author": "CoCreate LLC",
6
6
  "license": "SEE LICENSE",
package/src/index.js CHANGED
@@ -167,7 +167,7 @@ function insertChange(data, flag) {
167
167
  }
168
168
  let string = doc.get('text') || '';
169
169
  if (change.length > 0)
170
- change.removedValue = string.substr(change.start, change.length);
170
+ change.removedValue = string.substring(change.start, change.length);
171
171
 
172
172
  if (flag == 'replace') {
173
173
  // ToDo get current string and create new changeLog array then push new change