@cocreate/text 1.18.18 → 1.18.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 CHANGED
@@ -1,3 +1,18 @@
1
+ ## [1.18.20](https://github.com/CoCreate-app/CoCreate-text/compare/v1.18.19...v1.18.20) (2022-12-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump dependencies ([71fa03c](https://github.com/CoCreate-app/CoCreate-text/commit/71fa03c6fb79cb21fc7a56269cb808ad594834cb))
7
+
8
+ ## [1.18.19](https://github.com/CoCreate-app/CoCreate-text/compare/v1.18.18...v1.18.19) (2022-12-11)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * database or collection return ([bf4d655](https://github.com/CoCreate-app/CoCreate-text/commit/bf4d655d9aa30441a98e887d16e2e5c483937890))
14
+ * bump dependencies ([ee0445d](https://github.com/CoCreate-app/CoCreate-text/commit/ee0445d60ce04b40a0e1cbb6949d145191204334))
15
+
1
16
  ## [1.18.18](https://github.com/CoCreate-app/CoCreate-text/compare/v1.18.17...v1.18.18) (2022-12-09)
2
17
 
3
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/text",
3
- "version": "1.18.18",
3
+ "version": "1.18.20",
4
4
  "description": "A simple text component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "text",
@@ -61,15 +61,15 @@
61
61
  "webpack-log": "^3.0.1"
62
62
  },
63
63
  "dependencies": {
64
- "@cocreate/actions": "^1.5.32",
65
- "@cocreate/crdt": "^1.14.18",
66
- "@cocreate/crud-client": "^1.16.5",
67
- "@cocreate/cursors": "^1.12.17",
68
- "@cocreate/docs": "^1.4.16",
69
- "@cocreate/hosting": "^1.6.15",
70
- "@cocreate/observer": "^1.5.36",
71
- "@cocreate/selection": "^1.4.41",
72
- "@cocreate/utils": "^1.15.1",
73
- "@cocreate/uuid": "^1.2.35"
64
+ "@cocreate/actions": "^1.5.34",
65
+ "@cocreate/crdt": "^1.14.20",
66
+ "@cocreate/crud-client": "^1.16.9",
67
+ "@cocreate/cursors": "^1.12.19",
68
+ "@cocreate/docs": "^1.4.18",
69
+ "@cocreate/hosting": "^1.6.17",
70
+ "@cocreate/observer": "^1.5.38",
71
+ "@cocreate/selection": "^1.4.43",
72
+ "@cocreate/utils": "^1.16.0",
73
+ "@cocreate/uuid": "^1.2.37"
74
74
  }
75
75
  }
package/src/index.js CHANGED
@@ -34,7 +34,7 @@ function initElement (element) {
34
34
  element.pendingDocument = true
35
35
  return
36
36
  }
37
- if (['_id', 'organization_id'].includes(name))
37
+ if (['_id', 'organization_id', 'db', 'database', 'collection'].includes(name))
38
38
  return
39
39
  if (isCrdt == "false" || isRealtime == "false" || element.type == 'number')
40
40
  return