@cocreate/selection 1.6.7 → 1.6.9

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.6.9](https://github.com/CoCreate-app/CoCreate-selection/compare/v1.6.8...v1.6.9) (2023-05-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update packages to latest version. This commit updates various packages in the dependencies section of the package.json file to their latest published versions, thereby fixing multiple bugs and improving overall performance. ([f0d53c4](https://github.com/CoCreate-app/CoCreate-selection/commit/f0d53c43aa0274a1a6cf1e523558aeb53968f56b))
7
+
8
+ ## [1.6.8](https://github.com/CoCreate-app/CoCreate-selection/compare/v1.6.7...v1.6.8) (2023-05-18)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * apikey renamed to key ([d14fe20](https://github.com/CoCreate-app/CoCreate-selection/commit/d14fe20711cb9352aef8bc49afc116ba59e73c67))
14
+
1
15
  ## [1.6.7](https://github.com/CoCreate-app/CoCreate-selection/compare/v1.6.6...v1.6.7) (2023-05-06)
2
16
 
3
17
 
@@ -1,7 +1,7 @@
1
1
  module.exports = {
2
2
  "config": {
3
3
  "organization_id": "5ff747727005da1c272740ab",
4
- "apiKey": "2061acef-0451-4545-f754-60cf8160",
4
+ "key": "2061acef-0451-4545-f754-60cf8160",
5
5
  "host": "general.cocreate.app"
6
6
  },
7
7
  "sources": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/selection",
3
- "version": "1.6.7",
3
+ "version": "1.6.9",
4
4
  "description": "A simple selection component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "selection",
@@ -59,8 +59,8 @@
59
59
  "webpack-log": "^3.0.1"
60
60
  },
61
61
  "dependencies": {
62
- "@cocreate/docs": "^1.7.8",
63
- "@cocreate/hosting": "^1.10.0",
64
- "@cocreate/utils": "^1.20.6"
62
+ "@cocreate/docs": "^1.7.10",
63
+ "@cocreate/hosting": "^1.10.2",
64
+ "@cocreate/utils": "^1.20.8"
65
65
  }
66
66
  }
package/src/index.js CHANGED
@@ -31,7 +31,7 @@ export function getSelection(element) {
31
31
  }
32
32
 
33
33
  if (range.startContainer != range.endContainer) {
34
- // toDo: replace common ancestor value
34
+ // TODO: replace common ancestor value
35
35
  }
36
36
  let contenteditable = range.startContainer.parentElement.closest('[contenteditable][collection][document_id][name]');
37
37
  if (contenteditable){